View Full Version : 'Users browsing this forum' to include guests?
MarkB
11-06-2001, 07:34 PM
Basically, is it possible to have, say:
Users browsing this forum: User1, User2, and 5 guests
?
:)
Mark
MarkB
11-08-2001, 05:14 AM
Any ideas?:(
MarkB
11-11-2001, 03:33 AM
No? :(
MarkB
11-14-2001, 09:10 PM
Despite not knowing any PHP, I tried working on this myself (:eek: ), and of course hit a bump right off :)
I was thinking of using code from the index page, but obviously the session table doesn't contain a field which places someone in a specific forum (like 'user' has inforum), it only puts each session at a particular location...
Am I to assume that this is not going to be possible for me?:(
Scott MacVicar
11-14-2001, 09:32 PM
as the Who's browsing what forum relies on a column in the users table called inforum then this would have to rely on the session table as obviously guests aren't mentioned in the users table :/
This is the way the Who's online gets users but the user browsing forum is different for some reason i guess.
Admin
11-15-2001, 10:19 AM
There is no way of doing this, unless you add some code to the updateuserforum() function, to count all guests in that forum each time the function is called, and store that number somewhere.
OR
You can add code to forumdisplay.php, to get count of guests in the session table, but you will only be able to get users that are currently in the forum listing.
The way it works now, people are listed even if they are just reading a thread in the forum.
Do I make sense? :)
MarkB
11-15-2001, 10:26 AM
You do, sir :)
Hopefully this might make its way into a future version :D
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.