Personal tools
You are here: Home Forums Plone Captchas Plone Captchas and join_form
Document Actions

Plone Captchas and join_form

Up to Plone Captchas

Plone Captchas and join_form

Posted by Jakub Kulesza at January 07. 2007

Hi


i'm trying to integrate the product with plone's join_form. I want to do that, as some of my plone sites have been attacked by bots that try to register themselves and clutter new users lists.


What is there to be done in the join_form itself is quite self-explanatory. But i also need to validate the field of captcha word input in join_form_validate.

Is there a howto about using the product to make a custom validator?

Thanks

Re: Plone Captchas and join_form

Posted by Jakub Kulesza at January 07. 2007

OK, i have asked the question without enough research on my own. sorry.


For the people that want to integrate qPloneCaptchas with their join_form, i've written this howto. Hope it helps someone who finds it:

qPloneCaptchas and Plone 2.5 join_form integration howto:


  • install qPloneCaptchas
  • go to ZMI, then portal_skins/plone_login/join_form
  • click "customize"
  • find the best place to paste the captcha fieldset, and paste
    <div metal:use-macro="here/captcha_widget/macros/captcha"></div>

  • click "save changes"
  • click the "validation" tab
  • go to "edit default validators section"
  • add a comma and "captcha_validator" in the list of validators.
  • you're done. Now a user will have to fill a captcha to be registered.

Powered by Ploneboard