What are vB codes?
vB codes are what vBulletin calls Bulletin Board codes (BBcodes). These are present on just about every forum. Since raw HTML is disallowed on the forums, vB codes are used for formatting, links, images, etc. This post demonstrates how to use vB codes (If you know how, it also demonstrates how to post vB codes without applying them
)
Basic formatting:
[b]Bold[/b]
[i]Italic[/i]
[u]Underline[/u]
[font=Fontname]Times New Roman[/font]
[size=x]Size 4[/size]
[color=name] or [color=#rrggbb]Custom font colouring[/color]
[highlight]Bold red text[/highlight]
[hl]Yellow highlighted text[/hl]
[hl=name] or [hl=#rrggbb]Custom colour highlighted text[/hl]
[sub]Subscript[/sub]
[sup]Superscript[/sup]
Alignment:
[left]Left aligned[/left]
[center]Centred[/center]
[right]Right aligned[/right]
Indentation and lists:
[indent]Indented[/indent]
[list]- [*]List item
- [*]Another list item
- [list]Sub-list
- [*]2nd sub-item[/list]
[/list]
[list=a]- [*]blah
- [*]blah
[/list]
[list=i]- [*]blah
- [*]blah
[/list]
[list=1]- [*blah
- [*]blah
[/list]
[col=1]Something
[col=2]Something else
[/col] | [/col] |
Inline images:
[img]http://www.imageurl.com/image.xxx[/img]
Hyperlinks:
[url]http://www.hyperlink.com/page.html[/url]
[url="http://www.hyperlink.com/page.html"]Link text[/url]
Code tags:
[code]
Code:
long __stdcall CallByAddress(long lpfn, int arg1, int arg2)
{
fnptr function = (fnptr) lpfn;
return function(arg1, arg2);
}
[/code]
[vbcode]
VB Code:
Public Sub vpoint( _
ByRef pPoint As POINTL, _
ByVal lX As Long, _
ByVal lY As Long _
)
pPoint.X = lX
pPoint.Y = lY
End Sub
[/vbcode]
[html]
HTML Code:
<head>
<title>Penagate</title>
<link rel="stylesheet" type="text/css" href="style.css" />
<meta name="robots" content="index, follow" />
</head>
[/html]
[php]
PHP Code:
$classes = get_declared_classes();
foreach ($classes as $class) {
if (in_array('Template', class_implements($class, false))) {
$this->Templates[$class] = new $class();
}
}
[/php]
Quoting:
[quote][/quote]
[quote=Someone]

Originally Posted by
Someone
Someone's quote
[/quote]
Write Jupitermedia in pretty text:
[jm]xxx[/jm]Internet.com
Smileys:
:)
:(
:o
:D
;)
:p
:cool:
:rolleyes:
:mad:
:eek:
:confused:
:bigyello: