vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Add-On Releases - Quick Ban & Unban in Postbit & Postbit_legacy! (https://vborg.vbsupport.ru/showthread.php?t=133282)

momo2 06-26-2007 01:40 AM

wish there was a button img for it , so my mods and admins would see the difference, how ever excellent work, thanks

cloyal 06-27-2007 12:46 AM

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

mfyvie 06-27-2007 07:10 AM

Quote:

Originally Posted by momo2 (Post 1276609)
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 (Post 1277365)
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?

Seiyaboy 06-29-2007 11:28 PM

It looks like the mod refuses to work on usergroups that are double digits.

mfyvie 06-30-2007 08:19 AM

Quote:

Originally Posted by Seiyaboy (Post 1279513)
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...

Aclikyano 06-30-2007 11:42 AM

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.

Seiyaboy 07-01-2007 04:53 AM

Quote:

Originally Posted by mfyvie (Post 1279764)
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.

rayw 07-01-2007 07:02 AM

Installed and seems to be working ok for the most part.

mfyvie 07-05-2007 11:59 PM

Quote:

Originally Posted by Aclikyano (Post 1279846)
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 (Post 1280357)
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!

Aclikyano 07-10-2007 06:26 PM

Quote:

Originally Posted by mfyvie (Post 1250441)
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:


All times are GMT. The time now is 02:58 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.01296 seconds
  • Memory Usage 1,746KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete