PDA

View Full Version : Missing $template_hook[navbar_buttons_left] Hook?


Wachtmeister
08-30-2007, 05:19 PM
Hello,

i run 3.6.8 with ibProArcade and installed the vb-Blog today.

In my forums navbar there is a new menu called "Blog". On my ibPro this point is missing, because ibPro cannot handle the $template_hook[navbar_buttons_left] which seems to include the "Blog".

Is there a workaround to put it into the navbar somehow? I cannot put it manually in there, because i have "Blog" "Blog" in my forumnavbar

Regards, Wachtmeister

__________________
Nordcap K?hltheken (http://nordcap.gewerbemoebel.de)

Mark.B
08-30-2007, 05:44 PM
Here's how to fix this:

Open arcade/functions/functions.php

Find this line:

global $header, $vbphrase, $vboptions, $stylevar, $headinclude, $bbuserinfo, $session, $show, $pmbox;
Change to this:

global $header, $vbphrase, $vboptions, $stylevar, $headinclude, $bbuserinfo, $session, $show, $pmbox, $template_hook;

That should make your blog link show.

This also works if your Project Tools link is missing.

Mr Zeropage, I'm wondering if this change should become standard in the next release to account for the two new official addons, Blogs and Project Tools.

Wachtmeister
08-30-2007, 05:48 PM
Holy cow, that was quick ;)

Thanks, just one correction: template_hook instead of templatehook.

Thanks you very much!

Mark.B
08-30-2007, 06:18 PM
Whoops, you're right. I have corrected my post accordingly, bit stupid that I missed the underscore when I had the file in front of me.https://vborg.vbsupport.ru/external/2007/08/2.gif