Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Who's Online Sidebar Block Details »
Who's Online Sidebar Block
Mod Version: 1.00, by grey_goose (Coder/Designer) grey_goose is offline
Developer Last Online: Mar 2020 I like it Show Printable Version Email this Page

vB Version: 4.1.4 Rating: (4 votes - 5.00 average) Installs: 35
Released: 14 Jul 2011 Last Update: Never Downloads: 0
Not Supported Template Edits Translations  

This is tested and working with Everywhere Sidebar 4 VB4

Step One: Create a Template
ACP > Style Manager > Add New Template
Title: block_online

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Step Two: Create the Block
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

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Line 5 of the block can be edited to exclude usergroups from displaying at:
$filter_groupids = "(insert numbers here)";

Enjoy.

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	OnlineUserBlock.png
Views:	1371
Size:	31.7 KB
ID:	131010  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Comments
  #2  
Old 14 Jul 2011, 02:02
CaneInsider CaneInsider is offline
 
Join Date: Sep 2010
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....
Reply With Quote
  #3  
Old 14 Jul 2011, 03:43
Khriz's Avatar
Khriz Khriz is offline
 
Join Date: Apr 2011
http://www.vbulletin.org/forum/showthread.php?t=233965 ?
Reply With Quote
  #4  
Old 14 Jul 2011, 11:47
grey_goose grey_goose is offline
 
Join Date: Jun 2009
CI: Time permitting, I'll give it a go

Khriz: We never could get that to work with ESB, this one does *shrug*
Reply With Quote
  #5  
Old 14 Jul 2011, 15:03
Khriz's Avatar
Khriz Khriz is offline
 
Join Date: Apr 2011
I will test it
I will try to block lateral statistics
I want to have a sidebar similar to xenforo ^ ^

Last edited by Khriz; 14 Jul 2011 at 17:00.
Reply With Quote
  #6  
Old 14 Jul 2011, 16:38
grey_goose grey_goose is offline
 
Join Date: Jun 2009
Prove what? There's a screenshot and installs, it works.

Done trolling now ?
Reply With Quote
  #7  
Old 14 Jul 2011, 17:13
voglermc's Avatar
voglermc voglermc is offline
 
Join Date: Oct 2006
Real name: Mark V
A cms block would be cool too! Thanks and nominated/rated!
Reply With Quote
  #8  
Old 14 Jul 2011, 21:29
grey_goose grey_goose is offline
 
Join Date: Jun 2009
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.
Reply With Quote
  #9  
Old 14 Jul 2011, 21:40
Macgiber's Avatar
Macgiber Macgiber is offline
 
Join Date: Apr 2009
Real name: Omar
Installed
__________________
vb4
vb5

I invite you want to know.
Reply With Quote
  #10  
Old 16 Jul 2011, 15:56
grey_goose grey_goose is offline
 
Join Date: Jun 2009
Originally Posted by CaneInsider View Post
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....
Here you go.

Replace your block content entirely with this, then add your usergroup numbers to:

// space separated list of group ids to filter out
$filter_groupids = "";



Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
  #11  
Old 23 Jul 2011, 22:22
apn3a apn3a is offline
 
Join Date: Oct 2004
Hey

Can we have something like that for the Today birthday users?

Thank you
Reply With Quote
  #12  
Old 24 Jul 2011, 08:00
ErnieTheMilk ErnieTheMilk is offline
 
Join Date: Mar 2007
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...
__________________
Yep, I really am this stoopid
Reply With Quote
  #13  
Old 07 Sep 2011, 19:28
Steve_GB Steve_GB is offline
 
Join Date: Oct 2003
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
Reply With Quote
  #14  
Old 03 Dec 2011, 23:51
Malcolm-X Malcolm-X is offline
 
Join Date: Sep 2010
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
Reply With Quote
  #15  
Old 24 May 2012, 23:57
dsantana dsantana is offline
 
Join Date: Dec 2011
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!!!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 06:38.

Layout Options | Width: Wide Color: