- Posts: 492
- Thank you received: 72
The Kunena team has announce the arrival of Kunena 6.2.1 [K 6.2.1] 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.0 and issues discovered during the last development stages of K 6.1
Question Emoticons in posts are not displayed
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.
But this could be corrected, so I think there is a solution for smilies as well.
The error exists not only from root to subfolder but also from subfolder to subfolder.
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.
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.