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
 Aznknights Statistics Problem
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

dayve
Forum Moderator

USA
5820 Posts

Posted - 17 May 2001 :  23:27:47  Show Profile  Visit dayve's Homepage
I am getting negative numbers for the following statistics:

10 Members Last Seen
No. Member Name Last Seen
1. nineinchnailz -51 minutes ago.
2. wendy -51 minutes ago.
3. imnothing666 -46 minutes ago.
4. Star****er#1 -22 minutes ago.
5. creeping death -16 minutes ago.
6. fragilegodess -28 minutes ago.
7. fade -20 minutes ago.
8. oneweeknosebleed -14 minutes ago.
9. NINYC -55 minutes ago.
10. ViperX -55 minutes ago.


Here is a link to the actual page:

http://www.nineinchnailz.com/forum/statistics.asp

I should not be getting negative numbers...please help (sorry I crossposted this too...)

Dayve

dayve
Forum Moderator

USA
5820 Posts

Posted - 18 May 2001 :  01:37:33  Show Profile  Visit dayve's Homepage
I think I found the problem. I changed this line:

<% minutesTotal = datediff("n",strtodate(rs("m_lastheredate")),now())

to this:

<% minutesTotal = datediff("n",strtodate(rs("m_lastheredate")),strForumTimeAdjust)

and it works...

Dayve
Go to Top of Page

Aznknight
Senior Member

USA
1373 Posts

Posted - 18 May 2001 :  01:56:27  Show Profile  Send Aznknight an AOL message  Send Aznknight an ICQ Message
ah good catch, i must have missed that

- Alan
www.iamviet.com
www.calvsa.net
Snitz Resource
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.29 seconds. Powered By: Snitz Forums 2000 Version 3.4.07