Current time: 05-24-2012, 03:18 PM Hello There, Guest! (LoginRegister)


 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[F] Maximum Avatar Dimensions in Posts PROBLEM [C-Chris]
10-26-2008, 03:32 AM (This post was last modified: 10-27-2008 09:59 PM by Michael S..)
Post: #1
[F] Maximum Avatar Dimensions in Posts PROBLEM [C-Chris]
This user has been denied support. This user has been denied support.
This setting allows for a 100x100 (width by height). If you use a capital X...width is zero and height it blank.

Same problem for "Maximum Display Avatar Dimensions" setting too.

Easy fix would be strtolower before input to database.

New MyBB plugin is "My Awards 2.0".
[Image: 468x60_SF.gif]
Visit this user's website Find all posts by this user
10-26-2008, 03:40 AM
Post: #2
RE: Maximum Avatar Dimensions in Posts PROBLEM
Would be nice if PHP had a case insensitive explode()
Visit this user's website Find all posts by this user
10-26-2008, 03:42 AM
Post: #3
[F] Maximum Avatar Dimensions in Posts PROBLEM
Thank you for your bug report.

This bug has been fixed in our internal code repository. Please note that the problem will not be fixed here until these forums are updated.

With regards,
MyBB Group
Visit this user's website Find all posts by this user
11-11-2008, 01:38 PM
Post: #4
RE: [F] Maximum Avatar Dimensions in Posts PROBLEM
Revision 4254

This fix is incomplete. The problem still appears in the memberlist.

In memberlist.php find:
PHP Code:
list($max_width$max_height) = explode("x"$mybb->settings['memberlistmaxavatarsize']); 
Replace with:
PHP Code:
list($max_width$max_height) = explode("x"my_strtolower($mybb->settings['memberlistmaxavatarsize'])); 

Greets,
Michael
-------------
[Image: donation_drive_sig.png]
Visit this user's website Find all posts by this user
11-11-2008, 06:35 PM
Post: #5
RE: [F] Maximum Avatar Dimensions in Posts PROBLEM
Ah, that was a completely separate setting
Visit this user's website Find all posts by this user


Forum Jump:


User(s) browsing this thread: 1 Guest(s)

Contact Us | MyBB | Return to Top | Return to Content | Lite (Archive) Mode | RSS Syndication