=== Spammer Blocker === Contributors: Lelkoun Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=JD64C5FTRMQXC&lc=CZ&item_name=Spammer%20Blocker%20%2d%20donation¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted Tags: comment, comments, commenting, spam, spammer, spammers, ban, access, deny, block, cookie, cookies, bot, bots, anti-spam, ip, akismet, user, users, visitor, visitors Requires at least: 2.9 Tested up to: 3.3.2 Stable tag: trunk This plugin prevents users from commenting or viewing your website if a comment of theirs has been 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** or prevents them from posting comments. For example if your Akismet catches a spam comment, its author will be muted/blocked until you delete the spammer's IP address from your database. = Features = * Advanced tools for managing banned IP addresses * Simple tool for importing and exporting records * Automatic banning of spammy IP addresses * Automatic removing of spam comments * Configurable banned message * Two ways of detecting spammers * Two ways of restricting access to 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 overview 2. Tool for duplicating and deleting IP addresses 3. Tool for switching the way of detecting spammers 4. Configurable banned message 5. Contact form for reporting bugs 6. Tool for adding IP addresses and importing records 7. Tool for deleting all or selected records and creating backups 8. Tool for deleting old records == 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 the table "wp_options": * sb_plugin_version * sb_detection_of_spammers_method * sb_detection_of_spammers_time * sb_banned_message * sb_automatic_ip_address_duplication * sb_automatic_ip_address_duplication_recurrence * sb_automatic_ip_address_duplication_last_cron_run_time * sb_spam_comment_automatic_elimination * sb_access_restrictions = What should I do if I accidentally marked my own comment as spam and the plugin has blocked my IP address? = Delete your IP address from the table "wp_sb_ip_log" in your MySQL database. = What should I do if there is a spammer who has a cookie and is still able to post comments even if I marked the comments as spam? = Wait until spammer's cookie expires or use the slow method of detection of spammers. When the spammer visits your blog again, their cookie will be deleted. = What happens if I add the same IP address more than once? = Nothing. Duplicate records are automatically filtered. = I got an error when I finished updating the plugin. = Uninstall and install the plugin again. I try to avoid all errors that may be caused by updating to a newer version, but nobody is perfect, so this might help in the case that I forgot to prepare something for an update (typically new names of the plugin's options in the wp_options table in the MySQL database). = Are IPv6 addresses supported? = No. (That may change in the future.) = I have another problem that is not described on this page or the forum. = Post a new thread on the forum. == Changelog == = 1.5 = * options sb_detection_of_spammers_method and sb_detection_of_spammers_time are rewrited to a new default value, sorry folks! * default value of option sb_automatic_ip_address_duplication_last_cron_run_time is 0 now * the plugin engine (IP check and ban) is not runned if there are not any banned IP addresses * all screenshots (except for the overview one) were removed, the donate button as well * a notification is displayed after activation/upgrade of the plugin * error message displayed when the uploaded file has a different name was specified * function sb_update_last_visit() renamed to sb_update_spammer_info() * new option/variable/MySQL field added -> hits * spammer hit (page request) counter added * option renamed: sb_detection_of_spammers_cookies -> sb_detection_of_spammers_method * if an IP address is added, the last visit is showed as 'Never' * all times are converted to the local time instead of GMT (cron, last visit) * link for deleting single IP addresses replaced with a form + button * forms and links use the admin_url() function now * design of FYI block changed - now includes 2 latest news from Twitter account @spammerblocker * ifs added to check for a version when updating from an older version * position of blocks with settings changed * uninstall.php file updated * new variables: $sb_sql_banned_ips, $sb_banned_ips_number (marked as global) * new options: sb_access_restrictions, sb_plugin_activation_notice * the option to disable commenting instead blocking access to the whole blog added * contact form removed * donation URL changed * number of banned IP addresses added * displaying '-0' after adding a IP address fixed * grammar errors in readme.txt corrected = 1.4 = * added a check for WP_UNINSTALL_PLUGIN in uninstall.php * added sb_update_plugin() function * added a confirmation dialog for deleting records * added a new option in the