The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Quick Ban & Unban in Postbit & Postbit_legacy! Details »» | |||||||||||||||||||||||||||
Quick Ban & Unban in Postbit & Postbit_legacy!
Developer Last Online: Feb 2008
Hello,
This is my second simple hack . This is easy to use & easy to install. This will add a QuickBan image to postbit & postbit_legacy. Features:- * Show Quick Ban & Unban button for separate usergroups. * Allow separate usergroups to see the Quick Ban & Unban button and that can ban users. * Show in postbit & postbit_legacy (no template edits required) * Enable / Disable whole hack. * Add a Quick Ban & Unban button of your choice OR use the buttons i have attached. >>> QuickBan () and QuickUnBan (). ------- for more see the screen shots attached. Screenshots:- I have attached screenshots of (Postbit, Postbit_legacy and AdminCP). TESTED on Vbulletin 3.6.4 and working fine . (thanks to snakes1100 for testing it on VB3.6.4) Enjoy using this mod, and please don't forget to click install! Thanks Version history: Quick Ban & Unban 1.0 Quick Ban & Unban 2.0 - No more template edits, and other features added. Quick Ban & Unban 2.0.1 - Allow seperate usergroups to see the QB button and ban users. Quick Ban & Unban 2.0.2 - Unban users that are banned. Supporters / CoAuthors Show Your Support
|
Благодарность от: | ||
s.sami |
Comments |
#62
|
|||
|
|||
There is a problem when you add a custom group to the setting "Enable QB for seperate Usergroups". It doesn't apply to it. Is there a fix for it?
|
#63
|
|||
|
|||
Just tried to install on 3.67, but get a fatal error message, i was aware that it may not work, but thought I'd let you know.
Code:
Importing Product, Please Wait... [:] Fatal error: Call to undefined function: fetch_phrasetypes_array() in /home/thames/public_html/admincp/plugin.php on line 2111 |
#64
|
|||
|
|||
I've installed in 3.6.7 just fine. What does the line 2111 says?
|
#65
|
|||
|
|||
I'd just like to report a problem with this mod. Instead of checking to see whether the admin or mods are members of a group, it checks only their primary group membership.
This means that if you have moderators who have a group membership of the moderators group based on a secondary usergroup, this mod won't work the way you expect it to. |
#66
|
|||
|
|||
The following fixes resolve the issue I raised in my last post:
Plugin - Quick ban - Auto-Template edits. Code:
-- At top of file, insert -- if (is_member_of($vbulletin->userinfo, split(',', $vbulletin->options['ugroups_can'])) AND $vbulletin->options['qbhack'] == 1) { -- At end of file, insert -- } Code:
-- FIND, THEN DELETE -- <!-- ALLOWED USERGROUPS --> <if condition="$vboptions[qbhack]"> <if condition="$bbuserinfo[usergroupid]== $vboptions['ugroups_can']{0} OR $bbuserinfo[usergroupid]== $vboptions['ugroups_can']{2} OR $bbuserinfo[usergroupid]== $vboptions['ugroups_can']{4} OR $bbuserinfo[usergroupid]== $vboptions['ugroups_can']{6}"> <!-- END ALLOWED USERGROUPS --> -- FIND -- </if></if></if></if> <!-- END QUICK BAN BUTTON --> -- REPLACE -- </if></if> <!-- END QUICK BAN BUTTON --> |
#67
|
|||
|
|||
I set ADMIN(5),SMOD(6),MOD(7) groups that can ban Register user group (2)
But Only ADMIN and SMOD can login on ControlPanel. MOD can't login. I don't want set MOD group like SMOD. How to set MOD can ban group(2)? |
#68
|
|||
|
|||
Well I'm not sure I can understand exactly what you mean because you haven't phrased your question very clearly.
You may be referring to the permissions required for mods to ban people - but this has nothing to do with the mod, this is set on a per moderator, per forum basis. In the forum manager select a given moderator and edit their moderation rights to this forum. This is where you'll find the option "Can Ban Users" |
#69
|
|||
|
|||
Thank for help
I don't speak english very good. Default Usergroups can to view ban and unban button but Custom Usergroups can't to view it ??? Sorry, If you don't understand because my English is not good. |
#70
|
|||
|
|||
Ok, then if I understand you correctly, I already provided the fix to this issue in post #66
|
#71
|
|||
|
|||
Sorry, I don't read exactly
Many thank. It's work |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|