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.
|
![]() |
|
|