2020-06-29, 10:29 PM
Get rid off fixed avatar dimensions in misc.php (line 582 @1822) - used to display avatars in buddylist-popup on header menu.
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]
$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]