The Arcive of vBulletin Modifications Site. |
|
|
#1
|
||||
|
||||
|
Basically i created my own nav and logo that i want to use for the whole site.
1- How can i include a php file in the header. if i go to edit template>header> and i want to include lets say mycustomheader.php(which is just a small 1024 by 200 header) how should i write the code to include that page? Quote:
2- how do i change the width of a style to 1024 instead of 800? |
|
#2
|
||||
|
||||
|
1. In global.php find this:
Code:
eval('$header = "' . fetch_template('header') . '";');
Code:
ob_start();
include('/home/httpd/thosts/something/httpdocs/mycustomheader.php');
$header .= ob_get_contents();
ob_end_clean();
|
|
#3
|
||||
|
||||
|
Quote:
A little problem though. It made mycsutomheader.php into a vb board index. so instead of showing the header, it's showing the forum as if you would go to it at www.domin.com/forum/ it did not include the customheader.php |
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|