![]() |
I want VB to run a query when I delete a User
where can I put such a query ?
thankyou |
Try hooks...
Code:
useradmin_prune |
calorie,
thanks soooooo much for replying. Im new to VB. How do I get about playing with hooks ? thanks again |
Take a read through the following to get a sense of how it works, and then find the hooks in the vB code to see what is available to you for use in your plugins:
Code:
// Example... |
thanks calaorie. youre awesome!
so useradmin_prune userdata_delete are hooks thata re already in VB ? I understand userdata_delete. what is useradmin_prune ? |
The useradmin_prune hook is in the /admincp/user.php file.
|
I see!
Is there a place with a list of hooks and their location documented somewhere ? I tried a search on forums but no luck. |
The /includes/xml/hooks_vbulletin.xml file contains a hook list with location hint.
|
cool thanks a lot.
I think it makes most sense to use the useradmin_prune hook |
All times are GMT. The time now is 09:25 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:
|