Overclockers Forums
 


Go Back   Overclockers Forums > Overclocking > Forum FAQs and Guidelines > vB Code Guide


Welcome to the Overclockers Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. 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 us.

If you would prefer not to see any double-underlined words and corresponding advertisements without registering or logging in, place your cursor
here for ContentLink
 
Thread Tools
Old 02-27-07, 08:35 AM   #1
Jon
Just Another Moderator

 
Jon's Avatar 

Join Date: Dec 2000
Location: Lawrenceville, GA
 
vB Code Guide

For those of you who are new to the forums (or maybe not so new), I thought that I would provide a list of some of the more common vBulletin codes that are useful when posting on OCForums.

There are several threads posted in the Guidelines section that detail what makes a good post, but none offer any advice on how to really make your posts stand out. I hope this helps in that area.

I think most of you will find the codes I have provided to be easily recognizable, but I'm pretty sure there are a couple in here that most of you never knew existed. At any rate, I hope this little quick reference helps some of you out!

All vBulletin codes are placed within brackets ( [] ) and begin prior to the text having the format applied. Likewise, the code is ended by placing brackets at the end with a close indicator ( [/] ).

For example:

Some text [command]here[/command]. "here" would have the vB code command applied to it.

The most useful codes will be listed below showing the proper syntax, as well as an example output that they give. I know the Advanced Post box does most of this for you already, but maybe some of you will actually learn how this works (and it doesn't include all of these codes either).


Bold

Syntax:
[b][/b]
Usage:
I love typing in[b]bold[/b] letters!
Output:
I love typing in bold letters!
__________________________________________________ ________________________________________

Italics

Syntax:
[i][/i]
Usage:
I like [i]italics[/i] too!
Output:
I like italics too!
__________________________________________________ ________________________________________

Underline

Syntax:
[u][/u]
Usage:
I use [u]underlining[/u] to emphasize a word.
Output:
I use underlining to emphasize a word.
__________________________________________________ ________________________________________

Strike Through

Syntax:
[s][/s]
Usage: [indent][s]This text has strike through applied[/s][/indent].
Output:
This text has strike through applied.
__________________________________________________ ________________________________________

Size.

Syntax:
[size=1-10][/size]
Usage:
[size=1]Size 1[/size] [size=2]Size 2[/size] [size=3]Size 3[/size]
Output:
Size 1 Size 2 Size 3
__________________________________________________ ________________________________________

Color

Syntax:
[color='text color' or 'HTML color code'][/color]
Usage 1:
This is the color [color=red]red[/color]
Output 1:
This is the color red.
Usage 2:
This is a shade of [color=#66CC00]green[/color].
Output 2:
This is a shade of green.
__________________________________________________ ________________________________________

Fonts

Syntax:
[font=font name][/font]
Usage:
This is the [font=courier]Courier[/font] font.
Output:
This the Courier font.
__________________________________________________ ________________________________________

SuperScript.

Syntax:
[sup][/sup]
Usage:
This is [sup]superscript[/sup].
Output:
This is superscript.
__________________________________________________ ________________________________________

SubScript.

Syntax:
[sub][/sub]
Usage:
This is [sub]subscript[/sub].
Output:
This is subscript.
__________________________________________________ ________________________________________

Right, left, and centered text.

Syntax:
[left][/left] [center][/center][right][/right]
Usage:
[left]Left[/left] [center]Center[/center] [right]Right[/right]
Output:
Left
Center
Right

__________________________________________________ ________________________________________

URLs and HyperLinking.

Syntax:
[url='Web address'][/url]
Usage:
[url=http://ocforums.com]Visit OCForums![/url]
Output:
Visit OCForums!
__________________________________________________ ________________________________________

Lists.

Syntax: [indent][list][*][/list][/indent]Usage: [indent][noparse][list][/indent] [*]1st list item
[*]2nd list item
[*]etc.
[/list]
Output
  • 1st list item
  • 2nd list item
  • etc.

**Note**:
Doing a [list=1] or a [list=A] will cause the '*' to create numberic or alphabetic ordered lists, respectively.
__________________________________________________ ________________________________________

Images.

Syntax:
[img]Image address[/img]
Usage:
[img]http://www.ocforums.com/oc_images/logo2.gif[/img]
Output:
**Note**:
To make an image link, do this : [url='Web address'][img]'Image address'[/img][/url]
__________________________________________________ ________________________________________

Code Boxes.

Syntax:
[code][/code]
Usage:
[code]This text is in a code box[/code]
Output:
Code:
This text is in a code box
__________________________________________________ ________________________________________

Quote Boxes.

Syntax:
[quote='Source'][/quote]
Usage:
[quote=Isaac Asimov]I do not fear computers. I fear the lack of them.[/quote]
Output:
Quote:
Originally Posted by Isaac Asimov
I do not fear computers. I fear the lack of them.
__________________________________________________ ________________________________________

Want to know how I showed the actual vB commands without parsing? Easy...

Syntax:
[noparse][command][/command][/noparse]
Usage:
[noparse][code][/code][/noparse]
Output:
[code][/code]
__________________________________________________ ________________________________________

Also keep in mind that almost any combination of these codes can be used together by embedding them inside one another (I did it throughout this document...you just can't see most of it). For instance, making text bold, italicized, and underlined - all at the same time (i.e. [b][i][u]text[/u][/i][/b] will look like text).

This list is nowhere near a complete collection or all-inclusive. I will add others as I feel necessary and/or useful to you. Have fun with them and if you have any questions regarding any of them, just let me know!

Jon

__________________
theHTPC.net

Last edited by Jon; 08-23-07 at 12:29 PM.
Jon is offline  

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 02:46 PM.


Top of PageLast Page

Home  |   Register  |   Calendar  |   FAQ  |   Search  |   Contact Us  |   Archive
Copyright © OCForums.com 2001 - 2008. All Rights Reserved.    Visit: Overclockers.com.    Advertise on OCForums


Other iNET Interactive Sites:
Web Hosting Talk | DB Forums | Mac-Forums | Hosting Catalog | Hot Scripts
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.