Parker a couple more comments:
1) "$page = $thread[preview];" is redundent. place title="$thread[preview]" in your template.
2) you didn't strip out the bbcodes first, before doing strip_tags.
this:
Code:
$page = iif(strlen($message)>500,substr($message,0,500).'...',$message);
$page=strip_tags($page);
Should be:
Code:
$page = iif(strlen($message)>500,substr($message,0,500).'...',$message);
[high]$page=bbcodepase($page);[/high]
$page=strip_tags($page);