The Arcive of vBulletin Modifications Site. |
|
Display Online Users Count Everywhere Details »»
|
||||||||||||||||||||||||||||
Description: This mod will add online users count info to any vBulletin page.
Example: Quote:
Details: You don't have to enable "Display Logged in Users?" options (forumhome,showthread,forumdisplay) which requires serious resources to run this mod. I haven't noticed any performance problems with more than 10k online users. Screenshots: Installation: 1-) Import product-msx_online_count_vb3.xml 2-) Edit navbar template (or any template you prefer) and add: Code:
<!-- Display Online Users Count --> <b>$msxtotal</b> $vbphrase[users_online] (<phrase 1="$msxmembers" 2="$msxguests">$vbphrase[x_members_and_y_guests]</phrase>) <!-- / Display Online Users Count --> For vBadvanced (vBulletin 3): Open Portal Output Global Variables and add the lines below to the list: Code:
msxtotal msxmembers msxguests Download Now
Show Your Support
|
||||||||||||||||||||||||||||
| Comments |
|
#2
|
|||
|
|||
|
For vBadvanced (vBulletin 3):
Open Portal Output Global Variables and add the lines below to the list: Code:
msxtotal msxmembers msxguests |
|
#3
|
|||
|
|||
|
Thanks ,works great =]
|
|
#4
|
||||
|
||||
|
How many queries does this add globally?
|
|
#5
|
|||
|
|||
|
Two small queries are executed, same with the Admin CP online users stat.
|
|
#6
|
||||
|
||||
|
Thanks..
But is there any way to put this on Custom 404 Page? |
|
#7
|
|||
|
|||
|
Yes. But you have to integrate that page with vBulletin first. Adding these lines at the top of your custom 404 page will do the trick:
Code:
<?php
$forumpath = '/home/youraccountname/public_html/forum';
chdir($forumpath);
require_once('./global.php');
exec_shut_down();
?>
|
|
#8
|
||||
|
||||
|
Thank you! this has always been one of my favorite modifications of vbulletin...
|
|
#9
|
||||
|
||||
|
I like to use it a little bit different, I like to only show the total number of users and for the total count to link the users online page
Quote:
HTML Code:
<!-- Display Online Users Count --> <b><a href=/online.php>$msxtotal $vbphrase[users_online]</a></b> <!-- / Display Online Users Count --> |
|
#10
|
|||
|
|||
|
Excellent mod, installed and voted 5, been trying to figure this out.
![]() Question for vBadvanced. I added msxtotal, msxmembers, and msxguests to Portal Output Global Variables but it's still showing "Online Users: ( members, guests)" but it works fine everywhere else on the forum. Is there something I'm missing? Thanks for any help! ![]() EDIT: Nevermind, fixed it. I was editing the Variables in the vBadvanced page itself, instead of Default Settings > Main Options. |
![]() |
|
|