Hide Infraction Link For Moderators If They Are Not Moderating The Forum
This thread is in the Modification Graveyard.
Create a new plugin:
Product: vBulletin Hook Location: postbit_display_complete Title: Hide Infraction Link For Moderators If They Are Not Moderating The Forum Execution Order: 5 Plugin PHP Code: Code:
if ($this->registry->userinfo['permissions']['usergroupid'] == 7 AND !can_moderate($this->thread['forumid'])) { $show['infractionlink'] = false; } That's it. You might want to adjust the 7 if your moderator usergroup id isn't 7. Note that this only hides the link and doesn't prevent them manually going to the URL. Download This modification cannot be downloaded. |