Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Widget - Users Online Details »
Widget - Users Online
Mod Version: 1.4, by Lynne (Coder/Designer) Lynne is offline
Developer Last Online: Aug 2019 I like it Show Printable Version Email this Page

vB Version: 4.1.8 Rating: (84 votes - 4.83 average) Installs: 686
Released: 18 Dec 2009 Last Update: 27 Nov 2011 Downloads: 2513
Not Supported Uses Plugins Template Edits Re-usable Code Translations  

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!!!

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	widget-users online 1.1.png
Views:	15705
Size:	21.8 KB
ID:	117785  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Show Invisible Users As Online In Postbit To Admins, If They Are Online. N9ne vBulletin 2.x Full Releases 5 12 Apr 2003 21:28

  #76  
Old 31 Dec 2009, 10:27
Hasanudin's Avatar
Hasanudin Hasanudin is offline
 
Join Date: Jun 2003
Real name: Young Hero
running well..... thx u
__________________
Salam Hangat Selalu
Reply With Quote
  #77  
Old 01 Jan 2010, 17:51
Doctor Death Doctor Death is offline
 
Join Date: Jan 2006
Originally Posted by Derekclarke View Post
I have found what i was Doing Wrong, and am no longer getting this Error.

However when i try to configure the Wigit, I Paste the code
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Into the Top Section of the Popup Box, and change the template name to
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

as Instructed and Save.

However it does NOT change the code in the main box, and all i get displayed it the Time.
I get this exact error that you are getting.

When originally configuring this widget it contains

$output = date(vB::$vbulletin->options['dateformat']) . "<br />\n";
I have implemented other widgets (Direct HTML exeuction), however when I edit this widet's configuration to put in the code, it never saves it.

When I try to put in the proper code and click SAVE, it always defaults back to this contents

$output = date(vB::$vbulletin->options['dateformat']) . "<br />\n";
Would be happy to let Lynne (or anyone else) examine it if she cares to. Message me if so.

Last edited by Doctor Death; 01 Jan 2010 at 18:04.
Reply With Quote
  #78  
Old 02 Jan 2010, 03:04
THE__DRIFTER THE__DRIFTER is offline
 
Join Date: Feb 2009
I did everything stated in this post but it will not show on the frontpage. Suggestions?
Reply With Quote
  #79  
Old 02 Jan 2010, 04:10
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Real name: Lynne
Originally Posted by THE__DRIFTER View Post
I did everything stated in this post but it will not show on the frontpage. Suggestions?
Did you add it to the layout you use on the front page?
__________________
Former vBulletin.org Staff Member

Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before.
W3Schools -
Online vBulletin Manual
If I post some CSS and don't say where it goes, put it in the additional.css template.
I will NOT help via PM (you will be directed to post in the forums for help.)
Reply With Quote
  #80  
Old 02 Jan 2010, 07:49
gator777's Avatar
gator777 gator777 is offline
 
Join Date: Feb 2005
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?
Reply With Quote
  #81  
Old 02 Jan 2010, 08:40
jaffaman jaffaman is offline
 
Join Date: Nov 2004
Installed working fine thanks
Reply With Quote
  #82  
Old 02 Jan 2010, 09:22
kefallon kefallon is offline
 
Join Date: Jun 2008
Works fine on my site
Reply With Quote
  #83  
Old 02 Jan 2010, 14:34
THE__DRIFTER THE__DRIFTER is offline
 
Join Date: Feb 2009
Originally Posted by Lynne View Post
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.
Reply With Quote
  #84  
Old 02 Jan 2010, 15:50
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Real name: Lynne
Originally Posted by gator777 View Post
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?

Originally Posted by THE__DRIFTER View Post
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.
__________________
Former vBulletin.org Staff Member

Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before.
W3Schools -
Online vBulletin Manual
If I post some CSS and don't say where it goes, put it in the additional.css template.
I will NOT help via PM (you will be directed to post in the forums for help.)
Reply With Quote
  #85  
Old 02 Jan 2010, 22:36
CFodder CFodder is offline
 
Join Date: Mar 2008
Another great mod, thanks lynne .
Reply With Quote
  #86  
Old 03 Jan 2010, 08:41
dangerin's Avatar
dangerin dangerin is offline
 
Join Date: Dec 2009
Location: italy
Real name: mario
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
Reply With Quote
  #87  
Old 03 Jan 2010, 15:56
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Real name: Lynne
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.
__________________
Former vBulletin.org Staff Member

Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before.
W3Schools -
Online vBulletin Manual
If I post some CSS and don't say where it goes, put it in the additional.css template.
I will NOT help via PM (you will be directed to post in the forums for help.)
Reply With Quote
  #88  
Old 03 Jan 2010, 16:56
dangerin's Avatar
dangerin dangerin is offline
 
Join Date: Dec 2009
Location: italy
Real name: mario
thank you everywhere lynne.. i've thought this because i've seen more options in the widget for forum and so.. ..
ever great job .
thanks
Reply With Quote
  #89  
Old 04 Jan 2010, 08:46
arauf arauf is offline
 
Join Date: Aug 2005
i Added this on my Forum, Working Fine
Reply With Quote
  #90  
Old 04 Jan 2010, 11:13
LuckyNeo's Avatar
LuckyNeo LuckyNeo is offline
 
Join Date: Dec 2009
Real name: Vladimir
Good work! Thank you very much!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 23:47.

Layout Options | Width: Wide Color: