I think I figured it out...
To use GMT to decide who logged in the past day, wether you are logged in or logged out:
replace Rand M's code:
Quote:
WHERE lastactivity > " . (gmmktime(0,0,0,date("m"),date("d"),date("Y")) + (($bbuserinfo['timezoneoffset']-0)*3600)) . "
|
with this slightly altered code:
Quote:
WHERE lastactivity > " . (gmmktime(0,0,0,date("m"),date("d"),date("Y"))) . "
|
So far, at 3:53 in the morning, the figure for who has been online today is the same whether I am logged in or out......
I just wonder if it will set itself back to zero when it reaches midnight GMT or not?
I'll have to wait and see...
Khashyar