Frequently Asked Questions
|
|
|
Introduction |
What is BBCode? BBCode lets you add special formatting to your posts, much like HTML. The Board Moderator determines whether you can use BBCode in your posts (check whether BBCode is ON or OFF under Options on the left side of the screen when you post messages). You can also disable BBCode for any particular post by checking the appropriate item under the message box on the posting page.
BBCode is similar in style to HTML: tags are enclosed in square braces [ and ] rather than < and >. Like HTML, all BBCode must have matching opening & closing tags. The closing tag is typically identical to the opening tag, except that it has a / in front of the character(s) inside the bracket. For example, [b][/b], [size][/size], and [img][/img] are all matching tags. To format your text, enclose it between matching tags. You may use both HTML & BBCode in the same message, but not in the same tag. For example:
[b]right[/b] [b]wrong</b>
Adding BBCode to your posts is easy; use the clickable interface above the message area on the posting page. See other FAQ's on this page for help with specific questions. Back to top |
 |
Text Formatting |
How to create bold, italic and underlined text BBCode includes tags to allow you to quickly change the basic style of your text. You can do this the following ways: - To make a piece of text bold enclose it in [b][/b]; for example:
[b]Hello[/b]
displays Hello
- To underline text, use [u][/u]; for example:
[u]Good Morning[/u]
displays Good Morning
- To italicise text, use [i][/i]; for example:
This is [i]Great![/i]
displays This is Great!
Back to top |
 |
How to change the text color or size To change the text color or size, you can use the following tags. Keep in mind that the display also depends on the viewer's browser and system: - To change the text color, enclose it in [color=][/color]. You can specify either a recognized color name (eg. red, blue, yellow, etc.) or the hexadecimal triplet alternative, eg. #FFFFFF, #000000. For example, to create red text you could use:
[color=red]Hello![/color]
or
[color=#FF0000]Hello![/color]
Both of these display Hello!
- To change the text size, use [size=][/size]. The recommended format here is text size in pixels, starting at 1 (so tiny you will not see it) through 29 (very large). For example:
[size=8]SMALL[/size]
will display as SMALL
whereas:
[size=24]HUGE![/size]
will be HUGE!
Back to top |
 |
Can I combine formatting tags? Yes, just as with HTML; for example you may write:
[size=18][color=red][b]LOOK AT ME![/b][/color][/size]
This displays LOOK AT ME!
Be sure to close tags correctly. For example, the following are incorrect:
[b]This is wrong [b][u]This is also wrong[/b][/u]
Both will display exactly as you've typed them (i.e. with the [b] & [u] showing).
Note it is okay to combine BBCode & HTML tags, provided you close each properly. For example:
[b]<u>This is okay</u>[/b]
Please use BBCode appropriately; excessive use makes posts hard to read and dilutes emphasis of your message. Moderators may edit or delete posts that use excessive font changes. Back to top |
 |
Quoting and outputting fixed-width text |
Quoting text in replies There are two ways you can quote text: with a username reference or without.- When you click the Quote button to reply to a post, the post text is added to your message window enclosed in a [quote=""][/quote] block. This allows you to quote with a reference to a person or whatever else you choose to put. For example, to quote a piece of text John Doe wrote, you would enter:
[quote="John Doe"]The text John Doe wrote would go here[/quote]
The resulting display will automatically add John Doe said: before the actual text. Remember that you must include the "quotation marks" around the name you are quoting -- they are not optional.
You can quote a Forum user, any name you want, or any other appropriate text. For example:
[quote="George Washington once"]George Washington quote goes here.[/quote]
The resulting display will automatically add George Washington once said: before the quote.
[quote="It's been"]Anonymous quote goes here.[/quote]
This adds It's been said: before the anonymous quote.
Note that the word 'said' is automatically added to whatever name or words are in "quotation marks" -- you do not need to include that.
- The second method is a blind quote. To do this, enclose the text in [quote][/quote] tags. The resulting display will simply show Quote: before the quoted text.
Back to top |
 |
Outputting code or fixed width data If you want to output programming code or anything that requires a fixed width with a Courier-type font, enclose the text in [code][/code] tags. For example:
[code]echo "This is some code";[/code]
All formatting within the [code][/code] tags is retained when you later view it. Back to top |
 |
Generating lists |
Creating an Un-ordered list An unordered list is essentially the same as its HTML equivalent. An unordered list displays each item in your list sequentially one after the other, indenting each with a bullet. To create an unordered list, use [list][/list] and define each item in the list using [*]. For example, to list your favorite colors you could use:
[list] [*]Red [*]Blue [*]Yellow [/list]
This generates the following list: Back to top |
 |
Creating an Ordered list An ordered list is essentially the same as its HTML equivalent. An ordered list lets you control what is displayed before each item. To create an ordered list, use [list=1][/list] to create a numbered list, or [list=a][/list] for an alphabetical list. As with the unordered list, define each list item using [*]. For example:
[list=1] [*]First list item [*]Second list item [*]Third list item [/list]
displays the following:- First list item
- Second list item
- Third list item
Or for an alphabetical list, use:
[list=a] [*]List item A [*]List item B [*]List item C [/list]
giving:- List item A
- List item B
- List item C
Back to top |
 |
Creating Links |
Linking to another site BBCode supports a number of ways of creating web links, or URL's.- The first uses the [url=][/url] tag; whatever you type after the = sign acts as a link. For example, to link to your website, use:
[url=http://www.yourwebsitename.com/]Visit my website[/url]
This generates the following link, Visit my website. Notice that the link opens in a new window so the user can continue browsing the forums if they wish.
- If you want the URL itself displayed as the link, simply use:
[url]http://www.mywebsitename.com/[/url]
This generates the following link: http://www.mywebsitename.com
- Additionally, our Forum features Magic Links, which turn any correctly formatted URL into a link without you needing to specify any tags or even the leading http://. For example, typing www.mywebsitename.com into your message automatically generates www.mywebsitename.com when your message is displayed.
- Magic Links also apply to email addresses. For example, just type any.email@address.xxx into your message and it will automatically display as an email link when viewed. Or you can specify the email tag; for example:
[email]any.email@address.adr[/email]
which generates any.email@address.adr. As with all BBCode tags, you can wrap URL's around other tags, such as [b][/b], [i][/i], etc. If you combine tags this way, be sure to close the tags in the correct sequence; see the Can I combine formatting tags? FAQ for more information. Back to top |
 |
Showing images in posts |
Adding an image to a post BBCode lets you include images in your posts, but in order to do so, the image must already be available on the Internet (not just on your computer, unless you run a webserver). You cannot currently upload & store images on the Forum (though this feature may be added later).
To display an image, you must enclose the URL pointing to the image with [img][/img] tags. For example:
[img]https://www.sss-now.org/images/test.gif[/img]
You can also wrap an image in a [url][/url] tag if you wish; for example:
[url=https://www.sss-now.org/][img]https://www.sss-now.org/images/test.gif[/img][/url]
generates:
 (Click on the image to visit the link)
Back to top |
 |
Other questions |
Can I add my own tags? No, custom BBCode tags are not currently supported. This feature may be added in future upgrades. Back to top |
 |
|