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 Forum Sideblocks - Block - Users Online (https://vborg.vbsupport.ru/showthread.php?t=233965)

SemperFideles 07-06-2010 09:29 PM

Installed 4.0.4 a couple of weeks ago and was working and now it's not displaying again.

SemperFideles 07-08-2010 10:59 AM

Lynne,

I figured out that the User's Online Block does, in fact, work. What troubled me is that I have the Everwhere Sidebars Mod installed. All my custom forum blocks display on other pages than FORUMHOME but the User's Online Block does not.

The Mod writer for Everywhere Sidebars noted this:
Quote:

Originally Posted by almannai (Post 2065968)
That is a nice mod from Lynne.

It will not work because Lynne is restricting the mod for forumhome only in second step

PHP Code:

if (THIS_SCRIPT == 'forum')
{
    
$cache[] = 'block_users_online';


I think if you disable the if condition it will work. Better to ask Lynne
Regards, Khalid

I tried removing the conditional but it did not work. Do you have any idea why the User's Online Block won't work on other areas of the board other than FORUMHOME?

Lynne 07-08-2010 02:39 PM

That is just for caching the template, it won't stop it from being displayed (it will just give you an uncached template). You can try removing the other conditions I have around the code, but it could just be that you don't have other necessary information available to you on the other pages and you need to include other php scripts. You'll have to look in your error_logs probably if it isn't one of the conditions.

Igel1 07-23-2010 12:14 PM

vbulletin 4.0.5
There is a problem with the block "users online" and the Mod Everywhere Sidebar 4 VB4 https://vborg.vbsupport.ru/showthrea...233871&page=30 . If both are active there is an error message when you eg goes into the profile or FAQ, Who is Online
Fatal error: Call to undefined function fetch_online_status() in ...\includes\block\html.php(95): eval()'d code on line 93

Lynne 07-23-2010 02:11 PM

Quote:

Originally Posted by Igel1 (Post 2073331)
vbulletin 4.0.5
There is a problem with the block "users online" and the Mod Everywhere Sidebar 4 VB4 https://vborg.vbsupport.ru/showthrea...233871&page=30 . If both are active there is an error message when you eg goes into the profile or FAQ, Who is Online
Fatal error: Call to undefined function fetch_online_status() in ...\includes\block\html.php(95): eval()'d code on line 93

It just needs you to require the file with that function since it isn't already included on those pages. Add this at the top of the code:

PHP Code:

require_once(DIR '/includes/functions_bigthree.php'); 


Igel1 07-23-2010 11:04 PM

Thanks Lynne

I have entered above in the block code and now it works on all pages without error. Even if the Sidebar is disabled or uninstalled everything works without problems.

neopets 08-23-2010 02:03 AM

@lynne

Any reason stats and usernames would not be showing up in 4.0.6?

https://vborg.vbsupport.ru/

Lynne 08-23-2010 02:17 AM

Quote:

Originally Posted by neopets (Post 2088084)
@lynne

Any reason stats and usernames would not be showing up in 4.0.6?

http://s3.amazonaws.com/awesome_scre...VGUWDZT%2BQ%3D

This works fine on my 4.0.6 test forum, so you might want to double-check that you installated it correctly.

neopets 08-23-2010 02:41 PM

Managed to fix that issue

But when using sidebar everywhere, it'll display on a page once. then if I reload the page the block disappears.

Edit: Displays on forum home all the time. but on other pages displays once.. then is gone. Odd

Marv 08-25-2010 04:56 PM

Quote:

Originally Posted by neopets (Post 2088360)
Managed to fix that issue

But when using sidebar everywhere, it'll display on a page once. then if I reload the page the block disappears.

Edit: Displays on forum home all the time. but on other pages displays once.. then is gone. Odd

Almost same here, Lynne. Updated to 4.06 and the display on forum.php is like a lottery. I cannot tell what triggers the display cause there is no pattern which I could identify. Sometimes it works but most of the time it doesn?t. Could you afford some time to have a look into that 4.06 issue ? Would be really appreciated.


All times are GMT. The time now is 12:58 PM.

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.01333 seconds
  • Memory Usage 1,746KB
  • 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_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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