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
  #22  
Old 07-14-2007, 06:19 PM
Snake's Avatar
Snake Snake is offline
 
Join Date: Mar 2005
Location: Cleveland, OH
Posts: 3,832
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for this. It might come in handy. =]
Reply With Quote
  #23  
Old 07-14-2007, 06:20 PM
SuperTaz's Avatar
SuperTaz SuperTaz is offline
 
Join Date: Apr 2007
Location: Pennsylvania
Posts: 744
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

In your zip file it says open one template OR the other. Not both. You should change that if that is what you meant. But it works now, so thanks.

See Here is what it says on your readme document.

Quote:
3. Open your styles "posbit" or "postbit_legacy" template, whichever you use.
- Find near the bottom of the template:

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

- Below that, add:

<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>
Reply With Quote
  #24  
Old 07-14-2007, 10:02 PM
AcidX's Avatar
AcidX AcidX is offline
 
Join Date: Jan 2006
Location: Macedonia
Posts: 137
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm glad it works now

It also says: "whichever you use".
But since most people don't really know which template to edit, I'll change the readme document.

Thanks.
Reply With Quote
  #25  
Old 07-14-2007, 11:23 PM
sola sola is offline
 
Join Date: Jan 2003
Posts: 45
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by aj8690 View Post
Is there any way to make it so normal moderators can do this in their assigned forums, too?
The limitation of the original is still the limitation of the revised version, it seems. Mods actually need this more than Admins. Mods are always on the site, not the Admins. Oh well, shouldn't look a gift horse in the mouth...
Reply With Quote
  #26  
Old 07-15-2007, 12:07 AM
SuperTaz's Avatar
SuperTaz SuperTaz is offline
 
Join Date: Apr 2007
Location: Pennsylvania
Posts: 744
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by AcidX View Post
I'm glad it works now

It also says: "whichever you use".
But since most people don't really know which template to edit, I'll change the readme document.

Thanks.

Thanks man. I just wanted to give you a heads up on that. You had me confused.
Reply With Quote
  #27  
Old 07-15-2007, 12:57 AM
Muellmann's Avatar
Muellmann Muellmann is offline
 
Join Date: Jun 2006
Location: near keyboard
Posts: 109
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Awesome hack indeed clicked install now. :up:
Reply With Quote
  #28  
Old 07-16-2007, 07:33 AM
Milad's Avatar
Milad Milad is offline
 
Join Date: Apr 2005
Location: Syro
Posts: 663
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Some edits can be done via the new template hooks

also

for the plugins newreply_start, threadmanage_start and showthread_getinfo, it's better to use init_startup
PHP Code:
$datastore_fetch[] = "'btu'"
And then, in next hooks, use
PHP Code:
$vbulletin->btu 
By doing that, you'll optimize the hack and save three unnecessary queries.
Reply With Quote
  #29  
Old 07-18-2007, 12:17 PM
Alteran Ancient's Avatar
Alteran Ancient Alteran Ancient is offline
 
Join Date: May 2005
Location: Atlantis
Posts: 40
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I would love to see the ability to ban people (or even usergroups (doesn't matter ATM)) from threads without needing them to post first. What if you don't want them to see the thread in the first place? It would be nice to either have a dialogue where you enter the specific user's userid, or go to their profile page and ban them that way.

At this time, the mod's benefit is that it only installs with a Product file; not seperate .php files.
Reply With Quote
  #30  
Old 07-18-2007, 04:46 PM
Censtudios Censtudios is offline
 
Join Date: Jun 2007
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I installed this and when I use quickreply, no matter how long my quickreply is, it keeps saying I need to insert at least 10 characters.

I had a hard time finding out where it came from and it was this hack!

I dont know what happened, but its annoying, good hack, but shame for the bugs. uninstalled

- edit

now my whole forum is screwed up, thanks a lot!
Reply With Quote
  #31  
Old 07-18-2007, 05:56 PM
Alibass's Avatar
Alibass Alibass is offline
 
Join Date: Mar 2007
Posts: 615
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Censtudios View Post
I installed this and when I use quickreply, no matter how long my quickreply is, it keeps saying I need to insert at least 10 characters.

I had a hard time finding out where it came from and it was this hack!

I dont know what happened, but its annoying, good hack, but shame for the bugs. uninstalled

- edit

now my whole forum is screwed up, thanks a lot!
There are over 50 installs of this hack and one is mine and nobody seems to be having this problem. Maybe you need to uninstall and reinstall hack.
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:45 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.06811 seconds
  • Memory Usage 2,317KB
  • 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
  • (2)bbcode_php
  • (4)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
  • (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