Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/Code)
 Active Users Updated With Ip Viewing for Admin's
 New Topic  Topic Locked
 Printer Friendly
Previous Page | Next Page
Author Previous Topic Topic Next Topic
Page: of 16

skid_mark
Starting Member

1 Posts

Posted - 25 March 2001 :  17:06:31  Show Profile
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)

Go to Top of Page

Horst Petersen
Starting Member

10 Posts

Posted - 26 March 2001 :  12:56:57  Show Profile
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??

Go to Top of Page

ttnetworks
New Member

United Kingdom
70 Posts

Posted - 26 March 2001 :  14:17:34  Show Profile  Visit ttnetworks's Homepage
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
Go to Top of Page

Horst Petersen
Starting Member

10 Posts

Posted - 26 March 2001 :  14:48:08  Show Profile
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...

Go to Top of Page

yphish
Starting Member

15 Posts

Posted - 27 March 2001 :  02:54:43  Show Profile
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.
Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 27 March 2001 :  03:04:36  Show Profile
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
Go to Top of Page

ttnetworks
New Member

United Kingdom
70 Posts

Posted - 27 March 2001 :  03:15:06  Show Profile  Visit ttnetworks's Homepage
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
Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 27 March 2001 :  03:35:33  Show Profile
see here: http://forum.snitz.com/forum/link.asp?TOPIC_ID=6550
Go to Top of Page

yphish
Starting Member

15 Posts

Posted - 27 March 2001 :  13:14:47  Show Profile
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.

Go to Top of Page

Zude
Starting Member

USA
9 Posts

Posted - 13 April 2001 :  21:31:12  Show Profile  Visit Zude's Homepage  Send Zude an ICQ Message
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


Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 16 April 2001 :  00:58:00  Show Profile
Since part of this thread has been archived and is no longer visible

Here is the links to the Add-Ons I did to show the Member's name:

http://www11.ewebcity.com/dssdbs/files/active_users_addons2.zip

and here is an alternate download site:

http://www1.domaindlx.com/dssdbs/files/active_users_addons2.zip
Go to Top of Page

Dan03
Starting Member

Australia
17 Posts

Posted - 18 April 2001 :  06:03:42  Show Profile  Send Dan03 an AOL message  Send Dan03 an ICQ Message
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/
Go to Top of Page

@tomic
Senior Member

USA
1790 Posts

Posted - 18 April 2001 :  13:29:41  Show Profile  Visit @tomic's Homepage  Send @tomic an ICQ Message
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

Go to Top of Page

dayve
Forum Moderator

USA
5820 Posts

Posted - 25 April 2001 :  00:16:00  Show Profile  Visit dayve's Homepage
I log in and it shows me as Guest???

Go to Top of Page

dayve
Forum Moderator

USA
5820 Posts

Posted - 25 April 2001 :  00:16:04  Show Profile  Visit dayve's Homepage
I log in and it shows me as Guest???

Go to Top of Page
Page: of 16 Previous Topic Topic Next Topic  
Previous Page | 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.26 seconds. Powered By: Snitz Forums 2000 Version 3.4.07