The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Hiya gang,
I run about 10 styles on my website. Apart from being annoying when I come to update, or add a new hack, I have found another problem. I want to run a global header across my forums *and* my site. I am not great at PHP but not bad, however I need advice when it comes to implementing a new header. Can I create a file called header.php and insert it into the forum using $header? Where would I insert it, in the hard code or in the templates? Kind Regards, veedee |
#2
|
||||
|
||||
![]()
the best way i have found of doing different headers is to have a two replacements:
{header} and {footer} and insert your header that you want into the {header} replacement and the {footer} that you want into the footer template... then have all your styles share the same template set and let them just have a seperate replacement set each... ![]() |
#3
|
|||
|
|||
![]()
Thanks but...
This wouldn't work for a sitewide header, or would it? The thread stated that I would like this to be a global header for my forum *and* my website in general. This can't be that hard to do. Can it? |
#4
|
|||
|
|||
![]()
try this. not tested tho. and your site will have to be .php
in any file on your site right after the PHP Code:
add: PHP Code:
$header where you want. i *think* it might work but im no vbulletin expert. if i were you id save myself alot of work and use vBindex or vBhome, making new pages with it isent hard and you can comand your pages via the templates. |
#5
|
|||
|
|||
![]()
Thanks for your help. I guess that vBindex and vBhome are hacks. I'll see if I can find them.
|
#6
|
||||
|
||||
![]() Quote:
|
#7
|
||||
|
||||
![]()
Just set all the styles to point to one Template, but make sure the Replacements stay the same...
Satan |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|