Extension: Saurus 4 CAPTCHA
By Saurus www.saurus.info
About
This is read me file of "Saurus 4 CAPTCHA" extension. Extension generates CAPTCHA images and verifies posted comments. (CAPTCHA - completely automated public Turing test to tell computers and humans apart)
The extension is overwritten by Saurus CMS version upgrades. If you wish to modify the templates, make a copy of extension to create a custom version.
Requirements
- GD image manipulation library (ver 2 and above) for image creation
- FreeType library support for rendering text on images
Installation
- Copy the folder "saurus4_captcha" to extensions/ directory in your site root.
- Go to your site: Admin > Extensions > Extensions and click Refresh to synchronise. The templates will now be visible in section editor.
How to use CAPTCHA with default Saurus4 comments and forums templates
- Turn on CAPTCHA checking: open admin-page Properties > Site Properties > Forum and turn on setting "Use CAPTCHA verification for comments and forums (requires CAPTCHA extension)." NB! this is a site wide setting all comment posting will be checked.
- Change the templates: open admin-page Templates > Object Templates
- change template "Article" to "Articles: detail view with CAPTCHA"
- change template "Comment" to Forum: message view with CAPTCHA"
- change template "Topic" to "Forum: topic view with CAPTCHA"
How to use CAPTCHA with custom templates
- See sample in the file "sample_template.html"
How to use CAPTCHA with Saurus4 feedback forms
- Turn on CAPTCHA checking: open admin-page Properties > Site Properties > Forum and turn on setting "Use CAPTCHA verification for feedback forms (requires CAPTCHA extension)." NB! this is a site wide setting all feedback forms will be checked.
- After creating a form in the article editor insert following HTML code inside FORM tags (use HTML button):
<img src="extensions/saurus4_captcha/captcha_image.php?name=default">Type the characters you see on the picture here: <input type="text" name="captcha_default">
Version history
Version 1.0 / 11.08.2006
Initial release
Version 1.1 / 27.02.2007
Improved Sample template (image reload link). Improved CAPTCHA image readability.
Version 1.2 / 06.05.2008
Text readability bug with PHP 5.1.3 and upwards