Quick Ban/UnBan
This modification is in the archives.
Since the Modcp link is gone from the bottom of the
page my moderators needed a quick way to ban a user without going to the modcp. So this hack adds aoption to Ban a user directly from the offending post, via the drop down menu link by the users name. This is Moderator Forum Specific, which means moderators can only ban users in their own forum, and not in another moderators forum. Also a moderator can not ban any of the forum Administrators. This Hack is Based on Erwins Warning System/Automatic Ban Hack and Magnus's Add On. if you do not want to have the UnBan Link than just remove this line Code:
<tr><td class="vbmenu_option"><span onmouseover="this.style.cursor='hand';" onClick="window.open('modcp/banning.php?do=liftban&userid=$post[userid]','liftban','width=500,height=375,scrollbars=yes')"><b>Lift Ban on $post[username]</b></span></td></tr> Code:
<if condition="$post[usergroupid]!=6 AND can_moderate($forum[forumid], '', $bbuserinfo[userid])"> Code:
<if condition="($bbuserinfo[usergroupid]==5 || $bbuserinfo[usergroupid]==6 || $bbuserinfo[usergroupid]==7)"> Download This modification is archived and cannot be downloaded. |
Similar Mods
Add-On Releases Quick Ban & Unban in Postbit & Postbit_legacy! | vBulletin 3.6 Add-ons |
SuperMods can Unban from ModCP! | vBulletin 2.x Full Releases |