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.

Archive /

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

reCaptcha Module


Go to End
Reply


9 Posts   3562 Views

Avatar
eccotrust

Community Member, 1 Post

6 May 2008 at 2:01am

hi community!

we started to use silverstripe for simple sites and are very satisfied with it's intuitive user interface.

now we tried to integrate recaptcha into our contact forms. we found the module and its documentation ([url]http://doc.silverstripe.com/doku.php?id=modules:recaptcha[/url]) but we didn't succeed in using it.

we read discussions at the dev-forums ([url]http://tinyurl.com/6l7v4b[/url]) and are a little confused about how to use the module. isn't it ment to install the module and to have a new field in the form-tab?

we appreciate any hint on using this module. thank you very much!

Avatar
Fuzz10

Community Member, 787 Posts

6 May 2008 at 3:17am

No , at this moment it cannot be used on user generated forms. We played around with it , trying to get it to work on them, but ended up manually creating the forms through a class , the recaptcha works perfectly then.

It is still on our todo list though... ;)

Avatar
cideas

Community Member, 6 Posts

11 August 2008 at 11:51pm

First off great work in incorporating this module with SS. But i'm having some problems getting the module to work with my custom form and a template.

Here is my code http://pastebin.com/m943fbe0. All of my fields are showing but the recaptcha one.

Avatar
Fuzz10

Community Member, 787 Posts

12 August 2008 at 12:27am

Hmmm..that's weird.... Can't really see anything wrong with it...

the only difference is that I did not create a specific form template....but let SS generate it for me (e.g. ; I just dumped a $myformname in the template)...

Avatar
dio5

Community Member, 501 Posts

11 October 2008 at 9:56pm

I created a little module that works like this, but for Mollom then:

http://dio5.com/mollom-captcha-for-silverstripe/

Avatar
Ingo

Forum Moderator, 801 Posts

14 October 2008 at 1:00am

nice work! one tiny note: we favour the usage of FormField::createTag() in FormField->Field() because its easier to read and modify.

do you want me to set up your module as a component on open.silverstripe.com and add it to translate.silverstripe.com? as always, we're offering to host your module on our subversion-repo as well if you're keen :)

Avatar
dio5

Community Member, 501 Posts

14 October 2008 at 1:18am

Ingo, thanks

I based myself on the recaptchamodule, don't remember seeing createTag there, but I can change it in a next version some day.

The guys from mollom asked me to set up a little site for it http://mollom.silverstripe.be/ where I maintain the versions, but feel free to add it to translate and open. (although it might need some extra vars added to translate).

The module is also featured on http://mollom.com/download.

I'm also looking into adding Mollom as a whole (as a Validator extension) - which checks the content first and only adds a Captcha on 'unsure', but I'm running into some difficulties with Validator and Form - might open a topic for it later that describes my problem in detail.

Avatar
kudesign

Community Member, 64 Posts

6 November 2008 at 2:20pm

Edited: 06/11/2008 2:20pm

Hi, I am a newby, simply want to add Mollom into my form, but I got stuck on where to put this code:

$myCaptcha = new MollomCaptchaField("MyCaptcha", "Label Text");

Please help!! Thanks.

Go to Top