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)
-   -   SQL Database Error Page Ban and Multiple Banning Options Hack (https://vborg.vbsupport.ru/showthread.php?t=49772)

007 03-06-2003 10:00 PM

SQL Database Error Page Ban and Multiple Banning Options Hack
 
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

VeoMorphine 03-07-2003 04:13 PM

Great hack. Alot of banning hacks are coming out now :P

007 03-07-2003 04:15 PM

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.

;)

MrBojangle1 03-07-2003 05:58 PM

Looks cool, I might use it. Good job and it was good of you to give credit to Anime-loo and Veomorphine. :)

Link14716 03-07-2003 07:07 PM

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. ;)

007 03-07-2003 07:12 PM

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 ;)


All times are GMT. The time now is 11:01 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.01176 seconds
  • Memory Usage 1,725KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete