Question about Hooking into the Twiki Registration Procedure
I am attempting to develop a plugin that adds Captcha
The Captcha Project
functionality to the TWiki registration procedure.
To do this I am making use of a VERY simple perl module Authen::Captcha
CPAN Module Page
.
Essentially, my thinking, and my current version of the plugin works in the following way.
When the registration page is loaded a new Captcha image is created and placed on the page in the registration form (with a description etc).
When the user submits the registration the Captcha code they enter is checked against the MD5 sum of the file, and then validated or rejected.
However I have been unable to do this in the current release of TWiki without quite a nasty hack in the bin/register script (naughty, I know).
I was told that the plugin API in the Dakar release would have better support to hooking into the registration procedure, but the version I currently have still doesn't seem to be capable, although admittedly I could be being stupid and not spotting it.
If this is possible to do without any nasty hacks it would be great and I'd be able to bundle up my work and contribute it.
Any suggestions would be greatly appreciated.
Cheers
ChrisHampson
--
ChrisHampson - 08 Dec 2005
I'm afraid that in Dakar you still need hacks. There have been many ideas to improve the registration, but they came too late in the Dakar integration process - registration not a part one would play with.
RegistrationBeyondDakar and
RegistrationAsPluginRequirements are two recent articles covering the topic, and I'd consider Captcha a very interesting candidate for registration.
--
HaraldJoerg - 08 Dec 2005