![]() |
Number of users browsing current forum
This is a really simple hack that displays the number of users browsing the current forum along
with the list of users. It requires no template changes. ;) In forumdisplay.php find: PHP Code:
PHP Code:
|
It would be better if the number could be showen on the main forum page :)
|
I had the same idea :P
So, this only adds the number of people right? Because vB 2.2.5 already has 'Users browsing this forum: nick1, nick2, ..' by default. |
I will make this tonight if I am not to lazy :P
|
Quote:
Like this: Quote:
|
i dont get what this hack does
|
Look at the bold text in my previous reply.
|
this is a great hack.. and it doesnt require to add a new field.. however i'm concerned with the extra query? how is the server load doing?
|
There is no extra query. The counting is being done within the loop. It should have zero effect on the server.
|
I found that it won't count the Guest on the forum?
It would be great if it can count how many guest in each forum :P |
All times are GMT. The time now is 01:47 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|