Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Ban Users From a Thread Details »»
Ban Users From a Thread
Version: 1.00, by AcidX AcidX is offline
Developer Last Online: Feb 2013 Show Printable Version Email this Page

Category: Moderators Functions - Version: 3.6.7 Rating:
Released: 07-12-2007 Last Update: 07-14-2007 Installs: 236
Uses Plugins Template Edits
 
No support by the author.

Ban Users From A Thread
(Keep users out of a particular thread)




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!

This mod was originaly created by Trigunflame for vb 3.5, but since the developer hasn't been online and updated his mod since 2006, I've decided to publish this port for 3.6 (thanks beano33)! I've tested it on 3.6.4 and 3.6.7 - and it works perfectly.


Features:

1. Allows Banning users from a particular thread.
2. This mod can be used if user 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 username.
6. Page to display Forum Wide Thread Bans.


Instructions:

1. Download the .zip file
2. Read the guide in the README.txt document
3. Click Install if you like the mod


Support:

I will offer as much support as I can for all of you that installed this mod.
Please do not PM me for support, and state your question in this thread.

Show Your Support

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

Comments
  #12  
Old 07-13-2007, 10:37 PM
AcidX's Avatar
AcidX AcidX is offline
 
Join Date: Jan 2006
Location: Macedonia
Posts: 137
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Taios View Post
Hey,
I installed the mod however am having some difficulties.

In the 'Thread tools' what is in the screenshot appears. However when i click the username, it does not say 'Ban user from thread' .

I installed the product and then i did the template edits .

Any help is appreciated

- Thanksyou
You probably missed step #3 from the installation manual:
- Open BOTH templates posbit and postbit_legacy;
- FIND:
Code:
<if condition="$post['userid'] AND $show['member']">
    <tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=addlist&amp;userlist=buddy&amp;u=$post[userid]"><phrase 1="$post[username]">$vbphrase[add_x_to_buddy_list]</phrase></a></td></tr>
    </if>
- Bellow that code, add the following:
Code:
<if condition="$show['btu_canban']">
 <if condition="!isset($btu[$post[threadid]][$post[userid]])">
    <tr><td class="vbmenu_option"><a href="postings.php?$session[sessionurl]do=btu_ban&amp;t=$post[threadid]&amp;u=$post[userid]">$vbphrase[btu_ban]</a></td></tr>
 <else />
    <tr><td class="vbmenu_option"><a href="postings.php?$session[sessionurl]do=btu_ban&amp;t=$post[threadid]&amp;u=$post[userid]">$vbphrase[btu_unban]</a></td></tr>
 </if>
</if>
Make sure you edit both templates. It will surely work.

Quote:
Originally Posted by aj8690 View Post
This is great. Is there any way to make it so normal moderators can do this in their assigned forums, too?
Not yet, but probably will soon.
Reply With Quote
  #13  
Old 07-13-2007, 11:32 PM
Code Monkey's Avatar
Code Monkey Code Monkey is offline
 
Join Date: May 2004
Posts: 1,080
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Maybe add a temp ban as well.
Reply With Quote
  #14  
Old 07-13-2007, 11:33 PM
aj8690 aj8690 is offline
 
Join Date: Oct 2006
Posts: 109
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by AcidX View Post
Not yet, but probably will soon.
Thanks! Then it would be perfect! I really hope it is possible.
Reply With Quote
  #15  
Old 07-13-2007, 11:41 PM
Taios Taios is offline
 
Join Date: Apr 2007
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by AcidX View Post
You probably missed step #3 from the installation manual:
- Open BOTH templates posbit and postbit_legacy;
- FIND:
Code:
<if condition="$post['userid'] AND $show['member']">
    <tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=addlist&amp;userlist=buddy&amp;u=$post[userid]"><phrase 1="$post[username]">$vbphrase[add_x_to_buddy_list]</phrase></a></td></tr>
    </if>
