Kunena 7.1.1 & Kunena 6.4.17 – Security Updates Released

The Kunena team has announce the arrival of Kunena 7.1.1 [K 7.1.1] in stable which is now available for download as a native Joomla extension for J! 5.4.x/6.0.x./6.1.x./6.2.x This version addresses most of the issues that were discovered in K 6.2 / K 6.3 / K 6.4 / K7.0 and issues discovered during the last development stages of K 7.1
Just a reminder: K6.4.17 receives only securities fixes until end of 2026, so it's advised for users to upgrade to K7.1.

Question File Attachment size

More
17 years 6 months ago #15881 by sublevel4
Is there a way to display the attached file size in mb or kb?

right now mine says:
File Attachment:
File Name: d_10_clip_512kb.mp4
File Size: 4362218

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

More
17 years 6 months ago - 17 years 6 months ago #15906 by xillibit
Replied by xillibit on topic Re:File Attachment size
Hello,

I have find something, in the file /components/com_kunena/lib/kunena.file.upload.php
you replace the variable $fileSize at the line 90 by ceil($fileSize/1024), this display in Kilobytes with a round up, but this tipp work only for the new posts with attachements, for the posts which exists already, I don't find anything.

I don't provide support by PM, because this can be useful for someone else.
Last edit: 17 years 6 months ago by xillibit.

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

More
17 years 6 months ago #15917 by sublevel4
Replied by sublevel4 on topic Re:File Attachment size
i ended up with:
Code:
round($fileSize/1048576,2)

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

Time to create page: 0.101 seconds