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.
|