The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Include file or variable in header
I've been trying to include a file or variable in the header or headinclude templates and cannot get anything to output. I've followed the tutorial with obstart and that didn't even seem to work.
Let's try a simple example. If I had code below in a plugin, hook is global_start: $mysillystuff = "ridiculous"; Then I should be able to plugin the $mysillystuff variable into the header and it should appear or in headinclude in <meta name="generator" content="$mysillystuff" /> and it should work... but it doesn't. Personally I'd also like to include a header file in there too so I could have common headers... but let's just start with this example! Thanks in advance. --------------- Added [DATE]1240926885[/DATE] at [TIME]1240926885[/TIME] --------------- Done - have no idea why this didn't work before but after drinking more coffee vbulletin decides to work as promised. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|