Kunena 7.0.8 Released

The Kunena team has announce the arrival of Kunena 7.0.8 [K 7.0.8] in stable which is now available for download as a native Joomla extension for J! 5.4.x/6.0.x./6.1.x. This version addresses most of the issues that were discovered in K 6.2 / K 6.3 / K 6.4 and issues discovered during the last development stages of K 7.0

Solved to big avatar in reply screen

More
11 years 3 months ago - 11 years 2 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 2 months ago by ruud.

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

More
11 years 3 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 3 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 3 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 3 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 3 months ago - 11 years 3 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 3 months ago by Josh.

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

Time to create page: 0.209 seconds