Gab Captcha 2 plugin for WordPress

GabSoftware proudly presents its captcha plugin for the comment section of WordPress blogs, Gab Captcha 2.

Gab Captcha 2 settings

Gab Captcha 2 is an efficient and simple captcha plugin for WordPress comments.

It adds an easy turing test before each comment form. The turing test consist in typing the characters that appear emphasized and red in a text field. The plugin will add an entry in your WordPress administration area to let you configure some options.

Gab Captcha 2 currently comes in two languages: English (default) and French. You are welcome to propose your own translation or to update existing ones, especially the English one as I am not a native English speaker.

Important notes

  1. This plugin requires Javascript to be able to post a comment.
  2. This plugin can automatically approve valid comments depending on your settings.
  3. This plugin requires PHP 5 to function.

Gab Captcha 2 in action

Installation

This section describes how to install the plugin and get it working.

1. Extract and upload the directory “gabcaptcha2” and all its content to your ‘/wp-content/plugins/’ directory
2. Activate the plugin through the ‘Plugins’ menu in WordPress

Optional but recommended :
3. Change the options to fit your needs in the ‘Settings > Gab Captcha 2’ menu in your WordPress administration area
4. If you don’t want to receive an email after each spam has been catches:
4.1. Go to the ‘Settings > Discussion’ menu
4.1.1. Tick the following checkboxes:
“E-mail me whenever > Anyone posts a comment”
“Before a comment appears > An administrator must always approve the comment”
“Before a comment appears > Comment author must have a previously approved comment”
4.1.2. Uncheck the following checkbox:
“E-mail me whenever > A comment is held for moderation”
4.2. Go to the ‘Settings > Gab Captcha 2’ menu
4.2.1 Choose ‘yes’ for ‘Automatically approve comments who passed the test’

You will now receive an email only after a valid comment has been posted.

Uninstallation

To uninstall Gab Captcha, simple deactivate the plugin then remove the gabcaptch2 directory from your ‘/wp_content/plugins’ directory.

With Gab Captcha, spam should now be a thing of the past !

You can download Gab Captcha in the downloads section.

Frequently Asked Questions

Is Gab Captcha unbeatable by spambots?

Definitely not. But it stopped all my spam as of today (getting about 100 spams every single day).

Can I change some settings for Gab Captcha 2?

Yes. Go to the ‘Settings > Gab Captcha 2’ menu in your WordPress administration area.

View Comments (59)

  • I just installed GC2. I notice that if a user enters the characters incorrectly, sends, then enters the characters properly, GC2 reports "You just said that." on a page that has no links to return to the post. It also does not post the comment even though the characters used were correct.

  • @ Taylor:

    I am having this problem too. I love this script otherwise. Hopefully the author will tweak the code to fix this. I'd hate for someone on my blog to write a really long comment then lose all their text because of this bug.

  • @Taylor and Thunacrab:

    You are correct, it's the Wordpress duplicate comment checker who is responsible of this message. I will try to find a solution to this problem because you are right to say that it is not a desirable behavior. Maybe it's just an option to turn off in Wordpress. Or maybe it's the behavior of GC2 that I'll have to change: when you don't enter the correct code, a comment is inserted to the database into the spam folder. Posting the same comment with the correct code will thus trigger the Wordpress duplicate comment alert. A new version should be released soon to address this issue :)

  • I tried to install on my new WP blog today, receive the following fatal error when I try to activate it.

    Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in wp-content/plugins/gab-captcha-2/gabcaptcha2.php on line 86 .... ????

  • @Laura:

    I don't have this error, neither the other two persons who posted a comment. That must be a transfer error. Can you try to re-upload the latest version?

    Also, the plugin uses a class, which requires PHP 5. Do you have a PHP4 server ? If yes, see if you can activate PHP 5.

  • @Taylor and Thunacrab:

    Version 1.0.5 should correct the problem. Please note that the comments which didn't passed the test are no longer stored in the spam folder: they are deleted.

    Also note that for if you provide a valid solution too quickly after your first failure, you will have a Wordpress message "you are posting too quickly". That's the Wordpress anti-flood system. I will address this issue on the next version.

  • How do I translate your Captcha to German?
    What files do I need to change? And what name to those need?

    Thanks!
    Gilbert.

    • Hi Gilbert, thanks for your proposition!

      To translate Gab Captcha 2, proceed as follow:

      Download Poedit (http://www.poedit.net/download.php)
      Install it
      Fill in your name, email address, etc. This will define you as the German translator

      Copy the file lang/default.po under the name "gabcaptcha2-de.po"
      Open the file "gabcaptcha2-de.po" with Poedit (using "File>open")
      Go to "Catalog>Settings" and change "Language" to "German". Leave "Country" empty. You can change "Team" and "Team's email address" to your team's informations.
      Translate and save ("Save catalog")
      Send me the file "gabcaptcha2-de.po" and "gabcaptcha2-de.mo" if there's one

      I will then include your translation in the next version of Gab Captcha 2 very soon.

  • Gabriel,

    The update fixed the problem thanks!

    I have one little idea/recommendation for your plugin though... Upon failing the captcha, the page reloads at the top, unlike when you pass the captcha, it auto scrolls down to your comment at the bottom. I think it would be a good idea to scroll down to the "you fail" text if the captcha is failed, just in case someone posts, then navigates away from the page thinking their comment got posted.

    Just an idea. Love the plugin, thanks.

    • Version 1.0.7 will scroll to the comment area in case an invalid solution has been provided. Try it out ;)

    • Hi Thunacrab,

      That's a good idea, however I don't know if I will be able to do that without touching to the Wordpress core files... I'll check if that's possible. I'm glad the new version fixed the previous issue.

  • Gabriel,

    I just updated, and tried an intentional failure... Everything is working perfectly.

    Thanks for the update!

1 2 3 4