Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Enhancement] Fixed avatar size in misc.php
#1
Get rid off fixed avatar dimensions in misc.php (line 582 @1822) - used to display avatars in buddylist-popup on header menu.
$buddy['avatar'] = format_avatar($buddy['avatar'], $buddy['avatardimensions'], '44x44');

This dimension is fixed in source code and should better be replaced by dimensions set up in ACP:
mybb_settings.useravatardims

Using fixed pixels in hard code may complicate/violate template designing.

[ExiTuS]
New Forum / MyBB 1.8.22 + innovative Theme
Live-Escape-Game-Forum.com / .de / .net
The first German and International Community and discussion platform for Live Escape Rooms and Adventure Games.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)