vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Show Thread Enhancements - Highlight BBCode (https://vborg.vbsupport.ru/showthread.php?t=121721)

Patria 07-20-2006 10:00 PM

Highlight BBCode
 
Highlight BBCode

Install instructions

1) Upload highlight.gif to /images/misc

2) Login into your AdminCP

3) Custom BB Codes, Add New BB Code

Title: Highlight

Replacement:
PHP Code:

<span style="background-color: Yellow; foreground-color: Black;">{param}</span

Example:
PHP Code:

[highlight]vBulletin[/highlight

Use {option}: No
Button Image (Optional): images/misc/highlight.gif

HC. 07-21-2006 11:18 AM

This should be a standard option for VB
Thanks!
Great work

Snake 07-21-2006 12:20 PM

That's right but nonetheless, thanks! :)

steelerwatch 07-21-2006 12:27 PM

Nifty!

The Free Bird 07-21-2006 02:58 PM

thinks

marksman1 07-23-2006 06:32 PM

I installed this but it told me a highlight bbcode already existed. I used highlighter instead for now, but I don't have a highlight custom bbcode, so is there a default code called highlight?

Patria 07-24-2006 04:29 PM

Quote:

Originally Posted by marksman1
I installed this but it told me a highlight bbcode already existed. I used highlighter instead for now, but I don't have a highlight custom bbcode, so is there a default code called highlight?

My default vB 3.5 installation didnt had a default highlight code. :confused:

Spiceworld 09-11-2006 07:15 PM

Same as marksman1 - mine told me Highlight already exists. Running latest version ie:3.6.0

Richard

Adrian Schneider 09-11-2006 07:17 PM

<span class="highlight">highlight</span> does already exist

YabbaDabba 09-12-2006 02:04 PM

<span class="highlight">Highlighted text</span>

Above text uses tag: [highlight]

...not exactly highlight, tho

Patria 09-13-2006 04:23 PM

If Highlight exist, change the Title to

Title: Highlighted

and the Example code to

Example:
PHP Code:

[highlighted]vBulletin[/highlighted

Btw.: The default Highlight BB-Tag came between 3.5.x and 3.6.0.

TroyF2000 10-10-2006 11:56 PM

How can I make all my hyperlinked text highlighted with this thing? It would sure look better than an underline under everything. Better yet, is it possible to have like a mouseover highlight effect for each hyerlink text? Thanks.

Patria 10-12-2006 11:46 PM

Quote:

Originally Posted by TroyF2000
How can I make all my hyperlinked text highlighted with this thing? It would sure look better than an underline under everything. Better yet, is it possible to have like a mouseover highlight effect for each hyerlink text? Thanks.

If you like to replace the link style in general then you should go to AdminCP, Style Manager, Style, Main CSS and look for Normal Link CSS, Visited Link CSS and Hover Link CSS settings.

Red Matrix 10-19-2006 08:32 PM

I think you could modify this code to create a dropdown background color tool!

CardinaLe 09-04-2007 09:34 PM

Wish these bbcodes could work with firefox too

AllenSam 09-07-2007 08:18 PM

I use
Code:

<span style="background-color: {option}">{param}</span>
and I use [hl]

This allows users to put something like [hl=blue]Text[/hl] for a blue highlight. It works in FireFox too.

It can also be combined with [color] to make a blue highlight with yellow text for example.

RedGTiVR6 02-27-2008 06:14 PM

Anyone know if this works with 3.7?

GouroB 02-28-2008 09:01 AM

[highlighted]vBulletin[/highlighted]

RedGTiVR6 02-28-2008 12:07 PM

They don't have it installed on this forum....

lemonadesoda 01-21-2010 10:39 PM

Use:
Code:

<span style="background-color: {option}; padding: 2px; ">{param}</span>
for a better highlight... it adds 2 pixels padding around the text.


All times are GMT. The time now is 12:40 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01603 seconds
  • Memory Usage 1,752KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (3)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (20)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete