Requested here, this BB Code offers a four different ways to display information to your users: Warning, Success, Information, and Error.
- Compatible XF Versions:
- Visible Branding:
There are four separate BB Codes; you add titles via (optional) options, like so:
The options can be whatever you choose. If you would like, you can also change the BB Code tag to be more friendly to your board's language.Code:[warning="Warning"]Your warning text here.[/warning] [success="Success"]Your success text here.[/success] [information="Information"]Your information text here.[/information] [error="Error"]Your error text here.[/error]
All the styling is found within sos_bbcodes.css, so you can modify it in any way you would like (or just add your edits to extra.css).
By default, these BB Codes utilize FontAwesome for their icons. You will therefore need to set up FontAwesome on your site for them to correctly display. If you do not wish to use FontAwesome, I have included PNG equivalents for the icons. You can toggle between the two options in Style Properties > BB Code Elements > Settings > Use images for SOS BB Codes.
- Ensure you are running XenForo 1.3+ and that you have set up FontAwesome.
- Download SOS BB Codes.zip and extract the included xml file.
- Install the xml file as an add-on, not as a BB Code.
Unmaintained SOS BB Codes 2.1.0
BB Code for warning, success, information, and error boxes.