Uutiset:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu
Advertisement:

Text glow feature

Aloittaja halpern, huhtikuu 15, 2006, 07:42:37 AP

« edellinen - seuraava »

halpern

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?

Ben_S

Yep, although it depends on what version of SMF you are using as to how.
Liverpool FC Forum with 14 million+ posts.

Harzem

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.

Dannii

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.
"Never imagine yourself not to be otherwise than what it might appear to others that what you were or might have been was not otherwise than what you had been would have appeared to them to be otherwise."

halpern

Thanks.  I just deleted it from the php file.  Appreciate the help.

MagickCrafter

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

Dannii

"Never imagine yourself not to be otherwise than what it might appear to others that what you were or might have been was not otherwise than what you had been would have appeared to them to be otherwise."

Advertisement: