vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=183183

Ban Users From a Thread
by AcidX
22 Jun 2008 00:14

6 Attachment(s)
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 22 Jun 2008 00:22

Reserved...

Thanks man...

:D

Jeanhdo

ptwiggens 22 Jun 2008 00:40

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

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

Jeanhdo 22 Jun 2008 00:43


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 22 Jun 2008 00:45

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 22 Jun 2008 00:47

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

AcidX 22 Jun 2008 00:48

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 22 Jun 2008 01:10

thank you ^^

Julrou 22 Jun 2008 16:03

2 Attachment(s)
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 :


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

(at the start of every template modifications).

AcidX 22 Jun 2008 16:31

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

Julrou 22 Jun 2008 16:36

Quote:

Originally Posted by AcidX (Post 1556062)
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.

No problem!
I could be cool ! :up:
PM me :D:up:

ShiZoPhreN 22 Jun 2008 22:39

Thanks :) for this great Hack :)

But you can, add the name of the Moderator/Admin who has banned a user from Thread?

eg.:
Quote:

This is a Thread? [Clear All]
-- Love-vB [Unban] {banned by ShiZoPhreN @ 22.06.2008 | 22:47 }
Thanks: ) in Advance

IrPr 23 Jun 2008 12:33

Quote:

Originally Posted by AcidX (Post 1556062)
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 ;)

you can use can_moderate() instead

TheInsaneManiac 23 Jun 2008 16:33

I'm glad this has been ported, man did I miss this. Thanks a lot! :D

maidos 24 Jun 2008 20:14

how about having a ban period for the threads? canu implement ban feature for subforum?


All times are GMT. The time now is 02:25.

Powered by vBulletin® Version 3.8.14
Copyright © 2020, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.