{"id":9271,"date":"2010-05-27T11:25:31","date_gmt":"2010-05-27T11:25:31","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/spammer-blocker\/"},"modified":"2012-06-02T21:58:02","modified_gmt":"2012-06-02T21:58:02","slug":"spammer-blocker","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/spammer-blocker\/","author":5946011,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.5","stable_tag":"trunk","tested":"3.3.2","requires":"2.9","requires_php":"","requires_plugins":"","header_name":"Spammer Blocker","header_author":"Lelkoun","header_description":"","assets_banners_color":"","last_updated":"2017-11-28 20:22:19","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.paypal.com\/cgi-bin\/webscr?cmd=_donations&business=JD64C5FTRMQXC&lc=CZ&item_name=Spammer%20Blocker%20%2d%20donation&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted","header_plugin_uri":"http:\/\/wordpress.org\/extend\/plugins\/spammer-blocker","header_author_uri":"http:\/\/lelkoun.cz","rating":3.2,"author_block_rating":0,"active_installs":200,"downloads":29884,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":"2","2":0,"3":0,"4":"1","5":"2"},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":{"screenshot-1.jpg":{"filename":"screenshot-1.jpg","revision":"1777230","resolution":"1","location":"plugin"}},"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"}},"plugin_section":[],"plugin_tags":[131,4549,107,599,7654],"plugin_category":[44,54],"plugin_contributors":[79588],"plugin_business_model":[],"class_list":["post-9271","plugin","type-plugin","status-closed","hentry","plugin_tags-comment","plugin_tags-commenting","plugin_tags-comments","plugin_tags-spam","plugin_tags-spammer","plugin_category-discussion-and-community","plugin_category-security-and-spam-protection","plugin_contributors-lelkoun","plugin_committers-lelkoun"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/spammer-blocker.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/spammer-blocker\/trunk\/screenshot-1.jpg?rev=1777230","caption":"Plugin administration interface overview"}],"raw_content":"<!--section=description-->\n<p>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 <strong>marked as spam<\/strong> 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.<\/p>\n\n<h4>Features<\/h4>\n\n<ul>\n<li>Advanced tools for managing banned IP addresses<\/li>\n<li>Simple tool for importing and exporting records<\/li>\n<li>Automatic banning of spammy IP addresses<\/li>\n<li>Automatic removing of spam comments<\/li>\n<li>Configurable banned message<\/li>\n<li>Two ways of detecting spammers<\/li>\n<li>Two ways of restricting access to spammers<\/li>\n<\/ul>\n\n<p><strong>No more mess!<\/strong> All plugin data will be automatically removed from your database after you delete the plugin.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Download the plugin, extract and upload it to your plugins folder on your server.<\/li>\n<li>Activate the plugin.<\/li>\n<li>Configure the plugin (Settings \u2192 Spammer Blocker)<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>Installation Instructions<\/dt>\n<dd><ol>\n<li>Download the plugin, extract and upload it to your plugins folder on your server.<\/li>\n<li>Activate the plugin.<\/li>\n<li>Configure the plugin (Settings \u2192 Spammer Blocker)<\/li>\n<\/ol><\/dd>\n<dt>Where does the plugin store its data in my MySQL database?<\/dt>\n<dd><p>SB stores banned IP addresses in a table called \"wp_sb_ip_log\". Plugin's settings can be found in the table \"wp_options\":<\/p>\n\n<ul>\n<li>sb_plugin_version<\/li>\n<li>sb_detection_of_spammers_method<\/li>\n<li>sb_detection_of_spammers_time<\/li>\n<li>sb_banned_message<\/li>\n<li>sb_automatic_ip_address_duplication<\/li>\n<li>sb_automatic_ip_address_duplication_recurrence<\/li>\n<li>sb_automatic_ip_address_duplication_last_cron_run_time<\/li>\n<li>sb_spam_comment_automatic_elimination<\/li>\n<li>sb_access_restrictions<\/li>\n<\/ul><\/dd>\n<dt>What should I do if I accidentally marked my own comment as spam and the plugin has blocked my IP address?<\/dt>\n<dd><p>Delete your IP address from the table \"wp_sb_ip_log\" in your MySQL database.<\/p><\/dd>\n<dt>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?<\/dt>\n<dd><p>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.<\/p><\/dd>\n<dt>What happens if I add the same IP address more than once?<\/dt>\n<dd><p>Nothing. Duplicate records are automatically filtered.<\/p><\/dd>\n<dt>I got an error when I finished updating the plugin.<\/dt>\n<dd><p>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).<\/p><\/dd>\n<dt>Are IPv6 addresses supported?<\/dt>\n<dd><p>No. (That may change in the future.)<\/p><\/dd>\n<dt>I have another problem that is not described on this page or the forum.<\/dt>\n<dd><p>Post a new thread on the forum.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.5<\/h4>\n\n<ul>\n<li>options sb_detection_of_spammers_method and sb_detection_of_spammers_time are rewrited to a new default value, sorry folks!<\/li>\n<li>default value of option sb_automatic_ip_address_duplication_last_cron_run_time is 0 now<\/li>\n<li>the plugin engine (IP check and ban) is not runned if there are not any banned IP addresses<\/li>\n<li>all screenshots (except for the overview one) were removed, the donate button as well<\/li>\n<li>a notification is displayed after activation\/upgrade of the plugin<\/li>\n<li>error message displayed when the uploaded file has a different name was specified<\/li>\n<li>function sb_update_last_visit() renamed to sb_update_spammer_info()<\/li>\n<li>new option\/variable\/MySQL field added -&gt; hits<\/li>\n<li>spammer hit (page request) counter added<\/li>\n<li>option renamed: sb_detection_of_spammers_cookies -&gt; sb_detection_of_spammers_method<\/li>\n<li>if an IP address is added, the last visit is showed as 'Never'<\/li>\n<li>all times are converted to the local time instead of GMT (cron, last visit)<\/li>\n<li>link for deleting single IP addresses replaced with a form + button<\/li>\n<li>forms and links use the admin_url() function now<\/li>\n<li>design of FYI block changed - now includes 2 latest news from Twitter account @spammerblocker<\/li>\n<li>ifs added to check for a version when updating from an older version<\/li>\n<li>position of blocks with settings changed<\/li>\n<li>uninstall.php file updated<\/li>\n<li>new variables: $sb_sql_banned_ips, $sb_banned_ips_number (marked as global)<\/li>\n<li>new options: sb_access_restrictions, sb_plugin_activation_notice<\/li>\n<li>the option to disable commenting instead blocking access to the whole blog added<\/li>\n<li>contact form removed<\/li>\n<li>donation URL changed<\/li>\n<li>number of banned IP addresses added<\/li>\n<li>displaying '-0' after adding a IP address fixed<\/li>\n<li>grammar errors in readme.txt corrected<\/li>\n<\/ul>\n\n<h4>1.4<\/h4>\n\n<ul>\n<li>added a check for WP_UNINSTALL_PLUGIN in uninstall.php<\/li>\n<li>added sb_update_plugin() function<\/li>\n<li>added a confirmation dialog for deleting records<\/li>\n<li>added a new option in the  menu - \"year\"<\/li>\n<li>added a new function sb_create_db_table() with dbDelta for effective updating the plugin table<\/li>\n<li>added class \"button-highlighted\" to some buttons<\/li>\n<li>added options \"year\" and \"half year\" to the cookie check function<\/li>\n<li>fixed unbalanced quotes (line 372)<\/li>\n<li>fixed a bug causing saving the cookie expiration date to the value of the cookie<\/li>\n<li>admin_init was replaced with plugins_loaded (update function)<\/li>\n<li>changed \"if(\" and \"else{\" to \"if (\" and \"else {\"<\/li>\n<li>changed a position of \"Forget about inactive spammers\" box (below list of IPs)<\/li>\n<li>changed a position of two buttons (below the list of IPs)<\/li>\n<li>centered list of IPs and buttons<\/li>\n<li>removed ping function that updated my stats about plugin users<\/li>\n<li>the list of banned IP addresses is ordered by last_visit (ascending mode)<\/li>\n<li>all \"badly\" used apostrophes and quotes were fixed -&gt; the plugin should be slightly faster now<\/li>\n<li>deactivation function commented out (it was required only for updating my user counter)<\/li>\n<li>minor design changes<\/li>\n<li>added more text<\/li>\n<li>added automatic IP address duplicating function with a cron<\/li>\n<li>added a function for automatic removing spam comments<\/li>\n<li>uninstall.php file updated<\/li>\n<li>deleted unnecessary valuse checks, replaced with $_POST['sb_detection_of_spammers_time'], $_POST['sb_detection_of_spammers_cookies'], $_POST['sb_automatic_ip_address_duplication_recurrence']<\/li>\n<li>changed the form action URL to absolute format<\/li>\n<li>deactivate, activate and update functions were moved deeped in the file<\/li>\n<li>the function for restoring the default value of the banned message is not done by javascript now but by a POST method instead<\/li>\n<li>added a confirm dialog to the button for restoring the default value of the banned message<\/li>\n<li>when is a visitor recognized as a spammer with a cookie, the cookie will be deleted when it will be switched to the slow method of detection<\/li>\n<li>fixed bug with the empty cookie value - it has to have some value!<\/li>\n<\/ul>\n\n<h4>1.3<\/h4>\n\n<ul>\n<li>added a tool for uploading backups from a computer (instead importing from FTP)<\/li>\n<li>added a preview of banned message<\/li>\n<li>added file uninstall.php that removes all saved data from the database<\/li>\n<li>added function that restores a default value of banned message<\/li>\n<li>added new option - sb_plugin_version<\/li>\n<li>added version check function<\/li>\n<li>added wp_die error for users without sufficient permissions<\/li>\n<li>banned message is always stripslahed during saving to the DB<\/li>\n<li>SB returns 403 HTTP header status code to banned spammers<\/li>\n<li>adding, updating and deleting options is now provided by WP Options API<\/li>\n<li>comments marked as spam can be added to wp_sb_ip_log by non-administrators<\/li>\n<li>the sender's e-mail address is checked via filter_var<\/li>\n<li>sended e-mails are stripsplashed<\/li>\n<li>the blog's URL was removed from the contact form<\/li>\n<li>file sb-options.php is no longer used because a lot of complications<\/li>\n<li>a capabilitity is used instead a role name (administrator)<\/li>\n<li>removed hardcoded plugin's name from variables used for getting plugin's dir<\/li>\n<li>fixed bug causing changing name of an imported backup file<\/li>\n<li>fixed several grammar mistakes<\/li>\n<li>minor changes in activation queries<\/li>\n<li>minor changes in readme.txt, added new screenshots<\/li>\n<\/ul>\n\n<h4>1.2<\/h4>\n\n<ul>\n<li>added a tool for exporting and importing banned IP addresses<\/li>\n<li>IP addresses are checked for validity (PHP 5.2.0 required)<\/li>\n<li>added \"Buy Me a Coffee!\" button<\/li>\n<\/ul>\n\n<h4>1.1<\/h4>\n\n<ul>\n<li>settings from the database are no longer being deleted after deactivating the plugin<\/li>\n<li>names of some variables have been changed<\/li>\n<li>old options in the database will be deleted after the upgrade<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>all IP addresses are stored in a special table<\/li>\n<li>added a function for manual adding IP addresses<\/li>\n<li>added a function for deleting IP addresses by a time period<\/li>\n<li>added a function for deleting choosen IP addresses<\/li>\n<li>fixed a way of showing banned message<\/li>\n<li>function file_get_contents() is not required anymore<\/li>\n<\/ul>\n\n<h4>0.9.1<\/h4>\n\n<ul>\n<li>SB is faster and more secured now<\/li>\n<li>banned message bug fixed<\/li>\n<li>database connection improved<\/li>\n<li>list containing IP addresses improved<\/li>\n<\/ul>","raw_excerpt":"This plugin prevents users from commenting or viewing your website if a comment of theirs has been marked as spam.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/9271","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=9271"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/lelkoun"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=9271"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=9271"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=9271"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=9271"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=9271"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=9271"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}