• Akismet plugin does not seem to work properly with FS Contact Form. I submitted the same spam message via form and as a comment. Comment was blocked by Akismet as expected, but the message went through with the following line in the body:

    Akismet Spam Check: passed

    I tried it with both values of the field “What should happen if Akismet determines the message is spam?” – the result is the same. Is it a bug or version incompatibility? I am using FS Contact Form v.2.9.6 and Akismet v.2.5.1.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Akismet really just does what it wants, there are no settings to adjust sensitivity. I do have messages get flagged as spam, so I know it works most of the time.

    Does your form have the “message field” set to not available?
    Or are you testing with just the standard default contact form?

    Please try this:
    edit si-contact-form-process.php
    find:
    $c['comment_content'] = $message;
    change to:
    $c['comment_content'] = $msg;

    Then test again. Let me know the results. What the change does is include the whole message for the check, not just the message field.

    Also there is a line just below that is commented out with //,
    $c['comment_content'] = "viagra-test-123";
    you can temporarily uncomment this to test spam detection, make sure to put it back the way it was or all of the messages will be flagged as spam.

    Mike. Adding to this ‘thread’ but not sure if I should start a new one or not…! Anyway.
    Could this application be used INSTEAD of an Aweber account? I’m not needing huge follow-up email marketing campaigns, I just need an optin form to collect a data base.

    Nothing wrong with Aweber, just finding monthly fees for lots of applications are adding up. Anything free is fabulous if it can work the same (or nearly the same)..?

    noelajean, yeah.. off topic.
    No, it cannot collect email or add to a database or other url. maybe in a future version, sorry.

    Thread Starter Vladimir Antropov

    (@antropov)

    Thank you for the prompt answer, Mike. I tried both suggestions but to no effect.

    I managed to get spam warning only once, when I entered “a” as name, subject and message, and “a@mail.com” as an email. Still can’t block other spam messages which are blocked in comments.

    If you have time, can you please check that form here:
    http://antropov.id.au/contact-me/

    I have added debug output which shows $request and $response after a message is submitted. Let me know what other debug information can be helpful and I’ll print it too.

    Vladimir, after reading more about the akismet API, I may have fixed this.
    viagra-test-123 is not supposed to be a test for the comment_content
    viagra-test-123 is a test for the comment_author (name of the person submitting the form. You can just put it as the name when testing the form (no need to edit the php file)

    I also found and fixed: The form akismet code was missing $c[‘comment_author_email’], $c[‘blog_lang’], and $c[‘blog_charset’]

    Please contact me here and I will send you a beta si-contact-form-process.php to try
    http://www.fastsecurecontactform.com/support

    Thread Starter Vladimir Antropov

    (@antropov)

    The new version (2.9.7) has resolved the issue. Thank you Mike.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Plugin: Fast Secure Contact Form] Spam is not blocked in form, but blocked in comments’ is closed to new replies.