The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Basically, is it possible to have, say:
Users browsing this forum: User1, User2, and 5 guests ? Mark |
#2
|
||||
|
||||
Any ideas?
|
#3
|
||||
|
||||
No?
|
#4
|
||||
|
||||
Despite not knowing any PHP, I tried working on this myself ( ), 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? |
#5
|
|||
|
|||
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. |
#6
|
||||
|
||||
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? |
#7
|
||||
|
||||
You do, sir
Hopefully this might make its way into a future version |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|