Kunena 6.2.5 & module Kunena Latest 6.0.7 released

The Kunena team has announce the arrival of Kunena 6.2.5 [K 6.2.5] 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 / K 6.2 and issues discovered during the last development stages of K 6.2

Idea W3C Validation Kunena 4.0.10

  • Trony
  • Trony's Avatar Topic Author
  • Offline
  • Junior Member
  • Music and Electronic Devices Designer.
More
8 years 3 days ago - 8 years 3 days ago #1 by Trony
For W3C Validation,
I modded these files:

1) com_kunena -> lib -> kunena.link.class.php

and

2) com_kunena -> views -> common -> view.html.php

I removed All 'follow' in $rel


3) libraries -> kunena -> view.php

I changed this:
Code:
return JHtml::_('kunenaforum.link', $category->getUri(), $content, $title, $class, 'follow');

With this:
Code:
return JHtml::_('kunenaforum.link', $category->getUri(), $content, $title, $class, 'category');

and
Code:
if (!$content) { $content = KunenaHtmlParser::parseText($topic->subject); } $rel = 'follow';

with this:
Code:
if (!$content) { $content = KunenaHtmlParser::parseText($topic->subject); } $rel = 'bookmark';

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.

Last edit: 8 years 3 days ago by Trony.
The following user(s) said Thank You: ChaosHead

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

More
8 years 2 days ago #2 by 810
Replied by 810 on topic W3C Validation Kunena 4.0.10
thats wrong, rel have 2 options: 1) nofollow or 2) follow
The following user(s) said Thank You: Trony

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

  • Trony
  • Trony's Avatar Topic Author
  • Offline
  • Junior Member
  • Music and Electronic Devices Designer.
More
8 years 2 days ago - 8 years 2 days ago #3 by Trony
Replied by Trony on topic W3C Validation Kunena 4.0.10
I Agree with you but W3C suggestes rel=bookmark and remove follow. (nofollow and category is ok).

Yandex Validator recognizes the rel bookmark in rdfanode.

I don't know. It's strange but...

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

Last edit: 8 years 2 days ago by Trony.

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

More
7 years 11 months ago - 7 years 11 months ago #4 by ice99
Replied by ice99 on topic W3C Validation Kunena 4.0.10

810 wrote: thats wrong, rel have 2 options: 1) nofollow or 2) follow


As far as i know - "follow" was removed in HTML5.
Here is available links
www.w3schools.com/tags/att_a_rel.asp
Some other rel-attributes exist ("bookmark" i.e.)

Trony variant seems acceptable, (anyway validator.w3.org/ show no errors).

Can you fix it in future versions? Anyway, please:
1. Tell why you made a decision - include rel="follow"?
2. What do you think about Trony variant?
3. How totally remove rel="follow" from template?

Also look at your sourcecode
<a class="ktoggler close" title="Collapse" rel="kprofilebox"></a>
And few others break validity of a code.
Can you (or me myself) remove it without affecting functionality of forum?

Also lightbox attachments generate rel="lightbox[thumb23]" - not valid too.
According html5 specification we must change "rel" attribute to "data-rel", which is perfectly valid. I tried, but no luck.
Last edit: 7 years 11 months ago by ice99.

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

Time to create page: 0.446 seconds