A list of hooks can be found in /includes/xml/hooks_vbulletin.xml
Most of them should be fairly self-explanatory. The <hooktype type> is the general area they are run (editpost, calendar, etc), with each hook having a more specific location.
When I'm looking for a hook to add some code to, I find the easiest way is look in the vB PHP files themselves.
For example, if I wanted to ruin some code whenever a thread is deleted, I'd go to postings.php which handles the thread tools options, then browse through it until I found the section of code which deletes threads, then find the closest hook.
Thanks,
Alan.
|