The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
How do we do it?
Say I created a simple plugin on global_complete hook with:- echo "Hello"; Now when I view the page its inserted at the top, even above doctype. I want Hello to be printed at the bottom most of the site (above </body>) using plugins. I don't want to do any find and replace for this small purpose. Thanks |
#2
|
||||
|
||||
![]()
You're going to have to use a search and replace - how else do you want to do it? (Template hooks don't cover that "low".)
global_complete PHP Code:
|
#3
|
|||
|
|||
![]()
Or you could edit the footer and put if after </body>.
PHP Code:
|
#4
|
||||
|
||||
![]()
Your code wouldn't work - echo() does not return a result. Anyway, if you wanted to do it like that, why wouldn't you just place "Hello" in the template itself?
|
#5
|
||||
|
||||
![]()
okay problem solved. I added a new template hook at the end of footer. Footer template hooks work only from global_start hook.
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|