this installs the Anonym.to redirect on any live links in the forums on ipb 2.1.x 1. Open sources/classes/bbcode/class_bbcode.php and find: [CODE] $txt = preg_replace( "#(.+?)#" , "\[url=\\1\\2\]\\3\[/url\]" , $txt ); [/CODE] Add above: [CODE] // [SnF] Referral links anonymizer 1.0.5 - anonym.to // $txt = preg_replace( "#(.+?)#e" , "\$this->unconvert_rla(\"\\2\\3\")" , $txt ); [/CODE] Now find: [CODE] /*-------------------------------------------------------------------------*/ // OVERWRITE DEFAULT: convert_emoticon: /*-------------------------------------------------------------------------*/ [/CODE] Add above: [CODE] // [SnF] Referral links anonymizer 1.0.5 - anonym.to // function unconvert_rla($rla2="") { $rla = explode("",$rla2); $rla[0] = str_replace("%23","#",$rla[0]); return "{$rla[1]}"; } [/CODE] Save and close that file. 2. Open sources/classes/bbcode/class_bbcode_core.php and find: [CODE] return $url['st'] . "".$show."" . $url['end']; [/CODE] Replace with: [CODE] // [SnF] Referral links anonymizer 1.0.5 - anonym.to // if (ereg($this->ipsclass->vars['board_url'],$url['html'])) { return $url['st'] . "".$show."" . $url['end']; } else { return $url['st'] . "".$show."" . $url['end']; } [/CODE] Save and close that file. Now upload the two files to your server and it's done