Plugin Directory

!This plugin hasn't been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Spam Karma 2 Blacklist Ban

Bans IP addresses that have been caught and blacklisted by Spam Karma more than 5 times.

API

Here is the complete set of filters and hooks, so you never have to need to edit the plugin. How's that for service?

spam_karma_blacklist_ban_get_ip

Filter applied to $_SERVER['REMOTE_ADDR'] before the plugin uses it. This filter runs on each page load.

Possible use: Disabling the plugin, or performing additional steps

spam_karma_blacklist_ban_count

Filter applied to the result of the query for the used_count of the blacklist table. This filter runs on each page load.

Possible use: Increasing or decreasing the count, so the plugin bans more or less IPs.

spam_karma_blacklist_do_ban

Action run before "403 Forbidden" headers are sent to the browser.

Possible use: Logging the event, or sending a "301 Redirect" header instead

spam_karma_blacklist_ban_activate

Action run before the plugin initializes, i.e., alters the sk2_blacklist table structure.

spam_karma_blacklist_ban_deactivate

Action run after the plugin deinitializes, i.e., restores the sk2_blacklist table structure.

Requires: 2.1 or higher
Compatible up to: 2.9.2
Last Updated: 2009-12-27
Downloads: 2,521

Ratings

3 stars
3 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

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