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)
-   -   Add-On Releases - Spiders Display on Forumhome and Who's Online for vb4 (https://vborg.vbsupport.ru/showthread.php?t=243460)

Boofo 12-09-2011 04:35 AM

I don't see any image attached in your post.

HMBeaty 12-09-2011 04:41 AM

Quote:

Originally Posted by Boofo (Post 2276101)
I don't see any image attached in your post.

It's VERY hard to see, but it's there.

Might want to reupload it as a zip, ruger ;)

iyama 12-09-2011 02:30 PM

Quote:

Originally Posted by ruger (Post 2276098)
Here ya go.

Works great in 4.1.8 for me. Thanks!

Thnx m8 :up:

OldSchoolDSL 12-09-2011 03:30 PM

Fatal error: Cannot use string offset as an array in /forums/forum.php(643) : eval()'d code on line 32

Line 32 is

PHP Code:

    'eventcache'

Everything around it is

PHP Code:

// get special data templates from the datastore
$specialtemplates = array(
    
'userstats',
    
'birthdaycache',
    
'maxloggedin',
    
'iconcache',
    
'eventcache',
    
'mailqueue',
    
'activeblocks',
); 


Boofo 12-09-2011 04:03 PM

What does that have to do with this mod?

OldSchoolDSL 12-09-2011 04:08 PM

Quote:

Originally Posted by Boofo (Post 2276240)
What does that have to do with this mod?

When I activated this modification, that is all I saw. A white page with that error.

Fatal error: Cannot use string offset as an array in /forums/forum.php(643) : eval()'d code on line 32

Boofo 12-09-2011 04:30 PM

You have another mod doing that error. There is no way this mod is doing that.

BirdOPrey5 12-09-2011 08:51 PM

Quote:

Originally Posted by OldSchoolDSL (Post 2276229)
Fatal error: Cannot use string offset as an array in /forums/forum.php(643) : eval()'d code on line 32

Line 32 is

PHP Code:

    'eventcache'

Everything around it is

PHP Code:

// get special data templates from the datastore
$specialtemplates = array(
    
'userstats',
    
'birthdaycache',
    
'maxloggedin',
    
'iconcache',
    
'eventcache',
    
'mailqueue',
    
'activeblocks',
); 


Just FYI the code in question is line 643 of forum.php, not line 32. Line 32 is the line of the plugin but if you have multiple plugins on the same hook it would be hard to know for sure the real line.

Boofo 12-09-2011 09:13 PM

Line 643 is the forumhome_complete hook in forum.php. Line 32 of this mod is "<hookname>forumhome_complete</hookname>". You must have another mod that is fighting with things. No one else has reported anything even close to what you are reporting.

OldSchoolDSL 12-10-2011 03:42 PM

Quote:

Originally Posted by BirdOPrey5 (Post 2276378)
Just FYI the code in question is line 643 of forum.php, not line 32. Line 32 is the line of the plugin but if you have multiple plugins on the same hook it would be hard to know for sure the real line.

Proof that you know more about vBulletin code than I do. ;)

Line 643 of forum.php is

PHP Code:

($hook vBulletinHook::fetch_hook('forumhome_complete')) ? eval($hook) : false

Around it is

PHP Code:

// ### ALL DONE! SPIT OUT THE HTML AND LET'S GET OUTTA HERE... ###
($hook vBulletinHook::fetch_hook('forumhome_complete')) ? eval($hook) : false;

$navbar render_navbar_template(construct_navbits($navbits));
$templater vB_Template::create('FORUMHOME');
    
$templater->register_page_templates();
    
$templater->register('activemembers'$activemembers);
    
$templater->register('activeusers'$activeusers);
    
$templater->register('ad_location'$ad_location);
    
$templater->register('birthdays'$birthdays);
    
$templater->register('forumbits'$forumbits);
    
$templater->register('navbar'$navbar);
    
$templater->register('newuserinfo'$newuserinfo);
    
$templater->register('numberguest'$numberguest);
    
$templater->register('numbermembers'$numbermembers);
    
$templater->register('numberregistered'$numberregistered);
    
$templater->register('recorddate'$recorddate);
    
$templater->register('recordtime'$recordtime);
    
$templater->register('recordusers'$recordusers);
    
$templater->register('template_hook'$template_hook);
    
$templater->register('today'$today);
    
$templater->register('totalonline'$totalonline);
    
$templater->register('totalposts'$totalposts);
    
$templater->register('totalthreads'$totalthreads);
    
$templater->register('upcomingevents'$upcomingevents);
    
$templater->register('sidebar'$sidebar);
print_output($templater->render()); 

And of this modification on line 32 is

PHP Code:

<hookname>forumhome_complete</hookname

I suspect that it could be the following template modification which could be causing a conflict
https://vborg.vbsupport.ru/showthread.php?t=237485

Although I'm mildly clueless on how to resolve it and puzzled as to why the other 4 - 6 mods I have which may hook into that part of my site all work, but this one kicks out on me.


All times are GMT. The time now is 07:42 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.02672 seconds
  • Memory Usage 1,768KB
  • 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
  • (7)bbcode_php_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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