The Arcive of vBulletin Modifications Site. |
|
Total Number of Users Online Now on Every Page Details »»
|
|||||||||||||||||||||||||||
|
Total Number of Users Online Now on Every Page
Developer Last Online: May 2013
Again, all credit goes to Chen for the original hack.
I've merely modified it, so that two extra queries are saved on forumhome - there's no point running the queries again since index.php has already calculated it. This hack modifies 1 php file and 2 templates. It's easy. Using my method, you save yourself 2 queries on forumhome. We use this at vB.org too. ![]() Instructions in the HTML file zipped below. Show Your Support
|
|||||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
Am I fast or what? Anyway.. I'm installing this one too since I installed it for vb2. If needed, I might just use users online to save myself a query.
You can also use $headerusers and $headerguests in the templates as well correct? As in there are $headerusers users and $headerguests guests online. |
|
#3
|
||||
|
||||
|
Nice work Erwin, I used the original until recently. When I eventually move over I shall definitely install this.
|
|
#4
|
|||
|
|||
|
Nice!! I'll definetily use this!
/me clicks Install MGM out |
|
#5
|
||||
|
||||
|
Thank You Erwin For Sharing !!! It's Installed.
Destee |
|
#6
|
||||
|
||||
|
Erwin, does this handle private and password protected forums, too? I have an area on my site that is password protected as well as private and if you are in there, it only shows I user online no matter how many there are online. Any way to fix that?
|
|
#7
|
||||
|
||||
|
Quote:
|
|
#8
|
||||
|
||||
|
Quote:
|
|
#9
|
||||
|
||||
|
So far so good.
|
|
#10
|
||||
|
||||
|
I found the problem. I had put the code in the navbar instead of the header. Apparently although the navbar shows up on every page, something messes it up when you go into any threads.
|
![]() |
|
|