##
##
## Mod title: Spam Protection MOD
##
## Mod version: 1.0
## Works on PunBB: 1.2, 1.2.8
## Release date: 2005-09-28
## Author: Öyvind A. Sörensen (codexp@tasarinan.com)
##
## Description: Add SPAM (trough spamhaus.org) protection to your
## forum! Block those f**kers from your site completely! ;)
##
## Affected files: include/functions.php
##
## Affects DB: Yes (adds a new table)
##
## Notes: This MOD will add spam protection to your forum.
## It will check the visitors IP against the SBL/XBL
## records at http://www.spamhaus.org
## The script will also block the use of most open
## proxies.
## If a record is returned, it will block the visitor
## from the scripts you specify. The results for that
## IP will be stored in the database for 1 hour before
## it's checked again. The reason for this is that
## the list is only updated once each hours, and also
## to prevent unnecessary slowdown to your forum.
## If you want to add it to *all* forum pages, add
## spam_protect(); at the end of your common.php file.
##
## DISCLAIMER: Please note that "mods" are not officially supported by
## PunBB. Installation of this modification is done at your
## own risk. Backup your forum database and any and all
## applicable files before proceeding.
##
##