PDA

View Full Version : Heggy's Error 404 Banning


Brent H
09-23-2005, 10:00 PM
*** Heggy's Error 404 Banning ***

Description:

This is basically the same thing that's been done in a couple other hacks, but does not require any queries to be run and is in it's own nice little vBulletin Product XML file.

For those of you who don't know what this does, it causes everyone in a specified group to see nothing but 404 errors on every page. This is great if you want to get rid of someone fast, because they'll think that your site is messed up or offline. Instead of trying to find ways to circumvent a normal ban and "get even", the 404'd user just gives up... Never the wiser ;)

This plugin works with both primary and additional usergroups.

Installation:

Go to AdminCP >> Plugin System >> Manage Products
Click Add/Import Product, then the "Browse" button, and import the XML file.

Configuration:

- Go to AdminCP >> vBulletin Options >> vBulletin Options >> User Banning Options
- Scroll down to "Heggy's 404 Banning" and enter the usergroup ID that you want 404 banning to apply to.
- Hit "Save".

=========================================

This is my first 3.5 plugin, so go easy on me if it seems amatuerish ;) If you have any ideas for improvement or expansion, let me know and I'll see what I can do.

Don't forget to click install!

GrendelKhan{TSU
09-24-2005, 01:09 PM
great thanks!!

btw, for reference,
it didn't give a 404 error...

more like a bunch of warning fatal error stuff that makes it look like the site is going through some major technical difficulties. :p ;)

eitherway...works for me! :D

* GrendelKhan{TSU clicks install!

Boofo
09-24-2005, 01:21 PM
Can you make it where it will show a page that you can make up yourself instead of a real 404 error page?

Blaine0002
09-24-2005, 01:31 PM
great thanks!!

btw, for reference,
it didn't give a 404 error...

more like a bunch of warning fatal error stuff that makes it look like the site is going through some major technical difficulties. :p ;)

eitherway...works for me! :D

* GrendelKhan{TSU clicks install!

then somthing really IS wrong :D.

and boofo i think you can just change the wording after the @header(" yatta yatta ") maybe even put html in there.

Zelda-King
09-24-2005, 02:10 PM
Works on Internet Explorer just fine but in Firefox it's just a blank page.

utw-Mephisto
09-24-2005, 06:05 PM
Works on Internet Explorer just fine but in Firefox it's just a blank page.


kinda cool, isn't it :D

Zelda-King
09-24-2005, 06:46 PM
Yes, though in Firefox I wouldn't call it a 404 ban in its current state. :cool:

Though... that's not altogether a bad thing. The problem with 404 bans is the link to your site's main page where in my case at least, the page shows as normal.

Still, either way it irritates my victims and goes nicely with my collection of ban methods. :)

Brent H
09-24-2005, 07:18 PM
Thanks for the kind words guys!

Yeah, 404 Error doesn't really describe what this does as well as it should... I was up until 5 AM trying to play with this stuff and that's what popped in to my head.

I'll try and figure out the page redirect thing tonight, Boofo. I was thinking about that too and thought it'd be cool to have ;) I'll think of a more descriptive name for it too and update it with the 2nd release.

Glad you like it :)

Brent H
09-25-2005, 05:59 AM
Small update... I won't be around for a few days, (weird working hours) but you guys can feel free to modify this however you want. Boofo's idea sounds like a good one :)

Boofo
09-25-2005, 06:16 AM
I suppose you could do re-directs in the htaccess file to get around it but it would be better to keep it all in the product file I think.

peterska2
09-25-2005, 07:15 AM
Works on Internet Explorer just fine but in Firefox it's just a blank page.

That's because Firefox doesn't display 404 errors and justs gives a blank page or a pop-up timed out message.

See what I mean at www.peterska2.co.uk/pagedoesntexist.html :)

Zelda-King
09-25-2005, 09:32 AM
I see. Didn't know about that. Then again it's not like I'm in the habit of browsing sites that don't exist. :D

Blaine0002
09-25-2005, 12:51 PM
That's because Firefox doesn't display 404 errors and justs gives a blank page or a pop-up timed out message.

See what I mean at www.peterska2.co.uk/pagedoesntexist.html :)
Not Found
The requested URL /pagedoesntexist.html was not found on this server.

peterska2
09-25-2005, 09:44 PM
exactly :)

ximcix
09-29-2005, 11:12 PM
Can this be done for a particular IP address instead of User Name?
I have an annoying member on my board who registered a new member name, but is smart enough not to post from the same location with both accounts. By day he/she uses the regular screen name from school or work, by night he/she uses the new account from home. I'd like to force him/her into posting from one location so I find out just who's the culprit.

slvr ralliart
11-07-2005, 06:09 PM
does this work for 3.5.1? I can't get it to show up at all in acp for the options but worked great when I had 3.5. vB version

ggiersdorf
11-07-2005, 06:23 PM
Should just put up a big page stating you have been baned for not following forum rules. etc. etc. Like a FULL PAGE AD.

slvr ralliart
11-07-2005, 06:50 PM
Should just put up a big page stating you have been baned for not following forum rules. etc. etc. Like a FULL PAGE AD.


does this work for you?

Mastar
12-17-2005, 12:05 AM
How would I add a link to custom 404 page?

This is what I added:

@header("<link>www.thebedrocktavern.com/404.htm</link>");

Is that correct?

Rickie3
12-28-2005, 04:02 AM
love it thanx

Rickie3
02-26-2006, 05:23 AM
been awhile i have had this hack installed,i have a annoying member,is there a way to use just a members id,i dont want to use that banning function,only this hack

Nathan2006
03-22-2006, 04:09 AM
Works great! :D

Thank you

Install

ZombieAndy
03-23-2006, 07:30 PM
working perfect for me :) nice one

arcadian_girl
03-23-2006, 11:14 PM
Anyone have this working on 3.5.4?

me, works fine.

Cagonni
09-05-2006, 10:37 PM
it works for 3.6.0 too

but what about a personalized error page?