vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Ban User From A Thread (https://vborg.vbsupport.ru/showthread.php?t=109416)

Bubble #5 01-15-2007 12:27 AM

That should be possible by simply adding a <if> statement to that section of code in the template. Someone else would need to post the exact code though.

Mysticales 01-17-2007 06:28 AM

Ok, since I like this thread and the comments added from Stoebi. I will assist you in the how to prevent mods from using the clear all or "Every" option.

As you know, a moderator using the added code provided, can ONLY clear bans from THAT thread that they are allowed to moderate in. Should they "try" the "every" option, it will fail. This was the design of Stoebis moderator code.

So should you STILL need to feel you want this blocked. Here is the code.
In the Style Manager, Edit SHOWTHREAD

Code:

Find:
<if condition="$show['btu_canban']">

Replace with:
<if condition="$show['btu_canban'] AND is_member_of($bbuserinfo, 6)">

The "6" is the default for the admin usergroup, meaning only anyone who is in part of that group, will be allowed to see those 2 options in the drop down.

Problem solved.

Hope that will assist you some. =)

professorb 02-04-2007 05:37 PM

Quote:

Originally Posted by Bubble #5 (Post 1159198)
Has anyone successfully installed this on 3.6.4? :confused:

Hi, have you been able to get this to work? We really need it back!

Bubble #5 02-04-2007 05:49 PM

Quote:

Originally Posted by professorb (Post 1174612)
have you been able to get this to work?

Yes :)

CrashfAB 02-04-2007 06:21 PM

Didn't work for me on 3.6.4--got a database error.

professorb 02-04-2007 06:41 PM

I was getting the database error, but then I used the xml from this post and I didn't get the error. So I made the changes to the two templates, as from the original readme, but I still can't get it to work.

professorb 02-04-2007 06:42 PM

Quote:

Originally Posted by Bubble #5 (Post 1174620)
Yes :)

Any hints about what you did? Please? :)

CrashfAB 02-07-2007 08:54 PM

Any updates on how to get this to work on 3.6.4?

voteforbird 02-14-2007 09:43 PM

Works for me with the provided 3.6 update.

dagummit 02-15-2007 12:36 PM

Is there a way to ban a group from posting to a thread? I have a debate forum where only two members can post in the thread and all the other members should post in the commentary thread. But sometimes the other members will start posting in the debate thread. It would be great to use this mod to limit only the two debaters, but where all others only have view priv.

Anyways can this mod be made to do this? Or is there another mod out there already that has this feature?

Thanks!


All times are GMT. The time now is 08:20 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.01247 seconds
  • Memory Usage 1,735KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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