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!!!
Does this widget not work with version 4.06? I have also redirected my vbCMS to be my home page and now it only seems to pop up when it wants to. So I decided to redo the whole thing and now it is not working at all. I also have multiple styles. Thank you for any assistance
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.
This plugin seems to be working fine for logged in users, but will disappear for guests once they refresh the page on 4.1.1.
Edit: Nevermind it disappears for logged in users as well. Clearing the cms cache seems to fix it for a few minutes, and then it disappears again.
Edit to add: I lowered the widget cache setting to 0, seems to have fixed it at least for the time being.
I tried adding this, but it maybe conflicting with something. I ended up with a full white page with only the following...
HTML Code:
Fatal error: Call to a member function query_read_slave() on a non-object in /home/socially/public_html/forums/vboptimise/cachers/cacher_forumhomewol.php on line 35
I would suspect from the above, it is my vbOptimise plug-in.
I tried adding this, but it maybe conflicting with something. I ended up with a full white page with only the following...
HTML Code:
Fatal error: Call to a member function query_read_slave() on a non-object in /home/socially/public_html/forums/vboptimise/cachers/cacher_forumhomewol.php on line 35
I would suspect from the above, it is my vbOptimise plug-in.
Not any fault to your modification though.
Just quickly disable the other mod and see. If I recall, you need to sometimes rebuild something in that mod if you make changes.