i know its a big bump but i wanted to point out to people, if you use spaces in your replacement words it shouldnt break the links
example
PHP Code:
$word = array(
' google ',
'yahoo'
);
$link = array(
' <a href="http://google.com">google</a> ',
'<a href="http://yahoo.com">yahoo</a>'
);
$this->post['message'] = str_replace($word, $link, $this->post['message']);
notice in this example google links should be fine, but the yahoo ones probally will still break since they have no spaces
but be sure to include spaces in your replacement also, or it will end up like
let check out
GOOGLEits cool
im not sure if you would use for the space or just use a normal space, i havent tested