Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Quick Ban & Unban in Postbit & Postbit_legacy! Details »»
Quick Ban & Unban in Postbit & Postbit_legacy!
Version: 2.0.2, by farooqaaa farooqaaa is offline
Developer Last Online: Feb 2008 Show Printable Version Email this Page

Category: Add-On Releases - Version: 3.6.1 Rating:
Released: 12-04-2006 Last Update: 12-06-2006 Installs: 172
Template Edits
Additional Files  
No support by the author.

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

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
s.sami

Comments
  #72  
Old 06-26-2007, 01:40 AM
momo2 momo2 is offline
 
Join Date: Feb 2007
Posts: 327
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

wish there was a button img for it , so my mods and admins would see the difference, how ever excellent work, thanks
Reply With Quote
  #73  
Old 06-27-2007, 12:46 AM
cloyal cloyal is offline
 
Join Date: Sep 2005
Posts: 56
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Would have liked a new image with this as well. Currently it uses the infraction image, but the mouse over gives the definition. Installed and works on 3.6.7
Reply With Quote
  #74  
Old 06-27-2007, 07:10 AM
mfyvie mfyvie is offline
 
Join Date: Mar 2007
Location: Zurich, Switzerland
Posts: 336
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by momo2 View Post
wish there was a button img for it , so my mods and admins would see the difference, how ever excellent work, thanks
Quote:
Originally Posted by cloyal View Post
Would have liked a new image with this as well. Currently it uses the infraction image, but the mouse over gives the definition. Installed and works on 3.6.7
Neither of you bothered to read the description at the top of each page did you? It clearly states that you can configure your own button (even looking in the options in AdminCP will tell you this) and provides links for you to download a quickban button. Instead you'd like to raise an issue about missing buttons that aren't missing?
Reply With Quote
  #75  
Old 06-29-2007, 11:28 PM
Seiyaboy Seiyaboy is offline
 
Join Date: May 2006
Posts: 100
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It looks like the mod refuses to work on usergroups that are double digits.
Reply With Quote
  #76  
Old 06-30-2007, 08:19 AM
mfyvie mfyvie is offline
 
Join Date: Mar 2007
Location: Zurich, Switzerland
Posts: 336
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Seiyaboy View Post
It looks like the mod refuses to work on usergroups that are double digits.
Curious. Have you applied the fixes I mentioned above, and does it still do this?

By the way - this mod is marked as supported, but the author doesn't appear to have been online in quite some time...
Reply With Quote
  #77  
Old 06-30-2007, 11:42 AM
Aclikyano Aclikyano is offline
 
Join Date: Apr 2006
Posts: 481
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quick Ban & Unban 2.0.2 - Unban users that are banned.

XML FILE still says 1.0

What I did was set both of the unban and ban buttons to qb.gif (in my images / buttons dir)
YOU CAN QUICK BAN THE THREAD STARTER.. but you cannot QUICK UNBAN him. (users that are banned)

I can QUICK BAN users in my custom skins but cannot QUICK BAN users in the default skin (user selection is OFF)

POINT IS I THINK THIS IS STILL 2.0.1 and YOU forgot to make it so that ppl can be quickly UNBANNED.
Reply With Quote
  #78  
Old 07-01-2007, 04:53 AM
Seiyaboy Seiyaboy is offline
 
Join Date: May 2006
Posts: 100
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mfyvie View Post
Curious. Have you applied the fixes I mentioned above, and does it still do this?

By the way - this mod is marked as supported, but the author doesn't appear to have been online in quite some time...
I sure did. The ban image only appears for membersgroups 9 and under. When the group number is 10 or above, those images do not appear for them. Btw, I use 3.6.7 PL1 of vbulletin. But it's not really a big deal since the trolls are usually just members with 1 to 5 posts. As long as the basic member group can be easily banned, that's good enough for me.
Reply With Quote
  #79  
Old 07-01-2007, 07:02 AM
rayw rayw is offline
 
Join Date: Mar 2007
Location: Australia
Posts: 171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed and seems to be working ok for the most part.
Reply With Quote
  #80  
Old 07-05-2007, 11:59 PM
mfyvie mfyvie is offline
 
Join Date: Mar 2007
Location: Zurich, Switzerland
Posts: 336
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Aclikyano View Post
YOU CAN QUICK BAN THE THREAD STARTER.. but you cannot QUICK UNBAN him. (users that are banned)
I think you are reporting an issue which I provided a solution to on post #61. I even wrote the heading in huge bold letters.

Quote:
Originally Posted by Seiyaboy View Post
I sure did. The ban image only appears for membersgroups 9 and under. When the group number is 10 or above, those images do not appear for them. Btw, I use 3.6.7 PL1 of vbulletin. But it's not really a big deal since the trolls are usually just members with 1 to 5 posts. As long as the basic member group can be easily banned, that's good enough for me.
I had a look and found the cause:

Code:
<!-- QUICKBAN BUTTON SHOWED FOR USERGROUPS -->
<if condition="$post[usergroupid]== $vboptions['ugroups_ban']{0} OR $post[usergroupid]== $vboptions['ugroups_ban']{2} OR $post[usergroupid]== $vboptions['ugroups_ban']{4} OR $post[usergroupid]== $vboptions['ugroups_ban']{6} ">
<!-- END QUICKBAN BUTTON SHOWED FOR USERGROUPS -->
See those {0}, {2}, {4} and {6}? The correspond to a character position in a string. So imagine your string is 1,2,3,4 - those character positions would match up. But as soon as you have 10,2,3,4 the whole thing falls apart. because those values will return 1 , , ,

I'll leave you to decide whether you think this was a good idea... I could rewrite this section, but then, given my previous rewrites, that would be almost the last part of the mod which I haven't totally rewritten. Given that this mod is marked as supported but the author hasn't shown up in some time to fix all the problems, I'm not inclined to bother!
Reply With Quote
  #81  
Old 07-10-2007, 06:26 PM
Aclikyano Aclikyano is offline
 
Join Date: Apr 2006
Posts: 481
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mfyvie View Post
to all the people who don't see the unban button, here is the solution:



Actually it's quite simple. By default the option "Enable QB for seperate[sic] Usergroups" is set to "2" (registered users).

You need to change this to "2,8", so it includes banned users (group 8) as well.

Why? Well as soon as a user is banned, they stop being a member of group 2, so the buttons (either of them) won't show anymore.

The author should really change the defaults so everybody doesn't run into this problem.


ooooooooooooooh............ :erm:
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:00 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
  • Page Generation 0.06029 seconds
  • Memory Usage 2,323KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (7)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (1)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete