The Arcive of vBulletin Modifications Site. |
|
|
#1
|
||||
|
||||
|
How would I go about storing an include file for global use to be called with a variable in the templates?
HTML Code:
<?xml version="1.0" encoding="ISO-8859-1"?> <plugins> <plugin active="1"> <title>File</title> <hookname>global_complete</hookname> <phpcode><![CDATA[ $file=include('file.php'); ]]></phpcode> </plugin> </plugins> |
|
#2
|
|||
|
|||
|
The plugin will always be loaded. Your file will just show where you call it at. But yes that is the correct method for doing it.
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|