Back to vBulletin 3.8 Add-ons

Highlight BBCode - Highlights text with a yellow box (BB Code)
Mod Version: 1.00, by BirdOPrey5

vB Version: 3.8.x Rating: (3 votes - 5.00 average) Installs: 12
Released: 08 Aug 2010 Last Update: Never Downloads: 0
Not Supported Re-usable Code Translations  

This is a simple bbcode to highlight text with a yellow box. You can of course change the color to your needs.

This has been confirmed working in the latest releases of IE, FF, Chrome, Safari, and Opera.

Demo: http://www.juot.net/forums/showthread.php?p=845388&styleid=1#post845388

Add a new BBCode

Title: Highlight
BB Code Tag Name: hl
Replacement:
Code:
<span style="background-color:yellow;color:black;">{param}</span>
Example: [hl]This is a highlight test[/hl]
Description: This highlights selected text.
Use Option: No
Button Image: (optional)

Remove Tag If Empty: Yes
All Disable Options: No

The above implementation fixes the color of the highlight at yellow and the text black for easy use. If you prefer you may also install it with a variable highlight color. If you prefer to have the user choose the highlight color then instead add the following:

Title: Highlight
BB Code Tag Name: hl
Replacement:
Code:
<span style="background-color:{option};color:black;">{param}</span>
Example: [hl="cyan"]This is a highlight test[/hl]
Description: This highlights selected text.
Use Option: Yes
Button Image: (optional)

Remove Tag If Empty: Yes
All Disable Options: No

You can use standard color names in the option such as red, blue, green, yellow, etc...
You can also use hex color codes preceded by the # sign for exact colors, such as #0000FF
http://www.december.com/html/spec/colorhex.html

Please mark as installed if you use this.

Check My Profile for other BB Code enhancements. They work on all versions.

Screenshot:

Download

No files for download.

Screenshots

Click image for larger version
Name:	ss_highlight.jpg
Views:	1730
Size:	29.5 KB
ID:	120558  

Similar Mods

Show Thread Enhancements Highlight BBCode vBulletin 3.6 Add-ons

vblts.ru supports vBulletin®, 2022-2024