The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Defining a variable
How do I create a variable that will detect the page and show a certain image?
I'm not a PHP person at all, so please reply in dummy language I figured in theory it would be something like; PHP Code:
|
#2
|
|||
|
|||
Just remembered xenon told me awhile back that declaring variables in the phpinclude_start won't actually work in "called templates". Does this mean it won't work in the header template? If not, how or where do I declare them so that they will?
Any help on this is appreciated! |
#3
|
||||
|
||||
PHP Code:
and it works in the header but there are templates which are called from within functions, and those can't use those vars (like postbit for example) |
#4
|
|||
|
|||
I see, thanks a lot!
|
#5
|
|||
|
|||
Nevermind done this bit!
|
#6
|
||||
|
||||
you're welcome
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|