Kunena 6.3.5 released

The Kunena team has announce the arrival of Kunena 6.3.5 [K 6.3.5] in stable which is now available for download as a native Joomla extension for J! 4.4.x/5.0.x/5.1.x. This version addresses most of the issues that were discovered in K 6.2 / K 6.3 and issues discovered during the last development stages of K 6.3
Note: Please go to the Kunena Dashboard after an upgrade so that the Kunena database tables are also updated.

Please note: The Kunena project team takes NO responsibility for maintaining nor supporting anything in this category.

Idea Rss Feed Validator

  • Trony
  • Trony's Avatar Topic Author
  • Offline
  • Junior Member
  • Music and Electronic Devices Designer.
More
8 years 5 months ago #1 by Trony
Rss Feed Validator was created by Trony
I have submitted Rss Feed of Kunena on this www.feedvalidator.org/ and it has found this error:

style attribute contains potentially dangerous content: max-height


So I modded:

1) com_kunena ► template ► system ► layouts ► attachment ► item ► image.php
Code:
$doctype = $document->getType(); // Only render for HTML output if ($doctype == 'html') { $attributesLink = $config->lightbox ? ' rel="lightbox[imagelink' . $attachment->mesid . ']"' : ''; $attributesImg = ' style="max-height:' . (int) $config->imageheight . 'px;"'; }

2) com_kunena ► template ► system ► layouts ► bbcode ► image ► default.php
Code:
$doctype = $document->getType(); // Only render for HTML output if ($doctype == 'html') { $attributesLink = $config->lightbox ? ' rel="lightbox[gallery]"' : ''; $attributesImg = ' style="max-height: '. (int) $config->imageheight . 'px;"'; $attributesImg .= $size ? ' width="' . (int) $size . '"' : ''; }

Now Rss Feed is Valid.
(Tool says "Self reference doesn't match document location" but I don't know how to Fix it)

What do you think ?!?

Music and Electronic Devices Designer. Drum and Bass Addict. Creative Mind as Lifestyle. Cat in past Life. Soccer, Ice Hockey and Snowboard Lover.

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

Time to create page: 0.423 seconds