The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
inlinemod_dodeleteposts hook is not working
I have added this in a plugin for the "inlinemod_dodeleteposts" hook:
PHP Code:
However, the plugin is not being run. The execution of the code is not interrupted, the plugin is not executed. If I add the code below or above the hook line in inlinemod.php, I get the expected result. So the hook must be disfunctional in vb3.8.7 Patch 2. How can I fix it? |
#2
|
|||
|
|||
I tested it and it works as expected. Is that the only code in your plugin? I think if there's other code that has a syntax error then none of it will be executed.
|
#3
|
|||
|
|||
Interesting. There was other code after the die statement. Once I removed it, it worked.
I did not know that an error will stop the plugin. Good to know. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|