![]() |
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 |
I am looking for the hack that vbulletin.org uses. It offers the number of users browsing the forum on the main index page. Anybody know how to do this?
|
I am trying to find the hack that vbulletin.org uses in the main forum index page. It displays the number of users browsing the forum in the forum name field??
|
Quote:
|
Cool:)
If you could get it for "Users browsing this Thread", that would be cool:) Satan |
Just do the same coding in showthread.php and you did the forumdisplay and it will be the same. :) I even went one step further and have it saying:
(1 User Browsing this Thread: Boofo) and (2 Users Browsing this Thread: Boofo, hellsatan) Quote:
|
Ok so it would work:)
Cool:) Thanks:D Satan |
I have the code if it would help you. ;)
|
Yes please:)
Satan |
Here you go. :)
NOTE: You need to have Firefdly's Users browsing this thread hack installed. Code:
----------------------- |
Thanks:)
Satan |
But how to get it to show on index.php?
|
All times are GMT. The time now is 04:43 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:
|