FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Bug Reports » Issues with captcha images
Show: Today's Messages :: Unread Messages :: Show Polls :: Message Navigator
| Subscribe to topic | Bookmark topic 
Switch to threaded view of this topic Create a new topic Submit Reply
Issues with captcha images [message #165863] Thu, 18 August 2011 18:37 Go to next message
JanRei is currently offline  JanRei   Germany
Messages: 361
Registered: October 2005
Location: Germany
Karma: 0
Senior Member
Contributing Core Developer
Translator
add to buddy list
ignore all messages by this user
1) It seems atoz.ttf is not really a good font for displaying captchas. Captchas can contain numbers but the font seem to support only letters.
index.php?t=getfile&id=6187&private=0

2) Without ttf support the captcha are hard to read. For example, this is supposed to be 578G. It does not seem to be possible to choose a larger font size with imagestring(), but maybe we could reduce the fading in this situation. Without it the captchas are clearly readable.
index.php?t=getfile&id=6189&private=0

3) Looking at the code imagettfbbox() is called to test for ttf support. I am not sure what happens if ttf is not supported. Maybe we should prefix it with @ to suppress warnings that might be thrown.
Re: Issues with captcha images [message #165876 is a reply to message #165863] Fri, 19 August 2011 04:52 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3624
Registered: December 2004
Karma: 17
Senior Member
Administrator
Core Developer
remove from buddy list
ignore all messages by this user
You are welcome to change it.

1. This is in "atoz.ttf". You can remove or replace the font file.

2. Sounds good.

3. Also OK.

PS: Please let me know how much time you need. We can implement this is 3.0.3RC1, but RC2 will only have critical fixes.
Aw: Re: Issues with captcha images [message #165881 is a reply to message #165876] Fri, 19 August 2011 09:46 Go to previous messageGo to next message
JanRei is currently offline  JanRei   Germany
Messages: 361
Registered: October 2005
Location: Germany
Karma: 0
Senior Member
Contributing Core Developer
Translator
add to buddy list
ignore all messages by this user
I committed the changes and my other pending bug fixes. For now I just removed the font. Maybe we can look for more suitable fonts later.
Re: Aw: Re: Issues with captcha images [message #165883 is a reply to message #165881] Fri, 19 August 2011 09:52 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3624
Registered: December 2004
Karma: 17
Senior Member
Administrator
Core Developer
remove from buddy list
ignore all messages by this user
Excellent. Thank you very much!

Just one question, do we really need the extra "if (defined('__adm_rsidl')) {" in footer.php?
Aw: Re: Aw: Re: Issues with captcha images [message #165884 is a reply to message #165883] Fri, 19 August 2011 10:02 Go to previous message
JanRei is currently offline  JanRei   Germany
Messages: 361
Registered: October 2005
Location: Germany
Karma: 0
Senior Member
Contributing Core Developer
Translator
add to buddy list
ignore all messages by this user
I saw a warning about undefined constant __adm_rsidl after calling admloginuser.php. This is supposed to be a quick fix for it, maybe there is a better one.
Quick Reply
Formatting Tools:   
  Switch to threaded view of this topic Create a new topic
Previous Topic: FUD 3.0.2
Next Topic: error [Delete ALL messages by this user] (FUDforum 3.0.2)
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun Oct 22 22:36:36 EDT 2017

Total time taken to generate the page: 0.00926 seconds