I've installed the latest versions of these modules, including the spam protection module, in the root folder of my silverstripe installation. The UserForms works fine, but it is not clear to me how to use Recaptcha with it. The"add field" option in the Form tab of Userforms does have a spam protection option, but not a Recaptcha option. When I add the spam protection, no such field appears on the web page. The spam protection field wants me to enter in a question. What type of question does it mean? Is the spam protection field related to Recaptcha?
In short, how do I get Recaptcha to work with UserForms?
Do I have to change the document type of my web pages from XHTML Strict to XHTML Transitional? I've seen that mention in the Forum. But that wouldn't effect the CMS end of how I add and use Recaptcha in my userforms.
I've also tried installing Mollom, first uninstalling recaptcha, to see if I could get that to work with Userforms -- no luck? Nothing shows when I add the spam protection field. I have followed the installation instructions precisely at http://doc.silverstripe.com/doku.php?id=modules:mollom.
The Mollom Key Status report in my CMS says that my "key exists and is working". Yet no go on the front-end.
I am working on a localhost, could that be the problem?
First sign-up at reCaptcha site get the public and private keys. Next open your "mysite > config.php" file and add
(replace <publickey> & <privatekey> with the keys from reCaptcha )
RecaptchaField::$public_api_key = '<publickey>';
RecaptchaField::$private_api_key = '<privatekey>';
IF you are using this with spam protection module than you need to add the following to your "mysite > config.php" as well
place all of this right before the "?>" at the end of your "mysite > config.php" and you should be in business you shouldn't have to change doc type on most new templates