The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
I've been trying this for several days before I decided to seek help. Myself and my partner have put a lot of work into the board/site and I don't want to ruin it by messing up one file.
Basically I would like to use my custom template ( custom_template ) by calling the variable $custom Where would I go or how would I define that variable so it would work everywhere on my board including myVBindex and custom php pages made. Thanks, :classic: |
#2
|
||||
|
||||
![]()
you have to create it within global.php where $header and $footer are defined
![]() |
#3
|
|||
|
|||
![]()
Could you tell me how...
![]() |
#4
|
|||
|
|||
![]()
Do I find
Quote:
Quote:
|
#5
|
|||
|
|||
![]()
If so...that gives me the following error...
Quote:
|
#6
|
||||
|
||||
![]() PHP Code:
|
#7
|
|||
|
|||
![]()
Heres a piece of my global.php file after the changes.
Quote:
Quote:
|
#8
|
||||
|
||||
![]()
AFAIK $468x60 is no valid varname
php varialbes have to start with an letter as far as i know.. |
#9
|
|||
|
|||
![]()
Thanks -- Works like a charm.
|
#10
|
||||
|
||||
![]()
you're welcome
![]() |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|