replace in core.php this function gettbbcode with
CODE///////////////////////////////////parse bbcode
function getbbcode($text, $sid="") { $text=preg_replace("/[b](.?)[/b]/i","\1", $text); $text=preg_replace("/[i](.?)[/i]/i","\1", $text); $text=preg_replace("/[u](.?)[/u]/i","\1", $text); $text=preg_replace("/[big](.?)[/big]/i","\1", $text); $text=preg_replace("/[small](.*?)[/small]/i","\1", $text);
$text=preg_replace("/[red](.?)[/red]/i","\1", $text); $text=preg_replace("/[lime](.?)[/lime]/i","\1", $text); $text=preg_replace("/[green](.?)[/green]/i","\1", $text); $text=preg_replace("/[yellow](.?)[/yellow]/i","\1", $text); $text=preg_replace("/[white](.?)[/white]/i","\1", $text); $text=preg_replace("/[blue](.?)[/blue]/i","\1", $text); $text=preg_replace("/[grey](.?)[/grey]/i","\1", $text); $text=preg_replace("/[silver](.?)[/silver]/i","\1", $text);
$text = preg_replace("/[url=(.?)](.?)[/url]/is","<a href="$1">$2</a>",$text); $text = preg_replace("/[topic=(.?)](.?)[/topic]/is","<a href="index.php?action=viewtpc&tid=$1&sid=$sid">$2</a>",$text); $text = preg_replace("/[club=(.?)](.?)[/club]/is","<a href="index.php?action=gocl&clid=$1&sid=$sid">$2</a>",$text); $text = preg_replace("/[blog=(.?)](.?)[/blog]/is","<a href="index.php?action=viewblog&bid=$1&sid=$sid">$2</a>",$text); //$text = ereg_replace("http://[A-Za-z0-9./=?-_]+","<a href="\"></a>", $text); if(substr_count($text,"[br/]")<=3){ $text = str_replace("[br/]"," ",$text); } $text = str_replace("2wap","2crapforwap",$text); $text = str_replace("2WAP","2crapforwap",$text); $text = str_replace("2wAp","2crapforwap",$text); $text = str_replace("2w4p","2crapforwap",$text); $text = str_replace("2waP","2crapforwap",$text); $text = str_replace("2Wap","2crapforwap",$text); $text = str_replace("hiphop4u","britneyspears",$text); $text = str_replace("HIPHOP4U","britneyspears",$text); $text = str_replace("HiPhOp4U","britneyspears",$text); $text = str_replace("hIpHoP4u","britneyspears",$text); $text = str_replace("Hiphop4U","britneyspears",$text); $text = str_replace("Hiphop4u","britneyspears",$text); $text = str_replace("HipHop4u","britneyspears",$text); $text = str_replace("hh4u","britneyspears",$text); $text = str_replace("HH4U","britneyspears",$text); $text = str_replace("Hh4u","britneyspears",$text); $text = str_replace("hH4U","britneyspears",$text); $text = str_replace("HH4u","britneyspears",$text); $text = str_replace("hh4U","britneyspears",$text); return $text; }
this and write everywhere than eg:text