The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
hooks issue on 4.2.4
Hello,
I've been trying to add some simple html hooks, but I can not get it to show at all. Below I tried to add a very simple html on the top of the page. 1. Plugin manager, add new plugin Product: Vbulletin Hook location: global_start Title: $includedhtml Execution order: 1 Plugin PHP code: $includedhtml = implode('', file('/home/web1/*****************.com/htdocs/test4567.html')); Plugin is active: Yes 2. Styles&Templates - Search in templates - found the header for the default style inserted at the beginning: {vb:raw includedhtml} In Options - Plugin/Hook System - Yes Am i missing something? Any input would be really helpful. Thank you. |
#2
|
||||
|
||||
In your plugin, you need something like:
PHP Code:
|
Благодарность от: | ||
Lynne |
#3
|
|||
|
|||
Quote:
Thanks a lot for your help - have a nice weekend. |
Благодарность от: | ||
MarkFL |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|