vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Moderators Functions - Ban Users From a Thread (https://vborg.vbsupport.ru/showthread.php?t=183183)

AcidX 06-21-2008 10:00 PM

Ban Users From a Thread
 
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 dont want to lock the entire thread or ban the user entirely - just keep them out of the thread!

vBulletin 4 version can be found here.

This is a port from the 3.6 version released last year.
You can also find a 3.5 version for this mod if you need it.


Tested on 3.7.1 PL1 & 3.7.1 PL2 - works perfectly.


Features:

1. Allows banning users from a particular thread.
2. This mod can be used by Administrators.
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, or the http://forum.kajgana.com/images/butt.../threadban.png/http://forum.kajgana.com/images/butt...hreadunban.png icons.
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.


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.

If you installed the product please click install, so you could receive future updates 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.

Jeanhdo 06-21-2008 10:22 PM

Reserved...

Thanks man...

:D

Jeanhdo

ptwiggens 06-21-2008 10:40 PM

I just installed this... It's not working at all.

I am on 3.7.0... perhaps that is the problem?

Jeanhdo 06-21-2008 10:43 PM


I installed in vb 3.7.1 level 2 and is working perfectly, not only added the phrases in postbit and postbit legacy, because it's not there.
But even then it worked perfectly.

Thank you.

Jeanhdo

AcidX 06-21-2008 10:45 PM

Quote:

Originally Posted by ptwiggens (Post 1555709)
I just installed this... It's not working at all.

I am on 3.7.0... perhaps that is the problem?

I haven't tested it on 3.7.0 yet, but if you followed the installation steps and you're sure you made no mistakes, most likely - that is the problem. Only 3.7.1 and above. Maybe if you tell us what error you get, we'll try to solve the problem.

ptwiggens 06-21-2008 10:47 PM

Actually NVM... for some reason the edits didn't save... bleh. Thanks!

AcidX 06-21-2008 10:48 PM

Quote:

Originally Posted by ptwiggens (Post 1555715)
Actually NVM... for some reason the edits didn't save... bleh. Thanks!

I'm glad it works on 3.7.0 too! : )

Q-v-n-s-Q 06-21-2008 11:10 PM

thank you ^^

Julrou 06-22-2008 02:03 PM

Hey there !

Great mod, works perfectly on my site ! :up:

I've enhanced it in order to allow mods and supermods to ban user from thread.

Just re-upload the xml file in the admincp (allow overwrite -> yes).

You can choose to give or not the ability to mods and supermods to ban from a thread in the templates modifications (see the new README file in this post's attachments) : just modify the usergroups you want in this line :

PHP Code:

<if condition="in_array($bbuserinfo['usergroupid'], array(5,6,7))"

(at the start of every template modifications).

AcidX 06-22-2008 02:31 PM

Thanks Julrou! : ) But it sure needs more development before realeasing the new version.

I wouldn't like Moderators to have permissions to ban users on ALL forums, but instead - just on the forums they are assigned to moderate. We also have to keep the installation proccess simple - no manual tempate edits. If you're interested, we could both develop this mod and publish it. The sooner - the better.

However, if anyone wants to give all moderators the permisson to ban users from threads on all forums - install Julrou's modification. Tested - it works ;)


All times are GMT. The time now is 03:03 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01128 seconds
  • Memory Usage 1,740KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete