News:

Wondering if this will always be free?  See why free is better.

Main Menu

2.1.4 Glow BBC

Started by Alex98, February 28, 2024, 04:12:07 PM

Previous topic - Next topic

Alex98

Hello, I hope you can help me, I'm looking on this forum and github how to make the glow option work on 2.1.4, I have it on the board, but in practice it doesn't work at all. If someone has a solution, I would be grateful

Kindred

glow was deprecated because many browsers will no longer do it...
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Alex98

Quote from: Kindred on February 28, 2024, 05:28:40 PMglow was deprecated because many browsers will no longer do it...
there is no way to return it?

Antechinus

There is an easy way to return it. Just change that BBC tag to use CSS text-shadow instead of whatever deprecated crap it used to use (can't remember offhand). This could have been done in 2.1 easily enough, but for some reason it wasn't. My guess is that this decision was made because hardly anyone ever used this tag anyway (I have never used it myself).

Alex98

neither am I, but tens of members started to complain that they lack that option, they will try with css

Thanks  :)

Sesquipedalian

If you really want it back, you can find these lines in Load.php and remove 'glow' from the list.

However, doing that will merely allow 'glow' to work if users manually type in the BBCode tags. If you want a toolbar button, etc., you will need to ask someone to make a modification for you.
I promise you nothing.

Sesqu... Sesqui... what?
Sesquipedalian, the best word in the English language.

vbgamer45

Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Antechinus

Incidentally, there's another way you could do it. That's by using a drop-shadow filter instead of text-shadow. The advantage is that not only will it work on text, it will also work on images that have a transparent background. Unlike CSS box-shadow, a drop-shadow filter will only put a shadow on visible pixels of the image.

https://developer.mozilla.org/en-US/docs/Web/CSS/filter-function/drop-shadow

Antechinus

Just thought: I can give a live working example using the text and images in my sig, and your browser's document inspector. Right click on the signature div > Inspect > add the following CSS to "This Element" in the "Rules" panel. :)

#msg_4170967_signature {
   filter: drop-shadow(6px 16px 0 #0007);
}

GL700Wing

Problem of using TR, TD Table in signatures split off into new topic - see https://www.simplemachines.org/community/index.php?topic=588511.0
Life doesn't have to be perfect to be wonderful ...

Slava
Ukraini!
"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

Advertisement: