Author |
Topic |
masterao
Senior Member
Sweden
1678 Posts |
Posted - 01 September 2002 : 19:10:05
|
I had the same error that you did GenerationEdge, and I think that this is the fix.
In inc_func_common.asp, look for the following code (around line 56):
'Ls3k- First Order of business, is this person new?
if MemberID=-1 then 'If this is a Guest, check by IP
strSql = "SELECT AU_LASTACTIVETIME, AU_IP FROM " & strTablePrefix & "ACTIVE_USERS WHERE AU_IP = '" & Chkstring(strUserIP, "SQLString") & "' AND MEMBER_ID = 0"
Change the 0 marked red to -1 and it should work.
|
Jan =========== FR Portal Forums | Active Users 4.0.20 Mod |
|
|
GenerationEdge
Junior Member
105 Posts |
Posted - 01 September 2002 : 19:23:29
|
quote: Originally posted by masterao
I had the same error that you did GenerationEdge, and I think that this is the fix.
In inc_func_common.asp, look for the following code (around line 56):
'Ls3k- First Order of business, is this person new?
if MemberID=-1 then 'If this is a Guest, check by IP
strSql = "SELECT AU_LASTACTIVETIME, AU_IP FROM " & strTablePrefix & "ACTIVE_USERS WHERE AU_IP = '" & Chkstring(strUserIP, "SQLString") & "' AND MEMBER_ID = 0"
Change the 0 marked red to -1 and it should work.
Thanks for the tip but first things first. I just installed a clean version of 3.4.02. Is 40.17 going to work with 3.4.02? |
Jason |
|
|
Yellow Aftershock
New Member
55 Posts |
Posted - 01 September 2002 : 19:24:19
|
OK- I installed AU 4.0.17 on a fresh copy of snitz 3.4.02.
I am still getting ghosting ! Loads of 'guests' with the same IP number as each other and unknown OS and browsers. Some IP addresses are just the last 2 didgets different- but I know they are the same people ! Some of them appear to be replying to topcs (they are guests) !! - and I have caught one of them viewing the admin options !!!! (lol)
Active Members : 1 Admin Windows XP Microsoft IE 6.x 62.254.0.6 Active Users 01 Sep 2002 23:50:00 0 Minutes
Active Guests : 4 Guest #1 Unknown Unknown 209.237.238.165 Replying to Topic: What's People Got Against Monday Bandele 01 Sep 2002 23:44:40 6 Minutes
Guest #2 Unknown Unknown 66.28.250.175 Replying to Topic: Nick Tilsley in Tenerife!!! 01 Sep 2002 23:46:49 4 Minutes
Guest #3 Unknown Unknown 209.237.238.162 Replying to Topic: Man U lose 01 Sep 2002 23:47:56 3 Minutes
Guest #4 Unknown Unknown 209.237.238.163 Replying to Topic: Man U lose 01 Sep 2002 23:49:45 1 Minutes
Also in active_users.asp the profile image is still coming up as the locked image ?! |
|
|
GenerationEdge
Junior Member
105 Posts |
Posted - 01 September 2002 : 22:37:11
|
quote: Originally posted by masterao
I had the same error that you did GenerationEdge, and I think that this is the fix.
In inc_func_common.asp, look for the following code (around line 56):
'Ls3k- First Order of business, is this person new?
if MemberID=-1 then 'If this is a Guest, check by IP
strSql = "SELECT AU_LASTACTIVETIME, AU_IP FROM " & strTablePrefix & "ACTIVE_USERS WHERE AU_IP = '" & Chkstring(strUserIP, "SQLString") & "' AND MEMBER_ID = 0"
Change the 0 marked red to -1 and it should work.
The zip 40.17 has already been change to -1 and not 0 in the inc_func_common.asp. I have installed 40.17 to version 3.4.02 now and still having the shadowing problem. ???? |
Jason |
|
|
Nathan
Help Moderator
USA
7664 Posts |
|
CodeName
Junior Member
296 Posts |
Posted - 02 September 2002 : 05:30:45
|
Nathan , 4.17 is working ok with Snitz 3.4.2 ? |
|
|
philgsy
Starting Member
United Kingdom
18 Posts |
Posted - 02 September 2002 : 09:52:44
|
Can onyone help me out here. I'm kinda new to all of this stuff, and am trying to implement this mod onto my forum.
When anyone goes to default.asp, the following error comes up at the end of the page.
Microsoft VBScript runtime error '800a000d'
Type mismatch: '[undefined]'
inc_activeusers.asp, line 141
The forum does not show number of users/posts, or who new members are etc...
Also if I go to Admin Options, i am getting the following error message:
Microsoft VBScript runtime error '800a000d'
Type mismatch: '[undefined]'
/forum/admin_home.asp, line 131
Admin_hope.asp will only show Main Forum COnfig, and Feature Config, and then stops with this message. I have lost all other admin functions.
It's probably a really dubm question, but I cant seem to figure out where I've gone wrong. I followed the readme file, and have re-checked, and cannot find anything wrong.
Can anyone help me please.
Thank you guys! |
|
|
GenerationEdge
Junior Member
105 Posts |
Posted - 02 September 2002 : 14:57:56
|
quote: Originally posted by Nathan
Is somewhere in the logging function
Any ideas??? I have installed it backwards and forwards 4 times to 3.4.01 & 3.4.02 and it still does the same thing . Shadowing after loggin until timeout. |
Jason |
|
|
Nathan
Help Moderator
USA
7664 Posts |
|
GenerationEdge
Junior Member
105 Posts |
Posted - 02 September 2002 : 17:37:24
|
quote: Originally posted by Nathan
Does it shadow on logout too?
NO! only when I login will it shadow me. 1 member and 1 guest, total of 2 users and they are both me. When I logout it shows me as a guest again and NOT as a member, total of 1 user, logout works like it should. It has to be like you said, "in the login functions".
Thanks, |
Jason |
|
|
Nathan
Help Moderator
USA
7664 Posts |
Posted - 02 September 2002 : 17:47:13
|
I said "logging" functions, which includes both login and logout. |
Nathan Bales CoreBoard | Active Users Download |
|
|
Nathan
Help Moderator
USA
7664 Posts |
Posted - 02 September 2002 : 17:49:42
|
I think we tried something that would have done this before, but its still worth a shot.
Change this
select case Request.Form("Method_Type")
case "login"
if strLoginStatus = 1 then
AUHandleLoging()
end if
case "logout"
AUHandleLoging()
end select
to this
select case Request.Form("Method_Type")
case "login"
if MemberID <> -1 then
AUHandleLoging()
end if
case "logout"
AUHandleLoging()
end select |
Nathan Bales CoreBoard | Active Users Download |
|
|
GenerationEdge
Junior Member
105 Posts |
|
philgsy
Starting Member
United Kingdom
18 Posts |
Posted - 02 September 2002 : 19:44:54
|
quote: Originally posted by philgsy
Can onyone help me out here. I'm kinda new to all of this stuff, and am trying to implement this mod onto my forum. When anyone goes to default.asp, the following error comes up at the end of the page.
Microsoft VBScript runtime error '800a000d' Type mismatch: '[undefined]' inc_activeusers.asp, line 141
The forum does not show number of users/posts, or who new members are etc... Also if I go to Admin Options, i am getting the following error message:
Microsoft VBScript runtime error '800a000d' Type mismatch: '[undefined]' /forum/admin_home.asp, line 131
Admin_home.asp will only show Main Forum COnfig, and Feature Config, and then stops with this message. I have lost all other admin functions. It's probably a really dubm question, but I cant seem to figure out where I've gone wrong. I followed the readme file, and have re-checked, and cannot find anything wrong. Can anyone help me please. Thank you guys!
Can anyone help me out at all here. I'm stuck in a dark hole, and cant see the light!
Hou can link to my site from here: http://webplus.philm.abelvisp.co.uk/forum/default.asp |
Edited by - philgsy on 02 September 2002 19:46:56 |
|
|
Yellow Aftershock
New Member
55 Posts |
Posted - 03 September 2002 : 18:04:29
|
in active_users.asp I am getting this code in the popup window when I try to view the MSN ID's
error '80020009' Exception occurred.
/forum/inc_func_common.asp, line 376
|
|
|
Topic |
|