Hola,
En lib/kunena.parser.php cambia
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)."' rel=\"nofollow\" target=\"_blank\">"; $tne = '</a>';
return TAGPARSER_RET_REPLACED;
}
break;
Por
case 'url':
$path = "/joni-search";
$task->autolink_disable--;
if(isset($tag->options['default'])) {
$tempstr = $tag->options['default'];
if(substr($tempstr, 0, 4)=='www.') {
$tempstr = 'http://'.$tempstr;
}
if (file_exists($_SERVER['DOCUMENT_ROOT'].str_replace("/", DS, $path).DS."index.php") && strpos($tempstr, $_SERVER['SERVER_NAME']) === false) {
$tns = "<a target='_blank' href='http://".$_SERVER['HTTP_HOST'].$path."/?url=".urlencode(str_replace("&","&",$tempstr))."'>";
}
else {
$tns = "<a target='_blank' href='".$tempstr."'>";
}
$tne = '</a>';
return TAGPARSER_RET_REPLACED;
}
break;
Haré un plugin para que no se tenga que cambiar manualmente
Saludos!