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

Solved long file Names

More
8 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
8 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
8 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
8 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
8 years 6 months ago - 8 years 6 months ago #5 by sozzled
Is this issue being addressed by the development team? :dry:
Last edit: 8 years 6 months ago by sozzled. Reason: Change subject

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

More
8 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
8 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
8 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
8 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: 3.919 seconds