Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons

Reply
 
Thread Tools
Widget - Users Online Details »»
Widget - Users Online
Version: 1.4, by Lynne Lynne is offline
Developer Last Online: Oct 2022 Show Printable Version Email this Page

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

Download Now

File Type: txt widget- users online_FR.txt (7.1 KB, 272 views)
File Type: txt widget-users online 1.1.txt (7.3 KB, 250 views)
File Type: txt widget-users online 1.2.txt (7.7 KB, 430 views)
File Type: txt widget-users online 1.4.txt (15.2 KB, 1551 views)

Screenshots

File Type: png widget-users online 1.1.png (21.8 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
5 благодарности(ей) от:
doctorsexy, GONUMBER6, livenetc, misericorde, romaszek

Comments
  #132  
Old 01-22-2010, 07:03 PM
aberg aberg is offline
 
Join Date: Jul 2004
Location: Netherlands
Posts: 124
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't get it work.
I have copy- past the code
I have spend a lot of hours of this widget but without any results
I get a blanco field.
Any idea what can be wrong? tips or something?
Reply With Quote
  #133  
Old 01-22-2010, 07:14 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by aberg View Post
I don't get it work.
I have copy- past the code
I have spend a lot of hours of this widget but without any results
I get a blanco field.
Any idea what can be wrong? tips or something?
If this is an issue with any php widget, then you might want to check the bug tracker because there is a bug with certain users using the php widget.
Reply With Quote
  #134  
Old 01-23-2010, 02:39 AM
Trek Trek is offline
 
Join Date: Sep 2003
Posts: 664
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
What do you mean? You create this widget and add it to any layout you want wherever you want.
Actually, I think the question is more geared towards making it a forum sidebar, not CMS widget.

I actually have the same question and is why I was checking this thread. I don't like the WOL on the bottom of the website and want it on the sidebar (as I used to have it with VBA).
Reply With Quote
  #135  
Old 01-23-2010, 03:06 AM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Trek View Post
Actually, I think the question is more geared towards making it a forum sidebar, not CMS widget.

I actually have the same question and is why I was checking this thread. I don't like the WOL on the bottom of the website and want it on the sidebar (as I used to have it with VBA).
If you throw this code into a php block, comment out the includes line at the top, and change the template to vbcms_widget_execphp_activeusers, then it should work just fine on the forum index page.
Reply With Quote
  #136  
Old 01-23-2010, 05:10 AM
Trek Trek is offline
 
Join Date: Sep 2003
Posts: 664
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
If you throw this code into a php block, comment out the includes line at the top, and change the template to vbcms_widget_execphp_activeusers, then it should work just fine on the forum index page.
Edit:

Ok, I have a better understanding of what you meant. Haven't gotten it working yet, but don't want to muddy up your thread for this mod. Thanks as always Lynne!

Edit #2:

All working now as a sidebar block! Had to do some editing as the sidebar blocks are displayed differently than the CMS ones, but I have it working and looking how I want it! Thank you again!
Reply With Quote
  #137  
Old 01-24-2010, 11:40 AM
jimbos'ss jimbos'ss is offline
 
Join Date: Jan 2010
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

awesome thanks!
Reply With Quote
  #138  
Old 01-24-2010, 05:20 PM
abdulbasitsaeed's Avatar
abdulbasitsaeed abdulbasitsaeed is offline
 
Join Date: Mar 2009
Posts: 182
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you for this, Lynne.
Reply With Quote
  #139  
Old 01-24-2010, 06:01 PM
aberg aberg is offline
 
Join Date: Jul 2004
Location: Netherlands
Posts: 124
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
If this is an issue with any php widget, then you might want to check the bug tracker because there is a bug with certain users using the php widget.
Sorry that I don't understand this, but where can I find the bug tracker?
I have check the widget, but this is the only PHP Direct Execution widget I have
Reply With Quote
  #140  
Old 01-24-2010, 06:08 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by aberg View Post
Sorry that I don't understand this, but where can I find the bug tracker?
The bug tracker is here - http://www.vbulletin.com/forum/project.php?projectid=6
Reply With Quote
  #141  
Old 01-25-2010, 01:27 PM
jimbo68 jimbo68 is offline
 
Join Date: Feb 2007
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Awesome! Works great - thanks!

Is there any reason I'm missing that guests can't view the widget? I have permissions set correctly (I think).
Reply With Quote
Reply

Thread Tools

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

Forum Jump


All times are GMT. The time now is 04:16 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06032 seconds
  • Memory Usage 2,343KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (5)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (5)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete