UBB.Dev
Posted By: 3DSHROOM_dup1 [6.2.x] Flood Protection 1.1 - 11/24/2002 8:35 PM
Well this is my first attempt at making a hack available to other users, so it still needs a little work. I'm sure some of you guys can look over the code and make some suggestions.

Mod Name / Version - Flood Protection 1.1
Description - Adds a function to ubbt.inc.php to enable protection against users repeatedly posting (flooding your boards). It also has the ability to track page views to help guard against a user overloading your server by requesting database intensive pages repeatedly.
Working under - UBB.threads 6.2.3
Any pre-requisites - A general knowledge of php and mysql
Author(s) - 3DSHROOM
Credits - All the users that make being an admin a fulltime job
Demo - None
Files Altered - ubbt.inc.php, addpost.php, and any additional page you add the protection to
Database Altered - Yes, New table w3t_Flood added.
New Files - None
Updates
[v1.1] Database field F_Username changed to F_UID

Attached File
60949-FloodProtection1.1.txt  (111 downloads)
Posted By: JoshPet Re: Flood Protection 1.0 - 11/24/2002 8:53 PM
Thanks.
Posted By: 3DSHROOM_dup1 Re: Flood Protection 1.0 - 11/24/2002 10:34 PM
I've changed a couple things since first posting, so you may want to get the new copy.
Posted By: PhotoPost Re: Flood Protection 1.0 - 01/10/2003 3:22 AM
I'm interested in this - has it been tested to work reasonably well?
Posted By: 3DSHROOM_dup1 Re: Flood Protection 1.0 - 01/13/2003 6:52 PM
It's been run a good bit on my site (which is pretty busy). It works great on addpost.php to stop post flooding. Using it for keeping track of page views is a little less tested and some bugs may surface due to the larger amount of data it has to track.
Posted By: 3DSHROOM_dup1 Re: Flood Protection 1.0 - 04/26/2003 6:35 AM
Updated to use user number instead of name.
Posted By: AllenAyres Re: Flood Protection 1.0 - 04/26/2003 6:39 AM
Ah cool, having been the brunt of several floods, this one can come in very handy
Posted By: Hal9000 Re: Flood Protection 1.0 - 04/26/2003 8:24 AM
Just the mod I was looking for

Huge thanks
© UBB.Developers