View Full Version : BB Code Enhancements - BBCode - Glowing Text
orange gold
12-23-2010, 10:00 PM
Some quick code I wrote up to put a glow around your text.
Example's can be seen in screen-shot below...
Go to Admin CP:
BBCode:
New:
Title:
Glow
BB Code Tag Name:
glow
Replacement:
<style type="text/css">
font.glow1 {text-shadow: 0.0em 0.0em 0.5em #{option}, 0.0em 0.0em 0.5em #{option}, 0.0em 0.0em 0.5em #{option}}
</style>
<font class=glow1>{param}</font>
Example:
Green Glow
Description:
Puts a glow around text....
Use {option}:
Yes.
Leave everything else default... Enjoy!
..
add this path in fild
images/editor/glow1.gif
rghit click then save this button https://vborg.vbsupport.ru/external/2012/03/5.gif
..
RK KINGKONG
12-25-2010, 07:31 AM
This is nice n simple for a noob like me to do unlike so many of these other mods lol , how can i add like a button to this for ppl to use when posting . i saw theres a spot for adding a url image location but where will that button be displayed ? thank you
Dr.osamA
12-25-2010, 11:48 PM
good work
installed
you have open tag in the code , so if we use it overall text under that will be glow
not working with IE too
thank you bro
Dr.osamA
12-25-2010, 11:53 PM
This is nice n simple for a noob like me to do unlike so many of these other mods lol , how can i add like a button to this for ppl to use when posting . i saw theres a spot for adding a url image location but where will that button be displayed ? thank you
add this path in fild
images/editor/glow1.gif
rghit click then save this button https://vborg.vbsupport.ru/external/2012/03/5.gif
orange gold
12-26-2010, 12:40 AM
There are no open tags... It works on my forum... Perhaps you forgot to copy and paste the full thing.. With the </font> at the end for the replacement code.. ?
RK KINGKONG
12-26-2010, 12:46 AM
just wanted to thank you dearly that worked awesome then all i had to do was add an image to represent it ,. thank you sir add this path in fild
images/editor/glow1.gif
rghit click then save this button https://vborg.vbsupport.ru/external/2012/03/5.gif
majidmozaffari
03-02-2011, 05:36 AM
this cod for my not work
for my work this cod
<font style="color: #{option}; text-shadow: 0px 0px 3px;">{param} </font>
What do you put in as the option for the [GLOW] tag?
bulldog51981
03-06-2011, 05:03 PM
What do you put in as the option for the [GLOW] tag?
This is where you put the html color code for what color you want the glow to be.
bulldog51981
03-06-2011, 05:04 PM
This is a great BBCode until you have more than one post that uses it. What ever the last post is that uses a glow color, all of the posts in that thread then turn to that color.
ArtyAF
03-07-2011, 07:03 PM
This is a great BBCode until you have more than one post that uses it
use dis subst in stead:
<style type="text/css">
font.glow{option} {text-shadow: 0.0em 0.0em 0.5em #{option}, 0.0em 0.0em 0.5em #{option}, 0.0em 0.0em 0.5em #{option}}
</style>
<font class=glow{option}>{param}</font>
Kingdombuilder
03-08-2011, 02:53 AM
I'm running 4.1.2 ans it does not work for me either... Great looking BBcode though.
TEMPESTADE
05-08-2011, 07:17 AM
I'm running 4.1.3 ans it work fine for me tanks
TheChief
05-08-2011, 08:18 AM
Added and loving it, cheers mate
doctorsexy
05-08-2011, 04:01 PM
im on 4.1.3 it didnt work untill i swopped ths <style type="text/css"> with this <style type=text/css>...for some reason...
steveyos666
05-15-2011, 11:46 PM
use dis subst in stead:
<style type="text/css">
font.glow{option} {text-shadow: 0.0em 0.0em 0.5em #{option}, 0.0em 0.0em 0.5em #{option}, 0.0em 0.0em 0.5em #{option}}
</style>
<font class=glow{option}>{param}</font>
vb 4.1.3
The OP gives me the error where the last color choice changes all previous ones, but this post here works fine with firefox 4, but with IE9 (both this one and OP) I see nothing, just looks like a normal post, but who uses IE9 anyway or IEanything for that matter :D
victorvu
07-11-2011, 03:35 AM
Thanks for the code, but it did not work for me in V 4.1.4.
Victor
n00bl3t
08-07-2011, 10:39 PM
Yeah this would be really awesome if it worked for 4.1.4
Mooff
08-07-2011, 11:05 PM
Just checked on our testboard (running 4.1.5) it does work.
We prolly won't use, was just curious why that shouldn't work anymore.
Anyway, i modified the css-replacement code above (i think it's cleaner that way - no offense intended):
<span style="text-shadow: 0.0em 0.0em 0.5em #{option};">{param}</span>
Hf guys.
Kirk.H
10-25-2011, 12:28 PM
work's on v4.1.7
JimxJNM
11-10-2011, 06:25 AM
this is great. but when i tested it in my Shoutbox it doesn't show any glow. i fixed the settings for the shoutbox to allow custom BBCodes, but it didn't show any glow. any help?
Also installed
BirdOPrey5
03-12-2012, 02:37 AM
Be aware with {option} being used in the CSS like that a nefarious person could ruin the look of your page if they enter malicious code... They could change the look of pretty much anything or even make the page completely blank.
It would be a lot safer if you didn't use {option} and manually specified a glow color in the replacement text instead.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.