Version: 1.4, by Lynne
Developer Last Online: Oct 2022
Category: vBulletin CMS Widgets -
Version: 4.1.8
Rating:
Released: 12-17-2009
Last Update: 11-26-2011
Installs: 686
Uses Plugins Template Edits
Re-useable Code Translations
No support by the author.
This is a widget for your CMS pages to show the Current Users Online.
You will need to Create a new Template (vbcms_widget_execphp_activeusers), Cache the template, Create a new Widget (Users Online), Configure the Widget, and then finally add the Widget to your Layout (I am not including instructions for that, you should know how to add Widgets to Layouts).
1.0 2009-12-17: initial release by Lynne at vbulletin.org (pre 4.0)
1.- 2010-01-07 - French translation included thanks to albibak (version 1.0)
1.1 2010-05-30: Added in Most users ever online.
1.2 2010-10-22: Fixed template to use new classes and widget code to use new online users query/method. (4.0.8)
1.3 2011-11-17: Fixed template and widget code for use in 4.1.8.
1.4 2011-11-27: Quick fix in template to show link to online.php page. (4.1.8)
Installation instructions for 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 widget code and the template code are different depending on the version you are running. Read them carefully!!!
It just gives me:
Most users ever online was , at .
Try going through the install instructions again in the first post because I just installed this fresh on a new 4.0.7 test site of mine and it works just fine.
I've added this to the left side of my homepage. Once I completed it I saw it where I wanted and it displayed correctly. Then I refreshed the page and it disappeared. Now it only appears sporatically. Did I do something wrong?
I've added this to the left side of my homepage. Once I completed it I saw it where I wanted and it displayed correctly. Then I refreshed the page and it disappeared. Now it only appears sporatically. Did I do something wrong?
Are you the only person on your forum? If so, I have heard it can be sporatic sometimes and so the best thing to do is remove the condition around the template.
No, we've got a bunch of people on there! What does removing the condition do? Also, how would I do that?
There is a condition around the contents of the template:
HTML Code:
<vb:if condition="$show['loggedinusers']">
the main content
</vb:if>
Just remove the condition and see if that fixes the issue. Otherwise, I don't know what to tell you because I have never been able to replicate this issue on any of my default vbulletin boards so there isn't anything I can do if I can't replicate it.
If I delete the condition code then it just displays the box, but without any values. Just says this in the box "There are currently users online. members and guests
Most users ever online was , at" Could it have something to do with being cached every 5 mins? That seems to be how long it takes it to show up again!
If I delete the condition code then it just displays the box, but without any values. Just says this in the box "There are currently users online. members and guests
Most users ever online was , at" Could it have something to do with being cached every 5 mins? That seems to be how long it takes it to show up again!
I set the cache to 0. However, you also have to apply the bug fix for that that is over in the bug tracker at vb.com