Hi,
is there a way to customize the captcha layout? I mean the font, the picture generated etc.
Regards, Thomas
Customizing the captchas
-
- Regular
- Posts: 340
- Joined: Sun Jun 12, 2005 5:28 am
Hehe, indeed the letters and numbers aren't sometimes very readable by a
regular human!
regular human!
I make s9y plugins, too.
My s9y blog depends on them.
My s9y blog depends on them.
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
You can customize the fonts by editing the serendipity_event_spamblock.php file. In line 552 you can see this:
You can replace that with your fonts, and you need to put the .ttf files into the spamblock directory.
Changing the created picture is also only possible in PHP scope.
Regards,
Garvin
Code: Select all
$fontfiles = array('Vera.ttf', 'VeraSe.ttf', 'chumbly.ttf', '36daysago.ttf');
Changing the created picture is also only possible in PHP scope.
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/