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)

phonexpo 12-11-2006 08:14 PM

Installed but problem, I can ban with no problem with when I try to unban I get a page error ?

I'm using 3.6.4., help ?

JJH35 12-15-2006 02:39 AM

was looking for something like this thanks

phonexpo 12-16-2006 01:24 AM

Quote:

Originally Posted by phonexpo (Post 1136568)
Installed but problem, I can ban with no problem with when I try to unban I get a page error ?

I'm using 3.6.4., help ?

Unban doesn't work for me...

JamieLee2k 12-20-2006 10:08 AM

Found a problem, I have some users in a custom usergroup, but since there is an issue with vbsupport and it doesn't work with custom usergroups I had to add them to a secondary usergroup as members and now anyone that is in that custom group the quickban doesn't show up, I have added there number into the admin section but it's still not showing up.

ecansel 12-20-2006 05:52 PM

Quote:

Originally Posted by Ajavas (Post 1135094)
Hi, i installed your hack, but i'm not getting the "unban" button if somebody is banned. :confused:


Same problem here.. weird..:alien:

Necrosaro420 12-20-2006 11:00 PM

im using 3.6.4 and I have installed both xml files that I have seen, and they do not work on any of the 3 skins that I have installed.

ZEvilWyvernX 01-01-2007 06:54 AM

They dont work for me either. Even tried uninstalling and reinstalling twice

Terminatoronly 01-01-2007 07:46 AM

installed thanks :D

ajschamps 01-02-2007 04:39 PM

Unban also doesn't work for me.

VBUsers 01-03-2007 06:25 AM

great hack just what i was looking for.

clicks install-

coderphp 01-03-2007 06:41 AM

nice hack thank you...

Kap O 01-06-2007 01:37 PM

Nyce Hack.

RFViet 01-11-2007 02:24 PM

installed !!! Thanks

IamRob 01-27-2007 04:58 PM

Quote:

Originally Posted by ajschamps (Post 1149240)
Unban also doesn't work for me.

Is this ever going to get fixed?

akulion 01-29-2007 07:22 AM

thanks

TrIn@dOr 01-30-2007 09:41 AM

1. Installed
2. Not working
3. Searched solution & and not found
4. Uninstalled

vB 3.6.4

Biby 02-07-2007 08:57 AM

Quote:

Originally Posted by Ezo (Post 1135656)
Installed
But i can't add a new (custom) usergroup, i can only show the button for group 2, and 10 won't work...

same prob for me...i can't allow custom usergroups to see the buttons...

Gsmdenis 03-05-2007 08:05 PM

did not show icon .....

harlita 03-18-2007 08:09 AM

SIMPLE installation. Works great on 3.6.5 forum.

we love it!! thanks! Icon showed up just fine as well.

*note* I uploaded from computer instead of pointing it to the XML directory to get it to work. it didn't work when I simply placed it in the includes>xml directory and then tried to add it through manage products. maybe that will help someone else, too?

mfyvie 05-18-2007 08:52 PM

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.

Panagioths 05-19-2007 03:00 PM

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?

rolfw1 05-20-2007 01:49 PM

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


Panagioths 05-20-2007 01:52 PM

I've installed in 3.6.7 just fine. What does the line 2111 says?

mfyvie 06-20-2007 08:21 AM

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.

mfyvie 06-20-2007 09:16 AM

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 --
}

Template quickban_button
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 -->


linhhon2003 06-20-2007 11:05 AM

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)?

mfyvie 06-20-2007 11:12 AM

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"

linhhon2003 06-20-2007 12:13 PM

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.

mfyvie 06-20-2007 12:15 PM

Quote:

Originally Posted by linhhon2003 (Post 1272426)
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.

Ok, then if I understand you correctly, I already provided the fix to this issue in post #66

linhhon2003 06-20-2007 05:11 PM

Sorry, I don't read exactly
Many thank.
It's work

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 01:36 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.01862 seconds
  • Memory Usage 1,829KB
  • 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
  • (4)bbcode_code_printable
  • (12)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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