vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=236)
-   -   BB Code Enhancements - CSS Text Shadow BB Code (https://vborg.vbsupport.ru/showthread.php?t=250196)

vijayninel 09-08-2010 09:00 PM

CSS Text Shadow BB Code
 
1 Attachment(s)
This BB code will give a CSS drop shadow to text inside it. You can use it to create better looking articles, posts, news etc. It works on all browsers except Internet Explorer.

In the vB ACP go to Custom BB Codes > BB Code Manager and click on Add new BB Code and fill in the following.

Title : Text shadow

BB Code Tag Name : shadow

Replacement :
HTML Code:

<span style="text-shadow: {option}px {option}px {option}px #a4a1a1;">{param}</span>
Example : [shadow=2]text shadow[/shadow]

Description : This bb code is used to give a shadow to text.

Use {option} :
Yes

Button Image : https://vborg.vbsupport.ru/external/2010/09/20.png

Remove Tag If Empty :
Yes

Disable BB Code Within This BB Code : No

Disable Smilies Within This BB Code : No

Disable Word Wrapping Within This BB Code : No

You can set the shadow distance by adjusting the value inside the first tag. For eg this [shadow=2] will give a shadow of 2 pixels.

To change the colour of the shadow replace the : #a4a1a1 with any colour that you want.

Please mark installed if used. :)

fxwoody 09-10-2010 11:37 AM

Looks cool! I will try it to see, tho, is there a way we can input this fonction with a button?
It would be easier for the members that have no experience with bbcodes !:)

Cheers

vijayninel 09-10-2010 12:27 PM

Added button image as well. Just enter the image url given in the Button Images field. :)

COL NIL SATIS 09-10-2010 02:40 PM

will this work on 4.0.3 mate??

COL NIL SATIS 09-10-2010 03:04 PM

confirmed it works on 4.0.3...great stuff..also looks classy ..thanks buddy

vijayninel 09-11-2010 12:51 AM

Welcome. Thanks for confirming that it works in 4.x :)

fxwoody 09-11-2010 11:31 AM

Ah tks vijayninel for the button! will give it a try to see how it turns out ;)

installed :)

vijayninel 09-11-2010 11:45 AM

Quote:

Originally Posted by fxwoody (Post 2096666)
Ah tks vijayninel for the button! will give it a try to see how it turns out ;)

installed :)

Welcome and please do click installed here if you have installed on your site. :(

COL NIL SATIS 09-12-2010 03:38 PM

Quote:

Originally Posted by vijayninel (Post 2096510)
Welcome. Thanks for confirming that it works in 4.x :)

your welcome mate!!!! :)

Thelonius Beck 09-27-2010 02:41 PM

Cool, thanks.


All times are GMT. The time now is 05:59 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.02473 seconds
  • Memory Usage 1,728KB
  • 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_html_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete