Kunena 7.0.4 Released

The Kunena team has announce the arrival of Kunena 7.0.4 [K 7.0.4] 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

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 remove nofollow from links inside posts

More
15 years 10 months ago #50591 by schlogo
Hello all

I d like to remobe the nofollow attribute and the _blank attribute from the links placed inside the the posts of my forum. Would someone know how to get this done? I ve tried to hack around but no success yet

tks for your help

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

More
15 years 10 months ago #50626 by Matias
Easiest way is to edit components/com_kunena/lib/kunena.link.class.php and remove nofollow from the html output in the first two functions.

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

More
15 years 10 months ago #50699 by schlogo
hello, i ve modified 2 fonctions as follow
Code:
class CKunenaLink { // // Basic universal href link // function GetHrefLink($link, $name, $title, $class ='', $anker='', $attr='') { return '<a '.($class ? 'class="'.$class.'" ' : '').'href="'.$link.($anker?('#'.$anker):'').'" title="'.$title.'">'.$name.'</a>'; } // // Basic universal href link // function GetSefHrefLink($link, $name, $title, $class ='', $anker='', $attr='') { return '<a '.($class ? 'class="'.$class.'" ' : '').'href="'.JRoute::_($link).($anker?('#'.$anker):'').'" title="'.$title.'">'.$name.'</a>'; }

but so susccess, links in the posts are still nofollow and open in with _blank

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

More
15 years 10 months ago #51012 by schlogo

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

Time to create page: 0.215 seconds