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!!!
Good Job! A suggestion, Lynne:
Wouldn?t it look cleaner if u put each info in a seperate line ? Like that
Any chance you could add this to ur widget ?
That is nicer. I was just copying what the current style was on the index/forum page. You can just modify the template if you want it to be like what you posted. The template name is vbcms_widget_execphp_activeusers.
Lynne, the widget is not displaying but a error is showing on the top of the Home Page.
Quote:
Parse error: syntax error, unexpected '}' in /hermes/bosweb/web111/b1116/sl.bannerearth/public_html/*****/packages/vbcms/widget/execphp.php(171) : eval()'d code on line 10
Do you have any suggestions on how I can fix this?
Do you have any suggestions on how I can fix this?
Double-check what you did. It looks like something extra got into the code somewhere.
As for the update.... For some reason, it sent out an update when all I did was add the french translation for the modification. So, no need to do anything unless you want the french translation for this.
Lynne, in the code window in the first post there is a slide bar for the long statements of code but in the vbulleting window to paste the code into there is no slide bar, it is a very small window. It looks like the pasted code wraps the longer statements. Your very neat indented code does not look neat when it is pasted. Could this cause an error?