Freaky,
What's your end goal? If the goal is to display the BB codes so the users can then enter them right into a post that they're creating then this hack over on
vb.org may be a good solution:
http://www.vbulletin.org/forum/showthread.php?t=73040