Version: 1.4, by Lynne
Developer Last Online: Oct 2022
Category: vBulletin Forum Sideblocks -
Version: 4.2.0
Rating:
Released: 01-22-2010
Last Update: 06-04-2012
Installs: 161
Uses Plugins Template Edits
Re-useable Code
No support by the author.
This is a block for your forum sideblocks to show the Current Users Online.
You will need to Create a new Template (block_users_online), Cache the template, Create a new Block (Users Online), and then, optionally, remove the Currently Active Users list from the bottom of the page.
1.1 2010-06-12: Added in Most users ever online. Updated for 4.0.3.
1.2 2010-06-23: Updated to work for 4.0.4.
1.3 2011-11-17: Fixed template and block code for use in 4.1.8.
1.4 2012-06-05: Fixed template for use in 4.2.0.
Installation instructions for 4.2.0, 4.1.8 and pre-4.1.8 are included in the 1.4 download. Please make sure you use the correct Installation Instructions as both the block code and the template code are different depending on the version you are running. Read them carefully!!!
That is an error with the caching of the template. But, there is no "is" in the block_users_online template. Could you have accidentally added a line break in the middle of a word? Did you remember to enter that template under "Template to Use" in the Block configuration page?
Thanks Lynn, I tried it again but unfortunately its still a no go. My blocks have started appearing under my forumhome for some reason so Im checking on that and wondering if it might be the course of the problem. I will post back here once I get that figured out and have tried creating the block again .
I finally got this to appear but purely accidental. I tried reinstalling it again and still got the prior error so I was gonna uninstall it. I removed the plugin I had created and got side tracked removing the rest . When I looked at my forum home page I saw it there. So it ended up working without that plugin mentioned in the install. Could it be using another plugin that was already installed?
The plugin for this is only to cache the template. You really don't need the plugin in order for this to work at all, it is just good to cache your templates.
Lynne, Wouldn't it just be a simple code change if you wanted this to show only certain usergroups... thus turning it into say a STAFF ONLINE.
I know about the 'staff online' block but that doesn't work for me, I would love to give this one a try and just add a code change to show only specific usergroups 'online'
Lynne, Wouldn't it just be a simple code change if you wanted this to show only certain usergroups... thus turning it into say a STAFF ONLINE.
I know about the 'staff online' block but that doesn't work for me, I would love to give this one a try and just add a code change to show only specific usergroups 'online'
Sure. You could add a JOIN to the query to grab the users usergroup and then only output onlineusers in a certain usergroup.