C5 5.5: Change Captcha library in Dashboard

Permalink
Hi,
I noticed that in C5 5.5. dashboard there is a Captcha Settings page with a dropdown "Active Captcha". However, it has only one possible library to choose from, the default SecurImage.

How can I change that to e.g. ReCaptcha? I have previously used ReCaptcha in an external form hardcoding it in and also I found instructions to override the default captcha in 5.4 (requires renaming core captcha.php etc), but I would much rather use the existing (?) possibility to change it via Dashboard. Is there such an option?

In this thread (http://www.concrete5.org/about/blog/core-roadmap/captcha-and-antispam/) Andrew wrote: "By default, both SecureImage (the default captcha) and ReCaptcha support will be included, and a sample plugin for Akismet will be included." Would be great to get those options by default, but if it's not the case at the moment, I would love to get some advice on how to get ReCaptcha into that dropdown or just change the default without touching the core.. :)

--patrik

patej
 
12345j replied on at Permalink Best Answer Reply
12345j
https://github.com/concrete5/addon_recaptcha hopefully will get added to the mp soon.
I also have a honeypot add-on waiting to be approved.
patej replied on at Permalink Reply
patej
Thanks for such a quick reply! I tried that out and it seems to work fine, just have to make some adjustments to change the layout and language... But hopefully it will get added to the core, soon! Could it be possible to also get options to choose the layout (red, white, clear, custom?) and language in dashboard?
dbleisch replied on at Permalink Reply 1 Attachment
dbleisch
I modified the recaptchalib.php to use curl and allow
the usage of a proxy:


$req = _recaptcha_qsencode ($data);
$ch = curl_init();
$pageurl = "http://".$host.$path;
curl_setopt($ch, CURLOPT_POST, 1 );
curl_setopt($ch, CURLOPT_POSTFIELDS, $data);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_PROXY, '192.168.1.1');
curl_setopt($ch, CURLOPT_PROXYPORT, '8080');
curl_setopt($ch, CURLOPT_PROXYUSERPWD, 'proxyuser:proxypasword');
curl_setopt($ch, CURLOPT_URL, $pageurl );
$html = curl_exec ( $ch );
UtahRealty replied on at Permalink Reply
Did this ever get approved in the Market Place? The recaptcha option. Or is there a way to add a library to the dashboard now?
BrettDashwood replied on at Permalink Reply
BrettDashwood
I'd love to use the new Are You a Human captcha library that is actually now in use on the concrete5 site itself.

I know this requires a (paid or free) account on areyouahuman.com, but can this be part of the core, at least as an option?
JohntheFish replied on at Permalink Reply
JohntheFish
Are you Human and Recaptcha are both currently in the PRB as free addons.
mkly replied on at Permalink Reply
mkly
We have both of those freely available in public git repositories.

https://github.com/concrete5/addon_are_you_a_human...
https://github.com/concrete5/addon_recaptcha...

Feel free to use, fork and enjoy until it makes its way to the Marketplace(also free).

Best Wishes,
Mike