![]() |
Quick Ban/UnBan
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)"> |
You might want to protect the Supermods from being banned , too, or does it already do that? ;)
|
Quote:
Quote:
|
So it only bans them from the forum they moderate?
|
Quote:
if a user is keeps acting up in one part of the forum chances are theyll do the same elsewhere on the site |
Quote:
Quote:
any member with any kind of modertor status whether super mod or regular mod can not ban each other... only an admin can ban a mod of any kind |
Quote:
|
Quote:
I DISSAGREE Matter of act, I more than dissagree, I know for fact that users behave differently per forum... Like, at Literotica, there's some elite jerks in the Authors forum that totally need their ass kicked. People often go there to challenge these people and fights break out all the time... I know of people who like to troll the Gay/Lesbian forums as well as Religion Forums, but they act fine in the other forums. And then there's people like me who should be banned from General chat because I always start some riot. :o |
Quote:
|
Each board is different but I agree, if they act up in one forum, don't give them the oppportunity to repeat themselves in another.
|
All times are GMT. The time now is 02:40 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|