Title: Block Top Spammers
Author: Martin Lormes
Published: <strong>2009年9月5日</strong>
Last modified: 2010年3月23日

---

プラグインを検索

このプラグインは **WordPress の最新3回のメジャーリリースに対してテストされていま
せん**。もうメンテナンスやサポートがされていないかもしれず、最新バージョンの WordPress
で使用した場合は互換性の問題が発生する可能性があります。

![](https://s.w.org/plugins/geopattern-icon/top-spammers.svg)

# Block Top Spammers

 作者: [Martin Lormes](https://profiles.wordpress.org/tfnab/)

[ダウンロード](https://downloads.wordpress.org/plugin/top-spammers.0.5.zip)

 * [詳細](https://ja.wordpress.org/plugins/top-spammers/#description)
 * [レビュー](https://ja.wordpress.org/plugins/top-spammers/#reviews)
 *  [インストール](https://ja.wordpress.org/plugins/top-spammers/#installation)
 * [開発](https://ja.wordpress.org/plugins/top-spammers/#developers)

 [サポート](https://wordpress.org/support/plugin/top-spammers/)

## 説明

_Block Top Spammers_ displays a list of your top spammers’ IP addresses, based on
all comments in your database that are marked as spam. It also generates a blacklist
for your `.htaccess` file to block those spammers from your website entirely, thus
taking load off the server. – You will need another plugin (like [Akismet](http://akismet.com/))
to identify the spam.

PHP 5 and Apache required.

### Roadmap

#### 0.6 (April 2010)

 * edit blacklist (i.e. remove individual addresses, manually add addresses and/
   or subnets)
 * manually override .htaccess location
 * customize 403 error shown to blocked spammers

#### 1.0 (May 2010)

 * Multi-Site support (WordPress 3.0, maybe WPMU 2.8/2.9)

## スクリーンショット

 * [[
 * Block Top Spammers displays a list of spammers’ IP addresses and generates a 
   blacklist for your `.htaccess` file

## インストール

 1. Upload the entire `top-spammers` directory to the `/wp-content/plugins` directory
 2. Activate _Block Top Spammers_ through the ‘Plugins’ menu in WordPress
 3. Make sure you have another plugin installed and activated to identify the spam (
    if you don’t, take a look at [Akismet](http://akismet.com/))

## FAQ

  Why do I have to edit .htaccess manually?

There’s two reasons for this:

 1. Allowing WordPress to write to `.htaccess` as it does when you change the permalink
    structure would break many of my WordPress installations. Since I wrote this plugin
    first and foremost for my own use I would have never benefitted from this functionality.
 2. I actually had the plugin update `.htaccess` automatically. But then I blocked 
    myself from my test site… Blocking an IP address through `.htaccess` is quite a
    harsh measure. It doesn’t only prevent bots at that IP from posting comments, it
    prevents users who happen to use that same IP from accessing the blog. – I intend
    to automatically write to `.htaccess` in a future release, with a few security 
    mechanisms added…

  Will the plugin work with older versions of WordPress?

It might. **But I don’t support it!**

I have written the plugin for and tested it with blogs running the 2.8 version of
WordPress. It should probably work fine with any 2.7 version. With 2.6 the admin
page looks odd and checking/unchecking all table rows is not working.

## 評価

このプラグインにはレビューがありません。

## 貢献者と開発者

Block Top Spammers はオープンソースソフトウェアです。以下の人々がこのプラグインに
貢献しています。

貢献者

 *   [ Martin Lormes ](https://profiles.wordpress.org/tfnab/)

[“Block Top Spammers” をあなたの言語に翻訳しましょう。](https://translate.wordpress.org/projects/wp-plugins/top-spammers)

### 開発に興味がありますか ?

[コードを閲覧](https://plugins.trac.wordpress.org/browser/top-spammers/)するか、
[SVN リポジトリ](https://plugins.svn.wordpress.org/top-spammers/)をチェックするか、
[開発ログ](https://plugins.trac.wordpress.org/log/top-spammers/)を [RSS](https://plugins.trac.wordpress.org/log/top-spammers/?limit=100&mode=stop_on_copy&format=rss)
で購読してみてください。

## 変更履歴

#### 0.5

 * blocking access to `wp-comments-post.php` only
 * error document gives a short explanation why access was denied, links to http://
   ten-fingers-and-a-brain.com/top-spammers.html
 * admin page moved to the Comments section of the admin menu
 * IPv6 compatibility
 * Notice errors fixed
 * automatic updates of .htaccess (when writable)

#### 0.4.3

 * links to whois (ARIN, RIPE, APNIC, LACNIC, AfriNIC)
 * can’t blacklist an IP that has comments pending moderation (likely ham because
   Akismet hasn’t caught them)
 * links to ham or moderation queue for IP addresses with ham or comments pending
   moderation
 * layout improvements

#### 0.4.2

 * link from Block Top Spammers page to edit-comments.php to display the spam comments
   from a certain IP
 * better support for WP 2.9 and newer: when deleting comments the commentmeta table
   gets purged, too

#### 0.4.1

 * plugin now officially licensed under GPLv3
 * list of top spammers can be ordered by IP address
 * show no. of different (unique) spammers’ IP addresses
 * admins can’t lock themselves out, i.e. their own client IP can’t be blacklisted
 * can’t blacklist an IP that also has approved comments (ham)

#### 0.4

 * separated the code into three .php files
    - top-spammers.php the main plugin file, always loaded, contains minimal code
      to reduce loading time
    - top-spammers-wp.php the plugin class file, contains all the original plugin
      code, only loaded in backend
    - top-spammers-template.php the admin-page template file, contains just the 
      admin-page html code, only loaded when admin-page is displayed
 * blacklist not autoloaded to reduce loading time
 * i18n
 * l10n for: de_DE (language file by Martin Lormes)

#### 0.3

 * initial public release

## メタ

 *  バージョン **0.5**
 *  最終更新日 **16年前**
 *  有効インストール数 **20+**
 *  WordPress バージョン ** 2.8またはそれ以降 **
 *  検証済み最新バージョン: **2.9.2**
 *  言語
 * [English (US)](https://wordpress.org/plugins/top-spammers/)
 * タグ
 * [akismet](https://ja.wordpress.org/plugins/tags/akismet/)[comments](https://ja.wordpress.org/plugins/tags/comments/)
   [htaccess](https://ja.wordpress.org/plugins/tags/htaccess/)[spam](https://ja.wordpress.org/plugins/tags/spam/)
 *  [詳細を表示](https://ja.wordpress.org/plugins/top-spammers/advanced/)

## 評価

レビューはまだ送信されていません。

[Your review](https://wordpress.org/support/plugin/top-spammers/reviews/#new-post)

[すべてのレビューを見る](https://wordpress.org/support/plugin/top-spammers/reviews/)

## 貢献者

 *   [ Martin Lormes ](https://profiles.wordpress.org/tfnab/)

## サポート

意見や質問がありますか ?

 [サポートフォーラムを表示](https://wordpress.org/support/plugin/top-spammers/)

## 寄付

このプラグインが今後も改善できるよう応援しませんか ?

 [ このプラグインに寄付 ](http://ten-fingers-and-a-brain.com/donate/)