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)

asus78 08-12-2010 11:39 AM

Hi, this seems not to work under 4.0.6? How do i have to change the config?

ragtek 08-15-2010 06:17 PM

If you make a new version, pls remove the iif function call;)

It's deprecated!
You could also use the new vB Cache, for me it's working a little bit faster then calling the normal query. And because the "who's online" is never exactly (because of the user timeout) you will never see the real users;)

I'm using the cache for displaying the widget and the online users on forumhome

djbaxter 08-21-2010 06:45 PM

Just tried to add this widget and I'm getting a path error: Fatal error: Class 'vBulletin' not found in /path/to/forum/packages/vbcms/widget/execphp.php.

I recently moved to a new dedicated server. What's showing in the error message is the correct path for my old server but incorrect for the new. It's odd because everything is working fine until I try to add the widget.

Where is this information stored or how do I change this?

Lynne 08-22-2010 03:56 AM

My guess would be your forgot to change some path in your vbulletin options.

djbaxter 08-22-2010 04:47 AM

Sorry... it wasn't the path at all. It was an error entering the code for the widget. Working.

bioload 09-05-2010 01:43 AM

Hi Lynne,

I've installed on 4.0.6, and the widget will only appear if I clear the cache. Once I navigate away from the home screen it will disappear until I clear the cache again.. any thoughts?

Lynne 09-05-2010 02:28 AM

Quote:

Originally Posted by bioload (Post 2093927)
Hi Lynne,

I've installed on 4.0.6, and the widget will only appear if I clear the cache. Once I navigate away from the home screen it will disappear until I clear the cache again.. any thoughts?

I'm not sure I understand. So you go to Home and it shows. Then you go to some other page and then come back to Home and it's gone? I honestly cannot reproduce this. Are there lots of users on your site? Are you sure you added the template to the correct style you are using? Do you have a url that I can see this happening?

bioload 09-05-2010 10:34 PM

Quote:

Originally Posted by Lynne (Post 2093939)
I'm not sure I understand. So you go to Home and it shows. Then you go to some other page and then come back to Home and it's gone? I honestly cannot reproduce this. Are there lots of users on your site? Are you sure you added the template to the correct style you are using? Do you have a url that I can see this happening?

That's right.....shows on the home page, but go to blog and come back home it's gone. Strange?...sent you pm link

Bankfodder 09-06-2010 09:19 AM

Thank you. Is there any way to make it span the width of the screen - or designate what % or the screen it should occupy?

Mine is displayingthe centre part of the CMS. I would really lke it to display over the center and the right

Bankfodder 09-06-2010 09:35 AM

Quote:

Originally Posted by Bankfodder (Post 2094487)
Thank you. Is there any way to make it span the width of the screen - or designate what % or the screen it should occupy?

Mine is displayingthe centre part of the CMS. I would really lke it to display over the center and the right

Forget this. I'm only just starting the learn my way round the layouts and grids.
It's sorted.
Ta

Bankfodder 09-06-2010 09:38 AM

... However, are you able to give me a quick tip as to how to reduce the text size because it seems to have different text attributes to the forum who's on line. Also the borders of the box surrounding the cms who's online mod.

Sorry for the trouble.

Bankfodder 09-06-2010 09:47 AM

OK, sorted the border color. It's called content_background. - not very logical

Just the font size now

Bankfodder 09-06-2010 10:35 AM

If anyone knows how to change the font size in this widget, I'd be very pleased to know about it.

Lynne 09-06-2010 01:46 PM

Quote:

Originally Posted by Bankfodder (Post 2094506)
If anyone knows how to change the font size in this widget, I'd be very pleased to know about it.

The font size in there is just set by the body tag which is set by the stylevar "font"

Bankfodder 09-06-2010 01:57 PM

Quote:

Originally Posted by Lynne (Post 2094566)
The font size in there is just set by the body tag which is set by the stylevar "font"

It is very kind of you to come back on this so quickly. However (sorry for being thick) - where do I find that please.

Lynne 09-06-2010 02:01 PM

Quote:

Originally Posted by Bankfodder (Post 2094578)
It is very kind of you to come back on this so quickly. However (sorry for being thick) - where do I find that please.

Style Manager > find your style in the list > StyleVars > type "font" in the top box > select Font in list > Edit stylevar > Save

Bankfodder 09-06-2010 03:05 PM

Thanks again for this. However, there is quite a list of different sylevars all with the word font in them. I can't seem to find the relevant one. Are you able to help again?

Lynne 09-06-2010 05:36 PM

Quote:

Originally Posted by Bankfodder (Post 2094603)
Thanks again for this. However, there is quite a list of different sylevars all with the word font in them. I can't seem to find the relevant one. Are you able to help again?

It is just called "font".

Bankfodder 09-06-2010 06:37 PM

I found it. Thanks. However, I changed the font size from 13 tp 10 but it doesn't affect your CMS mod.

Affected a lot of other things on the main board but not on the CMS

Lynne 09-06-2010 06:55 PM

Quote:

Originally Posted by Bankfodder (Post 2094698)
I found it. Thanks. However, I changed the font size from 13 tp 10 but it doesn't affect your CMS mod.

Affected a lot of other things on the main board but not on the CMS

