Is there a way to add google’s re-captcha to the registration pop up? I’m afraid every bot and their mothers will register without it.
If it’s not possible maybe a way to disable the popup and use the default wordpress login page?
So ok. I’ve been reading old posts recommendations but nobody posted a concrete solution.
I did not achieve it yet but i think i’m close.
The file that needs to be modified is this:
/wp-content/themes/Newsmag/parts/header/top-menu.php
I want to use this plugin:
https://wordpress.org/plugins/google-captcha/
Because it provides a method to work with custom login forms, like newsmag’s:
https://wordpress.org/support/topic/recaptcha-not-showing-in-custom-form?replies=2
So basically you add this on the right spot of top-menu.php:
<?php if( function_exists( 'gglcptch_display' ) ) { echo gglcptch_display(); } ; ?>
I’ve done it with mixed results:
On Firefox:
it shows up ONLY if you click login/join while the page is still loading, if you wait for the page to load completely and then click login/join then recapctha then it doesn’t show up.
On Internet explorer:
Same as firefox.
On CHROME:
The recaptcha doesn’t show up ever.
I’ve read around and i think the problem is AJAX and that captcha is loading inside a modal popup div.
So, is there a way to make this work? thank you!
Hi
We didn’t tested this plugin and we’re not aware of it’s functionality. However I’ve made a quick test and when I inspected the page source there appear the container generated by the plugin which means that the code was executed with our login form: http://screencast.com/t/yZMBbuhVB In my case there is not displayed anything because I’ve didn’t made the registration process for my website, which is required in order to have the captcha displayed. I’ve added the code in top-menu.php like here: http://screencast.com/t/lynOXgUgHcEg
I am not sure if this help somehow but you can try it and also check in page source if there is something displayed by the plugin.
Thanks!
Hey thanks for looking into it i am sure the code is being inserted the problem is it doesn’t render, if you want to see what i mean you will need to generate the keys for your domain here:
https://www.google.com/recaptcha/admin
And then insert “Site key” and “Secret Key” here:
http://your-site-url.com/wp-admin/admin.php?page=google-captcha.php
Once you do this you will see that while the code gets inserted fine the captcha doesn’t show up, i only was able to see it on firefox and IE if i click the login button while the page is still loading:
Well i ended up leaving the login without any captcha and replacing the register form with a link to the wordpress registration page, that one protected by google recaptcha. Also installed Ban Hammer and banned several domains like all the ones from http://discard.email/en/
I’m monitoring registrations, the ones that come through seem pretty legit, clean emails and credible usernames.
I want to give this another try.
Andrei, could you please tell me on what file the validation occurs? I am able to display the captcha but it’s possible to login without resolving it, because i’m missing the validation file.
thank you!
Hello nico,
Unfortunately, this type of plugin is not tested with our theme and we are not aware of their functionality. Please try to find an online solution or you should contact the plugin author because he should be able to provide a more accurate in this regard.
Thanks for your understanding!