vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   404 error ban. (https://vborg.vbsupport.ru/showthread.php?t=48710)

TalkHardRandy 02-09-2003 04:09 AM

Hmmm... too bad I already did this with the blank page ban...

blackice912 02-09-2003 04:13 AM

Quote:

Originally posted by Slynderdale
hmm would this also work?
PHP Code:

if ($bbuserinfo['usergroupid']==333) {
           @
header("HTTP/1.0 404 Not Found");
           @
header("Status: 404 Not Found");
    } 

I use index.php to hide important folders by adding this to them
PHP Code:

<?php
  
@header("HTTP/1.0 404 Not Found");
  @
header("Status: 404 Not Found");
?>

and was wondering if this would also work.

I think that would be the best way to make a 404 error ban hack, since then the browser would call up its internal 404 error page like IE does.

Neo 02-09-2003 05:00 AM

Thanks yo. I needed this.

Make more hacks.

Erwin 02-09-2003 05:29 AM

Quote:

Originally posted by blackice912
I think that would be the best way to make a 404 error ban hack, since then the browser would call up its internal 404 error page like IE does.
Exactly. I've been doing that for 1 year now, by adding a small piece of code in my forum/global.php - the 404 error is based on the browser templates, so it's browser-specific.

Chris M 02-09-2003 09:39 AM

Nice one:)

Satan

Dean C 02-09-2003 10:09 AM

Very nice indeed Anime :)

- miSt

Brad 02-09-2003 03:53 PM

I updated the hack for this. If anyone has installed it they sould download the new txt in the frist post and re-install. Also remove the loo_404 template.

Quote:

Originally posted by Slynderdale
hmm would this also work?
PHP Code:

if ($bbuserinfo['usergroupid']==333) {
           @
header("HTTP/1.0 404 Not Found");
           @
header("Status: 404 Not Found");
    } 

I use index.php to hide important folders by adding this to them
PHP Code:

<?php
  
@header("HTTP/1.0 404 Not Found");
  @
header("Status: 404 Not Found");
?>

and was wondering if this would also work.


Chris M 02-09-2003 04:23 PM

@Anime - I can't download the new file - IE says it is corrupt:confused:

Satan

Brad 02-09-2003 05:03 PM

Heres the file.

Chris M 02-09-2003 05:44 PM

Thanks:)

Satan


All times are GMT. The time now is 07:56 AM.

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.01078 seconds
  • Memory Usage 1,740KB
  • 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
  • (4)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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