11004 Posts in 2735 Topics by 1824 members
|Go to End|
14 March 2013 at 1:53pm Last edited: 14 March 2013 1:56pm
Do I need to update the page comment form myself? I do not see my captcha.
In _config.php I have:
RecaptchaField::$public_api_key = 'xxxxxxxxxxxxx';
RecaptchaField::$private_api_key = 'xxxxxxxxxxxxx';
I have modules installed: comments, SpamProtectionModule, and recaptcha
No captcha showing on page comments. Do I need to add the captcha myself, extend page comments or something and update the form like so;
$protector = SpamProtectorManager::update_form($form);
16 March 2013 at 9:53pm
You need to apply the optional extension CommentSpamProtection (https://github.com/silverstripe/silverstripe-spamprotection/blob/master/code/extensions/CommentSpamProtection.php).
19 March 2013 at 5:24am
Oh...totally missed that. Thanks! Will to the rescue again, much appreciated :0)
28 March 2013 at 7:28am
Sorry for the dumb question - but how does one apply that extension?
8 January 2014 at 2:15am
In case if anyone couldn't figure out how or what to add as the extension, add the code snippet below in mysite/_config.php, assuming that SpamProtectorManager and RecaptchaField configuration is already in place.
with help from Pyromanik
|Go to Top|