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)

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


All times are GMT. The time now is 01:08 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.01230 seconds
  • Memory Usage 1,740KB
  • 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
  • (3)bbcode_code_printable
  • (1)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