Here is a proposed change for the calendar to fix timeoffset issues.
In postlist.php:
Look for
$h = strtolower(strftime ("%I", $tm));
Add Above it:
$tm = strtotime($html -> convert_time($tm, $user['U_TimeOffset']));
There should only be 2 entries.
------------------------
In AddEvent.php
Look For
$user = $userob -> authenticate("U_Username, U_Password,U_Signature,U_Picture,U_Groups,U_Display,U_Language,U_Totalposts,U_Title,U_Color,U_TempRead,U_TextCols,U_TextRows,U_EReplies,U_Preview,U_Number");
Change it to
$user = $userob -> authenticate("U_Username, U_Password,U_Signature,U_Picture,U_Groups,U_Display,U_Language,U_Totalposts,U_Title,U_Color,U_TempRead,U_TextCols,U_TextRows,U_EReplies,U_Preview,U_Number, U_TimeOffset");
Look for:
$ETime = mktime ($hour_convert, $min, 0, 0, 0, $year);
Change it to:
$ETime = mktime ($hour_convert - $user['U_TimeOffset'], $min, 0, 0, 0, $year);
And that's it. Then Timeoffset will work properly.
Last edited by Lunatik; 11/07/2002 4:15 PM.