vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Profile Glow Coding Help (https://vborg.vbsupport.ru/showthread.php?t=84831)

Elemenopee 10-01-2002 08:19 PM

Profile Glow Coding Help
 
1 Attachment(s)
Hey well in my my forums i have it setup so you can chose a glow and text color for a custom title. It works perfectly and all...but there is a slight problem

What happens is that if you leave the field blank it just defaults to using a red glow and white text (the text is fine...it's the glow that bugs me) I believe it is glowing red...because of how the custom vb code is setup maybe?

So how can i set it so if the glow field is blank no glow will show?

This is how it is setup as of right now to display in the postbit, incase you need this info

<font style="filter:glow(color=$post[field9], strength=2);height=2px" face="Verdana" size="1" color="$post[field8]"><b>$post[usertitle]</b></font>

also the attachment is what the 2 fields look like in usercp

thanks in advance for any help

Tony G 10-01-2002 11:48 PM

Are you sure there isn't any default color set in the code?

Elemenopee 10-02-2002 02:58 AM

this is the code replacement for my glow
PHP Code:

<font style="filter:glow(color={option}, strength=2);height=1px">{param}</font

and this is the example code
PHP Code:

[glow=red]Text Goes Here[/glow


Tony G 10-02-2002 05:09 AM

Is there actually a glow=red in our code or is that just an example of what it would look like?

Elemenopee 10-02-2002 07:15 AM

which code are you talking about? what have posted is both straight from the postbit and custom vb code setup

Tony G 10-02-2002 09:22 AM

Do you have ANY glow=red in your code, because that would make it glow red.

Elemenopee 10-02-2002 09:55 PM

<a href="http://www.lazerlite.com/forum/glow_readme.html" target="_blank">http://www.lazerlite.com/forum/glow_readme.html</a>

that is the glow hack i installed and am using to call upon for the postbit

Tony G 10-02-2002 11:38 PM

Hmm, maybe that example affects the default code..


All times are GMT. The time now is 08:38 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.01714 seconds
  • Memory Usage 1,719KB
  • 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
  • (2)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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