Kunena 7.0.11 & Kunena 6.4.16 – Security Updates Released and K7.1 in RC1 2

The Kunena team has announce the arrival of three simultaneous security release : K6.4.16, K7.0.11 and K7.1 RC2. Just a reminder K6.4.16 receives only securities fixes untill end of 2026, so it's advised for users to upgrade to K7.0.11. K7.0.11 is the last release of the K7.0 because it's replaced by K7.1 branch with the stable release in the corner. The translations for K7.1 on crowdin.com/project/kunena-forum-7-1 needs to be checked or improved becasue it has been generated by TM (Translation Machine).

Solved to big avatar in reply screen

More
11 years 6 months ago - 11 years 4 months ago #164369 by ruud
Hi in the reply screen the avatar of the other messages are to big (200px not via css but hardcoded?)
Code:
<img class="img-polaroid" style="max-width: 200px; max-height: 200px" alt="Visieoptalent's Avatar" src="/ll_test/images/profiler/avatar387_bf04786f1538cc1e223xyz018cc474a77a3.jpg">

sharing = caring
Last edit: 11 years 4 months ago by ruud.

Please Log in or Create an account to join the conversation.

More
11 years 6 months ago #164372 by 810
Replied by 810 on topic to big avatar in reply screen
mhh. its says max width and max height.

So I think you have no img-polaroid css class in your template.

Please Log in or Create an account to join the conversation.

More
11 years 6 months ago #164373 by ruud
Replied by ruud on topic to big avatar in reply screen
first reaction was... damn template issue :) but it is also present with protostar :(

sharing = caring

Please Log in or Create an account to join the conversation.

More
11 years 5 months ago #164462 by ruud
Replied by ruud on topic to big avatar in reply screen
Hi, I am using easyprofile as avatar provider. The avatar returned by the plugin is either a small one or a bigger one. Is it possible that the bigger one (which is 200px) is called for instead of the smaller one?

here is part of the plugin code that returns the small or big avatar:
Code:
public function _getURL($user, $sizex, $sizey){ if (!$user->userid == 0) { $user = KunenaFactory::getUser($user->userid); $user = JsnHelper::getUser($user->userid); if ($sizex <= 90) { $avatar = JURI::root( true ).'/'.$user->getValue('avatar_mini'); } else { $avatar = JURI::root( true ).'/'.$user->getValue('avatar'); }
When I change this code to always return the avatar_mini (which is 50px) the displayed avatar is the smaller one, but the resulting code still has the max-width and max-height set to 200px :(
Code:
<img class="img-polaroid" style="max-width: 200px; max-height: 200px" alt="Ruud's Avatar" src="/ll_test/images/profiler/avatar63mini_b359c94bc75e3dda6c2c061d1c1d6559.jpg">

sharing = caring

Please Log in or Create an account to join the conversation.

More
11 years 5 months ago #165050 by ruud
Replied by ruud on topic to big avatar in reply screen
Hi, tested with RC1 and still not correct

sharing = caring

Please Log in or Create an account to join the conversation.

More
11 years 5 months ago - 11 years 5 months ago #165052 by Josh
Replied by Josh on topic to big avatar in reply screen
I noticed the same thing. The issue also occurs on EasySocial (not to be confused with EasyProfile) and Community Builder. It's not just hard coding it into the reply screen, it's also hard coded on the forum index page and the category page. As soon as I swap to Kunena's avatar it does not load the inline CSS. Why does all the other integrations have inline CSS which makes the avatars unresponsive?
Last edit: 11 years 5 months ago by Josh.

Please Log in or Create an account to join the conversation.

Time to create page: 0.118 seconds