Back to vBulletin 3.5 Template Modifications

Quick Ban/UnBan
Mod Version: 1.00, by sketch42

This modification is in the archives.
vB Version: 3.5.0 RC2 Rating: (0 vote - 0 average) Installs: 39
Released: 28 Jul 2005 Last Update: Never Downloads: 147
Not Supported Template Edits  

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>
also if you do not want it to be forum specific for your moderators replace this
Code:
<if condition="$post[usergroupid]!=6 AND can_moderate($forum[forumid], '', $bbuserinfo[userid])">
with this
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

vblts.ru supports vBulletin®, 2022-2024