=== Spammer Blocker === Contributors: Lelkoun Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=JD64C5FTRMQXC&lc=CZ&item_name=One%20cup%20of%20coffee%20for%20Lelkoun&item_number=5&amount=3%2e50¤cy_code=USD&button_subtype=services&bn=PP%2dBuyNowBF%3asb%2ddonate%2dbutton%2epng%3aNonHosted Tags: comments, spam, ban, ip, block, spammer, cookies, bots, anti-spam Requires at least: 2.9 Tested up to: 3.1.1 Stable tag: trunk This plugin blocks all visitors who posted a comment that was later marked as spam. == Description == If you are tired of blocking spammers' IP addresses manually, you can use this plugin. It blocks all visitors who posted a comment that was later **marked as spam**. After activation of this plugin all authors of spam comments will be banned immediately. = Features = * Advanced tools for managing banned IP addresses * Simple tool for importing and exporting records * Configurable banned message * Two ways to detect spammers **No more mess!** All plugin data will be automatically removed from your database after you delete the plugin. == Installation == 1. Download the plugin, extract and upload it to your plugins folder on your server. 2. Activate the plugin. 3. Configure the plugin (Settings → Spammer Blocker) == Screenshots == 1. Plugin administration interface 2. Two ways to detect spammers 3. Configurable banned message 4. Tool for adding IP addresses and importing records 5. Tool for deleting old records 6. Tool for deleting all or selected records and creating backups == Frequently Asked Questions == = Where does the plugin store its data in my MySQL database? = SB stores banned IP addresses in a table called "wp_sb_ip_log". Plugin's settings can be found in wp_options: * sb_plugin_version * sb_detection_of_spammers_cookies * sb_detection_of_spammers_time * sb_banned_message = What should I do if I accidentally marked my own comment as spam and the plugin has blocked my IP address? = This could happen if you use slow method of detecting of spammers. To fix this problem, open your MySQL database and delete your IP address from the table "wp_sb_ip_log". = What should I do if there is a spammer who has a cookie and is still able to post comments even I marked the comments as spam? = Wait until spammer's cookie expires or use slow method of detection of spammers. == Changelog == = 1.3 = * added a tool for uploading backups from a computer (instead importing from FTP) * added a preview of banned message * added file uninstall.php that removes all saved data from the database * added function that restores a default value of banned message * added new option - sb_plugin_version * added version check function * added wp_die error for users without sufficient permissions * banned message is always stripslahed during saving to the DB * SB returns 403 HTTP header status code to banned spammers * adding, updating and deleting options is now provided by WP Options API * comments marked as spam can be added to wp_sb_ip_log by non-administrators * the sender's e-mail address is checked via filter_var * sended e-mails are stripsplashed * the blog's URL was removed from the contact form * file sb-options.php is no longer used because a lot of complications * capabilitiy is used instead a role name (administrator) * removed hardcoded plugin's name from variables used for getting plugin's dir * fixed bug causing changing name of an imported backup file * fixed several grammar mistakes * minor changes in activation queries * minor changes in readme.txt, added new screenshots = 1.2 = * added a tool for exporting and importing banned IP addresses * IP addresses are checked for validity (PHP 5.2.0 required) * added "Buy Me a Coffee!" button = 1.1 = * settings from the database are no longer being deleted after deactivating the plugin * names of some variables have been changed * old options in the database will be deleted after the upgrade = 1.0 = * all IP addresses are stored in a special table * added a function for manual adding IP addresses * added a function for deleting IP addresses by a time period * added a function for deleting choosen IP addresses * fixed a way of showing banned message * function file_get_contents() is not required anymore = 0.9.1 = * SB is faster and more secured now * banned message bug fixed * database connection improved * list containing IP addresses improved == Upgrade Notice == = 1.3 = This version brings few new features, for example uploading backups from a computer, previewing banned message and deleting function for removing plugin data from the database. Also a lot of bugs were fixed. Check out the changelog for more details.