Kunena 6.2.5 & module Kunena Latest 6.0.7 released

The Kunena team has announce the arrival of Kunena 6.2.5 [K 6.2.5] which is now available for download as a native Joomla extension for J! 4.3.x/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

Please note: The Kunena project team takes NO responsibility for maintaining nor supporting anything in this category.

Solved Problem with avatars in posts of guests

More
9 years 9 months ago - 9 years 9 months ago #1 by hazael
In the posts written by guests appear avatars of users who browse the forum.

in forum - I see as a user


in forum - I see as a guest


in module - I see as a user


in module - I see as a guest


  • Joomla 3.3
  • Kunena 3.0.5
  • Jomsocial 3.2.0.5
  • PHP Version 5.4.28
  • piekielko.com
Last edit: 9 years 9 months ago by hazael.

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

More
9 years 9 months ago #2 by hazael
Replied by hazael on topic My temporary solution
in components/com_kunena/template/blue_eagle/html/topic/default_profile_vertical.php

Ad.1 My temporary solution - guest without avatar:

in line 24
Code:
<span class="kavatar"><?php echo $this->profile->getLink( $avatar ); ?></span>
chnage to
Code:
<?php if ($this->profile->userid > 0): ?> <span class="kavatar"><?php echo $this->profile->getLink( $avatar ); ?></span> <?php endif; ?>

Ad.2 My temporary solution - guest with avatar:

in line 24
Code:
<span class="kavatar"><?php echo $this->profile->getLink( $avatar ); ?></span>
chnage to
Code:
<?php if (strpos($this->profile->getLink( $avatar ), 'kwho-user')) : ?> <span class="kavatar"><?php echo $this->profile->getLink( $avatar ); ?></span> <?php elseif (strpos($this->profile->getLink( $avatar ), 'kwho-guest')) : ?> <span class="kavatar"><img src="/images/profiletype/guest.png" alt="guest"></span> <?php endif ;?>

:)
The following user(s) said Thank You: xamire

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

More
9 years 5 months ago #3 by xamire
Replied by xamire on topic My temporary solution
Thanks SOOO much! This has saved a buttload of time and effort!

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

More
9 years 1 month ago #4 by xamire
Replied by xamire on topic My temporary solution
Did you figure out which file handles the guest thumbnail? Those are still showing up as my own avatar if the person posted as a guest.

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

Time to create page: 0.352 seconds