Kunena 6.2.6 released

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

Topics must relate to a currently supported version of Kunena. If you are unsure what is the current supported version of Kunena, please go to the download page.

If you are having problems then, for your own benefit, it would save us all a lot of time if you would kindly post your configuration report when you ask for help from this forum. If you do not post your configuration report we will not ask you for it but you will probably not get your problem solved, either.

Question Search user avatar

More
2 years 7 months ago - 2 years 7 months ago #1 by Gtan
Search user avatar was created by Gtan
This query /user/listmention?format=raw&search=xxx return some null result for "photo" item...

I have modified /plugins/kunena/comprofiler/avatar.php like this to send the defaut picture :

Code:
 protected function _getURL($user, $sizex, $sizey)         {                 $user = KunenaFactory::getUser($user);                 // Get CUser object                 $cbUser = null;                 $url = null;                 if ($user->userid)                 {                         $cbUser = CBuser::getInstance($user->userid);                 }                 if ($cbUser !== null)                 {                         if ($sizex <= 144)                         {                                 $url = $cbUser->getField('avatar', null, 'csv');                         }                         else                         {                                 $url = $cbUser->getField('avatar', null, 'csv', 'none', 'list');                         }                 }                 if ($url === null)                 {                         if ($sizex <= 144)                         {                                 return selectTemplate() . 'images/avatar/tnnophoto_n.png';                         }                         return selectTemplate() . 'images/avatar/nophoto_n.png';                 }                 return $url;         }

Edit: Best version
Last edit: 2 years 7 months ago by Gtan.
The following user(s) said Thank You: xillibit

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

More
2 years 7 months ago #2 by xillibit
Replied by xillibit on topic Search user avatar
Hello,

Which Kunena version are-you using ?

I don't provide support by PM, because this can be useful for someone else.

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

More
2 years 7 months ago - 2 years 7 months ago #3 by Gtan
Replied by Gtan on topic Search user avatar
Hi,
Now it's K5.2.4...
Regards
Last edit: 2 years 7 months ago by Gtan.

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

Time to create page: 0.324 seconds