Kunena 6.2.1 Released with module latest 6.0.4 and module kunena stats 6.0.4

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

1 month 3 days ago #21 by Gindi
So that I don't get bored, I did a bit of research.
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.


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

1 month 2 days ago #22 by rich
If I remember correctly, we already had this with other symbols, so that they did not work with the relative paths (without prefixed folder names) if the installation was in a subfolder.
But this could be corrected, so I think there is a solution for smilies as well.
The following user(s) said Thank You: Gindi

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

4 weeks 1 day ago - 4 weeks 1 day ago #23 by Gindi

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:

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.

Last edit: 4 weeks 1 day ago by Gindi.

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

Time to create page: 1.259 seconds