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
 Aznknight's Statistics
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

True Iron
Starting Member

5 Posts

Posted - 11 May 2002 :  11:48:18  Show Profile
Hi

I have set up Aznknight's Statistics on my forum but am getting the following error on the statistics.asp page

Microsoft VBScript runtime error '800a01c2'

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

/forum/statistics.asp, line 295

Any Ideas Folks

cripto9t
Average Member

USA
881 Posts

Posted - 18 May 2002 :  08:03:41  Show Profile
True Iron this is a late reply and I hope you have solved this by now, but if you or anyone else haven't, here's the solution.

you need to comment out line 295 like this:

line 295 is in function displayStats()
look for these lines and add the single quote in red

rs1.Close
set rs1 = nothing

' ShowLastHere = (cint(ChkUser2(strDBNTUserName, Request.Cookies(strUniqueID & "User")("Pword"))) > 0)


That's all.

This mod was written for 3.1 and the line needs to be commented out for it to work in 3.4. I found the answer in the Mods w/code forum a
http://forum.snitz.com/forum/topic.asp?TOPIC_ID=23530



--------Brian.
Go to Top of Page

Intrepidone
Average Member

Canada
515 Posts

Posted - 18 May 2002 :  08:48:01  Show Profile
Actually, all you have to do is change any instance of ChkUser2 in statistics.asp to ChkUser

Intrepidone

Edited by - Intrepidone on 18 May 2002 08:51:35
Go to Top of Page

cripto9t
Average Member

USA
881 Posts

Posted - 18 May 2002 :  17:26:42  Show Profile
Thanks, I thought there might be another way . That didn't look right but it was all I could find on the subject.
Thanks again.

--------Brian.
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.42 seconds. Powered By: Snitz Forums 2000 Version 3.4.07