The Arcive of vBulletin Modifications Site. |
|
Display Online Users Count Everywhere (vB 4) Details »»
|
||||||||||||||||||||||||||||||
|
Display Online Users Count Everywhere (vB 4)
Developer Last Online: Oct 2021
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>{vb:raw msxtotal}</b> users online ({vb:rawphrase x_members_and_y_guests, {vb:raw msxmembers}, {vb:raw msxguests}})
<!-- / Display Online Users Count -->
Edit Get Online Users Count plugin and change 'navbar' with the template name. vBulletin 3.8.x version is here: https://vborg.vbsupport.ru/showthread.php?t=239361 Download Now
Show Your Support
|
||||||||||||||||||||||||||||||
| Благодарность от: | ||
| rodriiverduguez | ||
| Comments |
|
#2
|
|||
|
|||
|
I guess this could be very useful in some cases
|
|
#3
|
|||
|
|||
|
Yes, it was really annoying to manually disable forumhome,showthread,forumdisplay online users stats each time at the peak times for me
|
|
#4
|
||||
|
||||
|
Neat mod, I can't get it to work in the header after changing navbar to header in the plugin and putting the code in the header though. Works fine in the navbar but I would prefer to have it in the header.
|
|
#5
|
|||
|
|||
|
Quote:
Code:
vB_Template::preRegister('header',array('msxtotal' => $msxtotal, 'msxmembers' => $msxmembers, 'msxguests' => $msxguests));
|
|
#6
|
||||
|
||||
|
That's what I have too but it won't work in the header. I have a feeling the hook location needs to be changed for the header, just not sure which one.
|
|
#7
|
|||
|
|||
|
Weird. The site i tested is using vb 4.0.2 PL4 with vBSEO and no other mods installed. Any caching system etc enabled? Sorry for not being able to suggest solutions as i don't have vb4
How you tried any other templates?Maybe another user installs this mod and tells us if it works for him in the header... |
|
#8
|
||||
|
||||
|
Quote:
|
|
#9
|
|||
|
|||
|
One last try... Add this code to the header template just before the last </div> to test...
Code:
<!-- Display Online Users Count -->
<b>{vb:var msxtotal}</b> users online ({vb:rawphrase x_members_and_y_guests, {vb:var msxmembers}, {vb:var msxguests}})
<!-- / Display Online Users Count -->
|
|
#10
|
||||
|
||||
|
Quote:
|
![]() |
|
|