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

Zzed 04-14-2003 04:37 AM

OMG Link14716, I almos fell off my chair laughing... :laugh::banana:

I will release this hack. ;)

Xelation 04-14-2003 05:06 AM

HAHA I love it!

Zzed 04-17-2003 07:57 PM

Sorry for digging up an old thread. But I just released this hack. :D

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

The_Wanderer 04-17-2003 11:44 PM

would kinda suck if the person was joking about it though...

Crazy Jay 04-18-2003 08:59 AM

that is a brilliant hack you made there although i do have a few questions.

first off, what if a member posted that they were going to leave for a while due to a vacation, exams, personal problems, ect..would the adminbot ban them aswell?

secondly, is it possible to edit the prefrences of the adminbot so it would only ban people if certain messages were left and not others?

thanx

Zzed 04-18-2003 06:28 PM

Quote:

Today at 01:59 AM Crazy Jay said this in Post #15
that is a brilliant hack you made there although i do have a few questions.

first off, what if a member posted that they were going to leave for a while due to a vacation, exams, personal problems, ect..would the adminbot ban them aswell?

secondly, is it possible to edit the prefrences of the adminbot so it would only ban people if certain messages were left and not others?

thanx

You can configure the hack to pick up on any patterns you wish. The hack sends the person an Email notice stating the same thing as in the reply to the thread. The users is told that he/she should contact the administrator to reinstate his/her ID.

The patterns that I put in the list are based on the samples I collected from my site. The patterns can certainly be extended to distinguish between a permanet and a temporary departure. ;)

Crazy Jay 04-24-2003 01:38 AM

Quote:

04-18-03 at 02:28 PM Zzed said this in Post #16
You can configure the hack to pick up on any patterns you wish. The hack sends the person an Email notice stating the same thing as in the reply to the thread. The users is told that he/she should contact the administrator to reinstate his/her ID.

The patterns that I put in the list are based on the samples I collected from my site. The patterns can certainly be extended to distinguish between a permanet and a temporary departure. ;)


I see, thank you for letting me know about the patterns but by patterns do you mean i can customize what the bot looks for when it goes to ban some one? or what, because im not too clear on that one yet. I like the idea of that, and seems like a good punishment for that threat lol, if they want to leave, they can. I was wondering if there was a possibility where i could make the bot not only close the thread but automatically move it to a archive forum if we have that on the forum?

thanks again.

Zzed 04-24-2003 07:30 AM

The answer is yes, you can specify any pattern you want by putting it in a regular expression format.

I have already released this hack. Feel free to download the attached instruction file and have a look at the list of patterns in farewell.php.

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

It will illustrate my point. ;)

Crazy Jay 04-24-2003 09:21 PM

Quote:

Today at 03:30 AM Zzed said this in Post #18
The answer is yes, you can specify any pattern you want by putting it in a regular expression format.

I have already released this hack. Feel free to download the attached instruction file and have a look at the list of patterns in farewell.php.

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

It will illustrate my point. ;)


ok dude, i will do that :)...i like the idea of this hack and like how i wont have to bother with those type of people, but im still not sure if you answered my question. is it possible where i can make the bot move the threads to a certain forum, you might have told me but i might have not gotten what you said. oh well, i will download the hack.

Thanks again

Zzed 04-24-2003 09:25 PM

Quote:

Today at 02:21 PM Crazy Jay said this in Post #19
ok dude, i will do that :)...i like the idea of this hack and like how i wont have to bother with those type of people, but im still not sure if you answered my question. is it possible where i can make the bot move the threads to a certain forum, you might have told me but i might have not gotten what you said. oh well, i will download the hack.

Thanks again

Currently the hack posts an automated reply. It would be pretty easy to add another query statement to have the entire thread moved to a different forum. ;)

Crazy Jay 04-24-2003 09:29 PM

Quote:

Today at 05:25 PM Zzed said this in Post #20
Currently the hack posts an automated reply. It would be pretty easy to add another query statement to have the entire thread moved to a different forum. ;)

oh i see, well the autoban is great how it is..im sure i could move it my self then lol, not too much trouble there.


All times are GMT. The time now is 03:32 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.01720 seconds
  • Memory Usage 1,765KB
  • 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
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (21)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