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
 inc_top_posters.asp - weird, lists ALL?
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Doug Joseph
Starting Member

USA
43 Posts

Posted - 27 January 2004 :  16:29:55  Show Profile
Hi all.

On my new board, the "inc_top_posters.asp" is weird. Won't list "TOP" posters ... lists ALL ... the whole database... ?

Same problem on the "Statistics" page. It says it's going to list the "25" most recently seen members, but it lists all 156 of my members in the database. Does anyone have any clue?

My info and links:

--Version 3.4.03

Links to the erratic behavior:

--http://www.wvupci.org/forum/member_stats.asp

--http://www.wvupci.org/forum/sitenews.asp

Thanks if anyone can help.

Sincerely,
Doug Joseph

OneWayMule
Dev. Team Member & Support Moderator

Austria
4969 Posts

Posted - 27 January 2004 :  17:10:16  Show Profile  Visit OneWayMule's Homepage  Send OneWayMule an ICQ Message
1. We can't view member_stats.asp since you need to be logged on to view it. Please always provide a test account in such cases.

2. I'm getting the following error on sitenews.asp (in the "Upcoming Events" box):
Microsoft VBScript runtime error '800a000d' 

Type mismatch: 'chkForumAccess' 

/forum/cal_functions.asp, line 417


3. Is this a modded forum by Serverhacker? If yes, please ask for support at his site, they can probably say more since they are working with SH code.

My MODs:
Birthdays - Custom Policy - F.A.Q. Administration - Forum Rules - Guestbook
Links Manager - MyOwnGoogle - Profile Views - Search Log - WebSearch

Useful stuff:
Forum and MOD Installation - MOD Installation Guide - Snitz v3.4.05 Readme - Free ASP Hosts - Support Snitz
Go to Top of Page

Doug Joseph
Starting Member

USA
43 Posts

Posted - 27 January 2004 :  17:32:36  Show Profile
quote:
Originally posted by OneWayMule

1. We can't view member_stats.asp since you need to be logged on to view it. Please always provide a test account in such cases.

2. I'm getting the following error on sitenews.asp (in the "Upcoming Events" box):
Microsoft VBScript runtime error '800a000d' 

Type mismatch: 'chkForumAccess' 

/forum/cal_functions.asp, line 417


3. Is this a modded forum by Serverhacker? If yes, please ask for support at his site, they can probably say more since they are working with SH code.

OneWayMule

Thanks. You are kind and sharp eyed. Yes, it is a recently opened SH Mod Brd. I have been going there for support, but his server has been down today (and quite a bit yesterday) and so I came back here.

In case anyone has any suspicions, here is a log in:

Username: test
Password: test

The error message you got only appears for visitors who are not logged in. After one logs in, that error message is never seeen. ?

Thanks again.

Sincerely,
Doug Joseph
Go to Top of Page

OneWayMule
Dev. Team Member & Support Moderator

Austria
4969 Posts

Posted - 27 January 2004 :  18:09:44  Show Profile  Visit OneWayMule's Homepage  Send OneWayMule an ICQ Message
Doug, I've taken a look at Serverhacker's code.
Find the following code in member_stats.asp:

intTopPosters		= 25	' number of top posters to display

and change the blue value to 25 (don't know what value is on your page)

I also get the error message I posted above when I'm logged on, just to let you know.

My MODs:
Birthdays - Custom Policy - F.A.Q. Administration - Forum Rules - Guestbook
Links Manager - MyOwnGoogle - Profile Views - Search Log - WebSearch

Useful stuff:
Forum and MOD Installation - MOD Installation Guide - Snitz v3.4.05 Readme - Free ASP Hosts - Support Snitz
Go to Top of Page

Doug Joseph
Starting Member

USA
43 Posts

Posted - 27 January 2004 :  23:57:50  Show Profile
Hmmmm. I looked in my inc_top_posters for "intTopPosters" and there was no such var thar (little hill billy programmer pun for you thar). And that error you're seeing both when logged in and not, I don't know what make of that. Well, I'm headed back to the ServerHacker forum. If the server is up.


Sincerely,
Doug Joseph
Go to Top of Page

OneWayMule
Dev. Team Member & Support Moderator

Austria
4969 Posts

Posted - 28 January 2004 :  00:03:14  Show Profile  Visit OneWayMule's Homepage  Send OneWayMule an ICQ Message
If you can post links to txt versions of your inc_top_posters.as and member_stats.asp files, I can take a look.

My MODs:
Birthdays - Custom Policy - F.A.Q. Administration - Forum Rules - Guestbook
Links Manager - MyOwnGoogle - Profile Views - Search Log - WebSearch

Useful stuff:
Forum and MOD Installation - MOD Installation Guide - Snitz v3.4.05 Readme - Free ASP Hosts - Support Snitz
Go to Top of Page

Doug Joseph
Starting Member

USA
43 Posts

Posted - 28 January 2004 :  00:21:42  Show Profile
Ok. I really appreciate it.

http://www.wvupci.org/forum/temp/inc_top_posters.asp.txt

http://www.wvupci.org/forum/temp/member_stats.asp.txt

Sincerely,
Doug Joseph
Go to Top of Page

OneWayMule
Dev. Team Member & Support Moderator

Austria
4969 Posts

Posted - 28 January 2004 :  00:42:16  Show Profile  Visit OneWayMule's Homepage  Send OneWayMule an ICQ Message
Both files seem to be ok, inc_top_posters.asp displays the top 5 posters, member_stats.asp the top 25 posters.
I'll give it another test and let you know what I can find out.
What database are you using?

My MODs:
Birthdays - Custom Policy - F.A.Q. Administration - Forum Rules - Guestbook
Links Manager - MyOwnGoogle - Profile Views - Search Log - WebSearch

Useful stuff:
Forum and MOD Installation - MOD Installation Guide - Snitz v3.4.05 Readme - Free ASP Hosts - Support Snitz
Go to Top of Page

Doug Joseph
Starting Member

USA
43 Posts

Posted - 28 January 2004 :  01:07:51  Show Profile
DB is Access, using the Access 2000 driver, on a Windows server.

Sincerely,
Doug Joseph
Go to Top of Page

Doug Joseph
Starting Member

USA
43 Posts

Posted - 28 January 2004 :  01:09:39  Show Profile
If the trouble were in my data, i.e. my members' data fields were somehow malformed or deficient in some way, how would I alter the code with an i = 1 to 5 type loop to hard code the right limit?

Sincerely,
Doug Joseph
Go to Top of Page

Doug Joseph
Starting Member

USA
43 Posts

Posted - 28 January 2004 :  02:24:16  Show Profile
OneWayMule

OK. On the SHN forum I found the fix for the trouble with the calendar not displaying on the sitenews.asp "portal." It was a security issue. I could see the calendar when I was logged in as Admin, but no one else could, not non-members, nor regular members.

The fix is:

Add this line to the top of the /forum/include/inc_events.asp file:

<!--#include file="../inc_func_secure.asp"-->


Now, there was some discussion there about events published in hidden forums being listed for those not privy to the hidden forums, and them not being able to click on in, but yet still seeing the event listing.

I cannot afford to bother with that now, but I have it parked in the old gray matter, and would attempt a fix if someone knows of it.

Still don't have any direction on the "too many top posters shown" problem...

Sincerely,
Doug Joseph

Edited by - Doug Joseph on 28 January 2004 02:25:27
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.27 seconds. Powered By: Snitz Forums 2000 Version 3.4.07