Kunena 7.0.2 Released

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

Solved long file Names

More
10 years 5 months ago #169119 by omri
xillibit, thank you.

Can you give me a clue where can I find this part of the code that handles the change of the filename?

I have a problem that utf8 characters are not shown in the link so i get no links at all if all the filename is in Hebrew.

Thanks,
Omri

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

More
10 years 5 months ago #169129 by omri
So I decided to disable the shorten file names and it's also solved the problem I had with the missing characters in Hebrew.

in libraries/kunena/attachment/attachment.php

line 466:

replace: $output=substr($filename,0,$front).$filler.substr($filename,$len-$back,$back);
with: $output=$filename;

Omri
The following user(s) said Thank You: sozzled

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

More
10 years 4 months ago #169872 by sozzled
This issue has not been included in GitHub as far as I can tell. If it has been listed as something to be looked at, what is the GitHub reference, please.

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

More
More
10 years 3 months ago #171253 by mw911
Replied by mw911 on topic long file Names
As a brand new user of this forum and of the latest version (4.0.7), I would like to also see this problem solved. Not being able to see the whole file name of the attachments is a big problem. We would like to be able to upload documents into the forum so users can refer to them but the users will not easily be able to tell what file they should click on without its whole name being there.

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

More
9 years 11 months ago #174472 by sozzled
Replied by sozzled on topic long file Names
As I wrote earlier in this topic,

sozzled wrote:

The problem has never occurred before in earlier versions of Kunena. I don't like the way that Kunena now truncates attachment filenames two the last three characters plus the filename extension. :(

In my opinion, this change is a design defect — no question about it.


This defect was introduced around the time of K 4.0.3 (I think) and it does not look like it will be fixed in K 4.0. See GitHub reference #3844 . The developers appear to have decided that the ability to have these long file names will be a [configurable] "feature" of K 5.0.

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

Time to create page: 0.288 seconds