Posted by stborchert on July 2, 2008 at 11:13am
Hi.
Does anyone has a working version of image captcha for drupal 4.7.x? It shouldn't be that hard to backport 5.x but if someone already did this...
I'm using drupallite ([1], [2]) for a small site and added captcha to the contact form. No I wanted to add image captcha but drupallite is based of drupal 4.7.
thanks,
Stefan
Comments
I wouldn't hold my breath
Drupal 4.7 is not supported anymore and it is very unlikely that the Drupal 5 version of CAPTCHA would be backported to Drupal 4.7. None of the CAPTCHA maintainers (including me) have the time nor interest to do this anyway.
Moreover, I don't think it is "not that hard" to backport the module.
Also, it seems from what I understood of Drupal Lite, that it does not use a database,
the CAPTCHA module needs sessions to work, which are stored in the database (in normal Drupal),
I don't know how this can be solved in Drupal Lite.
In short: I think your chances are extremely low to get a working image CAPTCHA on Drupal lite.
sorry
done :-)
It was just a question if someone already did this. Not to make you to do the backport.
DrupalLite uses php standard sessions (no db) so its no problem.
Hey, I finally did it :-) It wasn't that hard (just a few modifications, e.g. adding "_captchavalidate", renaming "_captcha" to "_captchachallange" and modifying some lines.
If someone needs this I could upload it (or provide a small demo site).
greetings,
Stefan
Try Textimage
For Image Captcha in Drupal 4.7 you can try to use the Textimage module.
Although I really don't recommend you to do so, as this is a really old version, and doesn't uses the v3 Captcha API.
Can you upload your
Can you upload your image_captcha version for 4.7?
Thanks
I need it!!
Hey Stefan,
I have a drupal 4.7 install in need of capatcha ;) If you could provide me the source it would be very much appreciated.
Chris
ImageCaptcha for 4.7.x
Hey.
It has been a long time since I backported ImageCaptcha (and modified it to my needs). Now jivko666 asked me to upload my work.
Here it is: image_captcha-4.7.x.tar.gz.
Note: it doesn't use the database but get its configuration options right from settings.php (in
$confarray).Sample:
'image_captcha_image_allowed_chars' => 'aAbBCdEeFfGHhijKLMmNPQRrSTtWXYZ23456789%$#!@+?*', // used characters'image_captcha_font' => 'arial.ttf', // used font (put this in directory fonts)
'image_captcha_font_size' => 30, // font size
'image_captcha_character_spacing' => 1.25, // spacing between characters
'image_captcha_code_length' => 5, // number of characters to display
'image_captcha_distortion_amplitude' => 5, // 1..10
'image_captcha_dot_noise' => TRUE, // show noise
'image_captcha_line_noise' => FALSE, // show linear noise
'image_captcha_noise_level' => 3, // 1..10 noise level (10 is really unreadable)
'image_captcha_double_vision' => FALSE, // show each character twice
Fatal error: image_captcha.module on line 21
Anyone have the correct version? Try: /admin/user/captcha/image_captcha and display Fatal error: Call to undefined function image_captcha_captcha() in /modules/image_captcha/image_captcha.module on line 21
Fatal error on line 21
Fatal error: Call to undefined function image_captcha_captcha() in .../modules/image_captcha/image_captcha.module on line 21