vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   BB Code Enhancements - BBCode - Glowing Text (https://vborg.vbsupport.ru/showthread.php?t=255820)

orange gold 12-23-2010 10:00 PM

BBCode - Glowing Text
 
1 Attachment(s)
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:
Code:

Glow
BB Code Tag Name:
Code:

glow
Replacement:
Code:

<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:
Code:

[glow=00FF33]Green Glow[/glow]
Description:
Code:

Puts a glow around text....
Use {option}:
Code:

Yes.
Leave everything else default... Enjoy!

..


Quote:

Originally Posted by Dr.osamA (Post 2139054)
add this path in fild
Code:

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

Quote:

Originally Posted by RK KINGKONG (Post 2138840)
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
Code:

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
Quote:

Originally Posted by Dr.osamA (Post 2139054)
add this path in fild
Code:

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
Code:

<font style="color: #{option}; text-shadow: 0px 0px 3px;">{param}  </font>

Rofo 03-06-2011 03:22 PM

What do you put in as the option for the [GLOW] tag?

bulldog51981 03-06-2011 05:03 PM

Quote:

Originally Posted by Rofo (Post 2170214)
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

Quote:

This is a great BBCode until you have more than one post that uses it
use dis subst in stead:
Code:

<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

Quote:

Originally Posted by ArtyAF (Post 2170649)
use dis subst in stead:
Code:

<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):
Code:

<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.


All times are GMT. The time now is 05:03 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.01571 seconds
  • Memory Usage 1,762KB
  • 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
  • (13)bbcode_code_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (22)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete