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

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: MOD Implementation
 Active User Mod Times?
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Ribkick
Junior Member

USA
296 Posts

Posted - 12 May 2001 :  14:48:58  Show Profile
The times shown in Active Users do not match my board time. I'm set for US PST. Where do I make the adjustments?

Thanks

e3stone
Average Member

USA
885 Posts

Posted - 12 May 2001 :  16:27:50  Show Profile  Send e3stone an AOL message
In inc_top.asp look for this code:

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

strOnlineTimedOut = strOnlineCheckInTime - 660

change the code in red to this:

strOnlineCheckInTime = DateToStr(strForumTimeAdjust)

Someone correct me if I'm wrong, but that's how I fixed my problem with the time.

Note: if you're logged in when you make these changes, it will give you some funky numbers on your active_users.asp page. Negative online time, etc. Just log out before you upload your fixed inc_top.asp file.
<-- Eric -->


http://insidewaco.com/forum/home.asp

Edited by - e3stone on 12 May 2001 16:29:51
Go to Top of Page

e3stone
Average Member

USA
885 Posts

Posted - 12 May 2001 :  16:48:19  Show Profile  Send e3stone an AOL message
Another fix on active_users.asp is around line 68 where it displays the last time the page was updated. It currently uses "now()" so change that section of code from
(Last Updated <%=now%>) to
(Last Updated <%=StrToDate(strForumTimeAdjust)%>)

<-- Eric -->


http://insidewaco.com/forum/home.asp
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 12 May 2001 :  17:10:07  Show Profile  Visit HuwR's Homepage
e3stone,

yes you are correct. when using times in Mods you shuld use strForumTimeAdjust and use the chkDate and chkTime functions to forumat it using the forums Date/Time setup

Go to Top of Page

dayve
Forum Moderator

USA
5820 Posts

Posted - 18 May 2001 :  01:50:36  Show Profile  Visit dayve's Homepage
oh thank god I found this topic, I think it fixed the problem I was having here:

Statistics With Negative Times

Dayve
Go to Top of Page

big9erfan
Average Member

540 Posts

Posted - 18 May 2001 :  10:13:35  Show Profile
e3stone and Huwr,

Could you guys take a look at the topic here that is called "Active Users resests itself every hour on the hour"

Thanks



http://www.ugfl.net/forums
Go to Top of Page

Flaimo
New Member

Austria
72 Posts

Posted - 10 June 2001 :  23:22:03  Show Profile  Visit Flaimo's Homepage  Send Flaimo an AOL message  Send Flaimo an ICQ Message  Send Flaimo a Yahoo! Message
i just downloaded and installed the active user mod. what do i have to change now, so that it displays date/time correct like i defined in the forum settings (i did a mod to inc_functions so the date time is displayed as "30.05.2001 04:41:24")

flaimo,

http://flaimo.com/famousfonts
Go to Top of Page
  Previous Topic Topic Next Topic  
 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.36 seconds. Powered By: Snitz Forums 2000 Version 3.4.07