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)

albanah 10-15-2010 05:48 AM

Quote:

Originally Posted by Lynne (Post 2110156)
You could probably set a height in this part of the template:
HTML Code:

<div class="cms_widget_content" style="height: 100px;">
You may have to set the overflow property to hidden also.

Many thanks Lynne.

It is working vey well .

gokhansancar 10-15-2010 11:20 PM

thanks, i really like that widget

thephoneclub 10-19-2010 11:16 PM

doens't work in 4.0.7

marinelife 10-19-2010 11:24 PM

works in 4.0.7 for me

caciocode 10-19-2010 11:54 PM

I have just tagged this. Might come useful later. Thanks.

Lynne 10-22-2010 07:35 PM

I updated the template to use the new classes. I also updated the widget configure code to use the new query/method which will not show users from usergroup 3 or 4 which has been in place for the last couple of versions.

Juggernaut 10-23-2010 02:44 AM

Installed the update, thank you Lynne :D

Vaupell 10-23-2010 11:52 AM

sorted, tx lynne!

goshalim 10-30-2010 04:21 AM

Hi Lynee

Please explain me this

When i creat the new template, where do i go and put the php code.

Sorry i am not an expert and i need some help

Thanks

Lynne 10-30-2010 02:10 PM

Quote:

Originally Posted by goshalim (Post 2115942)
Hi Lynee

Please explain me this

When i creat the new template, where do i go and put the php code.

Sorry i am not an expert and i need some help

Thanks

The php code is for the widget. You need to create a widget, as the instructions say, and then configure it.

goshalim 10-30-2010 04:13 PM

Lynee
Iam talking about the very first part when you are saying

1) Create a new Template
Styles & Templates > select style (I like to do this in the MASTER STYLE) > Add Template
Title - vbcms_widget_execphp_activeusers
Template code -

HTML Code:

Where do i put the HTML code ( not the php ) my mistake

Lynne 10-30-2010 06:44 PM

You put the html code into the template you just created.

maherl 11-03-2010 06:38 PM

Hi Lynne,

I have followed your instructions and set up the template. It all works well when I go to the website for the first time, but then what happens when I refresh the CMS Home page is the widget disappears from the screen altogether. (www.superstox.co.uk). Give it a try...

I am using v4.0.8. Have you heard of this before?

Regards, Lee

Lynne 11-03-2010 09:57 PM

Yes, this has already been posted about in the thread. It can happen on inactive sites (where only one user is online). If I recall, the fix was to remove the condition around the template code. (It's posted in here somewhere, I believe.)

Bergler 11-04-2010 06:16 AM

Hi Lynne, quick question! Is there anyway to make this mod, work with this one? https://vborg.vbsupport.ru/showthread.php?t=252753

Cheers. :)

Lynne 11-04-2010 01:50 PM

Of course there is. You'd just need to combine the code between the two in the widget configuration.

BattleBunker 11-28-2010 11:29 AM

First post on vbulletin.org .. thanks for this. Works beautifully - installed!
Cheers
BB

soul86 12-01-2010 08:39 AM

Excellent Job . Many Thanx

Martyn1983 12-01-2010 07:51 PM

Can't seem to get this to display in 4.0.8 - any ideas?

Cheers,
Martyn

Lynne 12-01-2010 11:31 PM

Most likely you didn't do the steps correctly. Reread and redo them and then see if you still have the same problem. It does work on my 4.0.8 test forum, so I know it should work for you unless you installed it incorrectly or you have another mod that is somehow making it not work.

Martyn1983 12-02-2010 04:49 AM

Quote:

Originally Posted by Lynne (Post 2128162)
Most likely you didn't do the steps correctly. Reread and redo them and then see if you still have the same problem. It does work on my 4.0.8 test forum, so I know it should work for you unless you installed it incorrectly or you have another mod that is somehow making it not work.

Worked fine before I did the upgrade, tried a reinstall of the widget last night and no joy. In both cases I followed the instructions provided.

Not being funny, but getting a bit peeved with all the suggestions that things breaking due to 4.0.8 is somehow user related, when its just code that should never have been released in the first place. But i digress. If there is a fix that I've simply missed please feel free to point me in the right direction.

Lynne 12-02-2010 02:07 PM

Quote:

Originally Posted by Martyn1983 (Post 2128228)
Not being funny, but getting a bit peeved with all the suggestions that things breaking due to 4.0.8 is somehow user related, when its just code that should never have been released in the first place. But i digress. If there is a fix that I've simply missed please feel free to point me in the right direction.

