The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
$template_hook[navbar_buttons_left] not working when forum menu moved to header
Hi,
I have moved the forum menu to the header template. It used to be in the 'navbar' template. However, the variable $template_hook[navbar_buttons_left] is no longer containing any data. It was supposed to create a "Blog" link on the forum menu but no longer does so when the menu is moved to the header. Can anyone help? |
#2
|
||||
|
||||
Whatever code that is adding a link to $template_hook[navbar_buttons_left] needs to run before the header template is evaluated.
|
#3
|
|||
|
|||
I figured that. But what is the code that is adding the link????
|
#4
|
||||
|
||||
I don't know, I assume you installed a mod or the vB Blog add-on, and that's what's adding the link. So, which is it?
|
#5
|
||||
|
||||
i am having this same problem with
$template_hook[postbit_userinfo_right_after_posts] and i am evalling the template to the template_hook in the global start hook. |
#6
|
||||
|
||||
global_start is run after the header has been eval'd, you need to use parse_templates.
|
#7
|
||||
|
||||
Thank you very much!
|
#8
|
|||
|
|||
Quote:
What do I need to change? |
#9
|
||||
|
||||
Quote:
|
#10
|
|||
|
|||
Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|