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)
 Aznknight's Statistics Mod
 New Topic  Topic Locked
 Printer Friendly
Previous Page | Next Page
Author Previous Topic Topic Next Topic
Page: of 3

dayve
Forum Moderator

USA
5820 Posts

Posted - 16 May 2001 :  14:11:27  Show Profile  Visit dayve's Homepage
so what is a good workaround for the negative time showing? why is the time relative? is it because of the timezone or the way sessions are being handled?

Dayve
Go to Top of Page

Aznknight
Senior Member

USA
1373 Posts

Posted - 16 May 2001 :  18:17:12  Show Profile  Send Aznknight an AOL message  Send Aznknight an ICQ Message
do you have a site i can look at where it's negative numbers. I'm not getting it on neither of my sites.

- Alan
www.iamviet.com
www.calvsa.net
Snitz Resource
Go to Top of Page

dayve
Forum Moderator

USA
5820 Posts

Posted - 16 May 2001 :  20:41:12  Show Profile  Visit dayve's Homepage
http://www.nineinchnailz.com/forum/statistics.asp

should have done that from the start...

Dayve
Go to Top of Page

dayve
Forum Moderator

USA
5820 Posts

Posted - 17 May 2001 :  21:57:57  Show Profile  Visit dayve's Homepage
just an update, here is what my statistics show:

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.



Dayve
Go to Top of Page

dayve
Forum Moderator

USA
5820 Posts

Posted - 18 May 2001 :  01:38:44  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...no more negative numbers...


Dayve
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 18 May 2001 :  03:35:11  Show Profile  Visit HuwR's Homepage
quote:

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...no more negative numbers...


Dayve



This would be entirely correct, now() should not beused since it is not relative to the forum, but the server

Go to Top of Page

dayve
Forum Moderator

USA
5820 Posts

Posted - 22 May 2001 :  15:04:11  Show Profile  Visit dayve's Homepage
zip file updated May 22nd

OK, I added the bar graphs myself... take a peek...

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

anyone interested can download from here:

http://www.nineinchnailz.com/statistics_graph.zip



Dayve

Edited by - dayve on 22 May 2001 19:39:02
Go to Top of Page

wedont
Junior Member

Canada
344 Posts

Posted - 22 May 2001 :  16:43:44  Show Profile
Very nice Dayve,

The zip file does'nt appear in winzip!
Do you have it as a .text file ?

Wedont
snitz ver3.1 sr2
access 2k.

Edited by - wedont on 22 May 2001 16:44:50
Go to Top of Page

DocEVL
Starting Member

USA
19 Posts

Posted - 22 May 2001 :  16:58:53  Show Profile  Visit DocEVL's Homepage  Send DocEVL an AOL message
quote:

OK, I added the bar graphs myself... take a peek...

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

anyone interested can download from here:

http://www.nineinchnailz.com/statistics_graph.zip



Dayve



The zip file is empty.

Go to Top of Page

dayve
Forum Moderator

USA
5820 Posts

Posted - 22 May 2001 :  19:08:02  Show Profile  Visit dayve's Homepage
how weird, it works for me and I am using WinZip. anywhoooooooo, here is the .txt version:

http://www.nineinchnailz.com/statistics_graph.txt


btw, I will be applying this to statistics.asp as well, this add on was done to aznknights statistics2.asp.

sorry I didn't comment the code, good news is you don't have to do a line for line edit.


Dayve

Edited by - dayve on 22 May 2001 22:43:05
Go to Top of Page

Jeepaholic
Average Member

USA
697 Posts

Posted - 24 June 2001 :  01:27:07  Show Profile  Visit Jeepaholic's Homepage
Has anyone noticed that the post statistics seem to be inaccurate? If you look at the # posts per day...then you look at the # posts for this month (June), you'll see a discrepancy. The total doesn't add up to as much as the individual days put together. I've checked a number of different sites, and everyone's is off.

http://www.jeepaholics.com/citizensband/forum/statistics2.asp

The topic count, btw, seems to be right on the nose... Thoughts?

Hey Dayve, none of your graphing links are working (txt or zip)...can you put these back up? I'd like to use this code! As well, any word on implementing the graphing for the other stats page? Thanks...

Al Bsharah
Jeepaholics Anonymous

Edited by - Jeepaholic on 24 June 2001 01:30:04

Edited by - Jeepaholic on 24 June 2001 01:30:54
Go to Top of Page

Aznknight
Senior Member

USA
1373 Posts

Posted - 24 June 2001 :  13:54:25  Show Profile  Send Aznknight an AOL message  Send Aznknight an ICQ Message
how much is it off by?

- Alan
www.iamviet.com
www.calvsa.net
Snitz Resource
Go to Top of Page

Jeepaholic
Average Member

USA
697 Posts

Posted - 24 June 2001 :  16:29:38  Show Profile  Visit Jeepaholic's Homepage
3910 : Adding up "Posts per Day" for this month
2546 : Taken from "Posts per Month"

2546/3910 = 65% I'm not really sure which one is wrong...

Alan, your Snitz Resource site shows this:
46/81 = 56%



Al Bsharah
Jeepaholics Anonymous
Go to Top of Page

Aznknight
Senior Member

USA
1373 Posts

Posted - 24 June 2001 :  16:41:04  Show Profile  Send Aznknight an AOL message  Send Aznknight an ICQ Message
hmm very odd with the discrepancy. Looking at the sql statements for the 2 sections, i can't tell why right now. I'll look at this at the beginning of next month when there's less data to deal with to see what's up with it. Got my hands full right now.

- Alan
www.iamviet.com
www.calvsa.net
Snitz Resource
Go to Top of Page

RobX
Starting Member

USA
27 Posts

Posted - 26 June 2001 :  01:08:07  Show Profile
Hello Alan,

First of all... I'd like to congratulate you for your iamviet site!!

Now, I tried to install the STATISTICS MOD but unfortunately I got these errors.
When calling statistics.asp, I get:

Members
Total Members: 80
Female members: 23
Male members: 49

Forum

ADODB.Field error '800a0bcd'

Either BOF or EOF is True, or the current record has been deleted. Requested operation requires a current record.

/forum/statistics.asp, line 290

Then when I try to call statistics2.asp I get:

Microsoft VBScript runtime error '800a01c2'

Wrong number of arguments or invalid property assignment: 'Monthname'

/forum/statistics2.asp, line 311

What should I do?

Thanks!

RobX
Go to Top of Page
Page: of 3 Previous Topic Topic Next Topic  
Previous Page | Next 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.23 seconds. Powered By: Snitz Forums 2000 Version 3.4.07