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
 Small problem with Active Users Mod
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Crimson Skies
Starting Member

USA
27 Posts

Posted - 04 May 2003 :  01:43:52  Show Profile  Visit Crimson Skies's Homepage
I just installed this as my first MOD and I have one problem that isn't really that big of a deal but I'm wondering if I maybe did something wrong. When I go to my forum it shows 1 guest online..this is good but when I log in it shows me AND the guest online. I know I'm the only one on the forum because this is a new forum and I have only one member so far and he says he wasn't on the computer today. Anyway, can anyone suggest what might be causing this? I have tried logging out & deleting all cookies and going back in but it still does it. Thanks,

Cr|mSoN Sk|eS
http://crimsonskies.homeip.net

"But in the end it all stays the same. No changes made, no lessons learned." ~L'âme Immortelle~

Edited by - Crimson Skies on 04 May 2003 01:45:07

dayve
Forum Moderator

USA
5820 Posts

Posted - 04 May 2003 :  02:17:13  Show Profile  Visit dayve's Homepage
In inc_func_common.asp, look for the code below. Add the code marked red.


  else 'Is a new user, make new record
   If strLoginStatus = 0 then
    strSql = "INSERT INTO " & strTablePrefix & "ACTIVE_USERS (" & _
             "MEMBER_ID, AU_IP, AU_LOGINTIME, AU_LASTACTIVETIME, " & _
             "AU_LASTPAGE, AU_QUERYSTRING, AU_USER_AGENT) VALUES(" & _
             MemberID & ", " & _
             "'" & Chkstring(strUserIP, "SQLString") & "', " & _
             "'" & Chkstring(strCurrentTime, "SQLString") & "', " & _
             "'" & Chkstring(strCurrentTime, "SQLString") & "', " & _
             "'" & Chkstring(strScriptName, "SQLString") & "', " & _
             "'" & Chkstring(strQueryString, "SQLString") & "', " & _
             "'" & Chkstring(strUserAgent, "SQLString") & "')"
    my_conn.execute (strSql)
   end if
  end if
end sub



this was discussed here:

http://forum.snitz.com/forum/topic.asp?TOPIC_ID=33715&whichpage=5

Go to Top of Page

Crimson Skies
Starting Member

USA
27 Posts

Posted - 04 May 2003 :  02:34:23  Show Profile  Visit Crimson Skies's Homepage
Great, that did it! Thanks for the quick reply

"But in the end it all stays the same. No changes made, no lessons learned." ~L'âme Immortelle~
Go to Top of Page

dayve
Forum Moderator

USA
5820 Posts

Posted - 04 May 2003 :  02:43:15  Show Profile  Visit dayve's Homepage
quote:
Originally posted by Crimson Skies

Great, that did it! Thanks for the quick reply



No problem... I'm thinking that the download for this mod (Snitz Bitz and other places) should consider updating it with this fix.

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