PDA

View Full Version : BugFix - Captcha Class - Visual Confirmation Code


StB73
01-04-2006, 03:49 PM
Dear community,

if anyone of you has a problem with the captcha-class (visual confirmation code) in rc5 --> sometimes hard to read or only 3 letters

here is the solution:

it seems that the eco2.ttf font is buggy !
-> so simply delete this font from the

\libs\captcha\fonts directory

and modify the captcha.php file in the root like this

find:

'TTF_RANGE' => array('eclipse.ttf', 'arcade.ttf', 'eco2.ttf', 'atomic.ttf', 'conman.ttf', 'crass.ttf', 'dirtydoz.ttf'),

replace with:

'TTF_RANGE' => array('eclipse.ttf', 'arcade.ttf', 'atomic.ttf', 'conman.ttf', 'crass.ttf', 'dirtydoz.ttf'),



That's all

StB73

cranachan
01-07-2006, 09:43 PM
Seems to help - thanks

Changing some of the settings in captcha.php helps too, esp turning off noise. This may reduce security a little, but probably helps sign-ups.