Previous Thread
Next Thread
Print Thread
Rate Thread
#228275 11/24/2002 1:35 PM
Joined: Apr 2002
Posts: 102
3
Journeyman
OP Offline
Journeyman
3
Joined: Apr 2002
Posts: 102
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 Images
60949-FloodProtection1.1.txt (0 Bytes, 111 downloads)
Last edited by 3DSHROOM; 04/26/2003 1:30 AM.
Sponsored Links
Joined: Nov 2001
Posts: 10,369
I type Like navaho
Offline
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Thanks.

Joined: Apr 2002
Posts: 102
3
Journeyman
OP Offline
Journeyman
3
Joined: Apr 2002
Posts: 102
I've changed a couple things since first posting, so you may want to get the new copy.

Joined: Feb 2002
Posts: 950
P
Hacker
Offline
Hacker
P
Joined: Feb 2002
Posts: 950
I'm interested in this - has it been tested to work reasonably well?

gailg #228279 01/13/2003 11:52 AM
Joined: Apr 2002
Posts: 102
3
Journeyman
OP Offline
Journeyman
3
Joined: Apr 2002
Posts: 102
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.

Sponsored Links
Joined: Apr 2002
Posts: 102
3
Journeyman
OP Offline
Journeyman
3
Joined: Apr 2002
Posts: 102
Updated to use user number instead of name.

Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
Offline
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
Ah cool, having been the brunt of several floods, this one can come in very handy


- Allen wavey
- What Drives You?
Joined: Nov 2002
Posts: 116
H
Journeyman
Offline
Journeyman
H
Joined: Nov 2002
Posts: 116
Just the mod I was looking for

Huge thanks


Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Nettomo
Nettomo
Germany, Bremen
Posts: 417
Joined: November 2001
Forum Statistics
Forums63
Topics37,556
Posts293,846
Members13,843
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,814
Greg Hard 4,625
Top Posters(30 Days)
isaac 2
Gizmo 1
Top Likes Received
isaac 69
Gizmo 13
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2021 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Snapshot build 20210624)
Responsive Width:

PHP: 7.3.20 Page Time: 0.016s Queries: 32 (0.009s) Memory: 0.8166 MB (Peak: 0.8880 MB) Data Comp: Zlib Server Time: 2021-06-24 09:32:08 UTC
Valid HTML 5 and Valid CSS