Actually that patch doesn't do what was asked and I have seen a number of people asking for a way to make links within the forum open in the same window but other (external) links open a new window.
I have done this successfully for my forum by making the patch conditional - eg, prefix the existing return statement with this where YOURURL is replaced by the URL prefix you require to match and XX is the length of the string to be matched (including the
http://):
Code:
if ( vbstrlen($rightlink) > XX AND substr($rightlink, 0, XX) == "http://YOURURL")
{ return "<a href=\"$rightlink\">$text</a>";
}else