The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
Adding new permission checks for moderation
I'm trying to add an additional check to determine if a user is allowed to moderate a post/thread. Specifically:
From what I can tell, the following pages implement actual thread/post moderation actions: postings.php Moderation actions taken from the moderation control panel. It looks like I'd want to hook off threadmanage_start since the values of the user taking the action, the action, and the items (threads of posts) are known by this time. This appears to be the only place this hook is called. inlinemod.php Moderation actions taken from the normal forums via the inline moderation capabilities. It looks like I'd want to hook off inlinemod_start since the values of the user taking the action, the action, and the items (threads of posts) are known by this time. This appears to be the only place this hook is called. member_inlinemod.php I'm not sure on this one. The code "seems" like it's handling moderation, but I'm not sure how it's actually used. Is this file used for actually moderating forum threads and posts, or is it used for a different purpose (like moderating visitor messages on profile pages, etc) Any suggestions, comments, or corrections would be very much appreciated. Thanks in advance. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|