Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/oneofone/ooo-nospam
A simple wordpress plugin to combat comment spam.
https://github.com/oneofone/ooo-nospam
Last synced: about 5 hours ago
JSON representation
A simple wordpress plugin to combat comment spam.
- Host: GitHub
- URL: https://github.com/oneofone/ooo-nospam
- Owner: OneOfOne
- Created: 2014-04-04T02:55:22.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-04-14T17:12:53.000Z (over 10 years ago)
- Last Synced: 2024-05-09T20:17:12.306Z (6 months ago)
- Language: PHP
- Homepage:
- Size: 180 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
This plugin plugin blocks spam in comments automatically, without requiring any end-user input or any javascript.
In a way it's similar to webvitaly's [Anti-Spam](http://wordpress.org/plugins/anti-spam/) however this doesn't
require the user to enter anything at all.* As of version 0.7.7 there's an option to add an extra javascript check, it's off by default.
The comment gets marked as spam if any of the following rules are true :
* If the comment is a trackback.
* If the time between loading the page and commenting is less than 10 seconds.
* If the Session variable specific to this form is not set.
* If the hidden input field have a different value than "-".
* If the comment includes more than 3 urls.
* If the referer isn't set properly.Once the comment gets flagged as spam, and if the auto delete option isn't set, a json string will be appended to it
to show why it was marked, for example :{
"is-trackback": 0,
"no-session-token": 0,
"hidden-field": 1,
"number-of-urls": 5,
"referer": 0,
"too-fast": 1.902538061142
}Translates to :
1. They changed the hidden input field.
2. They Had 5 URLs in the comment.
3. It Took 1.9 seconds to submit the comment since the page was loaded.Also note that the time calculations are per-form, so there are no false-positives if the user has multiple pages open
on the site and commented on 2 of them in a short period of time.Feel free to fork it and submit patches / fixes on [github](https://github.com/OneOfOne/ooo-nospam)
### Installation ###
1. Download from Wordpress's plugin [registery](https://wordpress.org/plugins/oneofones-nospam/) or clone this repo to your `wp-content/plugins` folder.
2. Activate the plugin through the 'Plugins' menu in WordPress
3. Optionally change the options in `/wp-admin/options-general.php?page=ooo-nospam-admin` to your liking.
4. Watch `/wp-admin/edit-comments.php?comment_status=spam` to see it in action unless you set set it to auto delete.
## Frequently Asked Questions ##
### Are there any configuration options? ###
As of version 0.6 you can access all configurable options in `/wp-admin/options-general.php?page=ooo-nospam-admin`