something missing in the code of parser.php.
missing code for [*].
$pattern = array('#\[b\](.*?)\[/b\]#s', '#\[i\](.*?)\[/i\]#s', '#\[u\](.*?)\[/u\]#s', '#\[url\](.*?)\[/url\]#e', '#\[url=(.*?)\](.*?)\[/url\]#e', '#\[list\](.*?)\[/list\]#si', '#\[\*\]#si', '#\[size=(.*?)\](.*?)\[/size\]#si', '#\[font=(.*?)\](.*?)\[/font\]#si', '#\[align=(.*?)\](.*?)\[/align\]#si', '#\[email\](.*?)\[/email\]#', '#\[email=(.*?)\](.*?)\[/email\]#', '#\[color=([a-zA-Z]*|\#?[0-9a-fA-F]{6})](.*?)\[/color\]#s', '#\[----\]#s' ); $replace = array('<strong>$1</strong>', '<em>$1</em>', '<u>$1</u>', 'truncate_url(\'$1\')', 'truncate_url(\'$1\', \'$2\')', '<ul>$1</ul>', '<li>', '<font size=\'$1\'>$2</font>', '<font face=\'$1\'>$2</font>', '<p align=\'$1\'>$2</p>', '<a href="mailto:$1">$1</a>', '<a href="mailto:$1">$2</a>', '<span style="color: $1">$2</span>', '<hr>' );
[----] means horizental line. I added for me. Great Job. thanks.
Here's a PHP programming tip to make the management of the above _much_ nicer:
$patternreplace = array(
'#\[b\](.*?)\[/b\]#s' => '<strong>$1</strong>',
'#\[i\](.*?)\[/i\]#s' => '<em>$1</em>',
'#\[u\](.*?)\[/u\]#s' => '<u>$1</u>',
// etc
);
$pattern = array_keys($patternreplace);
$replace = array_values($patternreplace);
Hope this helps.
Paul.