If you did an upgrade and you had this template in the MASTER STYLE, then it's going to be gone because the upgrade will replace your MASTER STYLE. Did you check to make sure the template was still there for your style?

fluidswork 12-02-2010 02:48 PM

Ya i think as a widget it will let us use the space that was previously used by this data..........

nick_n_ii 12-23-2010 11:06 PM

Installed and set up but don't seem to work in 4.0.6

On the site we're running several themes. Seems this works great if I reset Home page to Default. Does that mean I need to add this to all the themes?


UPDATE
I had to enter the first part into each theme I wanted it to work in. Up and working now.

vglobal 12-25-2010 08:13 PM

Installed. Work great on 4.1.0.

GamerPerfection 12-28-2010 11:19 AM

Quote:

Originally Posted by Lynne (Post 2103165)
There is a condition around the contents of the template:
HTML Code:

<vb:if condition="$show['loggedinusers']">
the main content
</vb:if>

Just remove the condition and see if that fixes the issue. Otherwise, I don't know what to tell you because I have never been able to replicate this issue on any of my default vbulletin boards so there isn't anything I can do if I can't replicate it.

Thanks, that fixed my issue of it disappearing since I updated to your latest version. :up:

zaone 12-28-2010 11:40 AM

Any idea when it will be ready for 4.1?

zaone 12-28-2010 03:11 PM

I don't have vBulletin CMS in my admin cp. I'm using vbulletin 4.1 classic.

Lynne 12-28-2010 03:11 PM

Quote:

Originally Posted by zaone (Post 2140074)
Any idea when it will be ready for 4.1?

Take a look at just this page in the thread....
Quote:

Originally Posted by vglobal (Post 2138998)
Installed. Work great on 4.1.0.


zaone 12-28-2010 03:18 PM

Yep, sorry I don't know where my head was at ..
Now getting back to the other question, I don't have vBulletin CMS, is this option available only for those with vbulletin publisher suite? If so, how could i use this in my vbulletin classic forum?

Lynne 12-28-2010 03:26 PM

Quote:

Originally Posted by zaone (Post 2140186)
Yep, sorry I don't know where my head was at ..
Now getting back to the other question, I don't have vBulletin CMS, is this option available only for those with vbulletin publisher suite? If so, how could i use this in my vbulletin classic forum?

This is a widget, so yes, it is only available for the Suite version. If you want a forum version, then you should be looking at the Forum Blocks, not Widgets.

ChaFF 12-29-2010 06:06 PM

Interesting - working fine but like when u refresh a page it dissapears than after couple of minutes you refresh again and you can see it and so on

Zweeper 01-04-2011 09:56 PM

hello,

i have a question about this modification.
I installed it as a forum sidebar block, and it works pretty well! perfect! Thanks for that so far! :)


I installed now the everywhere sidebar mod (https://vborg.vbsupport.ru/showthrea...34#post2144134 ) and i have some trouble with the online block.

It is still shown on the forumhome template. But when i change, for example, to a thread, the online user block disappears from the sidebar.

Can anybody help me with this issue? Any idea what's going wrong here?

I really appreciate every bit of help!



Regards

ThisIrksMe 01-07-2011 01:09 AM

This is basically the same thing as the forum statistics. only this is for the entire site or just the CMS section?

Lynne 01-07-2011 01:32 AM

Quote:

Originally Posted by ThisIrksMe (Post 2145222)
This is basically the same thing as the forum statistics. only this is for the entire site or just the CMS section?

This is a Widget, so it's only for the CMS pages.

nhdriver4 01-15-2011 03:45 AM

Thanks so much! Easily installed and worked as expected!

demonfatal 01-15-2011 03:34 PM

Thx Lynne! :)

just77me 01-17-2011 08:06 AM

Is a german version available? where can i change the text? thank you.

Lynne 01-17-2011 05:58 PM

Quote:

Originally Posted by just77me (Post 2150360)
Is a german version available? where can i change the text? thank you.

Do you have the german language pack installed? This uses the same phrases as used on the forums.

ErnestA 01-31-2011 11:36 PM

Nice mod Lynne. Simple to install and it just plain works!


All times are GMT. The time now is 08:09 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.01695 seconds
  • Memory Usage 1,815KB
  • 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
  • (2)bbcode_html_printable
  • (10)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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