The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Hi. The navigation for our main site is generated dynamically. I'd like to use the same navigation at the top of our forum. Essentially, all I really need to do is include a php file in the "header" template.
I'm sure this question has been answered many times before, but I've been searching and searching and can't find anything that explains it completely (just something about defining variables somewhere that can be used in templates? or using hooks?) Thanks. |
#2
|
||||
|
||||
![]()
You will need to add a hook at global_start and use the ob_ functions. Searching on the vB.com forums would give you a few results. I'm also pretty sure it's in the manual somewhere as well.
|
#3
|
||||
|
||||
![]() Quote:
He can put an object buffer in an object buffer, though there's little need to do so. |
#4
|
|||
|
|||
![]()
Thanks. I figured out how to use hooks well enough to get Dismounted's suggestion working. I will look into the other suggestion as well if it's a 'better' way of doing it.
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|