Welcome to LeetForum.com, one of the world's fastest growing forums for gamers where thousands of gamers from around the world come to discuss all issues related to gaming!

You are currently viewing our boards as a guest which gives you limited access to discussions, images and even our games section. By joining our free community you will have access to post topics, communicate privately with other gamers (PM), respond to polls, upload your own photo gallery and access many other special features including our Games Arcade. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact support.
 

Go Back   LeetForum.com > FAQ
User Name
Password
Games Search Today's Posts Mark Forums Read


vB Code
vB code is a set of tags based on the HTML language that you may already be familiar with. They allow you to add formatting to your messages in the same way as HTML does, but have a simpler syntax and will never break the layout of the pages you are viewing. The ability to use vB Code is set on a forum-by-forum basis by the administrator, so you should check the forum rules when you post a new message.

Below is a list of the vB Codes you can use to format your messages.
vB Code List
[b], [i], [u] Bold / Italic / Underline
[color] Color
[size] Size
[font] Font
[highlight] Highlight
[left], [right], [center] Left / Right / Center
[indent] Indent
[email] Email Linking
[url] URL Hyperlinking
[thread] Thread Linking
[post] Post Linking
[list] Bulleted Lists / Advanced Lists
[img] Images
[code] Code
[php] PHP Code
[html] HTML Code
[quote] Quote
[align] Align
[blur] Blur
[box] Box
[box2] Box2
[br] Br
[cs] Cs
[flash] Flash
[flipH] FlipH
[flipV] FlipV
[g4w] G4W
[gauge] Gauge
[glow] Glow
[glow2] Glow2
[icq] Icq
[invert] Invert
[ip] Ip
[linkID] LinkID
[move] Move
[quote2] Quote2
[sgauge] Sgauge
[shadow] Shadow
[sign] Sign
[sound] Sound
[source] Source
[spoiler] Spoiler
[ss] Ss
[ss1] Ss1
[swf] Swf
[updwn] Updwn
[xray] Xray
Incorrect vB Code Usage:
  • [url] www.vbulletin.com [/url] - don't put spaces between the bracketed code and the text you are applying the code to.
  • [email]myname@domain.com[email] - the end brackets must include a forward slash ([/email])

Bold / Italic / Underline
The [b], [i] and [u] tags allow you to create text that is bold, italic and underlined.
Usage [b]value[/b]
[i]value[/i]
[u]value[/u]
Example Usage [b]this text is bold[/b]
[i]this text is italic[/i]
[u]this text is underlined[/u]
Example Output this text is bold
this text is italic
this text is underlined

Color
The [color] tag allows you to change the color of your text.
Usage [color=Option]value[/color]
Example Usage [color=blue]this text is blue[/color]
Example Output this text is blue

Size
The [size] tag allows you to change the size of your text.
Usage [size=Option]value[/size]
Example Usage [size=+2]this text is two sizes larger than normal[/size]
Example Output this text is two sizes larger than normal

Font
The [font] tag allows you to change the font of your text.
Usage [font=Option]value[/font]
Example Usage [font=courier]this text is in the courier font[/font]
Example Output this text is in the courier font

Highlight
The [highlight] tag allows you to emphasize your text.
Usage [highlight]value[/highlight]
Example Usage [highlight]this text is highlighted[/highlight]
Example Output this text is highlighted

Left / Right / Center
The [left], [right] and [center] tags allow you to change the alignment of your text.
Usage [left]value[/left]
[center]value[/center]
[right]value[/right]
Example Usage [left]this text is left-aligned[/left]
[center]this text is center-aligned[/center]
[right]this text is right-aligned[/right]
Example Output
this text is left-aligned
this text is center-aligned
this text is right-aligned

Indent
The [indent] tag allows you to indent your text.
Usage [indent]value[/indent]
Example Usage [indent]this text is indented[/indent]
Example Output
this text is indented

Email Linking
The [email] tag allows you to link to an email address. You can include an optional parameter to 'name' your link.
Usage [email]value[/email]
[email=Option]value[/email]
Example Usage [email]myname@domain.com[/email]
[email=myname@domain.com]Click Here to Email Me[/email]
Example Output myname@domain.com
Click Here to Email Me

URL Hyperlinking
The [url] tag allows you to link to other websites and files. You can include an optional parameter to 'name' your link.
Usage [url]value[/url]
[url=Option]value[/url]
Example Usage [url]http://www.vbulletin.com/forum[/url]
[url=www.vbulletin.com/forum]vBulletin Community Forums[/url]
Example Output http://www.vbulletin.com/forum/
vBulletin Community Forums

Thread Linking
The [thread] tag allows you to link to threads by specifying the thread id. You can include an optional parameter to 'name' your link.
Usage [thread]threadid[/thread]
[thread=threadid]value[/thread]
Example Usage [thread]42918[/thread]
[thread=42918]Click Me![/thread]
Example Output http://www.vbulletin.com/forum/showthread.php?t=42918
Click Me!

Post Linking
The [post] tag allows you to link to posts by specifying the post id. You can include an optional parameter to 'name' your link.
Usage [post]postid[/post]
[post=postid]value[/post]
Example Usage [post]269302[/post]
[post=269302]Click Me![/post]
Example Output http://www.vbulletin.com/forum/showthread.php?p=269302#post269302
Click Me!

Bulleted Lists
The [list] tag allows you to create simple, bulleted lists without specifying an option. Within the value portion, each bullet is denoted by the [*] tag.
Usage [list]value[/list]
Example Usage [list]
[*]list item 1
[*]list item 2
[/list]
Example Output
  • list item 1
  • list item 2

Advanced Lists
The [list] tag allows you to create advanced lists by specifying an option. The option should have a value of 1 (for a numbered list) or A (for an alphabetic with capital letters list) or a (for an alphabetic with lowercase letters list) or I (for a numbered with capital Roman numeral list) or i (for a numbered with small Roman numeral list).
Usage [list=Option]value[/list]
Example Usage [list=1]
[*]list item 1
[*]list item 2
[/list]

[list=a]
[*]list item 1
[*]list item 2
[/list]
Example Output
  1. list item 1
  2. list item 2
  1. list item 1
  2. list item 2

Images
The [img] tag allows you to embed images within your posts. You can also combine this tag with the [url] tag to maked images become links.
Usage [img]value[/img]
Example Usage [img]http://www.LeetForum.com/forumz/leet01/statusicon/forum_new.gif[/img] (Not linked)

