Plugin Directory

Spammer Blocker

This plugin blocks all visitors who posted a comment that was later marked as spam.

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 menu - "year"
  • added a new function sb_create_db_table() with dbDelta for effective updating the plugin table
  • added class "button-highlighted" to some buttons
  • added options "year" and "half year" to the cookie check function
  • fixed unbalanced quotes (line 372)
  • fixed a bug causing saving the cookie expiration date to the value of the cookie
  • admin_init was replaced with plugins_loaded (update function)
  • changed "if(" and "else{" to "if (" and "else {"
  • changed a position of "Forget about inactive spammers" box (below list of IPs)
  • changed a position of two buttons (below the list of IPs)
  • centered list of IPs and buttons
  • removed ping function that updated my stats about plugin users
  • the list of banned IP addresses is ordered by last_visit (ascending mode)
  • all "badly" used apostrophes and quotes were fixed -> the plugin should be slightly faster now
  • deactivation function commented out (it was required only for updating my user counter)
  • minor design changes
  • added more text
  • added automatic IP address duplicating function with a cron
  • added a function for automatic removing spam comments
  • uninstall.php file updated
  • 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']
  • changed the form action URL to absolute format
  • deactivate, activate and update functions were moved deeped in the file
  • the function for restoring the default value of the banned message is not done by javascript now but by a POST method instead
  • added a confirm dialog to the button for restoring the default value of the banned message
  • 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
  • fixed bug with the empty cookie value - it has to have some value!

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
  • a capabilitity 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

Requires: 2.9 or higher
Compatible up to: 3.2.1
Last Updated: 2011-11-19
Downloads: 16,246

Average Rating

4 stars
(13 ratings)

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1
100,1,1 100,1,1 100,2,2
100,1,1
100,1,1
100,1,1 100,1,1 100,1,1
100,1,1 100,1,1
100,1,1
50,2,1
80,5,4 67,3,2
100,3,3