Title: WP-Spam-Hitman
Author: shw
Published: <strong>January 14, 2008</strong>
Last modified: January 21, 2008

---

Search plugins

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/wp-spam-hitman.svg)

# WP-Spam-Hitman

 By [shw](https://profiles.wordpress.org/shw/)

[Download](https://downloads.wordpress.org/plugin/wp-spam-hitman.0.7.zip)

 * [Details](https://test.wordpress.org/plugins/wp-spam-hitman/#description)
 * [Reviews](https://test.wordpress.org/plugins/wp-spam-hitman/#reviews)
 *  [Installation](https://test.wordpress.org/plugins/wp-spam-hitman/#installation)
 * [Development](https://test.wordpress.org/plugins/wp-spam-hitman/#developers)

 [Support](https://wordpress.org/support/plugin/wp-spam-hitman/)

## Description

WP Spam Hitman is based on set of rules and concept of hitpoint. With right set 
of rules and hitpoint level you can eliminate most or even all of the spam on you
blog.
 It works in 3 modes – Delete, Moderation, Spam and is quite customizable.
It allows to set unlimited set of rules – both – simple words and regular expression
patterns. It’s simple but powerfull tool for fighting with spam.

### Changes

#### 0.7

 * added – Message ‘%tags%’ – you can place information from comment in your message
   for spammers
 * fixed – bug – now you can change message for spammers
 * change – default message for spammers changed to less offensive

#### 0.6

 * fixed – bug with displaying message on modes moderation/spam
 * added – version number displayed on the right of plugin name in options
 * added – version checker – it checks if you have the newest version available 
   and if not – tells you about it providing link to the newest one

#### 0.5

First public release.

## Installation

 1. Download the latest version of WP Spam Hitman
 2. Unzip it
 3. Upload `wp-spam-hitman` directory to the `/wp-content/plugins/` directory
 4. Activate the plugin through the ‘Plugins’ menu in WordPress
 5. Set up some options on Options -> WP Spam Hitman section of admin panel

## FAQ

  How do I set up rules?

You simply write rules in WP Spam Hitman options in Rules section.
 Every rule in
seperate line. You can use words of regular expressions

  Is one rule is one hitpoint

No – if your rule is for instance ‘p0rn’ it gets hitpoint every time Spam Hitman
finds it in comment. So if the comment if ‘p0rn p0rn and one more p0rn’ – it gets
3 hitpoints.

  How does the plugin know that I use word/regular expression

By default – every rule is a word. But if you start (and of course end) a rule with/
or # character – it will be treated as regular expression.
 Small hint here – word
rules work faster – so if you can write a rule as word(s) – do so.

  Do I have to write words several times if they are case-sensitive?

No – words are case-insensitive so ‘p0rn’ will find ‘p0rn’ as well as ‘P0rN’.
 On
the other hand – regular expressions are case sensitive – so you have to use regex
modifier (/i) in rule to match both – upper and lower cases.

  How do the modes work?

 * Delete – simply deletes comment when it gets a number of hitpoints you have set
   up.
 * Moderation – puts comment into moderation list but doesn’t send you mail so you
   can check it anytime you want (and not be pissed by new mails comming all the
   time).
 * Spam – it marks message as Spam. It is still in wordpress database but you cannot
   see it from admin panel.

  I don’t the spam message at all – how can I turn it of?

Go to WP Spam Hitman options and delete the message. If message is blank – WP Spam
Hitman will not display it to spammer.

  What are the best rules?

There are no “the best rules” – it depends on blog. For instance I have my blog 
written in Polish (well – mostly) so for instance some popular words in spanish –
they probably spam.
 There are some trends, some popular spammer words/expressions.
Most of your visitors will not tell you to ‘enlarge your penis’ and provide you 
with a link – so the rules could be ‘enlarge’ and ‘penis’. If you’re not sure your
rules works – use options moderation for some time and check if all of the messages
it caches are spam.

  Can I use some other plugin with WP Spam Hitman

The short anwser is – yes. WP Spam Hitman should work well with other plugins – 
not only with the spam ones. On my blog I use Akismet, WP Gateway and WP Spam Admin–
and they work just fine.
 If you find one which doesn’t work – be sure to tell me
about it and I will try to fix it. But please remember that WP Spam Hitman has high
priority so if it will find spam and for instance – delete the comment – it will
probably not go to other plugins!

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“WP-Spam-Hitman” is open source software. The following people have contributed 
to this plugin.

Contributors

 *   [ shw ](https://profiles.wordpress.org/shw/)

[Translate “WP-Spam-Hitman” into your language.](https://translate.wordpress.org/projects/wp-plugins/wp-spam-hitman)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/wp-spam-hitman/), check
out the [SVN repository](https://plugins.svn.wordpress.org/wp-spam-hitman/), or 
subscribe to the [development log](https://plugins.trac.wordpress.org/log/wp-spam-hitman/)
by [RSS](https://plugins.trac.wordpress.org/log/wp-spam-hitman/?limit=100&mode=stop_on_copy&format=rss).

## Meta

 *  Version **0.7**
 *  Last updated **18 years ago**
 *  Active installations **10+**
 *  WordPress version ** 2.0.2 or higher **
 *  Tested up to **2.1**
 *  Language
 * [English (US)](https://wordpress.org/plugins/wp-spam-hitman/)
 * Tags
 * [comments](https://test.wordpress.org/plugins/tags/comments/)[spam](https://test.wordpress.org/plugins/tags/spam/)
 *  [Advanced View](https://test.wordpress.org/plugins/wp-spam-hitman/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/wp-spam-hitman/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/wp-spam-hitman/reviews/)

## Contributors

 *   [ shw ](https://profiles.wordpress.org/shw/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/wp-spam-hitman/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](http://shwsite.org/wp-spam-hitman/)