The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Various Unusual BB Code (and Definition List) Details »» | |||||||||||||||||||||||||||
Various Unusual BB Code (and Definition List)
Developer Last Online: Apr 2010
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] Code:
<dl>{param}</dl> Code:
[Definition][Defineobject=PHP]A scripting language used for interactive features such as forums online[/Defineobject][/Definition] Use this to insert the definition titles and actual definitions. Definition Entry (only use with definition list) Code to use: Code:
Defineobject Code:
<dt><b>{option}</b></dt> <dd>{param}</dd> Code:
[Defineobject=PHP]A scripting language used for interactive features such as forums online[/Defineobject] 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 Code:
<h{option}>{param}</h{option}> Code:
[h=1]This is a heading[/h] 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: Replacement: Code:
<a href="http://www.google.com/search?hl=en&q={param}">{param}</a> Code:
[google]Nintendo[/google] Code:
<a href="http://uk.ask.com/web?q={param}">{param}</a> Code:
<a href="http://en.wikipedia.org/wiki/{param}">{param}</a> Code:
<a href="http://search.lycos.com/?query={param}&x=0&y=0">{param}</a> 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> Code:
<a href="http://web.archive.org/web/*/{param}">{param}</a> Right to left Changes text direction. Tag: rtl Replacement: Code:
<bdo dir="rtl">{param}</bdo> Code:
[rtl]This is weird[/rtl] 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> Code:
[sub]test[/sub] Make text that floats slightly below the main text. Sup Script Tag: sup Replacement: Code:
<sup>{param}</sup> Code:
3[sup]3[/sup] 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> Code:
[hr]text[/hr] 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> 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] 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] 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<r={param}&pp=0">{param}</a> Code:
[glossary]A[/glossary] Use this to link to a glossary category. Definition Tag: def Replacement: Code:
<dfn title="{option}">{param}</dfn> Code:
dfn {font-weight: bold; background: gold; cursor: help; } Code:
[def=A popular games company]Nintendo[/def] Use to post definitions, without a list, in your posts or signatures. Strike Through tag: strike Replacement: Code:
<span class="linethrough">{param}</span> Code:
.linethrough {text-decoration: line-through; } Code:
[strike]Line is crossed out[/strike] Use this to cross out words in a post. Or sentences. Or paragraphs. Supporters / CoAuthors Show Your Support
|
Comments |
#32
|
||||
|
||||
I'll see later.
|
#33
|
|||
|
|||
ok, good luck..
|
#34
|
||||
|
||||
Just added strike through BB code. Because someone requested it in 'Modification not Available' forum. I know, should have been in the mod in the first place...
|
#35
|
||||
|
||||
Just a suggestion, you should use inline styles rather than creating classes. Saves the need for an extra step.
|
#36
|
||||
|
||||
Quote:
You can tell this from my site; every page outside the forum is generally under 10KB in size. And all images are micro managed to the KB. |
#37
|
||||
|
||||
Added a ton of button images, provided by a contributor.
|
#38
|
|||
|
|||
I wonder, is it possible to make a bbcode that allows columns? Like having two columns next to one another with text and/or images in them?
|
#39
|
||||
|
||||
That's a table. And there's already a mod for that here:
https://vborg.vbsupport.ru/showthrea...ighlight=table I use it myself. |
#40
|
|||
|
|||
Here are some cool ones I put on my board:
Background Image Code:
Tag: bgimg Replacement: <table border="0" style="background-image:url({option}); background-position:top; background-repeat:no-repeat;"><tr><td>{param}</td></tr></table> Example: [bgimg=urltoimage]Message[/bgimg] Border Code:
Tag: border Replacement: <table border="0" style="border-color:#7282A9; border-width:thick; border-style:{option}; padding:0;"><tr><td valign="middle">{param}</td></tr></table> Example: [border=outset]Message[/border] Hover Code:
Tag: hover Replacement: <span onmouseover="this.innerHTML='{option}'" onmouseout="this.innerHTML='{param}'">{param}</span> Example: [hover=Hovering]Hover[/hover] Click Code:
Tag: click Replacement: <span onclick="this.innerHTML='{option}'" onmouseout="this.innerHTML='{param}'">{param}</span> Example: [click=Clicked]Click[/click] Hold Code:
Tag: hold Replacement: <span onmousedown="this.innerHTML='{option}'" onmouseup="this.innerHTML='{param}'">{param}</span> Example: [hold=Holding]Hold[/hold] Hide Code:
Tag: hide Replacement: <!--{param}--> Example: [hide]Hide[/hide] Also, for Blink, you can just use Code:
<blink>{param}</blink> |
#41
|
||||
|
||||
Nice code. Oh, and the blink code does not work because Internet Explorer has NEVER supported any variant of it, just like how Netscape browsers never supported Marquee as it was Internet Explorer only code.
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|