×
Kunena 5.1.15 Released (27 Oct 2019)

The Kunena team has announce the arrival of Kunena 5.1.15 [K 5.1.15] which is now available for download as a native Joomla extension for J! 3.9.x. This version addresses most of the issues that were discovered in K 5.1 and issues discovered during the development stages of K 5.1.

Question Kunena Video Post Breaks Jomsocial Stream Layout

More
7 years 7 months ago - 7 years 7 months ago #1 by BadCluster
Hello! I'm sorry to be here again.

- When a user posts a video in the Kunena forums, the video it show in the activity stream. Even worse, the code breaks the template.

Removing the post from the activitystream restores the template layout.

- Large photo's hosted outside the site don't get rescaled in the activity stream.

I see another user have the same problem, these are screenshot problems.

KUNENA TOPIC:





FRONTEPAGE JOMSOCIAL STREAM with bug:





FRONTPAGE JOMSOCIAL STREAM without bug:





If you look the two screenshots, you'd see the difference that Stream with the bug it's like all post is inside the first one!
It's seems it's missing a close </div> code in the kunena plugin!

If I turned the "Display activity contents on page load" to "no" in JomSocial Configuration it corrected the template display issue. But I am now not happy with the feed display.

I will leave it set to "off" until a fix is released for this mysterious bug.

I'm using Joomla 2.5.6, Kunena 1.7.2 and Jomsocial 2.6.2
Last edit: 7 years 7 months ago by BadCluster.

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

More
7 years 7 months ago - 7 years 7 months ago #2 by BadCluster
I think where is the problem.

In the file activity.php:

/administrator/components/com_kunena/libraries/integration/jomsocial/


at line 88:

$content = KunenaParser::parseText($content, null, intval($this->_config->activity_limit));


If I comment this line I don't see the video of youtube, but I see the Link to the Video.
And All is diplayed corretly BUT...

if I write a long topic, now in the activity stream I see ALL Topic.. the "activity limit" don't work because it's commented...

any solution?

File Attachment:

File Name: activity.zip
File Size:2 KB
Attachments:
Last edit: 7 years 7 months ago by BadCluster.

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

More
7 years 7 months ago #3 by gepponline
Same thing here!

It seems that the parser truncate the content without closing open tags and so errors occurs.
Is there a way to automatically close all opened tags and not truncate them?

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

  • Not Allowed: to create new topic.
  • Not Allowed: to reply.
  • Not Allowed: to edit your message.
Time to create page: 0.056 seconds