Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Hellban 0.1 Details »
Hellban 0.1
Mod Version: 1.00, by intellected (Member) intellected is offline
Developer Last Online: Apr 2002 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 2.2.x Rating: (0 vote - 0 average) Installs: 9
Released: 22 Feb 2002 Last Update: Never Downloads: 0
Not Supported Is in Beta Stage  

UPDATED!!! AGAIN!

This is a more effective solution than the standard "ban", and is meant to be used for very annoying troublemakers that keeps re-registering once banned. Anyway - once a user is placed under the "Hellban", the following happens:

1. Every 3:d time the user tries to load a page, he is greeted with a fake "500 Internal Server Error" message.

2. Nobody but moderators and the user himself can see his posts. He is, essentially, under a site-wide ignore.

This may not be a 100% fail-safe solution, but a lot of the morons will hopefully get tired and go away.

Here is how it's done:

1. Run the following query on your database:

INSERT INTO usergroup VALUES("666","Hellban","","0","1","1","1","1","0","1","0","0","0","1","1","1","1 ","0","0","1","1","1","0","0","1","0","0","0","0","0","0","0","0","1");
ALTER TABLE post ADD hellban INT UNSIGNED;
ALTER TABLE thread ADD hellban INT UNSIGNED;

2. Add this at the bottom of you global.php

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

3. Find this in newreply.php:

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

REPLACE it with this:


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

4. find this in newthread.php


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


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

in that file, also find this:


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


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

After that, find this:


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

and replace with this:


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

I showthread.php, find this:

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

Replace with this:


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

in forumdisplay.php, find this:


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

Replace that with this:


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

Now, whenever you want to get rid of a user, simply set him or her to usergroup Hellban.

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.
  #16  
Old 25 Feb 2002, 04:56
intellected intellected is offline
 
Join Date: Dec 2001
Originally posted by hagi


i dont have phpmyadmin. i actually didnt know how to run query's until i got that hack for the vbb admin cp. is their any other query i can run to make it work, cause i got the same problems as others and clueless on this. btw, sounds like a good hack.
Seriously man, this is indeed the EXACT query I use:


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

And it works flawlessly on vB 2.2.2. I have no idea why it doesn't work for you. Anyone got any ideas?
Reply With Quote
  #17  
Old 25 Feb 2002, 05:34
hagi hagi is offline
 
Join Date: Jan 2002
its funny, mine just worked now without me doing anything. well, thanks for the help
Reply With Quote
  #18  
Old 25 Feb 2002, 23:14
Rick Rick is offline
 
Join Date: Nov 2001
Still no good for me :-(
__________________
Rick Horwitz
"Serious Explorations"
Ford Explorer Problem Solving
Reply With Quote
  #19  
Old 26 Feb 2002, 03:05
hagi hagi is offline
 
Join Date: Jan 2002
i got the query to work, but the hack itself wont work for some reason
Reply With Quote
  #20  
Old 02 Mar 2002, 09:15
Neo's Avatar
Neo Neo is offline
 
Join Date: Oct 2001
Real name: Dan
props to you. nice hack.
Reply With Quote
  #21  
Old 02 Mar 2002, 13:58
Overgrow's Avatar
Overgrow Overgrow is offline
 
Join Date: Nov 2001
I did a quick & dirty hack that has much of the same effect but without the query JOIN -- (removes a person's posts but lets them see 'em normally so they don't know what happened)...

http://www.vbulletin.org/forum/showt...threadid=35589
Reply With Quote
  #22  
Old 02 Mar 2002, 17:59
Freddie Bingham's Avatar
Freddie Bingham Freddie Bingham is offline
 
Join Date: Oct 2001
JOINS are only a problem if the field(s) you are joining are not-indexed.
Reply With Quote
  #23  
Old 02 Mar 2002, 18:08
Overgrow's Avatar
Overgrow Overgrow is offline
 
Join Date: Nov 2001
Freddie, you so smart... and it appears usergroupid is already indexed. So his original showthread join with the user would not have been a problem eh? Sorry intellected! I see you already changed it to use a new field, post.hellban. If the original way really didn't add much overhead, it was probably the more elegant solution rather than adding a new field to post.
__________________
Marijuana Growing Magazine - since vB 1.1
Reply With Quote
  #24  
Old 03 Mar 2002, 00:30
Freddie Bingham's Avatar
Freddie Bingham Freddie Bingham is offline
 
Join Date: Oct 2001
I don't know, I didn't look at his code so I have no comment on it's effectiveness at utilizing the database.
Reply With Quote
  #25  
Old 19 Apr 2002, 12:42
Jawelin Jawelin is offline
 
Join Date: Nov 2001
I think the usergroup is already read at showpost / newreply / newthread time.
So there is that info at postbit level, and we can use it without adding the hellban field to post & thread tables.

What do you think about ?
Thnx
Reply With Quote
  #26  
Old 06 May 2002, 12:28
FFMania FFMania is offline
 
Join Date: Mar 2002
Same thing.....same error....can't get the query to work....help plz?
Reply With Quote
  #27  
Old 13 May 2002, 16:10
GenSec GenSec is offline
 
Join Date: Oct 2001
I like hellban idea, but there is another way.
If you created 666 usergroup you find in admin/ functions.php

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

add below

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

and all your hellbanned user are on common ignore list.

Or change postbit_ignore template for more suited.
Reply With Quote
  #28  
Old 31 May 2002, 05:20
Brad Brad is offline
 
Join Date: Nov 2001
Database error in vBulletin Control Panel 2.2.5:

Invalid SQL: INSERT INTO usergroup VALUES("666","Ultimate ban","","0","1","1","1","1","0","1","0","0","0","1","1","1","1","0","0","1","1", "1","0","0","1","0","0","0","0","0","0","0","0","1");

mysql error: You have an error in your SQL syntax near ';
' at line 1

mysql error number: 1064

Date: Friday 31st of May 2002 05:20:26 AM
Script: http://www.kousetsu.net/forums/forums/admin/query.php
Referer: http://www.kousetsu.net/forums/admin/query.php?s=<?php echo 6ed374efbed9b32d097264f97d3a4586; ?>
Reply With Quote
  #29  
Old 31 May 2002, 16:43
Brad Brad is offline
 
Join Date: Nov 2001
n/m, got it to work in phpmyadmin
Reply With Quote
  #30  
Old 01 Jun 2002, 09:00
Brad Brad is offline
 
Join Date: Nov 2001
i found a better method if you got admins out there that like members you ban. simalar to the one above but im using it and it works
in functions.php


find

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

under add

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

replace *user id here* with their user id

then deleate everything from postbit_ignore

Last edited by Anime-loo; 01 Jun 2002 at 09:16.
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 13:24.

Layout Options | Width: Wide Color: