The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
Is there a specific location where I can define some style variables where any template can have access to them?
For example: PHP Code:
Is this possible? If the use of variables isn't possible I can use the replacement variables. But I really need to be able to include files. |
|
#2
|
||||
|
||||
|
Create a new plugin at hook location "global_start" with the following, edited for your needs of course:
Code:
ob_start();
include('/path/to/file/');
$yourvariable = ob_get_contents();
ob_end_clean();
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|