Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/Code)
 MOD: Correct Timezone display
 New Topic  Topic Locked
 Printer Friendly
Previous Page
Author Previous Topic Topic Next Topic
Page: of 5

eleven
Starting Member

Turkey
32 Posts

Posted - 19 June 2001 :  04:46:06  Show Profile
Hi,

I can't download this MOD. I get HTTP 500 Error while trying to dl the file: http://195.149.32.155/snitzmods/TimezonesMod.zip

Is this link working well?
Go to Top of Page

samyot
Junior Member

Canada
242 Posts

Posted - 18 July 2001 :  11:40:33  Show Profile  Visit samyot's Homepage  Send samyot a Yahoo! Message
Just wondering if this is normal.

Forum timezone set to Eastern
User 'Admin' timezone set to Eastern
Admin posts, time e.g. 10h00am
Log out, post time 9h00am


Sylvain Amyot
FORUM:http://syltek.dingojunction.com/forum
HOME:http://members.home.net/sylvainamyot/
Go to Top of Page

riggz
Starting Member

26 Posts

Posted - 19 July 2001 :  00:17:43  Show Profile  Visit riggz's Homepage  Send riggz an AOL message
i am also having a problem with the times being off. I have people posting and it says its like 1 day in advance.

Go to Top of Page

tomw
Starting Member

USA
20 Posts

Posted - 19 July 2001 :  10:13:48  Show Profile  Visit tomw's Homepage
samyot & riggz the work around that is posted here somewhere that I have used is to blank the M_STRTIMEADJUST field in the table Forum_Members for the Admin account and any others that are having this problem. Then through the system, resave the profile with the correct TimeZone. You need to do this even if it appears your data in that field is correct. I do not know why it works, but it does. I assume it replicates elsewhere in the database, or maybe to the cookies. This is simple fix if only your admin account is involved, but if you have a hundred users, LOL
Good Luck

Tom
Go to Top of Page

samyot
Junior Member

Canada
242 Posts

Posted - 19 July 2001 :  11:00:00  Show Profile  Visit samyot's Homepage  Send samyot a Yahoo! Message
Hi Tom,

I tried what you mentioned but the problem below still exists.

quote:

Just wondering if this is normal.

Forum timezone set to Eastern
User 'Admin' timezone set to Eastern
Admin posts, time e.g. 10h00am
Log out, post time 9h00am


Sylvain Amyot
FORUM:http://syltek.dingojunction.com/forum
HOME:http://members.home.net/sylvainamyot/



If you log in as any members (using eastern timezone in their profile) the time on posts increase by 1hr.

Sylvain Amyot
FORUM:http://syltek.dingojunction.com/forum
HOME:http://members.home.net/sylvainamyot/


Edited by - samyot on 27 July 2001 12:02:57
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 30 July 2001 :  14:11:14  Show Profile  Visit HuwR's Homepage
tomwis corretc,in that updating your profile resets the value in your cookie,however itmay be a variableerror,could you email me your config.asp,inc_profile.asp register.asp and pop_profile.asp,Iwillcheck them

Go to Top of Page

bjlt
Senior Member

1144 Posts

Posted - 31 July 2001 :  03:51:04  Show Profile

the timezone mod works fine, however, lastheredate in statistics area does not show the right time.
I set forum to GMT+8, visiting at the same zone, and lastheredate shows 8 hours later.

there's a function
ReadLastHereDate(UserName)
in inc_functions.asp

and here's the code to show the date.


if IsEmpty(Session(strCookieURL & "last_here_date")) then
Session(strCookieURL & "last_here_date") = ReadLastHereDate(strDBNTUserName)
end if


<%
ShowLastHere = (cint(ChkUser2(strDBNTUserName, Request.Cookies(strUniqueID & "User")("Pword"))) > 0)
if ShowLasthere then
%>
You Last Visited - <% =ChkDate(Session(strCookieURL & "last_here_date")) %> <% =ChkTime(Session(strCookieURL & "last_here_date")) %>
<%end if %>


how to fix it?

thanks

Edited by - bjlt on 02 August 2001 01:01:04

Edited by - bjlt on 02 August 2001 12:48:13
Go to Top of Page

massena
Starting Member

France
4 Posts

Posted - 03 August 2001 :  11:37:42  Show Profile  Visit massena's Homepage
Hello,

I have a problem with active users (active_users.asp). It indicates the time of connection by basing itself at a time of the server.

How to make so that it uses the hour of the forum and not that of the server? (7 hours ago of difference)

Thank you

PS: sorry for my English but it is not my mother tongue

