![]() |
[vb 3.0.1] Quick Ban
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. Dont forget to click Install |
I like this one! :)
|
Nice work!
|
thanks... lol the only reason i came up with it is because i really didnt want to istall erwins hack ... lol... there where waaaay to many features i knew i wouldnt use.... so i spent the night searching and viola!! :)
|
Nice, thank you!
|
Now that is something even I got to work the first time! Good work.
|
Oh... I feel so rejected! ;)
|
Quote:
|
Awesome, thanks!
|
coo.....installed
|
Nice mod! Will come in handy. :)
|
a small update... i added a link for unbanning someone... if you want to add it just follow the instructions again and uncomment the line where it says
//Unban// delete those characters and your done.. the Unban link will obviously only work on a user thats currently banned enjoy ;) |
anyway to make it so its not moderator specific, just if your a admin or supermod it works?
**Edit** nevermind ignore my newbness |
Find This
Code:
<if condition="$post[usergroupid]!=6 AND can_moderate($forum[forumid], '', $bbuserinfo[userid])"> Code:
<if condition="($bbuserinfo[usergroupid]==5 || $bbuserinfo[usergroupid]==6)"> |
Very nice thanks!
|
When trying to change it to smod & admins only... i get
Quote:
**EDIT** Nevermind I found the error you forgot to add a ) after ==6 so it should look like Code:
<if condition="($bbuserinfo[usergroupid]==5 || $bbuserinfo[usergroupid]==6)"> |
Quote:
Quote:
Code:
<if condition="($bbuserinfo[usergroupid]==5 || $bbuserinfo[membergroupids]==6)"> |
Worked Perfectly, Thanks for the support Great hack!
|
:D glad i could help :D
|
tested and working on vb 3.0.7 :-D
|
wow, this is a good little hack
thanks a lot installed |
installed and working fine on vb v 3.0.9
Regards |
All times are GMT. The time now is 03:25 AM. |
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:
|