Kunena 6.4.13 Released

The Kunena team has announce the arrival of Kunena 6.4.13 [6.4.13] in stable which is now available for download as a native Joomla extension for J! 5.4.x/6.0.x./6.1.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 6.0
Hint: This version is primarily intended to facilitate an upgrade if Joomla was first updated to version 6.1 before Kunena was up to dated.

Question Smartphone Emoticons Management

More
2 months 1 week ago #235016 by guidocx84

I’ve looked into the issue of emoticons again and have identified two possible reasons why they aren’t displaying.
One possibility is that Kunena uses the absolute path to display the emoticons.
The second possibility is the character set. The emoticons in Kunena require the utf8mb4 character set to display properly; utf8 is usually not sufficient. They then appear as ?. 

 

We have already checked the character set before in this topic and it's ok. I agree with you about the other possibility: the absolute path. Do you know how can we change this behaviour? Thanks!

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

More
2 weeks 1 day ago - 2 weeks 1 day ago #235117 by guidocx84
Finally I have solved the issue thanks to an override of /components/com_kunena/template/aurelia/layouts/email/subscription/default.php

I have replaced this:
Code:
<p><?php echo $this->message->displayField('message', true, 'subscription'); ?></p>

with this:
Code:
<?php $message = $this->message->displayField('message', true, 'subscription'); $message = preg_replace(     '#(src|href)=["\']/(?!/)([^"\']+)["\']#',     '$1="' . Uri::root() . '$2"',     $message ); ?> <p><?php echo $message; ?></p>

And now when I receive e-mail from Kunena I see the emoticons. Obviously I have prepared an override copying default.php, changing it and uploading it on my /templates/XXX/html/com_kunena/layouts/email/subscription folder.

The issue is what we have thinked here before: emoticons from CKEditor are images and to see these images in our e-mail client the images have to be referred with an absolute link and not a relative one.
Last edit: 2 weeks 1 day ago by guidocx84.

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

Time to create page: 0.282 seconds