vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Heggy's Error 404 Banning (https://vborg.vbsupport.ru/showthread.php?t=96818)

Brent H 09-23-2005 09:00 PM

Heggy's Error 404 Banning
 
*** 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 12: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

[high]* GrendelKhan{TSU clicks install![/high]

Boofo 09-24-2005 12: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 12:31 PM

Quote:

Originally Posted by GrendelKhan{TSU
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

[high]* GrendelKhan{TSU clicks install![/high]

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 01:10 PM

Works on Internet Explorer just fine but in Firefox it's just a blank page.

utw-Mephisto 09-24-2005 05:05 PM

Quote:

Originally Posted by Zelda-King
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 05: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 06: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 04: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 05: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.


All times are GMT. The time now is 06:10 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.02243 seconds
  • Memory Usage 1,737KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (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