WordPress Login ReCAPTCHA Plugin

This WordPress plugin will add reCAPTCHA to login page. WP-reCAPTCHA plugin must be installed first. Why use reCAPTCHA instead of other CAPTCHA? Because reCAPTCHA is a powerful CAPTCHA.

Screenshot :
Gambar Wordpress Login ReCAPTCHA Plugin Image

Actually i love the existing WP-reCAPTCHA plugin. But it does not have feature to enable reCAPTCHA on login page, only on comment form and on registration page.

I created this under WordPress 3.0.

Installation :

  1. You should register on reCAPTCHA site first.
  2. WP-reCAPTCHA plugin must be installed first.
    Click the link below to download WP-reCAPTCHA plugin.
    http://wordpress.org/extend/plugins/wp-recaptcha/
    Gambar Wordpress Login ReCAPTCHA Plugin Image
  3. Go to your wp-admin page, check under “Settings” menu.
    There is a “reCAPTCHA” menu.

    Gambar Wordpress Login ReCAPTCHA Plugin Image

    Click that link and set your reCAPTCHA public key and private key.

    Gambar Wordpress Login ReCAPTCHA Plugin Image

    Do not enter wrong public and private key.

  4. Finally, you just need to install my WP Login reCAPTCHA plugin Gambar Wordpress Login ReCAPTCHA Plugin Image
    Gambar Wordpress Login ReCAPTCHA Plugin Image

To download the plugin, go to official WordPress.org plugin page, and click “Download” link there :
http://wordpress.org/extend/plugins/wp-login-recaptcha/

Enjoy this plugin. Gambar Wordpress Login ReCAPTCHA Plugin Image

Version history :

  • 0.1.3 – 14 March 2011 – Add option to change reCAPTCHA theme.
  • 0.1.2 – 23 June 2010 – small change.
  • 0.1.1 – 22 June 2010 – small bug fix.
  • 0.1.0 – 21 June 2010 – first release.

No related posts.

