HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

ExtensibleBBCode 1.0.1

This is basically a straight copy of Vanilla's default BBCode capabilities, found in /library/core/class.format.php, but in plugin form, so now you can edit to your heart's content without having to worry about maintaining a forked core.

My forum users really like BBCode, but Vanilla really only has two options: either Vanilla's default BBCode implementation (pretty good), or NBBC (which I personally hate).

So this is a middle-ground for anyone who can deal with writing a bit of PHP. It lifts the default BBCode implementation straight from Vanilla's core formatting class, and exposes it via a plugin. Additionally it provides a method where you can add your custom BBCode markup parsing rules.

I've added a single custom rule to this version, which is support for ordered lists [list=1], which Vanilla lacks by default for some reason.

By using this plugin, you can extend Vanilla's pretty good default implementation of BBCode without having to modify core files. This is great for me, because I can git merge core updates more easily if I don't have to touch the core ever.


  • 1.0.1: Fixed an issue where the plugin didn't work with vanilla 2.3


No questions yet.