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 same people showed twice
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

bjlt
Senior Member

1144 Posts

Posted - 20 June 2001 :  13:42:42  Show Profile
before time out one. e.g. you log on, then there's a guest left. how to fix this?

big9erfan
Average Member

540 Posts

Posted - 20 June 2001 :  14:05:01  Show Profile
Is this the example you are looking for?

Open the forums ( not logged in ) and you are shown as a guest.

Then you log in ( no longer a guest ) and it shows both guest and user name.

Is this what you are talking about? I really have no clue what you were trying to get across in your post.


http://www.ugfl.net/forums
Go to Top of Page

bjlt
Senior Member

1144 Posts

Posted - 20 June 2001 :  14:48:10  Show Profile
quote:

Is this the example you are looking for?

Open the forums ( not logged in ) and you are shown as a guest.

Then you log in ( no longer a guest ) and it shows both guest and user name.

Is this what you are talking about? I really have no clue what you were trying to get across in your post.


http://www.ugfl.net/forums



yes exactly. thanks

Go to Top of Page

big9erfan
Average Member

540 Posts

Posted - 20 June 2001 :  15:39:24  Show Profile
bjlt,

Sorry, but I don't know if that will be able to be fixed for a few reasons. First and foremost, there are a number of ISPs out there that actually give NUMEROUS IPs during a session. This means that Member#1 (logged in) can have ip# xxx.xxx.xxx.1 then xxx.xxx.xxx.10 then xxx.xxx.xxx.4, all in the same session and just be going through different pages on your site.

IF they kept the same IP, then this COULD be possible by searching the table for the members IP and then updating the name, BUT I think this would open up other problems for those that have bouncing IPs.

If you can find a way to make it work, then by all means feel free to attempt it, but my ( very clouded at the moment ) mind cannot think of a solution that will work for all situations.



http://www.ugfl.net/forums
Go to Top of Page

@tomic
Senior Member

USA
1790 Posts

Posted - 20 June 2001 :  18:26:11  Show Profile  Visit @tomic's Homepage  Send @tomic an ICQ Message
Check the topic below out. It fixed a lot of problems I had with Active Users. But it only takes care of multiple listings for members that are logged on. Dunno what can be done for guests.

http://forum.snitz.com/forum/link.asp?TOPIC_ID=9368

@tomic


Go to Top of Page

big9erfan
Average Member

540 Posts

Posted - 20 June 2001 :  19:45:14  Show Profile
@tomic,

As I'm the one that wrote a lot of the code in the thread you mentioned that takes care of duplicate guests that retain the same IP, as well as duplicate members with the same IP.

It does not do what bjlt mentioned above.



http://www.ugfl.net/forums
Go to Top of Page

bjlt
Senior Member

1144 Posts

Posted - 21 June 2001 :  00:57:03  Show Profile

I've read that thread carefully and changed the code accordingly. That didn't fix the problem discussed here. In that thread, Alan mentioned he added another field etc to have the problem from same IP fixed. Well, I'm looking into the code but I'm new to coding. Another consideration, if we do something to users listed from the same IP, what would happen if two or more user sharing an ip but logon as diferent users? e.g. my whole company sharing an adsl line?

maybe we just leave it there.


Go to Top of Page

big9erfan
Average Member

540 Posts

Posted - 21 June 2001 :  10:06:44  Show Profile
Alans fix for the problem only cured the listing of ( for example ) Big9erFan more than 1x. That is not what your problem is, but that there is guest left over when a member logs in. Is that correct?

Guests do not have member IDs, so that does not fix the problem ( thought I don't see it as a problem ).

As per your question about IPs. If the members are logged in it IP doesn't matter, as it updates via the member Name and not the IP. The only time the IP is looked at for updating the tables is in the case of a guest and it only checkes if their current IP is the same as an existing one in the table. If not it adds a new entry, if so it updates that record.

As per your company, I don't know how it would work out.

http://www.ugfl.net/forums
Go to Top of Page

bjlt
Senior Member

1144 Posts

Posted - 21 June 2001 :  11:05:24  Show Profile
quote:

Alans fix for the problem only cured the listing of ( for example ) Big9erFan more than 1x.



ah, i didn't know that, i though he fixed it.
well, it's ok to leave the guest there.

Go to Top of Page

Aznknight
Senior Member

USA
1373 Posts

Posted - 24 June 2001 :  14:45:40  Show Profile  Send Aznknight an AOL message  Send Aznknight an ICQ Message
quote:

Alans fix for the problem only cured the listing of ( for example ) Big9erFan more than 1x. That is not what your problem is, but that there is guest left over when a member logs in. Is that correct?



actually, i fixed this problem too. this part requires some stuff added to the login part. With all the changes to the whos online mod, it's kinda hard to integrate it into one package for use.

also we should consider calling this mod only ONE thing...either whos online or active users. It's kinda confusing calling it one and the other the next minute. I'm leaning towards referring to it as who's online instead of active users.

i'm looking into see if i can do a re-release of this mod.

- Alan
www.iamviet.com
www.calvsa.net
Snitz Resource
Go to Top of Page

big9erfan
Average Member

540 Posts

Posted - 25 June 2001 :  11:15:44  Show Profile
Alan,

What approach did you take towards fixing this? For users who have IPs that are consistent I can see the problem being very easy to fix, but for those that have IPs that jump all over the place, even when just clicking links ( I've seen an AOL memeber take up 7 different IPs at once ).

I cannot see a solution that will fix this universally.

http://www.ugfl.net/forums
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.29 seconds. Powered By: Snitz Forums 2000 Version 3.4.07