/*+--------------------------------------------------------------------------| Anonymous Referral Links| ========================================| Anonymous Referral Links for IPB 2.2.x by 614uc0+--------------------------------------------------------------------------| > About this Mod| > Last Updated: 27th January 2007+--------------------------------------------------------------------------|| This modification includes http://anonym.to? in all links in its forum.|| Before:| http://www.example.xxx| Later:| http://anonym.to?http://www.example.xxx|| You can substitute the http://anonym.to? for any another site of its preference.| $anonym = "http://anonym.to/?";|| The "http://anonym.to/?" are not added in links of its site.|| If you not to want that links is added "http://anonym.to/?" for others, you can specify the URL of site using one IF:| Find:| $url['html'] = str_replace($anonym, "", $url['html']);| Add After:| if (substr($url['html'], 0, 26) == "http://www.anothersite.xxx"){| $anonym = "";| }|+--------------------------------------------------------------------------| Files to edit:| /sources/classes/bbcode/class_bbcode_core.php+--------------------------------------------------------------------------| History:|| 1.0.1 - Change substr for vars['board_url'] (tks Silencing).|| 1.0.0 - Initial release+------------------------------------------------------------------------*/|| > Installation Instructions| > Last Updated: 27th January 2007|+--------------------------------------------------------------------------Edit file: sources/classes/bbcode/class_bbcode_core.phpFind: $show = $uri_type.'://'.substr( $stripped , 0, 35 ).'...'.substr( $stripped , -15 ); } return ( isset($url['st']) ? $url['st'] : '' ) . "<a href=\"".$url['html']."\" target=\"_blank\">".$show."</a>" . $url['end'];Replace With: $show = $uri_type.'://'.substr( $stripped , 0, 35 ).'...'.substr( $stripped , -15 ); } $anonym = "http://anonym.to/?"; $url['html'] = str_replace($anonym, "", $url['html']); if (ereg($this->ipsclass->vars['board_url'], $url['html'])){ $anonym = ""; } return ( isset($url['st']) ? $url['st'] : '' ) . "<a href=\"".$anonym.$url['html']."\" target=\"_blank\">".$show."</a>" . $url['end'];Save and upload class_bbcode_core.php