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!!!
Your second <img> tag (after the <else> tag) needs to point to wherever your "unknown.png" or "unknown.gif" avatar is - whatever image you want showing up for people with no avatars basically.
Your second <img> tag (after the <else> tag) needs to point to wherever your "unknown.png" or "unknown.gif" avatar is - whatever image you want showing up for people with no avatars basically.
You're right and I've edited accordingly. The issue though is that the "<vb:if condition=$loggedin['avatarurl']>" syntax doesn't work due to incorrect placement of the block code. Could you please respond to my post #209?
Can't seem to get this to display on my forum at all. I'm using 4.2.0 and used the instructions in the files step by step. Simply nothing displayed at all in my sidebar.
How I can get "X members and Y guests" on the same line as "There are currently X members online"? I was increasing forum_sidebar_width for something else and noticed nothing changed in that.
I'm assuming you have line breaks somewhere by default?
How I can get "X members and Y guests" on the same line as "There are currently X members online"? I was increasing forum_sidebar_width for something else and noticed nothing changed in that.
I'm assuming you have line breaks somewhere by default?
I actually reverted that change because it was causing problems with our thread titles not staying on one line, and I didn't want to trim titles lower than 20 (default is 30).
However, now I also want to line break the most visitors to reduce the sidebar width even more to hopefully restore the title trimming to the default 30.
I tried adding a <br />, but it made this:
Quote:
Most users ever online was 118, 9/11/2012 at 4:16 AM.
...look like this:
Quote:
Most users ever online was 118,
at 9/11/2012.
I also want to add spacing in-between.
Instead of this:
Quote:
There are currently X users online.
X members and X guests
Most users ever online was 118
9/11/2012 at 4:16 AM.
User 1, User 2, User 3
...it would look like this:
Quote:
There are currently X users online.
X members and X guests
Most users ever online was 118
9/11/2012 at 4:16 AM.