Skip to main content
This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.
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);
You need to apply the optional extension CommentSpamProtection (https://github.com/silverstripe/silverstripe-spamprotection/blob/master/code/extensions/CommentSpamProtection.php).
Oh...totally missed that. Thanks! Will to the rescue again, much appreciated :0)
Sorry for the dumb question - but how does one apply that extension?
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