Here's what I did, exactly:
1. Substituted the html code in links.php with "The Part", since it was in German or something.
So, it looked like this:
Code:
<?
foreach ($_GET as $key => $value) {
$site .= $key."=".$value."&";
}
$site = htmlentities( substr($site, 4, -1) );
?>
<HTML>
<HEAD>
<TITLE>Re-directing...</TITLE>
<meta http-equiv="refresh" content="5; URL=<? echo $site; ?>">
</HEAD>
<body>
<br>
<div style="text-align: center;">
<center><font
style="color: rgb(204, 0, 0); font-weight: bold;" size="-1"><span
style="font-family: Arial;">You clicked on a external Link which is forwarding to external Webcontent.<br>
<br>
The area of responsibility of tga.dynu.com does not extend to other Webcontent.<br>
<br>
Therefore we do not take any responsibility
for the following information.
<br>
<br>
You will be redirected to :</span></font><br>
<b><i><? echo $site; ?></i></b></center>
</body>
</HTML>
2. I upload "links.php" to my root folder.
3. Replaced that portion of code with the suggested code in class_bbcode.php so it looked like this:
Code:
$url_info = parse_url($rightlink);
if ($url_info["host"]=="tga.dynu.com"):
return "<a href=\"$rightlink\" target=\"_blank\">$text</a>";
else:
return "<a href=\"http://tga.dynu.com/links.php?url=$rightlink\" target=\"_blank\">$text</a>";
endif;