W H A T      I S      U B B      C O D E ?

UBB Code 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 can use UBB Code even if HTML is not enabled for the forum you are using. You may want to use UBB Code as opposed to HTML, even if HTML is enabled for your forum, because there is less coding required and it is safer to use (incorrect coding syntax will not lead to as many problems).

Current UBB Codes:

URL Hyperlinking
NEW! If UBB Code is enabled in a forum, 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.yourURL.com
  • www.yourURL.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 (when UBB Code is ON).

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

    [url]www.prime-web.com[/url]

    NEW! You can now have true hyperlinks using the [url] code. Just use the following format:
    [url=http://www.ultimatebb.com]UltimateBB.com[/url]

    In the examples above, the UBB Code 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 (UBB Code is in red).

[email]ted@prime-web.com[/email]

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

Bold, Italics, and Underline
You can make italicized text or make text bold or underlined by encasing the applicable sections of your text with either the [b] [/b], [i] [/i], or [u] [/u] tags.

Hello, [b]James[/b]
Hello, [i]Mary[/i]
Hello, [u]John[/u]
Big and Small Text
You can make text bigger or smaller than the standard UBB text size by encasing the applicable sections of your text with either the [big] [/big] or [small] [/small] tags, respectively.

This is [big]BIG[/big]
This is [small]small[/small]
Bullets/Lists
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.
Adding Images
To add a graphic within your message, just encase the URL of the graphic image as shown in the following example (UBB Code is in red).

[img]http://www.prime-web.com/Ultimate20/tline.gif[/img]

In the example above, the UBB Code automatically makes the graphic visible in your message. Note: the "http://" part of the URL is REQUIRED for the [img] code. Also note: some UBB forums may disable the [img] tag support to prevent objectionable images from being viewed.

Quoting Other Messages
To reference something specific that someone has posted, just cut and paste the applicable verbiage and enclose it as shown below (UBB Code is in red).

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

In the example above, the UBB Code 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 UBB Code automatically blockquotes the text you reference and preserves the formatting of the coded text.

Foil Tag
The [FOIL] or [F] tag can be used in the Magic:TG Have/Want Lists or Trade Auctions & Sales forums to denote certain cards as foil. The text surrounded by the [FOIL][/FOIL] tag pair will show up as a dark yellow on your list, and any cards highlighted in this manner will be recognized by the search engine and have/want list matcher as being foil. Thus, if you only want the foil version of a particular card, highlight it with the [FOIL] tag in your wants list and it will only match with people who have similarly marked that card as foil in their haves list. If you want both foil and regular versions of a card, make sure to list both.

Call of the Herd
Birds of Paradise
Foils:
[FOIL]
Nantuko Shade
[/FOIL]

In the example above, Call of the Herd and Birds of Paradise would be treated normally, but Nantuko Shade would be indexed as a foil card.

Exclude Tag
The [EXCLUDE] tag can be used in the Magic:TG Have/Want Lists or Trade Auctions & Sales forums to exclude certain cards in your post from being indexed by the search engine or have/want list matcher. It will not change the formatting of your post, and will be invisible to anyone reading your post. This is useful if you have a list of throw-ins you don't want indexed, or you are posting a trade auction and need to exclude the cards you have as bids.

Urza's Rage
Undermine
[EXCLUDE]
Throw-ins:
Flametounge Kavu
[/EXCLUDE]

In the example above, Urza's Rage and Undermine would be indexed by the search engine, but Flametounge Kavu would not.



Of Note
You must not use both HTML and UBB Code to do the same function. Also note that the UBB Code is not case-sensitive (thus, you could use [URL] or [url]).

Incorrect UBB Code Usage:

[url] www.prime-web.com [/url] - don't put spaces between the bracketed code and the text you are applying the code to.

[email]ted@prime-web.com[email] - the end brackets must include a forward slash ([/email])


Ultimate Bulletin Board
© Infopop Corporation (formerly Madrona Park, Inc.), 1998 - 1999.