View Full Version : Plugin visible on all pages?
Sophonax
12-28-2006, 08:17 PM
Heya. I'm playing around with plugins, and I want the coding in the plugin to be shown on every single page of my forum. How do I do this? I've tried stuffing the $whatever into several templates, but it just won't show on any other pages but the forum home. =/
Anyone got any ideas of what I can do to fix this?
paul41598
12-28-2006, 08:21 PM
try hook location global_start
Sophonax
12-28-2006, 08:31 PM
Excuse me for my answer, paul, but.... Huh? o_O;
I'm a vBulletin noob, but not usually that much of a noob. Care to explain what you mean? ^^;
paul41598
12-28-2006, 09:26 PM
Excuse me for my answer, paul, but.... Huh? o_O;
I'm a vBulletin noob, but not usually that much of a noob. Care to explain what you mean? ^^;
If you already have an XML file with a plugin for what you wanna do then you'd do something like this:
BOLD: Indicates your hook location
<plugin active="1">
<title>Title 1</title>
<hookname>global_start</hookname>
<phpcode><![CDATA[ Code Here ]]></phpcode>
</plugin>
Sophonax
12-28-2006, 11:04 PM
Hm, I got it to work now. ^^ Thanks alot.
Only problem now, is to get it to be visible on vBA index. =/
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.