The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Mods called by multiple hooks
I have a mod that I would like to be called at two different hook points.
The mod itself does some work on new thread post so I have hooked into: newthread_post_start However I would also like the same mod to be executed at the following hook point: rssfeeddata_postsave Can this be done? |
#2
|
||||
|
||||
Create a plugin at that hook as well. AFAIK, you cannot assign two hook locations to one plugin.
|
#3
|
|||
|
|||
In the end I did what you suggested, created a plugin at each hook point I wanted and then got the plugin to require an external PHP file. It does mean that my mod is now a product file and a PHP file, however this is better than replicating the code in both hook points.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|