vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   vBulletin CMS Widgets - Widget - Users Online (https://vborg.vbsupport.ru/showthread.php?t=230428)

Lynne 12-17-2009 10:00 PM

Widget - Users Online
 
1 Attachment(s)
This is a widget for your CMS pages to show the Current Users Online.

https://vborg.vbsupport.ru/attachmen...1&d=1275253720

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

Trek 12-17-2009 11:22 PM

Very cool, thanks Lynne!

Charlie98902 12-17-2009 11:31 PM

Thanks!

milsirhc 12-17-2009 11:50 PM

Can this be used in the forum block too?

Lynne 12-17-2009 11:56 PM

Since users online are already on the Forum Home page, I'm not sure why you would want to redo the query to get all the names again and put it on the same page. But, I really don't know if it would work there since I haven't tried it.

nightbloom 12-18-2009 12:03 AM

WOW great idea!

yilmaz 12-18-2009 01:49 AM

Cool idea! *Installed* - great mods you make

fourat 12-18-2009 01:58 AM

Thank you Lynne
Nice work

blake247 12-18-2009 02:34 AM

Prefect! Thank you!

shiqah 12-18-2009 03:51 AM

thanks alot

Traiman 12-18-2009 05:50 AM

thank you,nice

gator777 12-18-2009 06:22 AM

Thanks Lynne, Great work! :D

ragtek 12-18-2009 06:59 AM

hach, i thought you made "a real" widget, which just need to be uploaded and installed:( :P

bart6767 12-18-2009 08:01 AM

Thanks

Good to see you got it done and thanks for all your hard work .

kevin2008 12-18-2009 08:42 AM

thank, work perfectly in rc4

Vaupell 12-18-2009 08:55 AM

sexy.. :D downloaded... installed..

Stromba 12-18-2009 09:39 AM

mm i have try the steps and it dont works for me.

M3xital 12-18-2009 09:47 AM

Thanks for sharing! :D

kisanjong 12-18-2009 09:54 AM

Works Great in RC4 - Thanks

zbahadir 12-18-2009 11:12 AM

Thanks Lynne :)

sebaldus 12-18-2009 11:54 AM

THANKS LYNNE...:)
Sebaldus..

mondiuk 12-18-2009 12:09 PM

Nice work than'x

Bitti 12-18-2009 12:48 PM

uncached template forumhome_loggedinuser on cms

Lynne 12-18-2009 01:45 PM

Quote:

Originally Posted by Bitti (Post 1932898)
uncached template forumhome_loggedinuser on cms

I've added instructions to the first post on how to cache it.

Quote:

Originally Posted by ragtek (Post 1932743)
hach, i thought you made "a real" widget, which just need to be uploaded and installed:( :P

As far as I know, there is no way to upload/download widgets - or at least not in my admin panel. That sure would be handy though. I suppose I could have just written the query to do it in the install instructions for a product - is that what you are suggesting?

Charlie98902 12-18-2009 02:11 PM

Thanks Lynne painless as usual :D

Bitti 12-18-2009 02:27 PM

Thanks

es-league.com 12-18-2009 04:37 PM

great work again Lynne .. thank you :)

RadioErewan 12-18-2009 09:59 PM

Just a stupid question. Is it possible to install widget from XML or it is not provided in vBulletin 4 engine? Have no problems with code modifications, but installing mods in vB was so easy compared to phpBB...

Vaupell 12-18-2009 10:05 PM

Quote:

Originally Posted by RadioErewan (Post 1933139)
Just a stupid question. Is it possible to install widget from XML or it is not provided in vBulletin 4 engine? Have no problems with code modifications, but installing mods in vB was so easy compared to phpBB...

its in the suggestion box allready over on vbulletin.com suggestions forums
to make it possible to install widgets via product system.
but currently it is not possible.

Go and keep the topic alive..
http://www.vbulletin.com/forum/showt...export-widgets

Marka Ragnos 12-18-2009 10:41 PM

Awesome! Works perfect thx.

Dr.osamA 12-19-2009 08:41 AM

thank you,nice

installed
________
Anime lesbian

Naxon 12-19-2009 06:03 PM

It doesn't work for me... The widget is simply empty.

Charlie98902 12-19-2009 06:06 PM

You didn't follow the directions then. I had this issue too till I redid it and followed the directions one by one.

Naxon 12-19-2009 06:55 PM

Quote:

Originally Posted by Charlie98902 (Post 1933642)
You didn't follow the directions then. I had this issue too till I redid it and followed the directions one by one.

Ok, my bad, I forgot to change the template name for the widget...

Charlie98902 12-19-2009 07:14 PM

LOL I did that too.

Jamieinnh 12-19-2009 07:34 PM

Outstanding! Thanks for putting this together for us!

starman? 12-20-2009 01:24 PM

Quote:

Originally Posted by Lynne (Post 1932585)
Since users online are already on the Forum Home page, I'm not sure why you would want to redo the query to get all the names again and put it on the same page. But, I really don't know if it would work there since I haven't tried it.

I see your point Lynne but as a previous user of vBA it was great seeing the widget to the right without having to scroll to the bottom. If you disabled the Display Logged on Users? option from Forums Home Page Options in the AdminCP would this also disable your widget?

Lynne 12-20-2009 04:36 PM

Quote:

Originally Posted by starman? (Post 1934040)
I see your point Lynne but as a previous user of vBA it was great seeing the widget to the right without having to scroll to the bottom. If you disabled the Display Logged on Users? option from Forums Home Page Options in the AdminCP would this also disable your widget?

Yes, it uses the same permissions that are used on the forum home page. If you have the user listing disabled for the forum home, then it won't show up on the cms either. You can simply change the plugin and template to not have that condition around them (or just set them at the top of the plugin to what you want them to be).

starman? 12-20-2009 05:25 PM

Thanks very much.

syrus.xl 12-20-2009 10:55 PM

Thanks Lynne - perfect and easy instructions! Nice one.. :)


All times are GMT. The time now is 01:53 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01621 seconds
  • Memory Usage 1,784KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete