- Posts: 340
- Thank you received: 36
Kunena 6.3.0 released
The Kunena team has announce the arrival of Kunena 6.3.0 [K 6.3.0] in stable which is now available for download as a native Joomla extension for J! 4.4.x/5.0.x/5.1.x. This version addresses most of the issues that were discovered in K 6.2 and issues discovered during the last development stages of K 6.3
Question Duplicate warning when user is not authorised to view attachment
And same for files, a duplicate warning appears in topic when user is not logged in:
Blue Eagle and Crypis.
A search on language constante shows that
/libraries/kunena/bbcode/bbcode.php
/libraries/kunena/attachment/attachment.php
Maybe this helps to track the problem.
To make sure it didn't have anything to do with settings or template, I made a fresh Kunena 4.0.6 install on localhost using Blue Eagle and default Protostar template.
Please Log in or Create an account to join the conversation.
I don't know why the Kunena team has chosen to display multiple messages? If you would ask me, i should say it should be enough if there is only one notification. (Let's say the blue one, but hey that is my and probably a different kind of logic)
The red colored notifications, where generated when there should be a attached image displayed by the BB tags. So in this case you should be looking in the file /libraries/kunena/bbcode/bbcode.php, there is a method/function there called renderAttachment on line 2212, you could replace it with the following:
Basically i just added a condition, you should get the same the same if you replace the return null within this condition:
Please Log in or Create an account to join the conversation.
- Posts: 340
- Thank you received: 36
Please Log in or Create an account to join the conversation.
Why we added it, if you have attacht the images inline, you will see the warning message, that a image is hidden. Now you removed the warning message. So the guests don't know that there is a image in the message.
The issue, is that the image is checked 1 by 1. because it can be also a file attachment. That's why we didn't fixed the duplicated messages.
Please Log in or Create an account to join the conversation.
Yeah, pretty much reverted it. Because if you have forumusers who attach 5 or more images and insert them in the post(straight below each other), it's just looking weird to me(being notified 6 times). So i am assuming that that one notification would be enough for them.
Maybe an idea to create an option in the Kunena back-end where you'll could set to show this notifications?
Please Log in or Create an account to join the conversation.
- Posts: 340
- Thank you received: 36
Please Log in or Create an account to join the conversation.