Quote:
Today at 01:02 PM Sylvus said this in Post #1
Here's what I have.
A member receives 100 points for every day they're registered.
...
...
...
... How can I get around this? I'd like to write a routine that goes through the entire user database and checks their Total Points and if it falls between amount 1 and amount 2, give them x amount of money BUT ONLY ONCE say, at midnight of every day.
|
What a great idea!

Giving points for everyday they are online. What you want to do is easy to achieve in vB3 using cron.php (vB3's own virtual cron).
However, if you have access to your server's cron jobs, you can create a new PHP with the relevant code and queries and make your cron job run that PHP file once each day to update users. That would be the best way to do it.