Using BB Code
BBCode is a variation on the HTML tags you may already be familiar with. Basically, it allows you to add functionality or style to your message that would normally require HTML. You may want to use BBCode, because there is less coding required and it is safer to use (incorrect coding syntax will not lead to as many problems).
You can use BBCode for all textareas, where a link to this help is placed.
Please note: Admins can disable any BBCode, so not all installations of SimpGB will support all BBCodes available. This help only will describe the BBCodes admin has enabled for this installation of SimpGB.


URL Hyperlinking
If automatically encode URL is enabled for the administration interface,you no longer need to use the [URL] code to create a hyperlink. Simply type the complete URL in either of the following manners and the hyperlink will be created automatically:
  • http://www.foo.de
  • www.foo.com
Notice that you can either use the complete http:// address or shorten it to the www domain. If the site does not begin with "www", you must use the complete "http://" address. Also, you may use https and ftp URL prefixes in auto-link mode.

The old [URL] code will still work, as detailed below. Just encase the link as shown in the following example (BBCode is in blue).

[url]www.foo.de[/url]

You can also have true hyperlinks using the [url] code. Just use the following format:

[url=http://www.foo.de]foo.de[/url]

In the examples above, the BBCode automatically generates a hyperlink to the URL that is encased. It will also ensure that the link is opened in a new window when the user clicks on it. Note that the "http://" part of the URL is completely optional. In the second example above, the URL will hypelink the text to whatever URL you provide after the equal sign. Also note that you should NOT use quotation marks inside the URL tag.

Email Links
To add a hyperlinked email address within your message, just encase the email address as shown in the following example (BBCode is in blue).

[email]bar@foo.de[/email]

In the example above, the BBCode automatically generates a hyperlink to the email address that is encased.

Adding realaudio files
To add a realaudio file within your message, just encase the URL of the audiofile as shown in the following example (BBCode is in blue).

[realaudio]rtsp://www.foo.bar/audio.ram[/realaudio]


In the example above, the BBCode automatically makes the audiofile play on your message. Note: the "rtsp://" part of the URL is REQUIRED for the [realaudio] code.
Adding Flash animations
To add a Flash animation (SWF file) within your message, just encase the URL of the animation as shown in the following example (BBCode is in blue).

[swf width=244 height=39]http://www.foo.bar/animation.swf[/swf]


In the example above, the BBCode automatically makes the animation visible in your message. Note: the "http://" part of the URL is REQUIRED for the [swf] code.
Adding Images
To add a graphic within your message, just encase the URL of the graphic image as shown in the following example (BBCode is in blue).

[img]http://www.foo.bar/images/image.gif[/img]


In the example above, the BBCode automatically makes the graphic visible in your message. Note: the "http://" part of the URL is REQUIRED for the [img] code.
Bold
You can make text bold by encasing the applicable sections of your text with the [b] [/b] tags.

Hello, [b]Tom[/b]
Italics
You can make italicized text by encasing the applicable sections of your text with the [i] [/i] tags.

Hello, [i]Jerry[/i]
sub and super script
You can make text sub or super script by encasing the applicable sections of your text with either the [sub] [/sub] or [sup] [/sup] tags.

Hello, [sub]Tom[/sub]
Hello, [sup]Jerry[/sup]
strike through text
You can make strike through text by encasing the applicable sections of your text with the [s] [/s] tags.

Hello, [s]Jerry[/s]
typewriter text
You can make diplay text in typewriter style by encasing the applicable sections of your text with the [tt] [/tt] tags.

Hello, [tt]Jerry[/tt]
centered text
You can center text by encasing the applicable sections of your text with the [center] [/center] tags.

Hello, [center]Jerry[/center]
Will produce:
Hello,
Jerry
changing alignment
You can change alignment of text by encasing the applicable sections of your text with the [align=alignment] [/align] tags.

Hello, [align=right]Jerry[/align]
Will produce:
Hello,

Jerry

change textsize
You can change textsize by encasing the applicable sections of your text with the [size=size] [/size] tags.

Hello, [size=5]Jerry[/size]
change fontface
You can change fontface by encasing the applicable sections of your text with the [font=fontface] [/font] tags.

Hello, [font=Comic Sans MS]Tom[/font]
Color Text
You can make colored text by encasing the applicable sections of your text with [color=color] [/color] tags.

Hello, [color=green]Tom[/font]
Hello, [color=yellow]Jerry[/font]
Bullets
You can make bulleted lists or ordered lists (by number or letter).

Unordered, bulleted list:

[list]
[*]This is the first bulleted item.
[*]This is the second bulleted item.
[/list]

This produces:
  • This is the first bulleted item.
  • This is the second bulleted item.
Note that you must include a closing [/list] when you end each list.

Making ordered lists is just as easy. Just add either [LIST=A] or [LIST=1]. Typing [List=A] will produce a list from A to Z. Using [List=1] will produce numbered lists.

Here's an example:

[list=A]
[*] This is the first bulleted item.
[*] This is the second bulleted item.
[/list]

This produces:
  1. This is the first bulleted item.
  2. This is the second bulleted item.
Quoting
To reference something specific enclose it as shown below (BBCode is in blue).

[QUOTE]Ask not what your country can do for you....
ask what you can do for your country.[/QUOTE]


In the example above, the BBCode automatically blockquotes the text you reference.
Code Tag
Similar to the Quote tage, the Code tag adds some <PRE> tags to preserve formatting. This useful for displaying programming code, for instance.

[CODE]#!/usr/bin/perl
print "Content-type: text/html\n\n";
print "Hello World!"; [/CODE]

In the example above, the BBCode automatically blockquotes the text you reference and preserves the formatting of the coded text.
Scroller
You can let text scroll vertical or horizontal (Result only visible for users of InternetExplorer).
For a vertical scroller use [updown][/updown]
For a horizontal [scroll][/scroll].

[updown]tom[/updown]
tom

[scroll]jerry[/scroll]
jerry