In a local code repository (not in CVS yet), I'm working on better handling of errors when submitting comments, as well as on the addition of captcha images for anonymous commenting.
I've applied the changes I currently made to this blog, in order to test things a little. The captcha code is largely based on hn_captcha (GPL) from Horst Nogajski, but using a database table and generating image dynamically (created a generic CAPTCHA class for that purpose). The font I used is Dustismo (GPL) from Dustin Norlander. The captcha only shows up for users that are not logged in.
The changes to the error system are that the error is no longer displayed on a separate page, but rather above the comment form itself, with the previous values filled out in the comment form again. To do this, I had to make it possible for a page to send an action such as 'addcomment' to itself, rather than through action.php.
Let me know what you think.

Comments
Add Comment