The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Is it possible to reference a variable initialized in phpinclude_start in the postbit_legacy template? I have a variable set up in phpinclude_start that grabs code from an outside page (advertisement stuff) and will be used to display under the first post of every thread. I can reference teh code just fine in the header, but if I reference the code in postbit_legacy, I get nothing. Any ideas? Work arounds?
|
#2
|
||||
|
||||
![]()
you have to globalize that variable in the construct_postbit function
another way is a little trick, you can use the superglobals to help you out speak in php_include you have PHP Code:
HTML Code:
This is $GLOBALS[myvar] ![]() |
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|