- Posts: 732
- Thank you received: 117
Kunena 7.0.5 & Kunena 6.4.11 – Security Updates Released
The Kunena team has announce the arrival of Kunena 7.0.5 [K 7.0.5] in stable which is now available for download as a native Joomla extension for J! 5.4.x/6.0.x. This version addresses most of the issues that were discovered in K 6.2 / K 6.3 / K 6.4 and issues discovered during the last development stages of K 7.0.
The Kunena team is also pleased to announce the eleventh version of Kunena 6.4, a native Joomla extension for Joomla! 5.0, 5.1, 5.2, 5.3, 5.4 and 6.0.
Question Emoticons in posts are not displayed
Please Log in or Create an account to join the conversation.
gindi
Please Log in or Create an account to join the conversation.
I think I found that Kunena loads the emoticons via the setting in "/components/com_kunena/template/aurelia/layouts/bbcode/image/default.php" and displays the path as img.
If Kunena would load the emoticons via the setting in "/components/com_kunena/template/system/layouts/bbcode/attachment/image.php", the codes for displaying the emoticons would have to be used.
Since I am a layman in programming, I don't know which screw I would have to turn to test this.
Gindi
Please Log in or Create an account to join the conversation.
But this could be corrected, so I think there is a solution for smilies as well.
Important! Always create a backup before you make any changes to your website!
Please Log in or Create an account to join the conversation.
The error exists not only from root to subfolder but also from subfolder to subfolder.Now I see the cause. If you copy the test page back to the live page, the smilies work again. It seems that the live page is installed on root, and locally in a subfolder. This changes the path from:
/media/kunena/emoticons/00003127.gif
to
/BFB434test/media/kunena/emoticons/00003127.gif
I have created two test versions, Test1 and Test2.
In Test1 I installed a backup of the livesite and created a post in which I installed a row with seven emoticons from the editor menu bar.
Below that I created the same emoticons with smileyCode.
Then I created a backup of Test1 and installed it in Test2.
I opened the newly created post from Test1 in Test2 and to my surprise both rows of test emoticons were displayed.
Then I right-clicked/explored (Q) the emoticons and found that the top row displayed the address Test1 as the URL, while the emoticons in the bottom row displayed the address Test2 as the URL.
After I deleted the test version Test 1, these emoticons of the upper row were only displayed as image-symbol.
The emoticons of row 2 with smileyCode were still displayed.
I also tested the same with Joomla 3.10.12, with the same result.
Addition:
In the file /libraries/kunena/External/Nbbc/src/BBCode.php everything about smileys is explained. From row 673 onwards, the "Smiley Management" begins, the explanations of which could certainly help the Kunena team to solve the "SmileyCode" problem.
The explanations from the beginning on class BBCode, instance variables and public functions are also very helpful.
Gindi
Please Log in or Create an account to join the conversation.