Ausweb Australian Hosing
+  smf.ausweb.com.au
|-+  SMF Forum Hosting» Shared Hosting» SMF Bulletin Board BB Codes
Username:
Password:
Pages: [1]
  Print  
Author Topic: SMF Bulletin Board BB Codes  (Read 639 times)
Administrator
Newbie
*****
Posts: 6


« on: October 10, 2007, 03:10:25 PM »

Bulletin Board Codes or BBCodes are a way to format posts in SMF, and also in many other forum software.

The general format of a BBCode has three parts, an opening tag, the inside content and a closing tag, as shown below:

Code:
[open]      text inside      [/close]
[b]         bold text        [/b]

Bold text
You can place one BBCode inside another, as long as the child tag is closed before the parent tag. For example, the correct way to make bold and italic text is:
Code:
[b][i]bold & italic text[/i][/b]

Bold & italic text
This is shown more easily when the tags are indented:
Code:
[b]
    [i]
        bold & italic text
    [/i]
[/b]

Basic BB Codes
Please use tags in this manner: [tag]Item goes here[/tag] or [tag1=blah][tag2]Item goes here[/tag2][/tag1]

Some of the common tags are listed below. You can just click on the associated button instead of typing the tag manually, this will insert the required tag which you can then enter the information into.

Button UsageDescription
[ b ]text[ /b ]Makes text bold.
[ i ]text[ /i ]Makes text italicized.
[ u ]text[ /u ]Underlines text..
[ s ]text[ /s ]Strikes out text.
[ move ]text[ /move ]Makes the text inside move in a marquee.
[ pre ]text[ /pre ]Preformats enclosed text.
[ left ]text[ /left ]Aligns enclosed items to the left.
[ center ]text[ /center ]Aligns enclosed items to the center.
[ right ]text[ /right ]Aligns enclosed items to the right.
[ hr ]Inserts a horizontal rule into a Post or PM. Note there is no closing tag.
[ size=10pt ]text[ /size ]Adjusts the font size of the enclosed text.
[ flash=200,200 ]http://somesite/somefile.swf[ /flash ]Inserts a link to an animated flash file in .swf format. Please be cautious when enabling this BBCode in your forum, since it may be a security risk.
[ img ]http://somesite/image.jpg[ /img ]Inserts an image into a Post or personal message.
[ url ]http://somesite/[ /url ] or
[ url=http://somesite/ ]Site Name[ /url ]
Formats a URL in a Post or personal message.
[ email ]someone@somesite[ /email ] or
[ email=someone@somesite ]Somename[ /email ]
Formats an email address in a Post or personal message.
[ ftp ]ftp://somesite[ /ftp ]Formats an FTP address in a Post or personal message.
[ sup ]text[ /sup ]Formats enclosed text as a superscript.
[ sub ]text[ /sub ]Formats enclosed text as a subscript.
[ tt ]text[ /tt ]Formats enclosed text in teletype format.
[ code ]code[ /code ]Used to insert a selection of code into a Personal message or post.
[ quote ]text[ /quote ]Places enclosed text in a quote box.
[ list ]
[ li ]Item 1[ /li ]
[ li ]Item 2[ /li ]
[ /list ]
Inserts items in list format.
[ table ][ /table ]Inserts a table. It can't be used alone, or it has no sense!
[ tr ][ /tr ]Inserts a row into a table. This BBCode can't be used alone.
[ td ][ /td ]Inserts a column into a table. This BBCode can't be used alone.
Logged
Pages: [1]
  Print  
 
Jump to: