Yeah. Infact yesterday I applied the hack and found about 270 users from the midnight with all your corrections.
Today I have 0 (zero!) users, according to the same hack...
Actually I think the traslation you made to $unixtoday var had the wrong sign ... :?:
I though to a simpler solution, I guess.
Simply, replace in the
ORIGINAL HACK CODE:
PHP Code:
mktime(0,0,0,date("m"),date("d"),date("Y"));
with:
PHP Code:
mktime($timeoffset-$bbuserinfo['timezoneoffset'],0,0,date("m"),date("d"),date("Y"));
This should traslate the server's midnight time towards the user one.
What do you thin about ?