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

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

Category: Moderators Functions - Version: 4.1.0 Rating:
Released: 02-16-2011 Last Update: 02-16-2011 Installs: 231
DB Changes Uses Plugins Template Edits
Is in Beta Stage  
No support by the author.

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




Summary:

Allows Administrators to ban a user from a particular thread.
Most useful if you have a "flame started" and you don't want to lock the entire thread or ban the user entirely - just keep them out of the thread!

Previous versions can be found here: 3.5, 3.6, 3.7


Features:

1. Allows banning users from a particular thread.
2. This mod can be used by Administrators.
3. Cannot ban Moderators/Super Moderators/Administrators.
4. Gives you the ability to clear all bans in a particular thread, or bans from All threads (forum wide).
5. Can ban/unban user from a single menu when clicking their username ( button).
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. Instead, state your question in this thread.

If you installed the product please click install, so you could receive future update notifications. If you want to help develop this product further, please post your suggestions on the thread, or share your ideas with me via PM.

If you find this mod useful and want to buy the developers a beer or two, please donate via PayPay

Download Now

File Type: zip btu-4.0.zip (190.3 KB, 1501 views)

Screenshots

File Type: jpg 1.jpg (51.0 KB, 0 views)
File Type: jpg 2.jpg (23.7 KB, 0 views)
File Type: jpg 3.jpg (50.3 KB, 0 views)
File Type: jpg 4.jpg (19.9 KB, 0 views)
File Type: jpg 5.jpg (22.4 KB, 0 views)
File Type: jpg 6.jpg (46.6 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
3 благодарности(ей) от:
gagan007, Kzyl-orda, StormBreaker

Comments
  #52  
Old 07-28-2011, 01:22 PM
bryanb's Avatar
bryanb bryanb is offline
 
Join Date: Oct 2003
Location: Bierland
Posts: 174
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does this work with 4.1.5? Getting ready to upgrade.
Reply With Quote
  #53  
Old 08-09-2011, 04:09 AM
nerbert nerbert is offline
 
Join Date: May 2008
Posts: 784
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bryanb View Post
Does this work with 4.1.5? Getting ready to upgrade.
Works for me with one minor change to btu_link template: I removed alt="{vb:rawphrase btu_unban}" from the img tag. For some reason I don't get the little image to work and so I get the alt text "UNBAN USER' or something like that, which causes the link to disappear.

And that's for another post.
Reply With Quote
  #54  
Old 08-09-2011, 01:25 PM
diettalk's Avatar
diettalk diettalk is offline
 
Join Date: Jan 2002
Location: Maryland
Posts: 109
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by nerbert View Post
Works for me with one minor change to btu_link template: I removed alt="{vb:rawphrase btu_unban}" from the img tag. For some reason I don't get the little image to work and so I get the alt text "UNBAN USER' or something like that, which causes the link to disappear.

And that's for another post.
If I'm remembering right, you have to go into the xml file and change this line... to take out the slash in front of images.

<img src="/images/site_icons/ignore.png" alt="{vb:rawphrase btu_unban}" />

to

<img src="images/site_icons/ignore.png" alt="{vb:rawphrase btu_unban}" />

and it should work.
Reply With Quote
  #55  
Old 08-17-2011, 01:55 AM
Dragaon Dragaon is offline
 
Join Date: Feb 2010
Posts: 43
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Danny M View Post
Hey,

I get this error at the top of the page on "View all thread bans":

Code:
Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: navbar in [path]/includes/functions.php on line 3957

Parse error: syntax error, unexpected T_STRING in /home/dannym/public_html/forums/postings.php(210) : eval()'d code(92) : eval()'d code on line 1

Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: btu_bans in [path]/includes/functions.php on line 3957
Same here, running 4.1.5
Code:
Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: navbar in [path]/includes/functions.php on line 4183

Parse error: syntax error, unexpected T_STRING in /home//public_html/forum/postings.php(212) : eval()'d code(102) : eval()'d code on line 1


The second issue is ok, the fix below for the missing postbit graphic and link worked perfectly.

Other than the error above and the fix posted below for the separate issue the mod works on 4.1.5

Quote:
Originally Posted by diettalk View Post
If I'm remembering right, you have to go into the xml file and change this line... to take out the slash in front of images.

<img src="/images/site_icons/ignore.png" alt="{vb:rawphrase btu_unban}" />

to

<img src="images/site_icons/ignore.png" alt="{vb:rawphrase btu_unban}" />

and it should work.
Reply With Quote
  #56  
Old 08-17-2011, 05:02 AM
Successfulsteps's Avatar
Successfulsteps Successfulsteps is offline
 
Join Date: Sep 2010
Posts: 143
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Looks good, I'll wait until the bugs are out and this one is updated for mods to use besides admins. It would just make better sense also so the mods all know and can see. Until then it may just be too confusing.
Reply With Quote
  #57  
Old 08-24-2011, 10:04 AM
OturanBoğa OturanBoğa is offline
 
Join Date: Nov 2008
Location: Istanbul
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i need using this hack by our moderators, not only administrators.. Can someone help?

Thanks

And:


Quote:
Originally Posted by AcidX View Post
[...]
However, I must advise you to be patient. Both features you mentioned are in my to-do list.

To-Do:

- 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.
Reply With Quote
  #58  
Old 08-27-2011, 02:31 PM
EdQ EdQ is offline
 
Join Date: Aug 2005
Location: Sunny San Diego
Posts: 158
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by diettalk View Post
If I'm remembering right, you have to go into the xml file and change this line... to take out the slash in front of images.

<img src="/images/site_icons/ignore.png" alt="{vb:rawphrase btu_unban}" />

to

<img src="images/site_icons/ignore.png" alt="{vb:rawphrase btu_unban}" />

and it should work.
Thanks for this
Reply With Quote
  #59  
Old 08-27-2011, 08:35 PM
EdQ EdQ is offline
 
Join Date: Aug 2005
Location: Sunny San Diego
Posts: 158
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by OturanBoğa View Post
i need using this hack by our moderators, not only administrators.. Can someone help?

Thanks

And:
Yes, needed by Moderators
Reply With Quote
  #60  
Old 08-30-2011, 05:02 PM
attroll's Avatar
attroll attroll is offline
 
Join Date: Jan 2003
Location: Litchfield, Me
Posts: 664
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What would be nice is once you ban a user from a thread, when you click on there name in the postbit it would display a Banned icon instead of the Thread Ban/Unban icon. There is no way of a quick reference to know if the user is already banned from the thread.
Reply With Quote
  #61  
Old 09-07-2011, 11:14 AM
Dragaon Dragaon is offline
 
Join Date: Feb 2010
Posts: 43
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by futureaudio View Post
I've fixed the error and attached the updated .xml product file.
Please edit/remove this post if this is against the rules.

All credit to OP. I've just updated it to be compatible with recent version of vblulletin. ( Simple fix )
The fix posted above works on both errors mentioned on this thread, installed on 4.1.5 PL1 with allow overwrite checked in the upload plug-in form.

great mod btw!
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 11:39 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.10503 seconds
  • Memory Usage 2,360KB
  • Queries Executed 26 (?)
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_code
  • (8)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (3)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (7)postbit_attachment
  • (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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete