Author |
Topic |
skid_mark
Starting Member
1 Posts |
Posted - 25 March 2001 : 17:06:31
|
I have installed the MOD and it will not show members that are logged in, only guests. If there is a fix of it could someone please post it.
Thanxs (www.myskidmark.com)
|
|
|
Horst Petersen
Starting Member
10 Posts |
Posted - 26 March 2001 : 12:56:57
|
quote:
In the code that you added to inc_top.asp
For this mod to work on v3.1 SR4 makes sure you are using strUniqueID instead of strCookieURL
' ****************************************************** ' ADD HERE WHAT YOU WANT THE PREFIX OF YOUR COOKIE TO BE ' it will either be 'strCookieURL' or 'strUniqueID' strTempCookieType = strUniqueID ' ******************************************************
Hi Richard Thatīs what i did, i changed it to UniqueId and added the code just below the head-part. The result is i get an increasing amount og always the same member. one and the same member is listed online up to four times. and i always get a guest even when thereīs definitely nonone else online but me. so what helps an information tellinmg me thereīs four members and one guest onlien when i know that itīs only me...
did i do something wrong??
|
|
|
ttnetworks
New Member
United Kingdom
70 Posts |
Posted - 26 March 2001 : 14:17:34
|
What file do you add the frist bit of code to, that displays the number of active users etc.
Andrew Thompson Sys Admin TT Networks |
|
|
Horst Petersen
Starting Member
10 Posts |
Posted - 26 March 2001 : 14:48:08
|
quote:
What file do you add the frist bit of code to, that displays the number of active users etc.
Andrew Thompson Sys Admin TT Networks
i added it to the bottom of inc_top.asp where it seems to be feeling fine...
|
|
|
yphish
Starting Member
15 Posts |
Posted - 27 March 2001 : 02:54:43
|
I'm sure that this is just an oversight, but using the Active Users MOD with the V3.2 of Snitz and for some reason it keeps on logging each refresh of the top_inc.asp page as a new user/guest (depending on login status). I'm sure this is an oversight on my part. Any suggestions?
Thanks,
yphish. |
|
|
RichardKinser
Snitz Forums Admin
USA
16655 Posts |
Posted - 27 March 2001 : 03:04:36
|
In the code that you added to inc_top.asp
' ****************************************************** ' ADD HERE WHAT YOU WANT THE PREFIX OF YOUR COOKIE TO BE ' it will either be 'strCookieURL' or 'strUniqueID' strTempCookieType = strCookieURL ' ******************************************************
the above is the default.
If you are using v3.1 sr4 (or v3.2) then the above should be:
strTempCookieType = strUniqueID
|
|
|
ttnetworks
New Member
United Kingdom
70 Posts |
Posted - 27 March 2001 : 03:15:06
|
How do you get the Active Users to be displayed in the Statistics, seems the most logical place for them
Andrew Thompson Sys Admin TT Networks |
|
|
RichardKinser
Snitz Forums Admin
USA
16655 Posts |
|
yphish
Starting Member
15 Posts |
Posted - 27 March 2001 : 13:14:47
|
quote:
In the code that you added to inc_top.asp
' ****************************************************** ' ADD HERE WHAT YOU WANT THE PREFIX OF YOUR COOKIE TO BE ' it will either be 'strCookieURL' or 'strUniqueID' strTempCookieType = strCookieURL ' ******************************************************
the above is the default.
If you are using v3.1 sr4 (or v3.2) then the above should be:
strTempCookieType = strUniqueID
Hi Richard,
Thanks for the quick response. I made this modification to the code (per previous posts), but still it:
a) incorrectly logs each refresh under a unique IP address
b) which then results in each refresh becoming a new user.
Have a look: http://clubdistrict.com/community/forum
Any suggestions would be appreciated.
Yphish.
|
|
|
Zude
Starting Member
USA
9 Posts |
Posted - 13 April 2001 : 21:31:12
|
OK,
I've tried to follow the instructions in this post as well as the other one at http://forum.snitz.com/forum/topic.asp?TOPIC_ID=6550, with no success yet.
I'm using mySQL 3.23.33, which could be the problem. I had no problems running active_users_setup.asp to update the database, and the code in inc_top.asp appears to be working. I've checked the database, and the the ONLINE table is getting updated with user information, so all is well there.
I used the "active_users2.asp" script, added right before the statistics section in default.asp. When I try to load default.asp, I get the following error:
quote: Error Type: ADODB.Recordset (0x800A0CB3) Object or provider is not capable of performing requested operation. /forum/active_users2.asp, line 40
This line is:
rs.absolutepage = mypage
I'm stumped on this one at the moment, it seems like it should work. Any ideas?
Thanks, Zude
|
|
|
RichardKinser
Snitz Forums Admin
USA
16655 Posts |
|
Dan03
Starting Member
Australia
17 Posts |
Posted - 18 April 2001 : 06:03:42
|
quote:
I reworked the login part of inc_top on my site so that it fixes the guest problem you have. basically it deletes the guest account with the same ip as the user logging in.
- Alan
Can I have your code???
- Dan. _______________________________ http://www.zer03.com/ |
|
|
@tomic
Senior Member
USA
1790 Posts |
Posted - 18 April 2001 : 13:29:41
|
Hey I started firguring out more about how the Active Users stuff works and have managed to get it to show where people are at many pages throughout the site. Seems to not like it if there are two pages called default even if they are in different directories, but if the files have different names it works fine. Gonna have to work on that one. Anyoneone know why this MOD doesn't like 2 or more default.asp pages even if they are in different folders or how to get around that?
@tomic
|
|
|
dayve
Forum Moderator
USA
5820 Posts |
Posted - 25 April 2001 : 00:16:00
|
I log in and it shows me as Guest???
|
|
|
dayve
Forum Moderator
USA
5820 Posts |
Posted - 25 April 2001 : 00:16:04
|
I log in and it shows me as Guest???
|
|
|
Topic |
|