You may add a hook into your php code if you need one. Just make sure to create a hook_*.xml file to put in the includes/xml directory to be able to use it.
Once you place the hook where you want it, look at the code around there to see what your variable names would be.
For instance, for mine, I added a hook into the function accept_upload to handle the uploading of torrents. Attachments changed quite a bit for vB4. You really need to take a look at the new attachment table and filedate table and understand their relationship to each other and to the post table, which has changed also.
|