Cancer Forums and News by PhD's


News | Forums Register

Go Back   Cancer Forums and News by PhD's > FAQ

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
[highlight] Highlight
[img] Images
[quote] Quote
[noparse] Stop vB Code Parsing
[attach] Attachment
[drupal] Drupal link
[dimage] Drupal image thumbnail
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])

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

Images
The [img] tag allows you to embed images within your posts. You can also combine this tag with the [url] tag to make images become links.
Usage [img]value[/img]
Example Usage [img]http://www.cancerfocus.org/forum/images/c2/statusicon/forum_new.gif[/img] (Not linked)

[url=http://www.vbulletin.com] [img]http://www.cancerfocus.org/forum/images/c2/statusicon/forum_new.gif[/img] [/url] (Linked)
Example Output (Not linked)

(Linked)

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]
[quote=John Percival;10772]vBulletin[/quote]
Example Output
Quote:
vBulletin
Quote:
Originally Posted by John Percival
vBulletin
Quote:
Originally Posted by John Percival View Post
vBulletin

Stop vB Code Parsing
The [noparse] tag allows you to stop the parsing of vB Code.
Usage [noparse][b]value[/b][/noparse]
Example Usage [noparse][b]vBulletin[/b][/noparse]
Example Output [b]vBulletin[/b]

Attachment
The [attach] tag allows you to display an attachment in your post rather than at the bottom. It will only display attachments that belong to the post in which it is utilized.
Usage [attach]attachmentid[/attach]
Example Usage [attach]12345[/attach]
Example Output

Drupal link
Adds a link to a drupal node using the node's title. The option can be the node ID or the relative path to the node (path aliases are supported). If the option is ommited the value is used as the option and the node's title is used for the link text.
Usage [drupal]value[/drupal]
[drupal=Option]value[/drupal]
Example Usage [drupal]3[/drupal] [drupal=3]Alternative title[/drupal]
Example Output Acute Myelogenous Leukemia Alternative title

Drupal image thumbnail
Adds a clickable thumbnail to a drupal image node. The option can be the node ID or the relative path to the node (path aliases are supported). If the option is ommited the value is used as the option and the node's title is used for the alternative text. This tag is only useful when the drupal image module is installed.
Usage [dimage]value[/dimage]
[dimage=Option]value[/dimage]
Example Usage [dimage]1[/dimage] [dimage=1]Alternative title[/dimage]
Example Output Alternative title


All times are GMT -5. The time now is 08:47 AM.