Jump to content
MakeWebGames

[V2] Reward the active. - Punish the inactive.


Recommended Posts

Posted

Re: [V2] Reward the active. - Punish the inactive.

 

instead of adding the daysinactive field to the users table, and modifying your authenticate.php

couldn't you use the already excisting laston field?

for example 5 days

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

does anyone know any downsides to using this method instead?

 

 

That is perfect. Utilize existing tables that hold a timestamp value and use the less than value. Its works perfect, I have used for forever on many things. So, the answer is there are no downsides.

  • 8 months later...
Posted

Re: [V2] Reward the active. - Punish the inactive.

Give the players an even letting them know where the money and crystals came from.....

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

blah blah blah.....enjoy

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...