BBCode Parser

Previously (0.9.22 and early) was included in the standard Cotonti package

Customizable support for BBCodes and smilies parsing. Adds BBCode parser support to the contents.

Authors: Cotonti Team



BBCode ("Bulletin Board Code") is a lightweight markup language used to format messages in many Internet forum software. It was first introduced in 1998. The available "tags" of BBCode are usually indicated by square brackets ([ and ]) surrounding a keyword, and are parsed before being translated into HTML


#1. Installation

  • Download the plugin and extract "bbcode" folder into your Cotonti plugins folder.
  • Install the plugin in Administration panel
  • Set default markup parser in site settings: https://domaint.tld/admin.php?m=config&n=edit&o=core&p=main or for pages module: https://domaint.tld/admin.php?m=config&n=edit&o=module&p=page
  • Optionally install the MarkItUp! editor with bbcode support


#2. BBCodes examples

BBCode Example in HTML/CSS Output
[b]bolded text[/b] <strong>bolded text</strong> bolded text
[i]italicized text[/i] <em>italicized text</em> italicized text
[u]underlined text[/u] <span style="text-decoration: underline;">underlined text</span> underlined text
[s]strikethrough text[/s] <span style="text-decoration: line-through;">strikethrough text</span> strikethrough text
[center]center align[/center] <div style="text-align:center">center align</div>  
[right]right align[/right] <div style="text-align:right">right align</div>  
[justify]justify align[/justify] <div style="text-align:justify">justify align</div>  
[url=]English Wikipedia[/url] <a href="">English Wikipedia</a> English Wikipedia
[img][/img] <img src="" />
[spoiler]Text behind the spoiler[/spoiler]    
[hide]Text for authorized users[/hide]    

and much more...

All available bbcodes you can find in the plugin admin panel https://domaint.tld/admin.php?m=other&p=bbcode. You can also add your own ones.


No comments yet
Only registered users can post new comments