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. As a security measure, HTML is disabled in the PowerBASIC Forums. UBB Code provides similar functionality to HTML in a more secure fashion.

Current UBB Codes:

URL Hyperlinking
NEW! 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 hyperlink 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]
or
[mail]ted@prime-web.com[/mail]
or
[mailto]ted@prime-web.com[/mailto]

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

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

Hello, [b]Bob[/b]
Hello, [i]Lance[/i]
Hello, [u]Tom[/u]
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.
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]The natural progress of things is for liberty to yield
and government to gain ground. [/QUOTE]

In the example above, the UBB Code block-quotes the text you reference.

Code Tag
Similar to the Quote tag, the Code tag adds some <PRE> tags to preserve formatting. This useful for displaying programming code, for instance.

[CODE]

#COMPILE EXE
FUNCTION PBMAIN () AS LONG
MSGBOX "Hello World!"
END FUNCTION
[/CODE]

In the example above, the UBB Code preserves the formatting of the coded text.



Of Note
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.