Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
Moderator and IP 404 Ban Details »»
Moderator and IP 404 Ban
Version: 1.00, by VeoMorphine VeoMorphine is offline
Developer Last Online: Jun 2004 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 03-01-2003 Last Update: Never Installs: 9
 
No support by the author.

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:

PHP Code:
<?
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

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 03-05-2003, 01:25 PM
John's Avatar
John John is offline
 
Join Date: Mar 2002
Location: Norwich, UK
Posts: 1,543
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't see the difference between this and Anime-loo's hack.

https://vborg.vbsupport.ru/showthrea...threadid=48710

Their hack also works through global.php.
Reply With Quote
  #3  
Old 03-05-2003, 02:24 PM
VeoMorphine VeoMorphine is offline
 
Join Date: Nov 2002
Posts: 155
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That only works for usergroup. If somone clears there cookies and go's back to the forum, they'll see there is no 404 error.

My hack will also work for IP bans, so even if they clear there cookies, they will still get a 404.
Reply With Quote
  #4  
Old 03-05-2003, 03:36 PM
TexasOutdoors TexasOutdoors is offline
 
Join Date: Dec 2002
Location: Texas
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Do you think this will work on the PORN SPAM bot going around? After banning the bot, it continues to try and reply to messages, even after removing the account. I wonder if this will legitimately show them the 404 page, or can it get around that as well.
Reply With Quote
  #5  
Old 03-05-2003, 03:43 PM
Brad Brad is offline
 
Join Date: Nov 2001
Posts: 4,765
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you are worried about the porn spam bot you sould upgrade to the lastest 2.3.0 RC or install the image verfication hack here.

Quote:
I don't see the difference between this and Anime-loo's hack.

https://vborg.vbsupport.ru/show...&threadid=48710

Their hack also works through global.php.
Its differnt because it works with ip ban to, i dont use ip bans unless i ban them from the whole server. IP bans via a the forums are just to much tourble and i end up having to ban many potinal users cause 99% of the people out there do not use a static ip.
Reply With Quote
  #6  
Old 03-09-2003, 12:17 PM
FFMania FFMania is offline
 
Join Date: Mar 2002
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed it....but when I test it...I got a blank page and not a 404 error page instead =/

Oh, I am using IE6.0 btw....
Reply With Quote
Reply

Thread Tools

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

Forum Jump


All times are GMT. The time now is 11:11 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06338 seconds
  • Memory Usage 2,236KB
  • Queries Executed 19 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit_info
  • (5)postbit
  • (6)postbit_onlinestatus
  • (6)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete