WordPress.org

Forums

Grunion Contact Form
Captcha Needed for Grunion Contact Form (14 posts)

  1. Kihon
    Member
    Posted 3 years ago #

    I would like to know if there is an easy way to add a CAPTCHA to teh Grunion Contact Form. I realize that all submissions run through Akismet, but I have a client that needs a CAPTCHA for Grunion.

    Thanks in advance!

    http://wordpress.org/extend/plugins/grunion-contact-form/

  2. Clifford Paulick
    Member
    Posted 3 years ago #

    Agreed. I'm subscribed. Hoping to get an update.

  3. marcoloco
    Member
    Posted 3 years ago #

    Hello!, i modified the Plugin, to use REcaptcha (the google captha) whit this, here is the code:

    http://pastebin.com/h0rfNmfz

    Instructions to install it:

    - Edit the plugin, in the plugins manager, and replace the code.
    - In the code, line 15 and 16 remplaze the public and private recaptcha key.
    - Create a folder called "includes" in the root of your installation of WordPress (this folder will be together with the wp_admin, wp_content...)
    - In this new folder, add a file called index.php (and leave it empty), and you need to add the ReCaptcha library, download it from http://code.google.com/p/recaptcha/ and put the file recaptchalib.php in the "includes" folder.
    - Now test your Grunion Contact Form.

    if you get some problem or anything, you just tell me,
    Cheers!!! :D

  4. Kihon
    Member
    Posted 3 years ago #

    What does remplaze mean?

  5. marcoloco
    Member
    Posted 3 years ago #

    sorry, remplaze => replace

  6. marcoloco
    Member
    Posted 3 years ago #

    did you get the script working?

  7. marcoloco
    Member
    Posted 3 years ago #

    To take a look what i did, here is a diff:

    http://diffchecker.com/ulEL72G

  8. marcoloco
    Member
    Posted 3 years ago #

    Also i added an autoresponse in the line 562, you can avoid that.

  9. Pereira
    Member
    Posted 3 years ago #

    Hi marcoloco, I would like to take a look at that diff file, with the differences from your edit to the original file. Because I have made some changes myself, mainly translating things, so I wouldnt want to run over that pasting your entire code to the file.

    Thanks!

  10. Pereira
    Member
    Posted 3 years ago #

    I figured it out, it was pretty easy to detect the differences, however, i made all the changes and followed the steps you gave here, but then no captcha shows up on my contact form. and when i try to send a message, it returns the captcha verification error and doenst send.

    what am i missing?

  11. Pereira
    Member
    Posted 3 years ago #

    my bad! i just missed one line, which happens to be the one that includes the captcha. haha. thanks a lot for the code, it works great and helped me a lot!

  12. Halethh
    Member
    Posted 3 years ago #

    Gracias, me fue de mucha utilidad!

  13. meediax
    Member
    Posted 3 years ago #

    Thanks marcoloco, it works perfectly for me. Great.

  14. Mark (podz)
    Support Maven
    Posted 3 years ago #

    If you have problems with comments being caught after starting to use reCaptcha and you also use Akismet please first de-activate reCaptcha and see what happens. Chances are you will find that the problem goes away.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Grunion Contact Form
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic