Page 1 of 1
Enable Captcha
Posted:
February 27th, 2011, 10:55 am
by mctwisty
I did my research and look across this site, but I did not see anything about implementing captcha.
How would one go about this?
Thanks!
Re: Enable Captcha
Posted:
March 2nd, 2011, 12:29 am
by mctwisty
Bump-)
Re: Enable Captcha
Posted:
March 2nd, 2011, 12:06 pm
by Cristián Lávaque
ReCAPTCHA may be a good choice.
https://www.google.com/recaptcha/whyrecaptchaRead what they have available in terms of integration and then see how you can make it work with s2Member's code.
Do you want it for registration or log in?
Re: Enable Captcha
Posted:
March 5th, 2011, 10:56 am
by mctwisty
Just registration page. What file do I add the code to?
Re: Enable Captcha
Posted:
March 5th, 2011, 12:04 pm
by Cristián Lávaque
I'm guessing that'd be one of the registration files... With your FTP client, look in this directory:
/wp-content/plugins/s2member/includes/classes
for the files that start with "register".
I'm not sure how you'd integrate the ReCAPTCHA, though, I have never integrated it before, but I'd search for the code that generates the registration form to add the CAPTCHA image, and the code that processes the submitted form and deals with missing/invalid fields to add the verification part.
Re: Enable Captcha
Posted:
March 8th, 2011, 8:56 am
by mctwisty
Is there really no support for this? I am getting tons of spam registrations. I have implemented it on a regular form, can you be more specific on what file to edit?
Re: Enable Captcha
Posted:
March 8th, 2011, 11:53 am
by Cristián Lávaque
I searched some more and found this in the FAQs.
Can s2Member implement a Captcha Code on my Login/Registration Forms?
Yes and no. We've left this feature out of the plugin intentionally, because many site owners prefer to use Captcha plugins that encompass all aspects of their site ( including comment forms ). We recommend this one: SI CAPTCHA Anti-Spam. That being said, s2Member's Pro Forms for PayPal® Pro and Authorize.Net® ( including Free Registration Forms ) CAN be configured to use Google's reCAPTCHA service ( which is free ). Just add this Attribute to your Pro Form Shortcode ( captcha="clean" ).
Hope that helps.
Re: Enable Captcha
Posted:
March 9th, 2011, 11:56 am
by mctwisty
It would help if it told me how to implement this on the wp-login.php?action=register page. I am getting tons of spam registrations. Its insane.
Re: Enable Captcha
Posted:
March 9th, 2011, 12:08 pm
by Cristián Lávaque
This is the plugin Jason mentions for this in the above quote:
https://wordpress.org/extend/plugins/si ... wordpress/Hope it helps you.