The following builtin bbcodes are special: code, html, php, quote
They all have builtin templates, and when used their display can easily be tweaked to appear or not appear to non-logged in members by modifying those builtin templates.
I'd like to do the same for a custom bbcode. Creating the bbcode and templates necessary is straightforward, but how do the builtin bbcode templates hook into post content?
For example, when the [html][/html] is used within a members post, the bbcode_html template is inserted into the post. How do I make that happen for custom bbcode I create?
They all have builtin templates, and when used their display can easily be tweaked to appear or not appear to non-logged in members by modifying those builtin templates.
I'd like to do the same for a custom bbcode. Creating the bbcode and templates necessary is straightforward, but how do the builtin bbcode templates hook into post content?
For example, when the [html][/html] is used within a members post, the bbcode_html template is inserted into the post. How do I make that happen for custom bbcode I create?
Comment