You are trying to use 2 methods to include the recaptcha. You can use it as a field OR use the spam protection wrapper. Which if you use Spam Protection you need to pass it a form object. Try http://pastie.org/605039
Thanks. It wasn't clear from the reCaptcha documentation. Is there anywhere that explains the Pros/Cons of the two methods?
No. I shall update the documentation.
Is Mollum compatible with 2.4? The page (http://www.silverstripe.org/mollom-module/) doesn't mention it.
I've installed the SS blog module on a client site late last year, replacing the Wordpress hosted blog they were linking to.
Unaware that the blog software did not have any spam filters by default, I was contacted last week and advised that the client had a huge amount of spam and the blog was unusable.
I installed mollum and the spam protection modules and get public and private keys from Mollum which I inserted in the correct place and added to mysite/config_php. Dev/build indciated that the modules had been incorporated, client was advised and the problem of deleting the spam from the database was about to be approached - hopeless manually, why isn't there a bulk delete option?
Before I could clear it out the site shutdown as the Db was full. I got hold of the hosts to clean it up but the problem persists.
Anyway, the CMS report for Mollum says that the key is installed and working, but the reports show no spam being blocked.
Anyone shed some light on this?
Cheers - Phil
I want to move to newest ss2.4 but I have problem with spamprotection field in userforms, recaptcha field is always not well validated ( form is not submitted ).Ofcourse I did upgrade of modules spamprotection, recaptcha, userforms to newest versions.
I am having the same problem. It works in the Forum module, but does not show up in User Forms.
I have installed reCaptcha module and SpamProtection module in silverstripe 2.4.0. But when I submitted the form, I get the following error:
Fatal error: Call to undefined function curl_init() in E:\docroot\work\try\recaptcha\code\RecaptchaField.php on line 370
Did I miss something?