![]() |
Who's Online Sidebar Block
1 Attachment(s)
This is tested and working with Everywhere Sidebar 4 VB4
Step One: Create a Template ACP > Style Manager > Add New Template Title: block_online Code:
<div class="blocksubhead">{vb:rawphrase x_members_and_y_guests, {vb:raw numberregistered}, {vb:raw numberguest}}</div> ACP > Forums & Moderators > Forum Blocks Manager > Add Block Select Block Type: Custom HTML/PHP Title: Online Users Cache Time (in minutes): 5 Active: Yes Content Type: PHP Code:
global $vbulletin; $filter_groupids = "(insert numbers here)"; Enjoy. |
Installed. Anyway to turn off showing who is online? I have over 750 members logged in so it makes my sidebar go down a long way....
|
<a href="https://vborg.vbsupport.ru/showthread.php?t=233965" target="_blank">https://vborg.vbsupport.ru/showthread.php?t=233965</a> ?
|
CI: Time permitting, I'll give it a go
Khriz: We never could get that to work with ESB, this one does *shrug* |
I will test it :)
I will try to block lateral statistics I want to have a sidebar similar to xenforo ^ ^ |
Prove what? There's a screenshot and installs, it works.
Done trolling now ? |
A cms block would be cool too! Thanks and nominated/rated!
|
Thanks voglermc!
Unfortunately a cms block won't be forthcoming from me... we just have the forums (not the suite) and use mediawiki for our content management. |
Installed
|
Quote:
Replace your block content entirely with this, then add your usergroup numbers to: // space separated list of group ids to filter out $filter_groupids = ""; Code:
global $vbulletin; |
Hey :)
Can we have something like that for the Today birthday users? Thank you |
Are there any permissions issues related to this, when I try this I get a message telling me I don't have Permission to access the document...
|
Neat.
Some feedback: The buddymark doesn't actually display when I try this. Should be a + next to friends etc but none seen when I run this. I can see it is meant to be there from the code etc. After each name is a comma but in VB those seem to often be at the end of runs of things when viewed with ie8 and that is what I see with this too, a comma between members fine, like john, fred.. but also one after fred, which looks wrong of course. One workaround for that is simply to delete the comma from the template, then you just get a space between member names and no commas at all, which looks a little better perhaps. Your example graphic actually shows the unwanted comma at the end of the list of members so you are seeing this too. Hope the feedback is helpful and thanks for sharing this here. Steve |
in my sidebar it just says "Most users ever online was , at ." but nothing alse is shown... please help.. I use ESB 1.4.4.4 and vb4.1.7
thanks |
I added this as a widget as well for my CMS page...
Just used the php code in a PHP Direct Execution setup... Thanks a bunch!!! |
Installed on 4.2
Most ever online now only shows the actual users online, The most ever stat was even wiped out on the default VB WOL block |
nice ,, thank you ..
|
Hello friends, I have version vB 4.2.3 and I do not know how to create the first part of the block :confused: which is to create the template. You can help me step by step, please. Thank you very much.
|
wondering the way to take an idea like this and just move the whole WGO block to sidebar...
|
works on 4.2.5.php 7.2
|
All times are GMT. The time now is 09:44 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:
|