w funkcji preparse_bbcode rozszerzasz tablice zamieniające wielkie litery na małe:
// Change all simple BBCodes to lower case
$a = array('[b]', '[i]', '[u]', '[S]', '[TT]', '[/b]', '[/i]', '[/u]', '[/S]', '[/TT]');
$b = array('[b]', '[i]', '[u]', '[s]', '[tt]', '[/b]', '[/i]', '[/u]', '[/s]', '[/tt]');
$text = str_replace($a, $b, $text);
następnie w funkcji do_bbcode zamieniającej bbcode na html, dodajesz odpowiednie elementy tablicy:
$pattern = array('#\[b\](.*?)\[/b\]#s',
'#\[tt\](.*?)\[/tt\]#s',
'#\[i\](.*?)\[/i\]#s',
'#\[u\](.*?)\[/u\]#s',
'#\[s\](.*?)\[/s\]#s',
'#\[url\]([^\[]*?)\[/url\]#e',
'#\[url=([^\[]*?)\](.*?)\[/url\]#e',
'#\[email\]([^\[]*?)\[/email\]#',
'#\[email=([^\[]*?)\](.*?)\[/email\]#',
'#\[color=([a-zA-Z]*|\#?[0-9a-fA-F]{6})](.*?)\[/color\]#s');
$replace = array('<strong>$1</strong>',
'<tt>$1</tt>',
'<em>$1</em>',
'<span class="bbu">$1</span>',
'<span style="text-decoration: line-through;">$1</span>',
'handle_url_tag(\'$1\')',
'handle_url_tag(\'$1\', \'$2\')',
'<a href="mailto:$1">$1</a>',
'<a href="mailto:$1">$2</a>',
'<span style="color: $1">$2</span>');
przynajmniej w 1.2.x tak to wyglądało