Kunena move to crowdin for the translations

Like announced in the release nots of the K6.4 RC4 release, Kunena project has moved to crowdin : crowdin.com/project/kunena-forum to manage translations from K6.4 and beyond. The RC4 release is the last version before the stable, so for all translators please update your translations on crowdin.

Transifex is keept for translations from K6.3 and the previous versions of Kunena.

Kunena 6.3.10 Released
The Kunena team has announce the arrival of Kunena 6.3.10[K 6.3.10] in stable which is now available for download as a native Joomla extension for J! 4.4.x/5.0.x/5.1.x/5.2.x. This version addresses most of the issues that were discovered in K 6.2 / K 6.3 and issues discovered during the last development stages of K 6.3
Note: Please go to the Kunena Dashboard after an upgrade so that the Kunena database tables are also updated.

Solved long file Names

More
9 years 7 months ago #1 by karloshull
long file Names was created by karloshull
Hi,

When I am adding a file - the file name isn't showing. its displaying like

...jbv.pdf or ...nff.doc

How can I display the full file name?

Cheers
Karl


Attachments:

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

More
9 years 7 months ago #2 by xillibit
Replied by xillibit on topic long file Names
Hello,

This isn't configurable it's hardcoded in some differents places

I don't provide support by PM, because this can be useful for someone else.

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

More
9 years 7 months ago #3 by sozzled
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.

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

More
9 years 7 months ago #4 by karloshull
Replied by karloshull on topic long file Names

xillibit wrote: Hello,

This isn't configurable it's hardcoded in some differents places


Would it be easy to edit the code?

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

More
9 years 6 months ago - 9 years 6 months ago #5 by sozzled
Is this issue being addressed by the development team? :dry:
Last edit: 9 years 6 months ago by sozzled. Reason: Change subject

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

More
9 years 6 months ago #6 by xillibit
I had forgot this one, i will add to github

I don't provide support by PM, because this can be useful for someone else.
The following user(s) said Thank You: sozzled

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

More
9 years 5 months ago #7 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
9 years 5 months ago #8 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
9 years 4 months ago #9 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
Time to create page: 0.432 seconds