I tried it on my totally default 4.0.6 test board and it did affect this widget (and the other widgets). I'm not sure why it isn't on your board. You may need to play with firebug and figure out what class is overriding the body tag for it.

Bankfodder 09-06-2010 07:48 PM

Thanks.

Anyway, it works very well. I'm pleased with it and the font problem has nothing to do with the mod.

SVTOA 09-06-2010 08:19 PM

Thanks Lynne! Works great on 4.06

SeToY 09-19-2010 12:34 PM

It just gives me:
Most users ever online was , at .

:(

Lynne 09-19-2010 02:09 PM

Quote:

Originally Posted by SeToY (Post 2100464)
It just gives me:
Most users ever online was , at .

:(

Try going through the install instructions again in the first post because I just installed this fresh on a new 4.0.7 test site of mine and it works just fine.

Gomojoe 09-25-2010 05:18 PM

I've added this to the left side of my homepage. Once I completed it I saw it where I wanted and it displayed correctly. Then I refreshed the page and it disappeared. Now it only appears sporatically. Did I do something wrong?

Lynne 09-25-2010 05:43 PM

Quote:

Originally Posted by Gomojoe (Post 2103082)
I've added this to the left side of my homepage. Once I completed it I saw it where I wanted and it displayed correctly. Then I refreshed the page and it disappeared. Now it only appears sporatically. Did I do something wrong?

Are you the only person on your forum? If so, I have heard it can be sporatic sometimes and so the best thing to do is remove the condition around the template.

Gomojoe 09-25-2010 09:53 PM

No, we've got a bunch of people on there! What does removing the condition do? Also, how would I do that?

Lynne 09-25-2010 10:16 PM

Quote:

Originally Posted by Gomojoe (Post 2103158)
No, we've got a bunch of people on there! What does removing the condition do? Also, how would I do that?

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.

Gomojoe 09-26-2010 03:27 PM

If I delete the condition code then it just displays the box, but without any values. Just says this in the box "There are currently users online. members and guests
Most users ever online was , at" Could it have something to do with being cached every 5 mins? That seems to be how long it takes it to show up again!

Lynne 09-26-2010 05:01 PM

Quote:

Originally Posted by Gomojoe (Post 2103363)
If I delete the condition code then it just displays the box, but without any values. Just says this in the box "There are currently users online. members and guests
Most users ever online was , at" Could it have something to do with being cached every 5 mins? That seems to be how long it takes it to show up again!

I set the cache to 0. However, you also have to apply the bug fix for that that is over in the bug tracker at vb.com

Gomojoe 09-26-2010 05:16 PM

It does seem to be related to the cache as I lowered it to a minute and it now shows up more frequenlty. As far as the bug fix, anyway you could point me there? I put that in the search over there and didn't get any results that were anywhere near that.

Lynne 09-26-2010 06:27 PM

Quote:

Originally Posted by Gomojoe (Post 2103392)
As far as the bug fix, anyway you could point me there? I put that in the search over there and didn't get any results that were anywhere near that.

http://tracker.vbulletin.com/browse/VBIV-8082

top dogs 360 10-02-2010 03:31 PM

Thank you Lynne (This should be standard IMO for the Vbul software, because when people visit the url it takes them to the homepage (CMS page) not the forum page.)

Again Thank you Lynne.

Top Dogs
www.xboxhounds.com

Lynne 10-02-2010 05:26 PM

Quote:

Originally Posted by top dogs 360 (Post 2105921)
This should be standard IMO for the Vbul software, because when people visit the url it takes them to the homepage (CMS page) not the forum page.

Actually, that is up to you to set up. Open the index.php file and just comment out the line that directs you to content.php and uncomment that line to direct you to the forum.php page.

top dogs 360 10-02-2010 07:15 PM

Quote:

Originally Posted by Lynne (Post 2105970)
Actually, that is up to you to set up. Open the index.php file and just comment out the line that directs you to content.php and uncomment that line to direct you to the forum.php page.

Oh I didn't know that thank you. Sort of along the same lines maybe you can help with this. When members sign in it takes them to the forum page instead of the home page. Is there a way to change that?


Thanks,
TD

Lynne 10-02-2010 08:00 PM

Quote:

Originally Posted by top dogs 360 (Post 2106017)
Oh I didn't know that thank you. Sort of along the same lines maybe you can help with this. When members sign in it takes them to the forum page instead of the home page. Is there a way to change that?


Thanks,
TD

Probably one of the "print_standard_redirect" lines in the register.php page. I've never looked in to changing the default action, so I couldn't tell you exactly which one.

marinelife 10-03-2010 04:45 PM

Can anyone post their execphp.php, The fix does not seem to work for me and I want to make sure I have mine right.

IainMustardGas 10-05-2010 01:04 PM

Works perfectly on vB Suite 4.0.7 :D

Thank you very much for this great widget :up:

albanah 10-14-2010 05:42 PM

I have so many users on line.
the widget is very looong.
is there a way to set maximum height of the widget ?

Lynne 10-14-2010 05:59 PM

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.


All times are GMT. The time now is 08:15 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.01778 seconds
  • Memory Usage 1,829KB
  • 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
  • (16)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