Chadi
04-21-2009 10:00 PM
Text Background Highlight
Text Background Highlight
This will automatically add a simple css background color to your selected text.
See screenshot for example.
Installation Upload attached highlight.png icon to your forum's image folder
Go to admincp > bbcode manager
Click "add new bbcode"
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:
All times are GMT. The time now is 10:28 AM .
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.00996 seconds
Memory Usage 1,720KB
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(1) bbcode_code_printable(1) bbcode_quote_printable(1) footer(1) gobutton(1) header(1) headinclude(6) option(1) post_thanks_navbar_search(1) printthread(1) printthreadbit(1) spacer_close(1) spacer_open
Phrase Groups Available:
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
Messages: (unspecified) fetch_permissions(224, 0, 1,''); -> cached fperms for forum 224
returning smilies from the datastore
php_sapi_name(): fpm-fcgi