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