Quote:
Originally posted by NexDog
There is no such fix....
|
Ok, I have an idea to solve this problem.
Can I query the db with server time ?
$todayusers=$DB_site->query("SELECT userid, username, usergroupid, lastactivity, invisible FROM user
WHERE lastactivity > " .
(mktime(0,0,0,date("m"),date("d"),date("Y")) + (($bbuserinfo['timezoneoffset']-$timeoffset)*3600)) . "
ORDER BY username");
What variable to change if I want to use server time regardless of user timezone ? (text to change is in RED)
Thanks