Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
User Thread Banning (Includes Time Banning Feature) Details »
User Thread Banning (Includes Time Banning Feature)
Mod Version: 1.00, by John (Coder) John is offline
Developer Last Online: Nov 2017 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 2.3.x Rating: (0 vote - 0 average) Installs: 19
Released: 21 Mar 2003 Last Update: Never Downloads: 7
Not Supported  

User Thread Banning (Includes Time Banning Feature)
By Shaolyen
email: [email protected]
msn: [email protected]

Brief intro:
------------------------
This hack enables mods, supermods and administrators to ban
users from viewing OR just replying to specific threads. It also
allows users to be banned from threads for specified amount of
time. After this time has expired, they will gain access/be able
to post again.

It adds a small link underneath the "Posts: #" in the postbit
template. Providing the user who posted did not start the thread,
a "[Thread Ban This User]" link will appear. (Only to mods, super
mods and admins.) For users who are already banned from a thread,
an "[Unban This User]" link will appear.

Forum leaders cannot be banned from threads. (The link will not
appear in their posts.)

When a forum leader clicks on the "[Thread Ban This User]" link,
they are taken to another page where they can:

a) choose whether the user can read the thread, or just not reply to it.
b) choose the length of the user's ban (in days).
c) type in a reason for the user's thread ban. This is displayed
when the user tried to access or reply to the thread.

When a user tries to access a thread or reply to one when banned,
the error message will provide a link to send a PM to the
moderator who banned them. This is something that some people
might not like - but if they're too scared to own up and explain
why they banned the user from the thread in the first place,
maybe they shouldn't be moderating! (If it really bothers some
people, I can provide them with the lines of code they need to
find and delete.)

A new page in the AdminCP will allow the admin to check all of
the current bans, as well as view archived ones. The reason for
the ban will be displayed in the Admin CP when the cursor passes
over the "Reason" link.

Enjoy.

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Comments
  #2  
Old 21 Mar 2003, 19:27
John's Avatar
John John is offline
 
Join Date: Mar 2002
Real name: John Warwick
Screenshots:
Attached Files
File Type: zip screenshots.zip (162.2 KB, 257 views)
Reply With Quote
  #3  
Old 21 Mar 2003, 19:33
Dean C's Avatar
Dean C Dean C is offline
 
Join Date: Jan 2002
Real name: Dean Clatworthy
Awesome hack John! Such a brilliant idea

- miSt
__________________
Dean Clatworthy - Web Developer/Designer
Reply With Quote
  #4  
Old 21 Mar 2003, 19:38
John's Avatar
John John is offline
 
Join Date: Mar 2002
Real name: John Warwick
Thanks Mist -

Just a quick note, this has been tested on vB 2.3.0 only as of yet.
Reply With Quote
  #5  
Old 21 Mar 2003, 19:42
Kars10's Avatar
Kars10 Kars10 is offline
 
Join Date: Jun 2002
Real name: Karsten
Very cool hack...thanks John!!
__________________
Funny eBay-Auctions: www.lustigeauktionen.de
Reply With Quote
  #6  
Old 21 Mar 2003, 20:13
N9ne N9ne is offline
 
Join Date: Feb 2002
http://www.vbulletin.org/forum/showt...threadid=48773

I requested it there a long time ago, MUG posted a version of it, but it didn't have the features which Dan_UPC was going to add into it, however he's just gone somewhere now...

So i'm glad someone has released it finally, well done John.
__________________
[Signature Goes Here]
Reply With Quote
  #7  
Old 21 Mar 2003, 20:28
007's Avatar
007 007 is offline
 
Join Date: Jan 2003
Wow, this was requested a while ago (By N9ne ). I saw it but never really thought it would be necessary. It does look cool though, and since seeing his request, there have been a few times that I came back here to see if anyone had released it because I needed it at the time. Right now I have all my "problems" straightened out though, but rest assured next time someone needs to be banned from a specific thread, I'll install this. Just have some others that I have to get to first.

Do you know how many queries (if any) this adds to non-thread banned users? Any? Does it add any to anyone? Just wondering.
Reply With Quote
  #8  
Old 21 Mar 2003, 21:06
John's Avatar
John John is offline
 
Join Date: Mar 2002
Real name: John Warwick
lol, people always ask about extra queries, and I wonder how many people have actually had a problem with too many queries actually slowing down their board. (Now I've said that, I'm sure people will start giving me examples!)

As far as I can remember (I wrote this hack a week or two ago), it adds 1 query to showthread.php and one to forumdisplay.php - if any at all.
Reply With Quote
  #9  
Old 21 Mar 2003, 21:12
Link14716's Avatar
Link14716 Link14716 is offline
 
Join Date: Jun 2002
Real name: Matthew Gordon
Show me a board with the itemshop hack and I'll show you a depressed server.

Hmm... I know it can be done fairly easily without any queries... Well, that is without the time ban added to it, at least.

Nice job.
__________________
Along with Zachery, I make releases as GeekyDesigns. Please do not PM or IM me for support.
Reply With Quote
  #10  
Old 21 Mar 2003, 21:15
John's Avatar
John John is offline
 
Join Date: Mar 2002
Real name: John Warwick
The actual ban is query free.

The query is used to check whether the user's time ban is over or not.
Reply With Quote
  #11  
Old 21 Mar 2003, 22:31
dr1 dr1 is offline
 
Join Date: Nov 2001
Great hack! I have been using it for almost a week now Easy to install and puts those more "vocal" people on your board in check.
Reply With Quote
  #12  
Old 22 Mar 2003, 02:02
Davey Davey is offline
 
Join Date: Nov 2002
Real name: David Gane
What about mods/admins holding a grudge?
You said the link doesnt appear in the admin/mod/supermod postbit, but what if the mod/admin/supermod copies another link and changes certain aspects of it to suit the banning of a mod?
Is this exploitable? I haven't downloaded it yet, but the way you explained that part makes me belive that feature can be exploited.

Dave.
__________________
dgane.com - about me & my life
Reply With Quote
  #13  
Old 22 Mar 2003, 09:02
Intex Intex is offline
 
Join Date: Apr 2002
V. nice hack. Have marked for installation soon .
Reply With Quote
  #14  
Old 22 Mar 2003, 13:46
Tim Wheatley's Avatar
Tim Wheatley Tim Wheatley is offline
 
Join Date: Nov 2001
I'm getting a blank page on the list in the admin cp and the link isn't changing to unban when I've banned someone in postbit. I've installed a fair few hacks, I don't think I did much wrong...
Reply With Quote
  #15  
Old 22 Mar 2003, 14:53
John's Avatar
John John is offline
 
Join Date: Mar 2002
Real name: John Warwick
What version of vB?
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 10:56.

Layout Options | Width: Wide Color: