×
Kunena 5.2 Beta 1 Released (24 Sep 2020)

The Kunena team is thrilled to announce the first public beta release of Kunena 5.2, a native Joomla extension for Joomla 3.9. This is a development release and should be only be used for testing; this version is not recommended for live websites at this stage.

The purpose of this release is to encourage testing by downloading, installing and identifying any problems or shortcomings that people may discover. K 5.2.0 B1 is stable and we are aware that people will discover defects. We encourage you to use the forum to report defects, as soon as they are discovered, so that the development team can work through the problems before the release of K 5.1 as a stable product. Reporting defects does not mean that the problems can or will be fixed. The Kunena team is looking forward to hearing your feedback on how well we have achieved our design goals.

Question long file Names

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

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

More
5 years 3 weeks 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
4 years 11 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
4 years 11 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
4 years 10 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
  • Not Allowed: to create new topic.
  • Not Allowed: to reply.
  • Not Allowed: to edit your message.
Time to create page: 1.217 seconds