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 Users 4.0 not showing users
 New Topic  Topic Locked
 Printer Friendly
Next Page
Author Previous Topic Topic Next Topic
Page: of 2

jaseaughton
Starting Member

United Kingdom
39 Posts

Posted - 13 August 2002 :  06:29:13  Show Profile  Visit jaseaughton's Homepage
I have installed the Active users 4 mod successfully. The user table is displayed, but shows everyone as guests.

http://forum.maxpower.co.uk/forum/

I know this is not the case as I am logged on with 2 separate accounts.As far as I can tell my config is OK.

How do I get the registered active useas to show.

Bury the hatchet with a smile and a curse
The world is big enough for both of us

Edited by - jaseaughton on 13 August 2002 06:31:02

crash
Advanced Member

Netherlands
2064 Posts

Posted - 13 August 2002 :  06:37:19  Show Profile  Visit crash's Homepage
i get this error when i try to view the page active.asp:
error '80020009'
Exception occurred.
/forum/active_users.asp, line 332


cHosting.nl
Go to Top of Page

jaseaughton
Starting Member

United Kingdom
39 Posts

Posted - 13 August 2002 :  06:39:37  Show Profile  Visit jaseaughton's Homepage
Any idea why this would be?

Bury the hatchet with a smile and a curse
The world is big enough for both of us
Go to Top of Page

crash
Advanced Member

Netherlands
2064 Posts

Posted - 13 August 2002 :  06:41:59  Show Profile  Visit crash's Homepage
it would help if you posted some code... try lines 320-340

cHosting.nl
Go to Top of Page

jaseaughton
Starting Member

United Kingdom
39 Posts

Posted - 13 August 2002 :  06:44:58  Show Profile  Visit jaseaughton's Homepage
here's lines 330-356:

function WhatPage(fScript, fQuery)
strPage = "<a href=""" & fScript
if trim(fQuery) <> "" then
strPage = strPage & "?" & fQuery
end if
strPage = strPage & """>"
select case lcase(trim(fScript))
case "active.asp"
strPage = strPage & fLang(strLangMOD_Ls3kAU_01160)
case "members.asp"
strPage = strPage & fLang(strLangMOD_Ls3kAU_01170)
case "search.asp"
strPage = strPage & fLang(strLangMOD_Ls3kAU_01180)
case "faq.asp"
strPage = strPage & fLang(strLangMOD_Ls3kAU_01190)
case "policy.asp"
strPage = strPage & fLang(strLangMOD_Ls3kAU_01200)
case "register.asp"
strPage = strPage & fLang(strLangMOD_Ls3kAU_01210)
case "active_users.asp"
strPage = strPage & fLang(strLangMOD_Ls3kAU_01220)
case "default.asp"
strPage = strPage & fLang(strLangMOD_Ls3kAU_01230)
case "members.asp"
strPage = strPage & fLang(strLangMOD_Ls3kAU_01240)
case "post_info.asp"
strPage = strPage & fLang(strLangMOD_Ls3kAU_01241)

Bury the hatchet with a smile and a curse
The world is big enough for both of us
Go to Top of Page

crash
Advanced Member

Netherlands
2064 Posts

Posted - 13 August 2002 :  06:46:34  Show Profile  Visit crash's Homepage
quote:
Originally posted by jaseaughton

here's lines 330-356:

function WhatPage(fScript, fQuery)
strPage = "<a href=""" & fScript
if trim(fQuery) <> "" then
strPage = strPage & "?" & fQuery
end if
strPage = strPage & """>"
select case lcase(trim(fScript))
case "active.asp"
strPage = strPage & fLang(strLangMOD_Ls3kAU_01160)
case "members.asp"
strPage = strPage & fLang(strLangMOD_Ls3kAU_01170)
case "search.asp"
strPage = strPage & fLang(strLangMOD_Ls3kAU_01180)
case "faq.asp"
strPage = strPage & fLang(strLangMOD_Ls3kAU_01190)
case "policy.asp"
strPage = strPage & fLang(strLangMOD_Ls3kAU_01200)
case "register.asp"
strPage = strPage & fLang(strLangMOD_Ls3kAU_01210)
case "active_users.asp"
strPage = strPage & fLang(strLangMOD_Ls3kAU_01220)
case "default.asp"
strPage = strPage & fLang(strLangMOD_Ls3kAU_01230)
case "members.asp"
strPage = strPage & fLang(strLangMOD_Ls3kAU_01240)
case "post_info.asp"
strPage = strPage & fLang(strLangMOD_Ls3kAU_01241)


so the red line is 332?

cHosting.nl
Go to Top of Page

jaseaughton
Starting Member

United Kingdom
39 Posts

Posted - 13 August 2002 :  06:51:16  Show Profile  Visit jaseaughton's Homepage
Sorry, yes it is.

Bury the hatchet with a smile and a curse
The world is big enough for both of us
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 13 August 2002 :  07:23:17  Show Profile  Send ruirib a Yahoo! Message
Don't know if that's the cause, but maybe try rewriting it like this:


if Len(trim(fQuery))<>0 then




Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

jaseaughton
Starting Member

United Kingdom
39 Posts

Posted - 13 August 2002 :  07:29:46  Show Profile  Visit jaseaughton's Homepage
Thanks, I'll give it a try.

Bury the hatchet with a smile and a curse
The world is big enough for both of us
Go to Top of Page

jaseaughton
Starting Member

United Kingdom
39 Posts

Posted - 13 August 2002 :  07:33:00  Show Profile  Visit jaseaughton's Homepage
no, same problem

Bury the hatchet with a smile and a curse
The world is big enough for both of us
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 13 August 2002 :  07:41:30  Show Profile  Send ruirib a Yahoo! Message
Add these lines before that one:


Response.Write "FQuery: " & fQuery & " fScript: " & fScript
Response.End


Let me know what is shown.


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

jaseaughton
Starting Member

United Kingdom
39 Posts

Posted - 13 August 2002 :  07:47:09  Show Profile  Visit jaseaughton's Homepage
Done this and get the same error:

error '80020009'
Exception occurred.

/forum/active_users.asp, line 333

(line 333 as I commented out the line you said to replace)

Bury the hatchet with a smile and a curse
The world is big enough for both of us
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 13 August 2002 :  07:58:18  Show Profile  Send ruirib a Yahoo! Message
So 333 is the new line, where I try to show the value for the fQuery and fString?


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

jaseaughton
Starting Member

United Kingdom
39 Posts

Posted - 13 August 2002 :  08:03:41  Show Profile  Visit jaseaughton's Homepage
Yes, 333 is:

Response.Write "FQuery: " & fQuery & " fScript: " & fScript


Bury the hatchet with a smile and a curse
The world is big enough for both of us
Go to Top of Page

jaseaughton
Starting Member

United Kingdom
39 Posts

Posted - 13 August 2002 :  08:10:19  Show Profile  Visit jaseaughton's Homepage
It looks like the ACTIVE_USERS table wasn't created by the setup process.

IGNORE THAT, FORGOT TO REFRESH MY SQL SERVER VIEW

Bury the hatchet with a smile and a curse
The world is big enough for both of us

Edited by - jaseaughton on 13 August 2002 08:16:07
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 13 August 2002 :  08:17:10  Show Profile  Send ruirib a Yahoo! Message
Just made a search (like you should have...) and came up with this:

http://forum.snitz.com/forum/topic.asp?TOPIC_ID=31536&SearchTerms=fQuery,332

Try the fix recommended there and see if it works...


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page
Page: of 2 Previous Topic Topic Next Topic  
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.29 seconds. Powered By: Snitz Forums 2000 Version 3.4.07