I want to perform a calculation every time a member's number of attachments changes.
This could be by the member adding attachments in a new thread or post. Or when a moderator deletes a single attachment from a post or deletes an entire thread or post.
These are what I have found so far:
Quote:
$hook = vBulletinHook::fetch_hook('newattachment_complete' )) ? eval($hook) : false;
$hook = vBulletinHook::fetch_hook('inlinemod_deletethread' )) ? eval($hook) : false;
$hook = vBulletinHook::fetch_hook('inlinemod_dodeletethrea d')) ? eval($hook) : false;
$hook = vBulletinHook::fetch_hook('inlinemod_deleteposts') ) ? eval($hook) : false;
$hook = vBulletinHook::fetch_hook('inlinemod_dodeleteposts ')) ? eval($hook) : false;
$hook = vBulletinHook::fetch_hook('inlinemod_complete')) ? eval($hook) : false;
$hook = vBulletinHook::fetch_hook('editpost_update_complet e')) ? eval($hook) : false;
$hook = vBulletinHook::fetch_hook('editpost_edit_complete' )) ? eval($hook) : false;
$hook = vBulletinHook::fetch_hook('editpost_delete_complet e')) ? eval($hook) : false;
$hook = vBulletinHook::fetch_hook('newreply_post_complete' )) ? eval($hook) : false;
$hook = vBulletinHook::fetch_hook('newthread_post_complete ')) ? eval($hook) : false;
$hook = vBulletinHook::fetch_hook('threadmanage_update')) ? eval($hook) : false;
$hook = vBulletinHook::fetch_hook('threadmanage_managepost ')) ? eval($hook) : false;
$hook = vBulletinHook::fetch_hook('threadmanage_complete') ) ? eval($hook) : false;
|
- Are there more that I am missing?
- Would some of these be reduntant so I could take them off the list?
- I'm still confused about where in the code an attachment actually gets deleted form the "Manage Attachments" window.

Thanks for your help,
James