Based on the PECL extension BBCode http://php.net/manual/en/book.bbcode.php, this plugin adds an escaping method ESC_BBCODE that parses your content and replaces bbcode by html.
You define all the bbcode tags you need in a settings file. Thanks to the PECL extension, the plugin is really light, only one helper and a settings file.