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

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
  #132  
Old 04-25-2006, 02:47 AM
Stoebi Stoebi is offline
 
Join Date: Apr 2006
Location: Germany, Berlin
Posts: 331
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi

Great work. Thanks a lot.

My wishes:
I would like to see an option that treadstarter can ban/unban an user from his thread. Maybe optionally to disable this for specific user(s)/groups/forum/mods/admins in acp. please.

I would like to see a reason option and a possibility within directly to contact the mod/admin/threadstarter which banned the user.

Sorry for my terrible english.

Regards, Stoebi
Reply With Quote
  #133  
Old 04-29-2006, 03:19 AM
Hawk7173 Hawk7173 is offline
 
Join Date: Dec 2004
Posts: 169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

in my SHOWTHREAD template I find the following:

Quote:
<td class="vbmenu_option" title="nohilite">
<div><label for="ao_oct"><input type="radio" name="do" id="ao_oct" value="openclosethread" checked="checked" /><if condition="$show['closethread']">$vbphrase[close_thread]<else />$vbphrase[open_thread]</if></label></div>
It's says it's supposed to be:

Quote:
<if condition="$show['openclose']"><div><label for="ao_oct"><input type="radio" name="do" id="ao_oct" value="openclosethread" checked="checked" /><if condition="$show['closethread']">$vbphrase[close_thread]<else />$vbphrase[open_thread]</if></label></div></if>
any ideas why it's not there?
Reply With Quote
  #134  
Old 04-29-2006, 03:27 AM
Tyegurl's Avatar
Tyegurl Tyegurl is offline
 
Join Date: Mar 2006
Location: NY
Posts: 480
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

could possibly be another mod you have installed that required you to change that line of code...or try to find it in another spot possibly there are two lines of similar code...( i ran into the simialr code before)
Reply With Quote
  #135  
Old 04-29-2006, 02:01 PM
Hawk7173 Hawk7173 is offline
 
Join Date: Dec 2004
Posts: 169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I tried installing the code after the segment I found, but the mod doesn't work. When I click on the username the ban from thread does not show up. I removed what I put in there until I find out what I should do.
Reply With Quote
  #136  
Old 05-02-2006, 09:59 PM
Stop Stop is offline
 
Join Date: Oct 2005
Location: Riyadh
Posts: 114
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just great.
Sultan clicks install.
Reply With Quote
  #137  
Old 05-03-2006, 02:34 AM
VBUsers's Avatar
VBUsers VBUsers is offline
 
Join Date: Aug 2004
Posts: 830
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

can you mod this hack so that it keeps members out of certain forums instead?
Reply With Quote
  #138  
Old 05-05-2006, 05:42 PM
Ramsesx's Avatar
Ramsesx Ramsesx is offline
 
Join Date: Aug 2005
Location: Southern Germany
Posts: 512
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very nice idea, thanks a lot.
Reply With Quote
  #139  
Old 05-06-2006, 02:56 AM
Bubble #5 Bubble #5 is offline
 
Join Date: Apr 2005
Posts: 984
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is an incredible mod and should be made as standard equipment on vB - hint, hint :bunny:
Reply With Quote
  #140  
Old 05-08-2006, 06:06 PM
Iceman62 Iceman62 is offline
 
Join Date: Apr 2006
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This would be a good hack. I think I did everything right, but it won't work. Am I supposed to upload anything to the plugins system? I have no idea. :cross-eyed:

[EDIT] Nevermind, I got it!! Nice hack!! Thanks.
Reply With Quote
  #141  
Old 05-11-2006, 01:31 AM
Hawk7173 Hawk7173 is offline
 
Join Date: Dec 2004
Posts: 169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've double and triple checked and everythin is correct according to instructions and it still doesn't work.

One thing that I did do is add the code in both "postbit" and "postbit_legacy" templates. Would that make a difference? Once I save the templates is there anything else that needs to be done?

Thanks.... any help would be greatly appreciated.
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 05:17 AM.


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.06938 seconds
  • Memory Usage 2,308KB
  • 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_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
  • (2)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