The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Im making a plugin, for the first time, and I need to use a hook. The hook isnt available where I need it to be so I need to add a custom one. This is possible manually but how would I do it in such a way that when I export it to share with other people the custom hook goes with it.
Does that make sense? Thanks ![]() |
#2
|
|||
|
|||
![]()
To add custom hook locations to a efault vB file, you will need a code edit.
|
#3
|
|||
|
|||
![]()
Is it possible to put this in the XML file anywhere so when another person uploads it they will have the code edit too?
|
#4
|
|||
|
|||
![]()
No, this requires a manual code edit.
|
#5
|
|||
|
|||
![]()
Ah...
Ill explain my situation. Hopefully its possible... in includes/adminfunctions_templates.php it creates a CSS file. What I need to do is apply a function I have made to this CSS file before it is either saved to the database or written to a CSS file in clientscript. Is this possible with the default hook setup? |
#6
|
|||
|
|||
![]()
There are a number of hooks available in that script.
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|