![]() |
Invoke hook on deletion of post/thread
I've been working on an image gallery that takes images posted subforums and displays them all in a custom gallery widget. In order to do this I use the PHP hooks system.
For inserting and updating I invoked my hooks in the createcontent.php file. Pass along some data and manipulate it to do my database inserts. Now I'm looking into deleting, the html source tells me that upon deletion of a post/thread, a POST request is done to the ajax api. In order to find where this is handled I added a bunch of break points to the ajax source files. None of these is triggered when I delete a post though. Could someone tell me in which source file this is handled? |
The deleteNodes function is in /core/vb/library/node.php.
|
Quote:
|
All times are GMT. The time now is 09:06 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|