
Custom BBcodes for phpBB3
THIS FIRST SECTION IS DIRECTLY FROM THE MANUAL FOR phpBB3.Adding a BBCode is very easy. If done right, allowing users to use your new BBCode may be safer than allowing them to use HTML code. To add a BBCode,
click Add a new BBCode to begin. There are four main things to consider when adding a BBCode: how you want your users to use the BBCode, what HTML code the BBcode will actually use (the users will not see this), what short info message you want for the BBCode, and whether or not you want a button for the new BBCode to be displayed on the posting screen. Once you are done configuring all of the custom BBCode settings,
click Submit to add your new BBCode.

Creating a new BBCode. In this example, we are creating a new [font] BBCode that will allow users to specify the font face of the specified text.
In the
BBCode Usage form, you can define how you want your users to use the BBCode. Let's say you want to create a new font BBCode that will let your users pick a font to use for their text. An example of what to put under
BBCode Usage would be
This would make a new [font] BBCode, and will allow the user to pick what font face they want for the text. The user's text is represented by TEXT,while FONTNAME represents whatever font name the user types in.
In the
HTML Replacementform, you can define what HTML code your new BBCode will use to actually format the text. In the case of making a new [font] BBCode, try
This HTML code will be used to actually format the user's text.
The third option to consider when adding a custom BBCode is what sort of
help message you want to display to your users if they choose to use the new BBCode. Ideally,
the helpline message is a short note or tip for the user using the BBCode. This message will be displayed below the BBCode row on the posting screens.
Lastly, when adding a new BBCode, you can decide whether or not you want an actual BBCode button for your new BBCode to be displayed on the posting screens. If you want this, then check the Display on posting checkbox.
<hr>
Now on to the codes.Note: Lots of these came from other sites, I only wrote a couple.
Horizontal Rule Makes a line accross the page
BBCode usage boxHTML replacement box Some say the closing for this needs to be there for the BBC to work.
Help line boxDisplay on posting page Note: this is where you decide to display a button or not. Ticked=yes
SUBMIT<hr>
Spoiler to show and hide a large post inside a quote style boxBBCode usage boxHTML replacement boxYou want to be sure that there are no spaces in the HTML replacement text.
Help line boxDisplay on posting page Note: this is where you decide to display a button or not. Ticked=yes
SUBMIT<hr>
Center a object or textBBCode usage boxHTML replacement boxHelp line boxDisplay on posting page Note: this is where you decide to display a button or not. Ticked=yes
SUBMIT<hr>
Align object rightBBCode usage boxHTML replacement boxHelp line boxDisplay on posting page Note: this is where you decide to display a button or not. Ticked=yes
SUBMIT<hr>
Align object leftBBCode usage boxHTML replacement boxHelp line boxDisplay on posting page Note: this is where you decide to display a button or not. Ticked=yes
SUBMIT<hr>
Back Ground ColorBBCode usage boxHTML replacement boxHelp line boxDisplay on posting page Note: this is where you decide to display a button or not. Ticked=yes
SUBMIT<hr>
Marquee with mouseover and colored text. Smiles also work. This one is mine lol.
BBCode usage boxHTML replacement boxHelp line boxDisplay on posting page Note: this is where you decide to display a button or not. Ticked=yes
SUBMIT<hr>
Subscript TextBBCode usage boxHTML replacement boxHelp line boxDisplay on posting page Note: this is where you decide to display a button or not. Ticked=yes
SUBMIT<hr>
Superscript text. BBCode usage boxHTML replacement boxHelp line boxDisplay on posting page Note: this is where you decide to display a button or not. Ticked=yes
SUBMIT<hr>
Bordered text. BBCode usage boxHTML replacement boxHelp line boxDisplay on posting page Note: this is where you decide to display a button or not. Ticked=yes
SUBMIT<hr>
NOTES ONLY SEEN WHEN EDITING A POST BBCode usage boxHTML replacement boxHelp line boxDisplay on posting page Note: this is where you decide to display a button or not. Ticked=yes
SUBMIT<hr>
Google search text or a word BBCode usage boxHTML replacement boxHelp line boxDisplay on posting page Note: this is where you decide to display a button or not. Ticked=yes
SUBMIT<hr>
MORE TO COME