vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   The farewell hack, aka the AutoBahn (https://vborg.vbsupport.ru/showthread.php?t=51488)

Zzed 04-11-2003 08:00 PM

The farewell hack, aka the AutoBahn
 
We have had some unruly members on our site lately. and due to their actions they were given temporaty bans by my moderators. I have created a time based hack that allows my moderators to ban a user in the form of misery, starvation, etc..., for any period between 1 hour to 7 days.

When these users come back from their ban, some of them have actually been so mad that they have made farewell posts saying how much they hate the site, or this is going to be their last post, or they have requested to be removed from the user list, and so on.

So to make matters more interesting, I came up with the idea of the AutoBahn hack. :laugh: This hack scans the subject and the message body of a new thread for certain phrase patterns and if it is able to match one or more patterns it posts an auto reply with the userID of my Robot Administrator stating the following:

Quote:

Your post indicates that you no longer wish to be a member of this site.

Your ID has been banned.

Contact the site administrators about reinstating your account.

Good bye.
Then it proceeds with closing that thread and banning the user who posted the thread. It's a nice way to give the boot to people who think that they are hurting your feelings by leaving your site. :laugh::banana:

What I need to do as a follow up is to have the hack send them an Email notice informing that they have been banned.

I had one of my users try this out last night. Worked like a charm. :cool:

Dean C 04-12-2003 09:44 AM

Wow i really like the sound of this Zzed - your doing a great job with these banning hacks - keep it up ;)!

- miSt

Zzed 04-12-2003 05:37 PM

Thank you Mist. https://vborg.vbsupport.ru/

Here are 2 examples of the hack in action. :D

http://www.ls1.com/forums/showthread...hreadid=287146
http://www.ls1.com/forums/showthread...hreadid=287156

Dean C 04-12-2003 05:51 PM

This is more than impressive - and you know it too ;)

Excellent job i must say!

- miSt

Craigr 04-12-2003 05:56 PM

Looks great. Very good idea. I wouldn't like to be a bad member on your site. :D

Would you have to install the whole AI Bot though? Because it's about 30Mb of SQL.

Craig

Zzed 04-12-2003 09:54 PM

Thank you guys for your kind words. https://vborg.vbsupport.ru/

Mist, it was a fun little project. I tried it on myself first. :laugh::banana:

Craigr, The whole hack is a 63 line PHP file. ;)

Link14716 04-12-2003 10:08 PM

It would be perfect if it updated the bots post count and last post :)

Are you planning on releasing it here? Looks like it'll be a hit if you do. I, for one, would install it. :)

Zzed 04-12-2003 10:15 PM

Link14716, it would be a one liner to update the Bot's post count. ;) But then again, he could be any old user on the board. If I release the hack, I will have to add a couple more lines of code to replace his info with user ID 1. ;)

I am going to add Email notification to this hack, this way the user will actually receive a formal notice that he/she has been banned.

I didn't really think much of this hack. So as a result I hadn't really planned on releasing this. But I can release it if you guys are interested. :)

On a different note, It cracks me up everytime I think my name is being associated with banning on this board. :laugh::banana:

Craigr 04-13-2003 01:53 PM

Yes i'm interested in it. Please release.

Thanks
Craig

Link14716 04-14-2003 12:56 AM

Well, you do keep on making these great new ways to ban/torture people. :D

I am interested in this, looks like a great hack. It would be nice of you to release it. :)


All times are GMT. The time now is 10:00 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.01095 seconds
  • Memory Usage 1,737KB
  • 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)pagenav
  • (1)pagenav_curpage
  • (2)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