Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard
Text Background Highlight Details »»
Text Background Highlight
Version: 1.00, by Chadi Chadi is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: BB Code Enhancements - Version: 3.7.x Rating:
Released: 04-21-2009 Last Update: Never Installs: 1
 
No support by the author.

Text Background Highlight

This will automatically add a simple css background color to your selected text.

See screenshot for example.

Installation
  1. Upload attached highlight.png icon to your forum's image folder
  2. Go to admincp > bbcode manager
  3. Click "add new bbcode"
  4. Fill in the following fields
    • Title: Highlighter
    • BB Code Tag Name: highlight
    • Replacement (see below)
    • Example: [bible]john 1[/bible]
    • Description: This allows you to highlight text.
    • Button: /images/highlight.png
The rest of the options can be left to default.

Replacement:
Code:
<style type="text/css">
.background-highlight {
        background-color: #4D528C;
        padding: 1px;
        color: white;
        line-height: 21px;
}
</style>

<span class="background-highlight">{param}</span>


Customizations
If you know css, change the colors and variations to what you want. Otherwise, use this tutorial

Live Demo
http://www.talkjesus.com/press-stand...ents-rule.html
(the purple highlighted text below "our little motto")

Quote:
Isaiah 55:11
11so shall my word be that goes out from my mouth;
it shall not return to me empty,
but it shall accomplish that which I purpose,
and shall succeed in the thing for which I sent it.
Check out my other mods:
Please show your appreciation by voting and clicking install :up:

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:22 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03503 seconds
  • Memory Usage 2,194KB
  • Queries Executed 16 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete