Back to vBulletin 3.6 Template Modifications

Various Unusual BB Code (and Definition List)
Mod Version: 1.5, by cheat-master30

This modification is in the archives.
vB Version: 3.6.x Rating: (3 votes - 4.67 average) Installs: 23
Released: 23 Jun 2007 Last Update: Never Downloads: 4
Not Supported  

This modification is not a modification in the sense it requires actual template modifications, but nor is it an add on product in that it uses what is already in vBulletin, as in the BB code manager. This is simply a collection of BB code for features not found online often, and that use standards compliant, semantic code to add curious codes that may come in handy sometimes.

Updates:

1.9- Thanks to a contributor, I added editor buttons for most BB codes.1.8- Added strike through BB code.
1.7- Added a new code (definition) which looks awesome.
1.6- Tried a new code (Internet Explorer only, see post 3.

1.5- Updated Definition List codes. New one allows infinite child items and is perfectly XHTML valid. Also has bold headings.

1.4- Added glossary link code and blink code (plus instructions on how to block blinking text in Firefox

1.3- Forgot to add css for overline in second post.

1.2- Added some other sites to the search link code

1.1- Added horizontal rule and Spoiler code

1.0- Release BB Code

Support:

None needed

Notes:

Works in any version with custom BB code as an option. Tested in vBulletin 3.6.4, 3.6.5, 3.6.6 and 3.6.7 PL1.

Definition List

This allows users to insert a definition list in their posts, and when used with the definition entry BB code, has a wide range of uses.

Code to use:

Code:
[Definition]
Replacement:
Code:
<dl>{param}</dl>
Example:

Code:
[Definition][Defineobject=PHP]A scripting language used for interactive features such as forums online[/Defineobject][/Definition]
Description:

Use this to insert the definition titles and actual definitions.

Definition Entry (only use with definition list)

Code to use:

Code:
Defineobject
Replacement:

Code:
<dt><b>{option}</b></dt>
<dd>{param}</dd>
Example:

Code:
[Defineobject=PHP]A scripting language used for interactive features such as forums online[/Defineobject]
Description:


Use this to add more definitions to a definition list.

Heading

Use this to add heading tags of types 1 to 6 in posts. Semantic titles without using bold formatting or italics and that show the level of heading to screen readers and the like.

Tag:

Code:
h
Replacement:

Code:
<h{option}>{param}</h{option}>
Example:

Code:
[h=1]This is a heading[/h]
Description:

Use this to insert a semantically correct heading into the document by modifying the text you want made into a bold, large heading. This is good semantics for headings in guides and FAQs.

Google Search:

Use this to link to Google for the specified term. I also attached a modified one which replaces Google with Ask Jeeves. Can also be used for any search engine online if you know how to edit the code.

Tag:

Google


Replacement:


Code:
<a href="http://www.google.com/search?hl=en&q={param}">{param}</a>
Example:

Code:
[google]Nintendo[/google]
To use with Ask Jeeves, use this replacement for the replacement part in BB code manager:

Code:
<a href="http://uk.ask.com/web?q={param}">{param}</a>
For Wikipedia, use this for the replacement:

Code:
<a href="http://en.wikipedia.org/wiki/{param}">{param}</a>
To use Lycos, use this for a replacement:

Code:
<a href="http://search.lycos.com/?query={param}&x=0&y=0">{param}</a>
To use Yahoo, use this as a replacement:

Code:
<a href="http://search.yahoo.com/search?p={param}&fr=yfp-t-501&toggle=1&cop=mss&ei=UTF-8&vc=&fp_ip=UK">{param}</a>
To use the Internet Archive, use this as a replacement:

Code:
<a href="http://web.archive.org/web/*/{param}">{param}</a>
You can use each one as a different code if you wish.

Right to left

Changes text direction.

Tag:

rtl

Replacement:

Code:
<bdo dir="rtl">{param}</bdo>
Example:

Code:
[rtl]This is weird[/rtl]
Description:

Turns the text from the right to left rather than left to right.

Sub Script

This is explanatory in the name.

Tag:

sub

Replacement:

Code:
<sub>{param}</sub>
Example:

Code:
[sub]test[/sub]
Description:

Make text that floats slightly below the main text.

Sup Script

Tag:

sup

Replacement:

Code:
<sup>{param}</sup>
Example:


Code:
3[sup]3[/sup]
Description:

This is for text floating slightly above, like how the 3 floated up and to the right of a number shows that it is cubed.

Horizontal Line


Tag:

hr

Replacement:

Code:
<hr /><p>{param}</p>
Example:
Code:

Description:

Use this to insert a horizontal line into your post with your highlighted content below it.

Note: The text between goes in the p tags under the line.

Spoiler Tag

Tag:

spoiler

Replacement:
Code:
<span class="Spoiler">{param}</span>
In CSS, add:
Code:
.Spoiler {background: white; color: white; outline: 1px solid black;}

Example:


Code:
[spoiler]There is a Shroob Princess in the Cobalt Star in Mario and Luigi 2[/spoiler]
Description:

You can use this to hide spoilers in games, movies and from TV shows by turning the text the same colour as the background.

Blinking Text

Tag:

blink

Replacement:

Code:
<span style="text-decoration: blink">{param}</span>

Example:


Code:
[blink]text[/blink]
Description:

This allows you to have blinking text.

To disable blink in Firefox if favourite forums implements above code:

Type in about:config then set browser.blink_allowed so the value is false. No more blinking text.

Glossary Category Link:

Tag:

Glossary

Replacement:

Code:
<a href="glossary.php?do=listglossary&c=1&ltr={param}&pp=0">{param}</a>
Example:

Code:
[glossary]A[/glossary]
Description:

Use this to link to a glossary category.

Definition

Tag:

def

Replacement:

Code:
<dfn title="{option}">{param}</dfn>
Add in CSS:

Code:
dfn {font-weight: bold; background: gold; cursor: help; }
Example:

Code:
[def=A popular games company]Nintendo[/def]
Description:

Use to post definitions, without a list, in your posts or signatures.

Strike Through

tag:

strike

Replacement:

Code:
<span class="linethrough">{param}</span>
in CSS:

Code:
.linethrough {text-decoration: line-through; }
Example:

Code:
[strike]Line is crossed out[/strike]
Description:

Use this to cross out words in a post. Or sentences. Or paragraphs.

Download

No files for download.

Supporters / CoAuthors

  • cheat-master30

Screenshots

Click image for larger version
Name:	morebbcode.jpg
Views:	646
Size:	79.9 KB
ID:	66039   Click image for larger version
Name:	morevbcode.jpg
Views:	415
Size:	52.0 KB
ID:	66040   Click image for larger version
Name:	overlineandpre.jpg
Views:	330
Size:	33.4 KB
ID:	66041   Click image for larger version
Name:	dflistinpost.jpg
Views:	488
Size:	61.5 KB
ID:	66042  

Click image for larger version
Name:	picture1.jpg
Views:	411
Size:	85.6 KB
ID:	66045   Click image for larger version
Name:	rtlandmore.jpg
Views:	389
Size:	88.7 KB
ID:	66046   Click image for larger version
Name:	rtlinsig.jpg
Views:	604
Size:	65.7 KB
ID:	66047  

Similar Mods

BB Code Enhancements High Definition and Widescreen Youtube BB Code vBulletin 3.7 Template Modifications
Invisable User Definition vBulletin 2.x Full Releases

vblts.ru supports vBulletin®, 2022-2024