Log in

View Full Version : BB Code Enhancements - CSS Text Shadow BB Code


vijayninel
09-08-2010, 10:00 PM
https://vborg.vbsupport.ru/external/2010/09/4.gif

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 : <span style="text-shadow: {option}px {option}px {option}px #a4a1a1;">{param}</span>Example : text 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, 12:37 PM
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, 01:27 PM
Added button image as well. Just enter the image url given in the Button Images field. :)

COL NIL SATIS
09-10-2010, 03:40 PM
will this work on 4.0.3 mate??

COL NIL SATIS
09-10-2010, 04:04 PM
confirmed it works on 4.0.3...great stuff..also looks classy ..thanks buddy

vijayninel
09-11-2010, 01:51 AM
Welcome. Thanks for confirming that it works in 4.x :)

fxwoody
09-11-2010, 12:31 PM
Ah tks vijayninel for the button! will give it a try to see how it turns out ;)

installed :)

vijayninel
09-11-2010, 12:45 PM
Ah tks vijayninel for the button! will give it a try to see how it turns out ;)

installed :)

Welcome and please do click installed (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=250196) here if you have installed on your site. :(

COL NIL SATIS
09-12-2010, 04:38 PM
Welcome. Thanks for confirming that it works in 4.x :)

your welcome mate!!!! :)

Thelonius Beck
09-27-2010, 03:41 PM
Cool, thanks.

SpeedyHire
09-28-2010, 05:10 AM
strange when using the button it dont work right.

esting shadow{SHADOW="testing shadow test to see what it is like"}{/SHADOW}

that is what is shown on the input message field using the button

works fine if you just use the tags codes yourself

marshal_ramdev
09-30-2010, 03:00 AM
thanks man willl use it and update if works ;) :D


Edit :- .. IT didn't worked . ver.3.8.3

it shows nothin