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!!!
Did you add it to the layout you use on the front page?
I thought so; went through it all again but still nothing. I think it is more the CMS not wanting to display it. Have tried various things but nothing widget wise will show other than the ones indigenous to vB.
Lynne, the block displays empty when the user does not have access to the content. Can you make it so the block will not display if the user is not allowed to see the content?
On my test site, if I set the option for Display Logged in Users to "Yes, alphabetical to members only" and then I view the page as a Guest, I don't see the block at all. And I shouldn't since the condition is wrapped around the entire template. Perhaps you are playing with the wrong option?
Quote:
Originally Posted by THE__DRIFTER
I thought so; went through it all again but still nothing. I think it is more the CMS not wanting to display it. Have tried various things but nothing widget wise will show other than the ones indigenous to vB.
It doesn't sound like you are going to Layout Manager and *finding the correct layout* and adding this widget to it. Maybe you are adding widgets to the wrong layouts and that is why they aren't showing up. If you really think it is the software and not user error, then you should put in a support ticket to have support see what is wrong.
really nice job.
But i ask something about a modify if possibile :
It is possible to have more informations about users on line how for example from where they connect or how much in this day or the total of users etc ..
i've seen widget with these infromations in other cms and i ask if there is also in VB4.
i've actually installed the PL1 but as soon i think that release the 4.0.1 and after the 4.0.2
It is not an option to show that information in this widget. Paul wrote the code for how many in a day, so you could take his code and add it to this, but I'm not planning on changing this widget at all to add that.