Kunena 6.3.0 released

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

This category contains miscellaneous, uncategorised third-party extensions (e.g. JomSocial, Community Builder, etc.) relating to older versions of Kunena that are no longer supported.

This category may also contain a few topics relating to K 1.6 that may have been moved here possibly by mistake.

The topics in this category are for historical interest only. Owing to the structural differences between K 1.6 and K 1.7, the ideas in these topics may not work with later versions and, for that reason, the topics are locked.

Question Guest avatar

More
15 years 1 month ago #1 by OPEN365
Guest avatar was created by OPEN365
I just noticed that when guests create a post there is no avatar added to post. Any ideas on guest avatars?

J!1.59
Jom Social 1.1.142
PHP Version: 5.2.6
Image Processor: GD2
Attachments:

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

More
15 years 1 month ago #2 by Matias
Replied by Matias on topic Re:Guest avatar
This is true. We are looking for a fix for this one.

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

More
15 years 1 month ago #3 by OPEN365
Replied by OPEN365 on topic Re:Guest avatar
OK, awesome Matias!

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

More
15 years 1 month ago #4 by maniek
Replied by maniek on topic Re:Guest avatar
I have this bug on my board too. :)!

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

More
15 years 1 month ago #5 by NLkaiser
Replied by NLkaiser on topic Re:Guest avatar
Matias wrote:

This is true. We are looking for a fix for this one.


jomcomment with jomsocial intergration has the same problem so I think it is a jomsocial bug and not a kunena bug

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

More
15 years 1 month ago #6 by hoefti
Replied by hoefti on topic Re:Guest avatar
Hello from Germany

open flat.php in default_ex

edit
Code:
<!-- Avatar --> <?php // (JJ) AVATAR if ($fbConfig->avataroncat > 0) { ?> <span class="topic_latest_post_avatar"> <?php if ($leaf->userid) { if ($fbConfig->avatar_src == "jomsocial") { // Get CUser object $user =& CFactory::getUser($last_reply[$leaf->id]->userid); $useravatar = '<img class="fb_list_avatar" src="' . $user->getThumbAvatar() . '" alt=" " />'; echo CKunenaLink::GetProfileLink($fbConfig, $last_reply[$leaf->id]->userid, $useravatar); } else { $javatar = $last_reply[$leaf->id]->avatar; if ($javatar!='') { if ($fbConfig->avatar_src == "cb") { echo CKunenaLink::GetProfileLink($fbConfig, $last_reply[$leaf->id]->userid, '<img class="fb_list_avatar" src="images/comprofiler/'.$javatar.'" alt="" />'); } else { echo CKunenaLink::GetProfileLink($fbConfig, $last_reply[$leaf->id]->userid, '<img class="fb_list_avatar" src="'.(!file_exists(KUNENA_ABSUPLOADEDPATH . '/avatars/s_' . $javatar)?KUNENA_LIVEUPLOADEDPATH.'/avatars/'.$javatar:KUNENA_LIVEUPLOADEDPATH.'/avatars/s_'.$javatar) .'" alt="" />'); } } else { echo CKunenaLink::GetProfileLink($fbConfig, $last_reply[$leaf->id]->userid, '<img class="fb_list_avatar" src="'.KUNENA_LIVEUPLOADEDPATH.'/avatars/s_nophoto.jpg" alt="" />'); } } }?> </span> <?php } ?> <!-- /Avatar -->

to
Code:
<!-- Avatar --> <?php // (JJ) AVATAR if ($fbConfig->avataroncat > 0) { ?> <span class="topic_latest_post_avatar"> <?php if ($leaf->userid) { if ($fbConfig->avatar_src == "jomsocial") { // Get CUser object $user =& CFactory::getUser($last_reply[$leaf->id]->userid); $useravatar = '<img class="fb_list_avatar" src="' . $user->getThumbAvatar() . '" alt=" " />'; echo CKunenaLink::GetProfileLink($fbConfig, $last_reply[$leaf->id]->userid, $useravatar); } else { $javatar = $last_reply[$leaf->id]->avatar; if ($javatar!='') { if ($fbConfig->avatar_src == "cb") { echo CKunenaLink::GetProfileLink($fbConfig, $last_reply[$leaf->id]->userid, '<img class="fb_list_avatar" src="images/comprofiler/'.$javatar.'" alt="" />'); } else { echo CKunenaLink::GetProfileLink($fbConfig, $last_reply[$leaf->id]->userid, '<img class="fb_list_avatar" src="'.(!file_exists(KUNENA_ABSUPLOADEDPATH . '/avatars/s_' . $javatar)?KUNENA_LIVEUPLOADEDPATH.'/avatars/'.$javatar:KUNENA_LIVEUPLOADEDPATH.'/avatars/s_'.$javatar) .'" alt="" />'); } } else { echo CKunenaLink::GetProfileLink($fbConfig, $last_reply[$leaf->id]->userid, '<img class="fb_list_avatar" src="'.KUNENA_LIVEUPLOADEDPATH.'/avatars/s_nophoto.jpg" alt="" />'); } } } else { echo CKunenaLink::GetProfileLink($fbConfig, $last_reply[$leaf->id]->userid, '<img class="fb_list_avatar" src="'.KUNENA_LIVEUPLOADEDPATH.'/avatars/nophoto.jpg" alt="" />'); } ?> </span> <?php } ?> <!-- /Avatar -->

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

More
14 years 11 months ago - 14 years 11 months ago #7 by stickman1984
Replied by stickman1984 on topic Re:Guest avatar
Hi, does anybody have a fix for this issue yet? This forum doesn't have this issue!

I have tried Hoefti's code (above), but it results in all avatars looking the same, i.e. the avatars my users upload are not shown, and instead user and guest avatars are all the same.
Last edit: 14 years 11 months ago by stickman1984.

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

Time to create page: 0.557 seconds