PDA

View Full Version : Minihack: Descriptive alt text for smilies


Mystis
01-02-2003, 10:00 PM
This hack adds alt text to smilies, describing them and showing the the text that you need to use in posts to display them. It's very practical, especially in forums with lots of smilies. It's very simple to install, details are in the attached text file.

Screenshots:
Screenshot (https://vborg.vbsupport.ru/attachment.php?s=&postid=337996) - Note that the mouse is actually over the lime green (2nd) smilie, printscreen just doesn't actually capture the cursor :)

If you like the hack, make sure and install it (https://vborg.vbsupport.ru/misc.php?s=&action=install&threadid=47329)!

Mystis
01-03-2003, 04:34 PM
Screenshot - Note that the mouse is actually over the lime green (2nd) smilie, printscreen just doesn't actually capture the cursor :)

Auero
01-03-2003, 04:40 PM
I like it, it's small but it's useful. Good one Mystis :D

Dean C
01-03-2003, 06:07 PM
Nice simple hack - good job buddy

I would have ran round in circles adding a column to the smilie table hehe

- miSt

Joe Page
01-03-2003, 07:03 PM
Thanks for this mod :)

Chris M
01-03-2003, 07:23 PM
@Dean - Stop changing ur sig and avatar! I can't recognise you:p

Looks good Mystis:)

Satan

drumsy
01-03-2003, 08:53 PM
Not working for me. I get no errors, I just get the smilie name, no alt text, no "( )", nothing.

Mystis
01-03-2003, 10:06 PM
That's odd. Would you be confortable e-mailing me part of your functions.php? If so, start where it says '//smilies' (unhacked line 646) and finish where it says 'if($dobbcode and strpos($bbcode,"]")) {' (unhacked line 663).

John
01-04-2003, 01:35 PM
Installed - grooveh :D

Boofo
02-02-2003, 04:41 PM
Nice hack. ;)

You might want to note that the "alt text" only shows up in the actual posts and not in the smilies box. :)