Thanks a lot for such an exaustive answer.
I asked because, after having installed the hack for two days, I always got 0 as the maximum value and today as the date.
But I think it was due to the timezone problem.
About that, what do you think about my simple workaround of your hack code (3 posts above here) ?
Quote:
Originally posted by Jawelin
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.
|
Thanks again.