Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » reCaptcha Module

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

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

Page: 1 2
Go to End
Author Topic: 3375 Views
  • eccotrust
    Avatar
    Community Member
    1 Post

    reCaptcha Module Link to this post

    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 (http://doc.silverstripe.com/doku.php?id=modules:recaptcha) but we didn't succeed in using it.

    we read discussions at the dev-forums (http://tinyurl.com/6l7v4b) 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!

  • Fuzz10
    Avatar
    Community Member
    786 Posts

    Re: reCaptcha Module Link to this post

    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... ;)

  • cideas
    Avatar
    Community Member
    6 Posts

    Re: reCaptcha Module Link to this post

    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.

  • Fuzz10
    Avatar
    Community Member
    786 Posts

    Re: reCaptcha Module Link to this post

    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)...

  • dio5
    Avatar
    Community Member
    501 Posts

    Re: reCaptcha Module Link to this post

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

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

  • Ingo
    Avatar
    Forum Moderator
    801 Posts

    Re: reCaptcha Module Link to this post

    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

  • dio5
    Avatar
    Community Member
    501 Posts

    Re: reCaptcha Module Link to this post

    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.

  • kudesign
    Avatar
    Community Member
    64 Posts

    Re: reCaptcha Module Link to this post

    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.

    3375 Views
Page: 1 2
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.