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
  #102  
Old 05-27-2008, 11:41 PM
centralss centralss is offline
 
Join Date: Jan 2007
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok found something. I have to click ban user from thread twice, THEN is bans. After I go back to the user pop up, it shows unban user from thread, but I have to click it twice. (first time says banned user from thread, 2nd click says unbanned user from thread)

So any ideas on why I have to click it twice for banning and unbanning?
Reply With Quote
  #103  
Old 06-03-2008, 03:36 PM
MorrisMcD's Avatar
MorrisMcD MorrisMcD is offline
 
Join Date: Nov 2003
Location: Cincinnati, Ohio
Posts: 415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I decided that I was going to try out the ban via post hack instead.. Well. I didnt want to lose the bans I performed with this hack.. So I removed the uninstall code from the product before uninstalling.. Not the db tables and such are still there I guess.. I didnt like the other one as much so I decided to come back.. But now I cant install the product without removing the tables.. is there anything I can do to get the product back and maintain the existing data?
Reply With Quote
  #104  
Old 06-07-2008, 10:48 PM
CP, CP, is offline
 
Join Date: Aug 2005
Location: UK London
Posts: 276
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi ive discovered this works with 3.7.1 now... but only the admin can ban from thread not the moderators.. anybody know how we can make this work for moderators please... ive been trying to assign a moderator permission but it dosent work.
Reply With Quote
  #105  
Old 06-21-2008, 04:38 AM
Konstantinos Konstantinos is offline
 
Join Date: Apr 2006
Posts: 443
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i wanted to be able to see who is banned in the postbit and to ban/unban from the icon images. so in postbit_legacy

$post[iplogged]

after i added

Code:
<if condition="$show['btu_canban']">
 <if condition="!isset($btu[$post[threadid]][$post[userid]])"><a href="postings.php?$session[sessionurl]do=btu_ban&amp;t=$post[threadid]&amp;u=$post[userid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/threadban.png" alt="$vbphrase[btu_ban]" border="0" /></a>
 <else />
    <a href="postings.php?$session[sessionurl]do=btu_ban&amp;t=$post[threadid]&amp;u=$post[userid]"><img class="inlineimg" src="$stylevar[imgdir_button]/threadunban.png" alt="$vbphrase[btu_unban]" border="0" /></a>
 </if>
</if>
whould be nice if u could add some more stuff like ban reason . auto unban , send auto pm to banned user etc
Reply With Quote
  #106  
Old 06-21-2008, 10:22 PM
AcidX's Avatar
AcidX AcidX is offline
 
Join Date: Jan 2006
Location: Macedonia
Posts: 137
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<a href="https://vborg.vbsupport.ru/showthread.php?t=183183" target="_blank">Here's the 3.7 version</a>.
I've added the option to ban through the icons too. Many thanks Konstantinos!

I'm currently working on an improved version. Here's the to-do list:

- Allow Mods/Supermods to use thread bans [optional];
- Time ban [hours, days, weeks...];
- Display ban reason when user tries to enter thread;
- Notification for banned users via PM.

If you have any more ideas, don't hesitate to share them with me.
Reply With Quote
  #107  
Old 06-22-2008, 07:07 AM
Konstantinos Konstantinos is offline
 
Join Date: Apr 2006
Posts: 443
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

those options are cool. hope u implement them without file edits (as the other mod) . maybe an option to display which mod did the ban to avoid confusion whould be cool too.
Reply With Quote
  #108  
Old 06-22-2008, 08:59 AM
Julrou Julrou is offline
 
Join Date: Jul 2007
Location: France
Posts: 106
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by AcidX View Post
Here's the 3.7 version.
I've added the option to ban through the icons too. Many thanks Konstantinos!

I'm currently working on an improved version. Here's the to-do list:

- Allow Mods/Supermods to use thread bans [optional];
- Time ban [hours, days, weeks...];
- Display ban reason when user tries to enter thread;
- Notification for banned users via PM.

If you have any more ideas, don't hesitate to share them with me.
Did you upload the new package ?
Reply With Quote
  #109  
Old 06-22-2008, 11:12 AM
AcidX's Avatar
AcidX AcidX is offline
 
Join Date: Jan 2006
Location: Macedonia
Posts: 137
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Julrou View Post
Did you upload the new package ?
Yes.
Sorry, I forgot to paste the link.
Reply With Quote
  #110  
Old 06-22-2008, 11:43 AM
Julrou Julrou is offline
 
Join Date: Jul 2007
Location: France
Posts: 106
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by AcidX View Post
Yes.
Sorry, I forgot to paste the link.
Great !
Thanks, i'll test it on my board soon.

I'll also see if i can do something to allow mods to ban from a thread.
Reply With Quote
  #111  
Old 06-22-2008, 06:01 PM
Stifmeister2 Stifmeister2 is offline
 
Join Date: Feb 2006
Location: Finland
Posts: 755
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey, I'd like only Admins and Super Mods to be "safe" from this thread banning. We have a lot of moderators on our forums (clan forums, mods for every clan section) so many people have the immunity now. I want so that normal moderatos can be banned too.

I can edit the files by myself, just need help what to edit.
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 01:02 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.05011 seconds
  • Memory Usage 2,311KB
  • 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
  • (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