The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Is it possible to set a variable on a non-vB page, then pass it to vB so it can be used in a template? e.g.
PHP Code:
|
#2
|
||||
|
||||
![]()
<a href="http://www.vbulletin.com/docs/html/main/templates_externalfiles" target="_blank">http://www.vbulletin.com/docs/html/m..._externalfiles</a>
|
#3
|
|||
|
|||
![]()
It looks like that will let me include an entire file, but I don't see how it lets me include a single variable.
Another issue is that the $headline variable can change multiple times within the script: PHP Code:
|
#4
|
||||
|
||||
![]()
I though you maybe wanted to include a file for your "headline". If all you wanted to do was assign a few variables based on conditions, yes, that could be done using plugins. Hell, it could probably be done using templates only.
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|