in the functions_bbcodeparse.php file
replace
PHP Code:
// standard URL hyperlink
return "<a href=\"$rightlink\" target=\"_blank\">$text</a>";
with
PHP Code:
$domains = array(
'www.mysite.com',
'www.secondsite.com'
);
foreach($domains as $domain)
{
if(stristr($rightlink,$domain))
{
// standard URL hyperlink
return "<a href=\"$rightlink\" target=\"_self\">$text</a>";
}
else
{
// standard URL hyperlink
return "<a href=\"$rightlink\" target=\"_blank\">$text</a>";
}
}
i haven't really tested it, but it should work. You can edit the domains array and make it, for example, open pages in the same window based on keywords...