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)

Coroner 01-24-2010 06:52 AM

Quote:

Originally Posted by DjEddie (Post 1964833)
Hi, Lynne

Ive installed this as per your instructions and double checked and i get the Users Online block .. but no text inside ..

any suggestions ?

Thanks :)

Template to Use - block_users_online

This works pretty good. Thx @Lynne

DjEddie 01-24-2010 12:14 PM

Quote:

Originally Posted by Coroner (Post 1964996)
Template to Use - block_users_online

This works pretty good. Thx @Lynne

Thanks .. stupidly missed that lol cheers coroner :)

Lynne 01-24-2010 02:47 PM

Quote:

Originally Posted by mandingo (Post 1964847)
Quick one Lynne, I tried to add the "most ever users" into it and it didn't seem to work.

Yes, you would need to add the code from the forum.php page to get that info. Problem is, it is from the datamanager and I know I couldn't grab the datamanager info when I had this code in the widget and I didn't even bother to try for this block. Someone asked me for the code to put the widget in the block and so that's exactly what I did.

marcomrc 01-25-2010 11:47 AM

gives me this error:

Fatal error: Class 'vB' not found in /web/htdocs/www.xxxxxxx.it/home/forum/includes/block/html.php(89) : eval()'d code on line 2

DjEddie 01-25-2010 01:25 PM

Hi, noticed an error that I get from this mod (found it was this by disabling and enabling the different mods i have).

When I log out (with this mod enabled) this is the error I get:

Fatal error: Call to undefined function fetch_online_status() in /home/*****/public_html/radio1/includes/block/html.php(89) : eval()'d code on line 93

line 93 of the includes/block/html.php code is:
Code:

        $content = nl2br(htmlspecialchars_uni($this->config['html_content']));
when the mod is disabled .. this error doesn't happen .. any suggestions?

Lynne 01-25-2010 02:36 PM

Quote:

Originally Posted by marcomrc (Post 1966068)
gives me this error:


Fatal error: Class 'vB' not found in /web/htdocs/www.xxxxxxx.it/home/forum/includes/block/html.php(89) : eval()'d code on line 2

Quote:

Originally Posted by DjEddie (Post 1966137)
Hi, noticed an error that I get from this mod (found it was this by disabling and enabling the different mods i have).

When I log out (with this mod enabled) this is the error I get:

Fatal error: Call to undefined function fetch_online_status() in /home/*****/public_html/radio1/includes/block/html.php(89) : eval()'d code on line 93

line 93 of the includes/block/html.php code is:
Code:

    $content = nl2br(htmlspecialchars_uni($this->config['html_content']));
when the mod is disabled .. this error doesn't happen .. any suggestions?

What version of vB are you guys running? And what browser? I can't reproduce either of these errors on my 4.0.1 test site (either suite or forums only) using either firefox or safari.

DjEddie 01-26-2010 09:02 PM

Quote:

Originally Posted by Lynne (Post 1966184)
What version of vB are you guys running? And what browser? I can't reproduce either of these errors on my 4.0.1 test site (either suite or forums only) using either firefox or safari.

Hi Lynne,

I'm running 4.0.1 and i'm using firefox 3.57 and also Internet explorer 7.06 and have tried uninstalling and reinstalling and still have same error .. not sure why

Lynne 01-26-2010 09:46 PM

Quote:

Originally Posted by DjEddie (Post 1967440)
Hi Lynne,

I'm running 4.0.1 and i'm using firefox 3.57 and also Internet explorer 7.06 and have tried uninstalling and reinstalling and still have same error .. not sure why

This is on the forum.php page, right? If you are using some mod to make it show on other pages, then you need to include the function, and maybe other functions that are in the functions_bigthree.php file.

DjEddie 01-26-2010 10:29 PM

ahh, yes sorry its the "EveryWhere Sidebar" mod that gives it the error when both mods are on ...

im not sure what functions would be needed to be added .. could u explain or should i be asking the developer of that mod?

thanks :)

Lynne 01-26-2010 10:44 PM

Quote:

Originally Posted by DjEddie (Post 1967503)
ahh, yes sorry its the "EveryWhere Sidebar" mod that gives it the error when both mods are on ...

im not sure what functions would be needed to be added .. could u explain or should i be asking the developer of that mod?

thanks :)

Try this.... at the top of the block code, add this line and see if it fixes the issue:

PHP Code:

if (THIS_SCRIPT != 'index') {
require_once(
DIR '/includes/functions_bigthree.php'); 




All times are GMT. The time now is 01:05 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.01287 seconds
  • Memory Usage 1,749KB
  • 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_code_printable
  • (1)bbcode_php_printable
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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