The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Here is my problem.
I have a "template manager" that I made in PHP PHP Code:
In the index.php it's working well PHP Code:
I added to the global.php file the following (Just between the "Start initialisation" and "turn off popups if they are not available to this browser") PHP Code:
$qphotos_header is working fine You can see that on http://www.quebecphotos.ca/forum/ There is no custom footer I made the changes to the header/footer templates by adding this at the appropriate places.. and when viewing the source we can see the <!-- .. --> tags but not the footer.. Code:
<!--// QPHOTOS HEADER //--> $qphotos_header <!--// /QPHOTOS HEADER //--> [...] <!--// QPHOTOS FOOTER //--> $qphotos_footer <!--// /QPHOTOS FOOTER //--> Is there anything that I am doing wrong ? My guess is that I'm doing something wrong in the global.php file because I'm not sure if I well understood how to add 'plugins' |
#2
|
|||
|
|||
![]()
bump!
|
#3
|
|||
|
|||
![]()
Try moving that code from global.php to a plugin at the 'global_start' hook location.
|
#4
|
|||
|
|||
![]() Quote:
|
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|