Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons

Reply
 
Thread Tools
Ban User From A Thread Details »»
Ban User From A Thread
Version: 3.3, by Trigunflame Trigunflame is offline
Developer Last Online: Nov 2019 Show Printable Version Email this Page

Version: 3.5.4 Rating:
Released: 03-03-2006 Last Update: 03-09-2006 Installs: 302
Uses Plugins Template Edits
 
No support by the author.

Ban User From A Thread
Break Up Those Fights


Summary:

Allows Administrators/Supermods to ban a user from a particular thread.
Most useful if you have a flame started and you dont want to lock the entire thread or ban the user entirely; just keep them out of the thread.


Features:

1. Allow Banning of users from a particular thread.
2. Can only ban if person has SuperModerator or Higher Permissions.
3. Cannot ban Mods/Supermods/Admins.
4. Can clear all bans in a particular thread, or bans from All threads.
5. Can ban/unban user from a single menu when clicking their name.
6. Page to display Forum Wide Thread Bans.


Instructions:

1. Download Zip File
2. Read README.txt
3. Click Install if you like

Thanks,
Idea: Corriewf
Troubleshooting: Brad



Instructions:

To upgrade: uninstall product, reinstall product and redo steps #2 and #3.

Update: 3/9/06 9:49pm
1. Fixed uncached template on view all bans.
2. Included README.txt in the txt file.

Major Update: 3/5/06 6:51pm
1. Changes to the checking of Moderator Permissions optimized.
2. Fixed a bug with not removing an empty array containing a thread.
3. Added a View All Thread Bans page to view bans in a tree like menu.

Update: 3/4/06 8:09pm
1. Conditional Ban or Unban based on Status.

Major Update: 3/4/06 6:33pm
1. Cannot Ban Moderators/Supermoderators/Administrators
2. Checks Global Supermod/Administrator Permissions
3. Can Ban/Unban User From Same Menu

Update: 3/4/06 6:40am
Added checking for threadid, and userid. *smacks self*

Update: 3/4/06 6:30am
Please re-do step number 3 again if you already installed it. Forgot to add the thread id to the url. It is very late (6:30am) and im tired :tired:

CLICK INSTALL

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #192  
Old 01-15-2007, 12:27 AM
Bubble #5 Bubble #5 is offline
 
Join Date: Apr 2005
Posts: 984
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #193  
Old 01-17-2007, 06:28 AM
Mysticales's Avatar
Mysticales Mysticales is offline
 
Join Date: Oct 2005
Posts: 168
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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. =)
Reply With Quote
  #194  
Old 02-04-2007, 05:37 PM
professorb professorb is offline
 
Join Date: Dec 2005
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Bubble #5 View Post
Has anyone successfully installed this on 3.6.4?
Hi, have you been able to get this to work? We really need it back!
Reply With Quote
  #195  
Old 02-04-2007, 05:49 PM
Bubble #5 Bubble #5 is offline
 
Join Date: Apr 2005
Posts: 984
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by professorb View Post
have you been able to get this to work?
Yes
Reply With Quote
  #196  
Old 02-04-2007, 06:21 PM
CrashfAB CrashfAB is offline
 
Join Date: Mar 2006
Posts: 111
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Didn't work for me on 3.6.4--got a database error.
Reply With Quote
  #197  
Old 02-04-2007, 06:41 PM
professorb professorb is offline
 
Join Date: Dec 2005
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #198  
Old 02-04-2007, 06:42 PM
professorb professorb is offline
 
Join Date: Dec 2005
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Bubble #5 View Post
Yes
Any hints about what you did? Please?
Reply With Quote
  #199  
Old 02-07-2007, 08:54 PM
CrashfAB CrashfAB is offline
 
Join Date: Mar 2006
Posts: 111
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any updates on how to get this to work on 3.6.4?
Reply With Quote
  #200  
Old 02-14-2007, 09:43 PM
voteforbird's Avatar
voteforbird voteforbird is offline
 
Join Date: Jul 2006
Posts: 121
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works for me with the provided 3.6 update.
Reply With Quote
  #201  
Old 02-15-2007, 12:36 PM
dagummit dagummit is offline
 
Join Date: Aug 2006
Posts: 44
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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!
Reply With Quote
Reply

Thread Tools

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 02:37 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.09461 seconds
  • Memory Usage 2,304KB
  • Queries Executed 25 (?)
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
  • (3)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
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • 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