[url=http://www.vbulletin.com] [img]http://www.LeetForum.com/forumz/leet01/statusicon/forum_new.gif[/img] [/url] (Linked)
Example Output (Not linked)

(Linked)

Code
The [code] tag switches to a fixed-width (monospace) font and preseves all spacing.
Usage [code]value[/code]
Example Usage [code]
<script type="text/javascript">
<!--
    alert("Hello world!");
//-->
</script>
[/code]
Example Output
<script type="text/javascript"><!-- alert("Hello world!");//--></script>

PHP Code
The [php] tag performs the same function as the [code] tag, but also adds syntax highlighting for PHP code. Although it is designed for PHP, it may correctly highlight some other C-like languages.
Usage [php]value[/php]
Example Usage [php]
$myvar = 'Hello World!';
for ($i = 0; $i < 10; $i++)
{
    echo $myvar . "\n";
}
[/php]
Example Output $myvar = 'Hello World!';
for (
$i = 0; $i < 10; $i++)
{
    echo
$myvar . "\n";
}

HTML Code
The [html] tag allows you to perform syntax highlighting for HTML code.
Usage [html]value[/html]
Example Usage [html]
<img src="image.gif" alt="image" />
<a href="testing.html" target="_blank">Testing</a>
[/html]
Example Output
<img src="image.gif" alt="image" />
<a href="testing.html" target="_blank">Testing</a>

Quote
The [quote] tag allows you to attribute text to someone else.
Usage [quote]Quote[/quote]
[quote=User Name]value[/quote]
Example Usage [quote]vBulletin[/quote]
[quote=John Percival]vBulletin[/quote]
Example Output
Quote:
vBulletin
Quote:
Originally Posted by John Percival
vBulletin

Align
Usage [align=Option]value[/align]
Example Usage [align=center]text alignment[/align]
Example Output
text alignment

Blur
Usage [blur=Option]value[/blur]
Example Usage [blur=4]this text is blurred[/blur]
Example Output this text is blurred

Box
Usage [box=Option]value[/box]
Example Usage [box=black] This text is in a box[/box]
Example Output
This text is in a box

Box2
Usage [box2=Option]value[/box2]
Example Usage [box2=http://www.theforumz.com/images/background.jpg]look at my text background.[/box2]
Example Output
look at my text background.

Br
Usage [br]value[/br]
Example Usage
Example Output

Cs
Shows Counter Strike server status
Usage [cs]value[/cs]
Example Usage [cs]123.123.123.123[/cs]
Example Output

Flash
Making embedding flash a little simplier. The number in the flash tag will be both the height and the width of the flash.
Usage [flash=Option]value[/flash]
Example Usage [flash=150]http://www.flash.com/myflash.swf[/flash]
Example Output

FlipH
Usage [flipH]value[/flipH]
Example Usage [fliph]this text is flipped[/fliph]
Example Output this text is flipped

FlipV
Usage [flipV]value[/flipV]
Example Usage [flipv]flips the text verticaly[/flipv]
Example Output flips the text verticaly

G4W
Use this tag to get the Games For Work embed flash code to work correctly.
Usage [g4w]value[/g4w]
Example Usage [g4w]copied code from G4W[/g4w]
Example Output copied code from G4W

Gauge
Creates a percentage guage
Usage [gauge]value[/gauge]
Example Usage [gauge]50[/gauge]
Example Output
50%

Glow
Usage [glow=Option]value[/glow]
Example Usage [glow=yellow]this text is glowing[/glow]
Example Output
this text is glowing

Glow2
Usage [glow2=Option]value[/glow2]
Example Usage [glow2=(color=blue, strength=3)]this text is glowing[/glow2]
Example Output
this text is glowing

Icq
Usage [icq]value[/icq]
Example Usage [icq]102832316[/icq]
Example Output ICQ:102832316

Invert
Usage [invert]value[/invert]
Example Usage [invert]inverts the text[/invert]
Example Output inverts the text

Ip
This will show a server stats window which shows whos playing and other important info.
Usage [ip]value[/ip]
Example Usage [ip]123.123.123.123:27960[/ip]
Example Output

LinkID
Usage [linkID=Option]value[/linkID]
Example Usage [linkid=www.altavista.com]this is one of the best search engines[/linkid]
Example Output www.altavista.com

Move
Usage [move]value[/move]
Example Usage [move]This Moves Across The Screen[/move]
Example Output
This Moves Across The Screen

Quote2
Usage [quote2]value[/quote2]
Example Usage [quote2]blah blah blah blah blah[/quote2]
Example Output
Quote:
blah blah blah blah blah

Sgauge
Creates a percentage guage
Usage [sgauge]value[/sgauge]
Example Usage [sgauge]50[/sgauge]
Example Output
50%

Shadow
Usage [shadow=Option]value[/shadow]
Example Usage [shadow=#006699]this text drops shadow[/shadow]
Example Output this text drops shadow

Sign
Displays a smilie holding a sign with the text that you specify.
Usage [sign]value[/sign]
Example Usage [sign]Put this text on a sign[/sign]
Example Output
Put this text on a sign

Sound
Helps with embedding sounds, with autostart off.
Usage [sound]value[/sound]
Example Usage [sound]http://www.TheForumz.com/sounds/effects/01death1.wav[/sound]
Example Output

Source
Usage [source]value[/source]
Example Usage
Example Output

Spoiler
To hide text that will spoil something. Hence the vbcode.
Usage [spoiler]value[/spoiler]
Example Usage [spoiler]Darth Vader is his dad![/spoiler]
Example Output Darth Vader is his dad!

Ss
To reduce scrolling.
Usage [ss]value[/ss]
Example Usage [ss]http://www.myhost.com/mybackground.jpg[/ss]
Example Output

Ss1
Usage [ss1]value[/ss1]
Example Usage [ss1]http://www.myhost.com/mybackground.jpg[/ss1]
Example Output

Swf
Usage [swf=Option]value[/swf]
Example Usage [swf="http://yoursite.com/yourmovie.swf height=000 width=000"][/swf]
Example Output

Updwn
Usage [updwn]value[/updwn]
Example Usage [updwn]This Text Goes Up From Down[/updwn]
Example Output


This Text Goes Up From Down

Xray
Usage [xray]value[/xray]
Example Usage [xray]give the text a X-ray effect[/xray]
Example Output give the text a X-ray effect


All times are GMT -6. The time now is 05:19 PM.

Page generated in 0.02561092 seconds (69.46% PHP - 30.54% MySQL) with 8 queries



Copyright CTEN
vBulletin Jelsoft Enterprises Ltd.