Generally, messages on the forum are mostly plain text, however on occasion you may want to add
some formatting to your text, such as making certain words bold,italics,etc...
Since in most cases the admin does not permit you to use HTML inside your posts, you can use FUDcode, which is a special
set of tags that allows you to apply certain formatting to your text. FUDcode is very easy to use and is a lot more secure then HTML.
Here is a list of the supported FUDcode tags & short examples on it's usage
URL Hyperlinking
The forum can automatically pick up on many forms of URLs, for example:
http://fud.prohost.org
will be automatically picked up as a URL and converted to a valid URL, which will look like this:
You can create a URL yourself by using FUD code also, this can be done in 2 ways, a simple way works like this:
[URL]http://www.myhomepage.com[/URL]
this will result in a generation fo the following link:
You can add a description to your URL by using a different syntax inside the [URL=http://www.myhomepage.com]My Homepage[/URL] this code will result in the following:
Email Hyperlinking
To create an email link simply type the email address as it would
normally appear, for example:
support@prohost.org
the forum will automatically understand this create a link. In addition
it is also possible to create a real email hyperlink using this format
[email=support@prohost.org]Click here to email our tech support[/email]
Text Styling
There are a number of tags which you can use to style text, they
are:
- [b]bold
[/b] produces bold text
- [u]underline
[/u] produces underlined text
- [i]italic
[/i] produces italicized text
It is also possible to control color/size and even font face.
- [color=red]red text
[/color] produces red text
- [size=4]big text
[/size] produces text in the specified
size
- [font=courier]text
[/font] produces text using the named
type face
It is also possible to combine various formatting tags:
[b][u][i][color=red][size=10][font=courier]Formatted Text[/font][/size][/color][/i][/u][/b]
this example produces:
Formatted Text
Text Alignment
FUDcode supports text alignment via the [align] tag, which allows your to align your text in 3 ways:
- [align=center]centered text[/align] produces:
centered text
- [align=left]left aligned[/align] produces:
left aligned
- [align=right]right aligned[/align] produces:
right aligned
Various Lists
You can create various kinds of lists using Form Code:
Un-ordered bulleted list:
[list]
[*]first item
[*]second item
[/list]
would produce
It is possible to use various kinds of lists, for example to create
an numerical ordered list:
[list type=1]
[*]first item
[*]second item
[/list]
which produces
- first item
- second item
to create an A-Z list:
[list type=A]
[*]first item
[*]second item
[/list]
which produces:
- first item
- second item
Adding Images
It is possible to include in-line images with the message. using the
[img][/img] tags.
so, for example,
[img]http://www.prohost.org/img/pro_logo.gif[/img],
will insert an image in the message as such:
in addition you can create links to images by enclosing them inside a
[url][/url] tags such as
[url=http://www.prohost.org][img]http://www.prohost.org/img/pro_logo.gif[/img][/url]
which will create a linked image such as
Quoting other messages
It is possible to quote something that has already been posted, by just
putting [quote][/quote] tags around it.
[quote]hello world[/quote]
would appear such as:
Computer Code and Pre-formatted Text
The [code][/code] tags allows to post
text exactly as it is, maintaining relational formatting such as tabs and multiple
spaces.
it used like this:
[code]
$fp = fopen('somefile', 'w'); if ( !$fp ) { exit('no such file!'); } else { fwrite($fp, 'hello world'); fclose($fp); }
[/code]
which produces the text exactly as it was typed maintaining the formatting.
$fp = fopen('somefile', 'w'); if ( !$fp ) { exit('no such file!'); } else { fwrite($fp, 'hello world'); fclose($fp); }
You may also find that the administrator has enabled smilies, which allow
you to use small icons to convey emotion, and the [img] code, which allows
you to add pictures to your message.
|