53 thoughts on “WordPress Login ReCAPTCHA Plugin

  1. Pingback: WordPress Login ReCAPTCHA Plugin | the vanmovic

  2. VManu on said:

    plugin must be installed first…
    After we’ve got the keys where we write them on plugin????
    I can’t find any instructions.
    Regards

  3. Ze Povinho on said:

    I’ve installed and activated but, where we put the keys ….

  4. Xrvel on said:

    @VManu and Ze Povinho : you cand set the keys on your wp-admin after you have installed WP-reCAPTCHA plugin. I have put more instruction above :)

  5. mp on said:

    ada contoh codingnya ?? :o

  6. erwin on said:

    why do you need recatcha when trying to login into your site?
    is it recatcha more for user registration or password request?

    • Sean on said:

      To stop people trying to use software to try over and over to get your login details.

  7. Xrvel on said:

    @mp : halo pak, lihat di API reCAPTCHA nya :)

    @erwin : do you know there are bots (script / software) that can try to login to your website automatically? Without CAPTCHA, bots can try to login to your site. Do you want your admin page to be broken?

    Therefore IMHO you should put CAPTCHA in your login form.
    CAPTCHA defeats that kind of bots.

    Yes, on user registration and password request pages actually CAPTCHA is needed too :)

    • Xrvel on said:

      @Teguh Aditya : Yoi bener banget :)

  8. Guest on said:

    this plugin wordpress 3.0.1 not working!!!

    • Xrvel on said:

      Hi there..

      My current blog runs on 3.0.1 and this plugin is working.

      Can you specify what did you mean with “not working”?

      Have you installed WP-reCAPTCHA plugin first? :)
      Have you entered the correct reCAPTCHA Public & Private keys? :)

      Let me know and i will help.

  9. Mega Sale on said:

    1st I want to thanks for this great addon.

    I’ve install the login reCAPCHA plugins,
    but somehow my website using classipress themes.
    it does have custom login page so the login reCAPCHA does not appear on the login page.
    How can I manually add the reCAPCHA to that custom login form?
    thanks.

    • Xrvel on said:

      Hi Mega Sale.

      You should know the place of the custom login page, and open the wp-login-recaptcha.php file, next add a line after this line

      add_action(‘login_form’,'xrvel_login_recaptcha_form’);

      Example of added line :
      add_action(‘custom_login_form’,'xrvel_login_recaptcha_form’);

      So it will become

      add_action(‘login_form’,'xrvel_login_recaptcha_form’);
      add_action(‘custom_login_form’,'xrvel_login_recaptcha_form’);

  10. choky on said:

    apa sih kode verifikasi itu?jd ngebungin z,

    • Xrvel on said:

      Pada umumnya kode verifikasi diperlukan untuk menghindari serangan bot / robot / orang “jahat”. :)

      Nah salah satu bentuk kode verifikasi adalah dengan gambar, seperti yang ada di reCAPTCHA.

  11. rabby on said:

    I installed this and I can’t login to my dashboard anymore.

    ?login_recaptcha_err=2

    • Xrvel on said:

      Hello Rabby,

      Okay it happens because :
      1) you entered wrong captcha guess, or
      2) you have not entered (have not configured) reCAPTCHA API key / Secret
      3) you entered wrong reCAPTCHA API key / Secret

      You should reconfigure your reCAPTCHA option from admin page.

      To disable the login reCAPTCHA plugin, from your file manager, open wp-login-recaptcha.php file in your plugin directory.
      Next, find this line.

      define('XRVEL_LOGIN_RECAPTCHA_ENABLED', true);

      Change it into

      define('XRVEL_LOGIN_RECAPTCHA_ENABLED', false);

      Save it. Now the reCAPTCHA is disabled on login page.

  12. Karlmarx on said:

    Genuinely great plugin. I have been looking for a way to add Recaptcha to my login page for a while to increase security.

    I experienced a glitch however – an incompatibility or poor interaction between this plugin, WP ReCaptcha and Dagon Design Form Mailer ( http://tinyurl.com/errsu ). The result is that the form generated by the form-mailer is not visible. This means I cannot run both together. Given I rely on the form mailer I have had to disable WP Recaptcha and Login Recaptcha for now, which has fixed the problem. Perhaps both this and the form-mailer calling ReCaptcha is generating the problem? Any suggestions welcome.

  13. CMSSeeker on said:

    Hi Xrvel,
    why not make this plugin to work with comment form and registration? All-in-one captcha plugin can save server resources. There would be no need to seek other plugins.

    • Xrvel on said:

      Hi there,

      reCAPTCHA for comment form and registration are already included on normal WP-reCAPTCHA plugin :)

  14. Mr.XYZ on said:

    Xrvel, bro nice plugin, tapi kok setelah wa install, terus wa aktifin , gk ada menu baru buat setting plugin recapta, di menu setting or menu yang laen? ok thx

  15. SSC on said:

    I love you man, handling the 200 article submitssions daily was hard, and spammers happly added the recaptcha while they registered, hopefully recaptcha on login form will reduce the spam even more. If you should develop a recaptcha for publish that’d be even more awesome!

    • Xrvel on said:

      Hi SSC. I am glad that you like it :)

  16. marvC on said:

    Is therer any way to “resize” the width of the captcha box for the login page? As you can see on my site it extends far beyond the default width of the login form.
    Any assistance is appreciated. Great work on the plugin.

    • Xrvel on said:

      I think it is not possible because the width is set by reCAPTCHA server (reCAPTCHA library). :)

  17. Steve on said:

    Any way to make this work with buddypress? The sidebar login form does not show the CAPTCHA form nor does the user registration. Any ideas on how to make this work? Thanks.

  18. jojomonkey on said:

    First, this plugin is great and I appreciate the hard work and contribution.
    I’ve been using it and it has been working great.

    However, just today I noticed I can’t login w/ Chrome simply because Chrome is choosing NOT to render the captcha login box. It doesn’t want to render the captcha comment boxes either (so the issue is not only w/ Login Recaptcha but w/ WP-Recaptcha plugin too). The captcha code is there when I do a view-source but the box is NOT rendered in Chrome. Firefox on the other hand doesn’t have a problem.
    Wondering if anyone has ever seen this before.

    Same issue as these guys here: http://wordpress.org/support/topic/plugin-wp-recaptcha-recaptcha-does-not-work-on-google-chrome?replies=2#post-1962945

    WP 3.1
    Latest Captcha plugins
    Chrome 10 beta

    Thanks!

    • Xrvel on said:

      Hi there,

      Thanks for the report. I just tried that on this blog, i can see reCAPTCHA on comment box (i have just installed wp-reCAPTCHA again).
      I am using WP 3.1, latest wp-reCAPTCHA plugin, and chrome 7.

      Thanks.

      • jojomonkey on said:

        yeah – i’m going to have to try another version of Chrome. It’s def. NOT a problem w/ the plugins – but something is up w/ Chrome.
        Even the captcha on this site below is NOT showing up in my Chrome. Take a look at this screenshot. Chrome window has no Captcha above ‘Post Comment’ even though the ‘view-source’ window has Captcha in the code. Firefox window on right is perfect.
        http://img69.imageshack.us/img69/4746/sscaptcha.png

        Also, Have cleared out all browsing history on my Chrome and the usual stuff – didn’t help. Weird.

        Thanks.

  19. Don on said:

    Just plugged it into my WP site and worked right off. Amazing what can be done if one just reads the directions!

    None the less, I searched around a little but can’t seem to locate how to change the color of the captcha after installation. So maybe I’m not so smart after all :-D As you can see from my blog here http://www.ExcelREI.com, the colors just don’t seem to work.

    Any help you can offer would be great. Thanks for helping to eliminate at least one headache for me. Don

    • Xrvel on said:

      Hi Don.

      Thanks for dropping by. I just added an option to change the reCAPTCHA color. Please update your plugin to the latest version :)

      Kurniawan.

  20. Random Health on said:

    Yihaa…., bisa mengamankan security nih, mater thengkyu kang mas

  21. After the update my login page shows
    “Latest reCAPTCHA plugin must be installed and activated first”

    i m using latest reCAPTCHA plugin

    • Xrvel on said:

      Thanks for the notice. I’ve just updated the plugin to version 0.1.4 :)
      Please update the login recaptcha plugin.

      • Thanks xrvel
        Now working
        thanks once again

  22. Guest on said:

    Hi,
    I’m also using Classipress and tried to add the code suggested by you to Mega Sale

    add_action(‘login_form’,’xrvel_login_recaptcha_form’);
    add_action(‘custom_login_form’,’xrvel_login_recaptcha_form’);

    I could’nt understand the location of the custom login page to replace with custom_login_form. The custom Login page location is
    themes/classi/includes/theme-login.php
    So please tell me how the add_action(‘custom_login_form’,’xrvel_login_recaptcha_form’); should look like.

    Thank you.

  23. Bob on said:

    I was testing recaptcha on my local host and applied for my API codes from there. Are these codes the same or do I need to reapply for new ones although I used the same 2bretired.com when I applied for them.

    Thanks Bob

    • Xrvel on said:

      Hi Bob,

      It’s just the same code. Just copy the same API code.

      Xrvel.

  24. Mahesh on said:

    Nice plugin.Thnks………………

  25. dsaasas on said:

    re-captcha plugins doesnt work if we enter only 1 word out of 2 words…. as i entered only 1 word here

  26. munawir on said:

    mas gambar captcha saya tidak mau muncul ada pesan error kaya gini
    [25-Nov-2011 04:46:46] PHP Warning: imagefontheight() expects parameter 1 to be long, string given in /home/hidecom/public_html/includes/libs/animatedcaptcha.class.php on line 236
    [25-Nov-2011 04:46:46] PHP Warning: imagefontwidth() expects parameter 1 to be long, string given in /home/hidecom/public_html/includes/libs/animatedcaptcha.class.php on line 272
    [25-Nov-2011 04:46:46] PHP Warning: imagefontwidth() expects parameter 1 to be long, string given in /home/hidecom/public_html/includes/libs/animatedcaptcha.class.php on line 274

    tolong mas bantuanx

  27. Joseph on said:

    Very nice plugin my friend! I wish it were integrated into WP-reCAPTCHA so we could stop more annoying hack attempts & spam together. =)

  28. John on said:

    Seem to be a great plugging so well done. My problem is the log gin page takes 30-40 second to load. The username and password field appear immediately but the reCAPTCHA take, what feels like, forever.

    Any suggestions?

    Many thanks

    John

  29. Matur suwun bro… bisa di coba nih plugin

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>