Kunena 7.0.5 & Kunena 6.4.11 – Security Updates Released

The Kunena team has announce the arrival of Kunena 7.0.5 [K 7.0.5] in stable which is now available for download as a native Joomla extension for J! 5.4.x/6.0.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 7.0.

The Kunena team is also pleased to announce the eleventh version of Kunena 6.4, a native Joomla extension for Joomla! 5.0, 5.1, 5.2, 5.3, 5.4 and 6.0.

Topics that are moved into this category are generally considered to be closed. Users may want to add additional information but these topics should not be resurrected in order to discuss new problems or unrelated matters.

Question rel nofollow

More
16 years 5 months ago #34683 by Matias
Replied by Matias on topic Re:rel nofollow
I quickly checked that we already have all images and links in messages and signature as nofollow.

Unfortunately I've been very busy and I didn't have time to investigate what is still missing. Which links are still nofollow?

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

More
16 years 4 months ago #35345 by fxstein
Replied by fxstein on topic Re:rel nofollow
All links entered in bbcode are always 'nofollow' - wrote that code over a year ago.

That means any post or signature will have nofollow on all links.

We love stars on the Joomla Extension Directory . :-)

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

More
16 years 1 month ago - 16 years 1 month ago #45114 by bitpt
Replied by bitpt on topic Re:rel nofollow
I have a fireboard forum with more then 200,000 topics, it's time to upgrade to the Kunena.

After updating, check and all links have nofollow.

Someone remembered that the links can be internal to the site itself and nofollow are damaging links to relevant content.
My site has over 900,000 urls, many of the links in the forum linking to content on the site, put all with nofollow is harming the site.
also relevant links to related pages are not SPAM, it must therefore have nofollow.

Also wide links can be a problem, why a wide link to kunena, to damage little foruns ?

WRONG WRONG web concept, if admin or moderator want nofollow put it, signatures ok i agree.
If link is internal .. follow, if link is relevant folllow, other away nofollow.

Don't damage sites with wrong concepts.

Thank You
Last edit: 16 years 1 month ago by bitpt.

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

More
16 years 1 month ago - 16 years 1 month ago #45116 by bitpt
Replied by bitpt on topic Re:rel nofollow
This can be done easily.

This hack remove nofollow in message, and admin can put it replacing by [urlb], to change i do this modz in code, file: components/com_kunena/lib/kunena.parser.php

removing nofollow from case url, replace case url:
Code:
case 'url': $task->autolink_disable--; // www. > http://www. if(isset($tag->options['default'])) { $tempstr = $tag->options['default']; if(substr($tempstr, 0, 4)=='www.') { $tempstr = 'http://'.$tempstr; } $tns = "<a href='".kunena_htmlspecialchars($tempstr, ENT_QUOTES)."' target=\"_blank\">"; $tne = '</a>'; return TAGPARSER_RET_REPLACED; } break;

After case url, add:
Code:
case 'urlb': $task->autolink_disable--; // www. > http://www. if(isset($tag->options['default'])) { $tempstr = $tag->options['default']; if(substr($tempstr, 0, 4)=='www.') { $tempstr = 'http://'.$tempstr; } $tns = "<a href='".kunena_htmlspecialchars($tempstr, ENT_QUOTES)."' rel=\"nofollow\" target=\"_blank\">"; $tne = '</a>'; return TAGPARSER_RET_REPLACED; } break;

Find:
Code:
switch(strtolower($tag->name)) { # call html_entity_decode_utf8 if Encode() did not already!!! # in general $between was already Encoded (if not explicitly suppressed!) case 'email': $tempstr = kunena_htmlspecialchars($between, ENT_QUOTES); if(substr($tempstr, 0, 7)=='mailto:') { $between = substr($tempstr, 7); } else { $tempstr = 'mailto:'.$tempstr; } $tag_new = "<a href='".$tempstr."'>".$between.'</a>'; return TAGPARSER_RET_REPLACED; break; case 'url': $tempstr = kunena_htmlspecialchars($between, ENT_QUOTES); if(substr($tempstr, 0, 7)!='http://') { $tempstr = 'http://'.$tempstr; } $tag_new = "<a href='".$tempstr."' target=\"_blank\">".$between.'</a>'; return TAGPARSER_RET_REPLACED; break;

After add new code:
Code:
case 'urlb': $tempstr = kunena_htmlspecialchars($between, ENT_QUOTES); if(substr($tempstr, 0, 7)!='http://') { $tempstr = 'http://'.$tempstr; } $tag_new = "<a href='".$tempstr."' rel=\"nofollow\" target=\"_blank\">".$between.'</a>'; return TAGPARSER_RET_REPLACED; break;

Find:
Code:
case 'email': case 'url':

After add new code:
Code:
case 'urlb':

By default all message link are normal. to change for nofollow, admin or moderator can change to nofollow,
for this EDIT message, replace [ url ] with [urlb] and [/ url ] with [/urlb]

In atachment new kunena.parser.php, to install decompress, send to: components/com_kunena/lib/kunena.parser.php

Backup you old file, avoid mistakes in changes

I hope it can be useful

File Attachment:

File Name: kunena-20100410.zip
File Size:10.39 KB
Last edit: 16 years 1 month ago by bitpt.

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

Time to create page: 0.267 seconds