wiki:quintagroup.captcha

Version 32 (modified by olha, 9 years ago) (diff)

--

Quintagroup Plone Captchas

The Captchas products story started back in 2006 with qPloneCaptchas Plone product which supported Plone versions 2.0.x, 2.1.x and 2.5.x.

Later it was refactored into quintagroup.plonecaptchas package which supported Plone versions 3.0.x-3.3.x.

From version 3.0 and on quintagroup.plonecaptchas goes though another refactoring:

  • the standard Plone customizations (Join, Send this page, Contact Us, Reply) are staying in quintagroup.plonecaptchas
  • the captchas core rendering and validation functionality are factored into quintagroup.captcha.core package

We are adding the following three packages to the stack:

All the stack is set up as dependency for quintagroup.plonecaptchas, so you just need to mention them in your buildout to get all captcha packages.


quintagroup.captcha.core

Quintagroup Captcha Core allows configure captchas on your Plone site: its size, color, etc. After its installation you'll see Plone captchas setup option under Add-on Product Configuration in Site Setup.

No image "captcha-core.png" attached to quintagroup.captcha

Here you can select what kind of captchas you want to appear: either static or dynamic. In case you select dynamic captchas, in the dynamic captchas image setup options you can configure captchas look by using different font sizes, background and font colours, period, amplitude, random values. As a result your captchas field can look like the following:

No image "1.png" attached to quintagroup.captcha

No image "2.png" attached to quintagroup.captcha

No image "3.png" attached to quintagroup.captcha


quintagroup.plonecaptchas

quintagroup.plonecaptchas adds captcha support to Plone, it works together with quintagroup.captcha.core. With these products installed captchas will be added to Plone's Send this, Contact Us (/contact-info) forms, and Plone's default discussion mechanism: Add Comment and Reply forms.

No image "add-comment.png" attached to quintagroup.captcha

Join Form

quintagroup.plonecaptchas does not automatically plug to Plone's default registration (/join_form). You can make captcha plug to Plone's Join form via Zope Management Interface:

  • Go to portal_setup/manage_importSteps
  • in Select Profile or Snapshot drop down menu select Plone Captchas Join Form for plone 3-... according to the Plone version used on your site, e.g Plone Captchas Join Form for plone-3.3

No image "select-profile.png" attached to quintagroup.captcha

  • Move to the bottom of the page and press Import all steps
  • Captcha will now be applied to the registration form.

quintagroup.pfg.captcha

quintagroup.captcha.pfg (former qPloneCaptchasField product) allows adding captcha field to the forms, created with PloneFormGen.

To create forms with the captcha field you need to install the following Plone products:

  • PloneFormGen - for creating the form itself
  • Plone Captchas (quintagroup.plonecaptchas) - for enabling Plone captchas on a Plone site together with Quintagroup Captcha Core (quintagroup.captcha.core) - for configuring captcha.
  • quintagroup.pfg.captcha - for adding captcha field to the PFG form.

Make sure the products are installed in this order, otherwise they may fail to work correctly.

No image "installed-products.png" attached to quintagroup.captcha

To add captcha field to the PFG form:

  • go to the desired form and select Captcha Field from Add new... drop-down menu

No image "add-new.png" attached to quintagroup.captcha

  • Captch field is getting its id "key" by default. You only need to save this field.

No image "edit.png" attached to quintagroup.captcha

  • Go back to the form to see the captcha field beneath all other fields

No image "form.png" attached to quintagroup.captcha


quintagroup.formlib.captcha


quintagroup.z3cform.captcha