- Bellow that code, add the following:
Code:
<if condition="$show['btu_canban']">
 <if condition="!isset($btu[$post[threadid]][$post[userid]])">
    <tr><td class="vbmenu_option"><a href="postings.php?$session[sessionurl]do=btu_ban&amp;t=$post[threadid]&amp;u=$post[userid]">$vbphrase[btu_ban]</a></td></tr>
 <else />
    <tr><td class="vbmenu_option"><a href="postings.php?$session[sessionurl]do=btu_ban&amp;t=$post[threadid]&amp;u=$post[userid]">$vbphrase[btu_unban]</a></td></tr>
 </if>
</if>
Make sure you edit both templates. It will surely work.

Not yet, but probably will soon.
Ah, sorry about that.

It fixed my problem . Thankyou very much!
Reply With Quote
  #16  
Old 07-14-2007, 05:36 AM
SuperTaz's Avatar
SuperTaz SuperTaz is offline
 
Join Date: Apr 2007
Location: Pennsylvania
Posts: 744
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How do I use it? Do I right-click on the flamers name and something will come up and click ban or do I just go to the user options menu?
Reply With Quote
  #17  
Old 07-14-2007, 06:52 AM
AcidX's Avatar
AcidX AcidX is offline
 
Join Date: Jan 2006
Location: Macedonia
Posts: 137
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Warden-B- View Post
How do I use it? Do I right-click on the flamers name and something will come up and click ban or do I just go to the user options menu?
Just click on your member's usernames (not avatars) while reading the specific thread.

You will notice the following options in the drop-down menu:

- View Public Profile
- Send a private message to [member]
- Find all posts by [member]
- Add [member] to Your Buddy List
- Ban User from Thread

Choose "Ban User from Thread" and Whoala!

If you wish to unban the member, either click it's username again and choose "Unban User from Thread", or click Thread tools and choose to: Clear this threads bans, Clear every threads bans, or - View all threads bans.
Reply With Quote
  #18  
Old 07-14-2007, 07:34 AM
SuperTaz's Avatar
SuperTaz SuperTaz is offline
 
Join Date: Apr 2007
Location: Pennsylvania
Posts: 744
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Doesn't show and I did everything right. Will it conflict with other mods on my site?

Reply With Quote
  #19  
Old 07-14-2007, 08:14 AM
AcidX's Avatar
AcidX AcidX is offline
 
Join Date: Jan 2006
Location: Macedonia
Posts: 137
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Warden-B- View Post
Doesn't show and I did everything right. Will it conflict with other mods on my site?
No mate, I dobt there's a conflict with some other mod.
I'll have to repeat myself thouh

You probably missed step #3 from the installation manual:
- Open BOTH templates posbit and postbit_legacy;
- FIND:
Code:
<if condition="$post['userid'] AND $show['member']">
    <tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=addlist&userlist=buddy&u=$post[userid]"><phrase 1="$post[username]">$vbphrase[add_x_to_buddy_list]</phrase></a></td></tr>
    </if>
- Bellow that code, add the following:
Code:
<if condition="$show['btu_canban']">
 <if condition="!isset($btu[$post[threadid]][$post[userid]])">
    <tr><td class="vbmenu_option"><a href="postings.php?$session[sessionurl]do=btu_ban&t=$post[threadid]&u=$post[userid]">$vbphrase[btu_ban]</a></td></tr>
 <else />
    <tr><td class="vbmenu_option"><a href="postings.php?$session[sessionurl]do=btu_ban&t=$post[threadid]&u=$post[userid]">$vbphrase[btu_unban]</a></td></tr>
 </if>
</if>
Make sure you edit both templates. It will surely work.
Reply With Quote
  #20  
Old 07-14-2007, 12:43 PM
Magnumutz's Avatar
Magnumutz Magnumutz is offline
 
Join Date: Feb 2006
Location: Romania
Posts: 731
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is exactly what Coders Shack was looking for.
Reply With Quote
  #21  
Old 07-14-2007, 05:59 PM
projectego's Avatar
projectego projectego is offline
 
Join Date: Feb 2006
Location: UK
Posts: 724
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

/me clicks install
Reply With Quote
Reply


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:34 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.06430 seconds
  • Memory Usage 2,323KB
  • 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
  • (6)bbcode_code
  • (6)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
  • (3)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