Massena


Edited by - massena on 03 August 2001 11:42:01
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 03 August 2001 :  13:03:38  Show Profile  Visit HuwR's Homepage
quote:

Hello,

I have a problem with active users (active_users.asp). It indicates the time of connection by basing itself at a time of the server.

How to make so that it uses the hour of the forum and not that of the server? (7 hours ago of difference)

Thank you

PS: sorry for my English but it is not my mother tongue

Massena


Edited by - massena on 03 August 2001 11:42:01



This is not related to thetimezone mod, you should not really post it here, but here is a fix.

in the active users code, look for this

' SET WHEN TO TIMEOUT THE USER
' DO THIS IN SECONDS
strOnlineDate = DateToStr(Date)
strOnlineCheckInTime =


The value after strOnlineCheckInTime = should be DateToStr(strForumTimeAdjust)

Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 03 August 2001 :  13:06:04  Show Profile  Visit HuwR's Homepage
quote:


the timezone mod works fine, however, lastheredate in statistics area does not show the right time.
I set forum to GMT+8, visiting at the same zone, and lastheredate shows 8 hours later.

there's a function
ReadLastHereDate(UserName)
in inc_functions.asp

and here's the code to show the date.


if IsEmpty(Session(strCookieURL & "last_here_date")) then
Session(strCookieURL & "last_here_date") = ReadLastHereDate(strDBNTUserName)
end if


<%
ShowLastHere = (cint(ChkUser2(strDBNTUserName, Request.Cookies(strUniqueID & "User")("Pword"))) > 0)
if ShowLasthere then
%>
You Last Visited - <% =ChkDate(Session(strCookieURL & "last_here_date")) %> <% =ChkTime(Session(strCookieURL & "last_here_date")) %>
<%end if %>


how to fix it?

thanks

Edited by - bjlt on 02 August 2001 01:01:04

Edited by - bjlt on 02 August 2001 12:48:13



My thinking is this, it has stored the cookie using your adjusted time, so is adding another 8 hours.

change the code to this

if IsEmpty(Session(strCookieURL & "last_here_date")) then
Session(strCookieURL & "last_here_date") = ReadLastHereDate(strDBNTUserName)
end if


<%
ShowLastHere = (cint(ChkUser2(strDBNTUserName, Request.Cookies(strUniqueID & "User")("Pword"))) > 0)
if ShowLasthere then
%>
You Last Visited - <% =DisplayDate(Session(strCookieURL & "last_here_date")) %> <% =Display(Session(strCookieURL & "last_here_date")) %>
<%end if %>




Go to Top of Page

bjlt
Senior Member

1144 Posts

Posted - 04 August 2001 :  07:12:58  Show Profile
quote:



My thinking is this, it has stored the cookie using your adjusted time, so is adding another 8 hours.

change the code to this


You Last Visited - <% =DisplayDate(Session(strCookieURL & "last_here_date")) %> <% =Display(Session(strCookieURL & "last_here_date")) %>
<%end if %>






Well, it dosen't work. DisplayDate show incorrect date, while Display showed nothing. ?

Go to Top of Page

samyot
Junior Member

Canada
242 Posts

Posted - 13 August 2001 :  12:24:31  Show Profile  Visit samyot's Homepage  Send samyot a Yahoo! Message
quote:

Hi Tom,

I tried what you mentioned but the problem below still exists.

quote:

Just wondering if this is normal.

Forum timezone set to Eastern
User 'Admin' timezone set to Eastern
Admin posts, time e.g. 10h00am
Log out, post time 9h00am


Sylvain Amyot
FORUM:http://syltek.dingojunction.com/forum
HOME:http://members.home.net/sylvainamyot/



If you log in as any members (using eastern timezone in their profile) the time on posts increase by 1hr.

Sylvain Amyot
FORUM:http://syltek.dingojunction.com/forum
HOME:http://members.home.net/sylvainamyot/


Edited by - samyot on 27 July 2001 12:02:57



Just wanted to add that the time is correct when logged in but not when not logged in.

Sylvain Amyot
FORUM:http://syltek.dingojunction.com/forum
HOME:http://members.home.net/sylvainamyot/
Go to Top of Page

fpgal
New Member

93 Posts

Posted - 15 August 2001 :  02:35:40  Show Profile

Hi,

I'd really like to get this mod but the link isn't working. Does anyone know one that does work?

Thanks

Go to Top of Page
Page: of 5 Previous Topic Topic Next Topic  
Previous Page
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.16 seconds. Powered By: Snitz Forums 2000 Version 3.4.07