Kunena 7.0.4 Released

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

Before posting new topics in this category K 1.5.x Support: Please read this first.

Question Small avatar filenames are missing extension in some views

More
15 years 3 months ago - 15 years 3 months ago #81104 by isherwood
Hello. I've encountered a situation where the template (default_ex) renders the HTML for the avatars on index pages without the filename extension. I.e., a path might be /image/fbfiles/avatars/66 rather than /image/fbfiles/avatars/66.jpg. I've discovered that if I insert the extension using Firebug, or if I add '.jpg' to the code below, the images appear.

Here's what I believe to be the relevant code from flat.php:
Code:
else { $javatar = (int)$last_reply[$leaf->id]->avatar; if ($javatar!='') { echo CKunenaLink::GetProfileLink($fbConfig, $last_reply[$leaf->id]->userid, '<img class="fb_list_avatar" src="'.(!file_exists(KUNENA_PATH_UPLOADED .DS. '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="" />'); }

Thanks in advance.
Last edit: 15 years 3 months ago by isherwood.

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

More
15 years 3 months ago #82067 by spyr05
Hello i am getting the same error File does not exist: html/media/kunena/attachments/legacy/avatars/66, referer: index.php?option=com_kunena&Itemid=175&func=showcat&catid=4 can anyone help with this?

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

More
15 years 2 months ago #84000 by isherwood

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

More
15 years 2 months ago #84011 by sozzled
What is the question and how would you like the community the give you support ?

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

More
15 years 2 months ago - 15 years 2 months ago #84014 by isherwood
Are you serious? Didn't I make that clear in the first post? If not, the question is this: Why is the code putting out file names with no extension, and how do I correct this?

Thank you.
Last edit: 15 years 2 months ago by isherwood.

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

More
15 years 2 months ago #84016 by sozzled
I'm sorry, I'm trying to help you and, yes, I was being very serious.

What I would like to know is what is wrong with the unmodified source code.

isherwood wrote:

I've encountered a situation where the template (default_ex) renders the HTML for the avatars on index pages without the filename extension. I.e., a path might be /image/fbfiles/avatars/66 rather than /image/fbfiles/avatars/66.jpg.

Under what circumstances does this occur? What version of K 1.5.x are we discussing? Are we discussing K 1.5.14, for example?

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

Time to create page: 0.300 seconds