The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
I would like to add a plugin using a hook location in the postbit_legacy template.
The code has been tested in place as a hack and works well. BUT, when I go to Add New Plugin in AdminCP, the hook I want is not listed in the Hook Location drop-down. Am I missing something? ![]() |
#2
|
|||
|
|||
![]()
What have you named it? It should show.
|
#3
|
||||
|
||||
![]()
I haven't got to the point of naming it yet. I want it located at postbit_userinfo_right_after_posts but the only postbit hook locations listed in the drop-down are those shown in this screen grab:
Attachment 118645 In fact, I don't recognise those as being hook locations at all. Sorry, this is my first attempt at a plugin and I seem to have stumbled at the first hurdle. |
#4
|
|||
|
|||
![]()
postbit_userinfo_right_after_posts is a template hook I think?
PHP Code:
|
#5
|
||||
|
||||
![]() Quote:
|
#6
|
||||
|
||||
![]()
Ah, sorry, I've obviously misunderstood the process.
What I'm trying to do is to add some additional code at a template hook location. Could someone point me in the right direction or suggest an appropriate tutorial? |
#7
|
|||
|
|||
![]()
use the display_complete?
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|