The XF addon part; which creates the template and style properties (please oh please replace the contents, it is an unusable colour).
The BBcode Manger XML bits.
The permission selection bits occur under "Parser permissions" "Editor button" under /admin.php?bbm-bbcodes when you edit a bbcode. You'll need to fix them up, as the direct mapping to user group ids will be nonsensical for your install.
The attached zip has the two xml bits for an example.