Kunena 7.1.1 & Kunena 6.4.17 – Security Updates Released

The Kunena team has announce the arrival of Kunena 7.1.1 [K 7.1.1] in stable which is now available for download as a native Joomla extension for J! 5.4.x/6.0.x./6.1.x./6.2.x This version addresses most of the issues that were discovered in K 6.2 / K 6.3 / K 6.4 / K7.0 and issues discovered during the last development stages of K 7.1
Just a reminder: K6.4.17 receives only securities fixes until end of 2026, so it's advised for users to upgrade to K7.1.

Topics that are moved into this category are generally considered to be closed. Users may want to add additional information but these topics should not be resurrected in order to discuss new problems or unrelated matters.

Question Hide Avatars for non registered user

More
15 years 11 months ago #74461 by mibert
Hi there,

in 1.5 Version of Kunena I added following code in the template file view.php to prevent that non registered users can not see the user avatars.

if ($kunena_my->id != 0) {
$msg_avatar = '<span class="fb_avatar">'.$kunenaProfile->showAvatar($userinfo->userid, '', false).'</span>';
}}

Could someone please give me some hint, how I could do that for Kunena 1.6.1

Thanks in advavce and best regards

Michael

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

More
15 years 11 months ago #74752 by mibert
Hi there,

was this a stupid or very difficult question?
Any reply would be appreciated.

Best regards

Michael

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

More
15 years 11 months ago #77978 by mibert
I am really wondering, why nobody replys to me. Have I been unpolite?

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

More
15 years 11 months ago #77982 by mibert
Hi there,

I found a solution to this issue now:
Change the following in components/com_kunena/funcs/view.php

OLD:
$this->avatar = '<span class="kavatar">' . $avatar . '</span>';}

REPLACE WITH:
if ($this->my->id != 0) {
$this->avatar = '<span class="kavatar">' . $avatar . '</span>';
}

Then the avatars in the forum posts are no visible for ungegistered visitors.

Hope it may help someone.

Best regards
The following user(s) said Thank You: sozzled

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

More
15 years 11 months ago #78045 by sozzled
Thank you for posting your solution. It may help others. :)

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

Time to create page: 0.120 seconds