Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
SQL Database Error Page Ban and Multiple Banning Options Hack Details »»
SQL Database Error Page Ban and Multiple Banning Options Hack
Version: 1.00, by 007 007 is offline
Developer Last Online: Apr 2020 Show Printable Version Email this Page

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

SQL Database Error Page Ban and Multiple Banning Options Hack by 006

First of all, this hack uses ideas by "Anime-loo" and "VeoMorphine"

Their hacks can be found

Anime-loo's: 404 error ban. - INSTALL

and

VeoMorhine's: Moderator and IP 404 Ban - INSTALL

Out of respect for their work, PLEASE click "install" on their hacks if you use the 404 error part of this hack, as I did not make this part. Thanks.

SQL Database Error Page Ban and Multiple Banning Options Hack

by 006

What this hack does:

This hack displays a fake database error page to banned users in the Database Error Banned usergroup.

This hack then implements the standard IP ban page for maybe temporarily banned users, and the dreaded "404" page. (Remember to read above regarding the 404 hack). If the user is logged in, regardless if they have been IP banned, you will be able to specify what screen they will see. This also lets you specify the IP ban error that will be displayed (if the user is logged in at the time) and if not, the standard IP ban notice will be displayed. So you can now use as many ban hacks as you want easily by modifying the code below. This is hardly a hack, but I didn't see it done yet (except for the 404 error part as mentioned above), so here it is.

It shouldn't take any more than 5 minutes to install.

Any questions? Feel free to ask in this thread.

If you use this hack, please click "INSTALL." Thanks

Show Your Support

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

Comments
  #2  
Old 03-07-2003, 04:13 PM
VeoMorphine VeoMorphine is offline
 
Join Date: Nov 2002
Posts: 155
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great hack. Alot of banning hacks are coming out now :P
Reply With Quote
  #3  
Old 03-07-2003, 04:15 PM
007's Avatar
007 007 is offline
 
Join Date: Jan 2003
Location: United States
Posts: 872
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks.

This one is especially good when your users know about the SQL error screen (Unless of course you have never screwed up your board LOL!). They will see it and think "hehehe" and think nothing of it.

Reply With Quote
  #4  
Old 03-07-2003, 05:58 PM
MrBojangle1's Avatar
MrBojangle1 MrBojangle1 is offline
 
Join Date: Mar 2002
Posts: 127
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Looks cool, I might use it. Good job and it was good of you to give credit to Anime-loo and Veomorphine.
Reply With Quote
  #5  
Old 03-07-2003, 07:07 PM
Link14716's Avatar
Link14716 Link14716 is offline
 
Join Date: Jun 2002
Location: Georgia, USA
Posts: 2,519
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

A lot of banning hacks, yes. But what you really should do is tell the person installing to replace 666, 667, and 668 with the apporpriate usergroupids.
Reply With Quote
  #6  
Old 03-07-2003, 07:12 PM
007's Avatar
007 007 is offline
 
Join Date: Jan 2003
Location: United States
Posts: 872
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
*Make sure you use your own user group ID numbers where applicable (666,667, and 668)
That's in the text file... What do you mean? Do you mean userid's? It's easier to just have a group to move the people into. That way you don't have to make a whole new "else if" for each user...

And thanks Bojangle. I try to follow the rules
Reply With Quote
Reply


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 02:09 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.04525 seconds
  • Memory Usage 2,251KB
  • Queries Executed 21 (?)
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_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_postinfo_query
  • fetch_postinfo
  • 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