Page 1 of 1
question about your games
Posted: Tue Jun 09, 2020 12:53 am
by SalyaDarken
I know it's a setting in the codes, but just how to you make sure members don't awards two times a day like how you got it with your games?
Re: question about your games
Posted: Tue Jun 09, 2020 1:14 am
by desbrina
When a game is played it records it in the database. The user, which game and the date
For daily games, it simply checks if a record already exists.
For weekly, it calculates the previous Saturdays date and the next fridays date, the checks if there’s any records existing between them
Re: question about your games
Posted: Tue Jun 09, 2020 1:18 am
by SalyaDarken
oooh. I got games for my forum but I didn't use the database. oh well. Thank you. ^^