Questions tagged [akismet]

Akismet is a web service that helps prevent spam comments on your web site.

Akismet can be used as a plugin (There are many available, but a plugin is one of them) or through their API (Which is what the plugins use).

http://akismet.com/

20 questions
4
votes
2 answers

Standard, positive spam test for Akismet

Is there a standard test-case message for Akismet? Basically, it should work like the GTUBE test case for SpamAssasin (which will always get marked as spam), but for Akismet. I tried the GTUBE string but (to my surprise) Akismet gave green…
Cong Ma
  • 10,692
  • 3
  • 31
  • 47
3
votes
0 answers

Rails 3 how to validate additional columns using Rakismet gem

I am using Rakismet(1.5.3) gem in my Rails(3.2.22) project. Rakismet validates attributes such as author, author_email, author_url, content by default. My question: I want to validate extra columns in model like post tile, post summary, post…
2
votes
0 answers

Akismet java doesn't work even with explicit SPAM

I'm using the java API for Akismet, to detect spam (Akismet Java API) I put all the parameters as it specifies and it doesn't work for me, I mean... always return that my comment has not spam inside, but that's not true! I've trying with a lot of…
Ommadawn
  • 2,450
  • 3
  • 24
  • 48
2
votes
1 answer

How can I modify my IP address on my localhost in MAMP?

Developing a plugin for WordPress locally I'm wanting to implement Akismet in form validation but I'm required an IP address with the submission and when I run: function check_ip_address() { if (isset($_SERVER['REMOTE_ADDR'])) : …
DᴀʀᴛʜVᴀᴅᴇʀ
  • 7,681
  • 17
  • 73
  • 127
1
vote
0 answers

Rakismet duplicate posts not being flagged as spam?

I'm currently using the Rakismet gem for anti spam in my app and it's doing a great job filtering out certain buzz words like "viagra" and "porn", but it's not flagging duplicate comments no matter how many times I submit them. My Post model has the…
ahuang7
  • 804
  • 1
  • 11
  • 26
1
vote
1 answer

Akismet for comments only

Akismet is sometimes too strict on WP Contact Form 7 forms. For comments it seems to work just fine. Ideally I would like to selectively exclude certain WPCF7 forms, but I could manage quite well without Akismet for all WPCF7 forms. Is there a way…
Johnny
  • 125
  • 1
  • 9
1
vote
3 answers

Akismet being too harsh?

I'm using Akismet for my spam protection on my web page. It won't even let users post something like, "Hey guys check this out!". I was hoping that I could just get rid of links and have them check the posters IP to see if it had been logged, but…
slandau
  • 23,528
  • 42
  • 122
  • 184
1
vote
0 answers

API to check if user signup is spam/invalid?

We have a signup form for companies where user must enter first and last name their desired subdomain name email company name We would like to run the input through some kind of spam/fraud (fake account, accounts with curse words, etc.)…
gerasalus
  • 7,538
  • 6
  • 44
  • 66
1
vote
1 answer

Why does Akismet return failed on key verification?

On a self hosted, new installation with version 4.8.1, site with the 2017 default theme I've activated the Akismet plugin with the API key. Modified single.php with: if (function_exists('akismet_verify_key')) : $testing =…
DᴀʀᴛʜVᴀᴅᴇʀ
  • 7,681
  • 17
  • 73
  • 127
1
vote
1 answer

How to integrate Akismet in wordpress/php programmatically

I would like to check a custom form against spam using Akismet. I searched the web and the only simple way I found is this (see code excerpt below): http://www.binarymoon.co.uk/2010/03/akismet-plugin-theme-stop-spam-dead/. Unfortunately $isSpam…
user1232551
  • 53
  • 1
  • 9
1
vote
3 answers

Set model variables in controller

In my model I have: class ArticleComment < ActiveRecord::Base include Rakismet::Model validates :text, :presence => true belongs_to :article belongs_to :user comment, permalink, request, username, email, text, remote_ip, …
Valdis Azamaris
  • 1,433
  • 5
  • 22
  • 47
1
vote
0 answers

GAE - Wordpress Akismet error

I am having a problem in activating Akismet plugin on GAE. When I opened https://my-blog.appspot.com/wp-admin/plugins.php?page=akismet-key-config&show=enter-api-key, I got this error: There was a problem connecting to the Akismet server. Please…
Michael Sync
  • 4,834
  • 10
  • 40
  • 58
1
vote
2 answers

Notify user that akismet has put his comment under moderation

Is it possible to notify the user if akismet put his submitted comment as "awaiting approval"? I submit the comment via Ajax in Wordpress and would just like to display a text message if his comment does not get published right away. I don't know if…
cmplieger
  • 7,155
  • 15
  • 55
  • 83
0
votes
3 answers

How to stop spammers from registering on my site?

I am using akismet to check for comment spam, and it works. However, I would also like to stop them from registering in the first place. Is there something I can use like akismet to check the registration details?
David
  • 16,246
  • 34
  • 103
  • 162
0
votes
0 answers

Rakismet - "Empty \"blog\" value"

I am trying to call comment-check with httparty and I am getting "Empty \"blog\" value" error even though i am passing blog params in the request. Below is the code url = "https://my_akistmet_key.rest.akismet.com/1.1/comment-check" payload = { …
Vishal
  • 7,113
  • 6
  • 31
  • 61
1
2