Many BB code tags are included by default in vBulletin. Some of these include [b] for bold, [i] for italics, and [url] for inserting hyperlinks. Their output is not directly modifiable. However, you can disable specific tags in the vBulletin Options section.
BB codes may take one of two formats: with an option or without. An example BB code with an option is [url=https://www.vbulletin.com]vBulletin[/url]; [url]https://www.vbulletin.com[/url] is an example of a BB code that does not have an option. Essentially, an option allows you to specify two values per BB code reference. It is not possible to have more than one option in a BB code.
Things to keep in mind when creating BB codes:
- BB codes must not be empty. Empty tag usage, such as [i][/i], will be removed before parsing and there for nothing will be displayed in its place, even if something normally would.
- BB codes must have a closing tag. [i] will not be parsed alone; it needs the [/i] to be parsed.
- If you wish to have a tag that accepts both an option and non-option version, such as [url], you must create both. Simply create one tag with Use {option} set to yes and the other set to no.