VeoMorphine
03-01-2003, 10:00 PM
IP, And Mod BanGroup 404 error Ban
Hacker: VeoMorphine
Support Thread:
Install Complex: Easy
Install Time: 5 minutes
Discription: This hack will display a 404 error to any user who is banned from the forums by there IP or by a moderator. It sends a 404 header to the browser so that it will show that browsers 404 error page. Meaning that there is no need to make a copy of a 404 page. And the cool thing is, its a REAL 404 error, not just a knock off one riped from the web!
I got the idea off of Anime-loo's Hack on vbulletintemplates.com that uses the phpinclude template to show a 404 for users banned by mods. Thats kinda included here but i made it go nto global.php insted of phpinclude.
Another trick with this.
If you put:
<?
chdir('forums/');
require('global.php');
chdir ($DOCUMENT_ROOT);
?>
At the top of your NON Vb php pages this will make the 404 ban work that page and alot of other stuff as well, like evaling templates(i think) and what not. This will also show the forums offline message ont he page if your forums are off.
Im having problems finding where the error_banemail template is evaluated. If somone can tell me what file it is evaluated in, i can make it so it 404bans via e-mail as well
Hacker: VeoMorphine
Support Thread:
Install Complex: Easy
Install Time: 5 minutes
Discription: This hack will display a 404 error to any user who is banned from the forums by there IP or by a moderator. It sends a 404 header to the browser so that it will show that browsers 404 error page. Meaning that there is no need to make a copy of a 404 page. And the cool thing is, its a REAL 404 error, not just a knock off one riped from the web!
I got the idea off of Anime-loo's Hack on vbulletintemplates.com that uses the phpinclude template to show a 404 for users banned by mods. Thats kinda included here but i made it go nto global.php insted of phpinclude.
Another trick with this.
If you put:
<?
chdir('forums/');
require('global.php');
chdir ($DOCUMENT_ROOT);
?>
At the top of your NON Vb php pages this will make the 404 ban work that page and alot of other stuff as well, like evaling templates(i think) and what not. This will also show the forums offline message ont he page if your forums are off.
Im having problems finding where the error_banemail template is evaluated. If somone can tell me what file it is evaluated in, i can make it so it 404bans via e-mail as well