Extensions: hacks, datatypes, cronjobs, exchange, integrations, solutions, 3rd party, workflows

eZ Human CAPTCHA - preventing bots from submitting spam in your eZ website

Monday, 24 December 2007, 10:39
Categories: Extensions
Tags: datatype, CAPTCHA, spam, bots

eZ Human CAPTCHA is a simple eZ Publish extension which provides a collection of tools that make it easier to use session-based CAPTCHA techniques for preventing bots from submitting any unwanted data to your website.

The default way to use it is to add Human CAPTCHA-datatype-based attribute to your content class. From that moment on any edit action taken on objects representing that class will require CAPTCHA code to be provided. This will secure both editing as well as collecing info. This method is completely automatic and does not require any development whatsoever.

The other method is meant for developers, who want their own modules and/or templates secured. There are two template operators responsible for initiating/displaying a token and validating the code respectively. Optionally, it is possible to directly call a method responsible for token validation in PHP.

Since the quality of the CAPTCHA token image is of critical importance, this extension can be further extended by applying custom image filters. An image filter is simply a set of PHP instructions to generate a token image.

Search the Web if you need further information on CATPCHA itself.

You can download this extension from:
http://ez.no/developer/contribs/applications/ez_human_captcha

Comments (0)

eZ Unique Datatypes for avoiding doubles (and forcing uniqueness ;)

Friday, 21 December 2007, 22:00
Categories: Extensions
Tags: eZ Unique Datatypes, datatype, eZ Publish extension

This is a collection of common datatypes whose validation has been extended so to verify their uniqueness within given content object attribute. Otherwise, these datatypes behave exactly as their prototypes.

Currently there are two datatypes provided:
- Unique string (based on Text line system datatype),
- Unique URL (based on URL system datatype).

Use these if you want to make sure that a given attribute of a given class never accepts/stores two identical values.

Note: uniqueness is validated globally, which means it will not skip content objects that are drafts, in trash, or unpublished versions! However, multiple versions of the same content object may store the same value (in fact, it would not work otherwise).

Note: uniqueness is validated within the same attribute only, which means that if you use the datatype in two different classes, it will become two independent attributes resulting in two independent uniqueness sets! This may be changed/enhanced in the future.

You can download it form:
http://ez.no/developer/contribs/datatypes/ez_unique_datatypes

Comments (0)

eZ Vote Collector - my first eZ Publish extension

Thursday, 20 December 2007, 20:34
Categories: Extensions
Tags: poll, grade, extension

So it's time to touch what I've been sleeping with over last few weeks. Ever since I begun to understand what's under the hood of eZ, I've seen so many possibilities and also... so many things that still have to be done ;)

At this point eZ Publish 4.0 is I'm focusing at, and that's for a number of reasons. First, upcoming hosting problems. Second, lack of extensions ready for this version out there yet. Third, luckily I have the comfort of not having to stick with PHP4 for much longer (at least with current and upcoming projects), and can choose PHP5 instead.

eZ Vote Collector

This is my first extension ever. It hasn't been used in a production environment so far, but is a candidate for a number of projects already.

eZ Vote Collector is an eZ Publish extension which provides a collection of tools that can facilitate collecting and accessing simple one-dimensional user input. It is mostly appropriate for polls, grading, checklists, single question answers.

In some ways it resembles eZ Publish information collection tools. Although it is considerably less complex and universal, it provides some useful and flexible options, that eZ mechanisms seem to lack. Above all, it makes it possible to define valid value range and user timeouts based on object class.

eZ Vote Collector is not an out-of-the-box poll or grading solution, although some templates and packages are planned to be delivered in the following versions. Nevertheless, it should be very easy to implement and use.

And yes, this is for eZ Publish 4.0+, not exactly backward compatible.

You can download this extension from here:
http://ez.no/developer/contribs/hacks/ez_vote_collector

Comments (0)