Simple Machines Community Forum

Archived Boards and Threads... => Archived Boards => SMF Feedback and Discussion => Aiheen aloitti: halpern - huhtikuu 15, 2006, 07:42:37 AP

Otsikko: Text glow feature
Kirjoitti: halpern - huhtikuu 15, 2006, 07:42:37 AP
I have a user on my board that is using the text glow feature which is somewhat annoying.  They are using it in all of their posts so all we see is bright yellow backgroun with black text when trying to read the posts.  Is there any way that I can disable this?
Otsikko: Re: Text glow feature
Kirjoitti: Ben_S - huhtikuu 15, 2006, 08:08:39 AP
Yep, although it depends on what version of SMF you are using as to how.
Otsikko: Re: Text glow feature
Kirjoitti: Harzem - huhtikuu 15, 2006, 08:14:29 AP
halpern, you are using firefox, right?

IE shows a glowing nice text (I don't think they are nice, but much people thinks so) but Firefox shows a bad still background. I use firefox and hate that glowing texts.

Admin Panel > Boards and Topics > Bulletin Board Code > Deselect "glow"

so your forum members won't be able to use it any more.
Otsikko: Re: Text glow feature
Kirjoitti: Dannii - huhtikuu 15, 2006, 08:29:43 AP
or in 1.1 you could change the glow BB code to this:
array(
'tag' => 'glow',
'type' => 'unparsed_commas',
'test' => '[#0-9a-z\-]{3,12},([012]\d{1,2}|\d{1,2})(,[^]]+)?\]',
'before' => $context['browser']['is_ie'] ? '<table border="0" cellpadding="0" cellspacing="0" style="display: inline; vertical-align: middle; font: inherit;"><tr><td style="filter: Glow(color=$1, strength=$2); font: inherit;">' : '',
'after' => $context['browser']['is_ie'] ? '</td></tr></table> ' : '',
),
IE people will get the glow, and FF+others will get nothing.
Otsikko: Re: Text glow feature
Kirjoitti: halpern - huhtikuu 15, 2006, 05:34:23 IP
Thanks.  I just deleted it from the php file.  Appreciate the help.
Otsikko: Re: Text glow feature
Kirjoitti: MagickCrafter - lokakuu 18, 2006, 12:27:40 AP
Lainaus käyttäjältä: eldʌkaː - huhtikuu 15, 2006, 08:29:43 AP
or in 1.1 you could change the glow BB code to this:
array(
'tag' => 'glow',
'type' => 'unparsed_commas',
'test' => '[#0-9a-z\-]{3,12},([012]\d{1,2}|\d{1,2})(,[^]]+)?\]',
'before' => $context['browser']['is_ie'] ? '<table border="0" cellpadding="0" cellspacing="0" style="display: inline; vertical-align: middle; font: inherit;"><tr><td style="filter: Glow(color=$1, strength=$2); font: inherit;">' : '',
'after' => $context['browser']['is_ie'] ? '</td></tr></table> ' : '',
),
IE people will get the glow, and FF+others will get nothing.

What file needs modifying here?

Thx
Otsikko: Re: Text glow feature
Kirjoitti: Dannii - lokakuu 18, 2006, 12:30:27 AP
Subs.php