PDA

View Full Version : Minihack: Descriptive alt text for smilies


Mystis
03 Jan 2003, 17:31
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 (http://www.vbulletin.org/forum/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 (http://www.vbulletin.org/forum/misc.php?s=&action=install&threadid=47329)!

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

Auero
03 Jan 2003, 17:40
I like it, it's small but it's useful. Good one Mystis :D

Dean C
03 Jan 2003, 19:07
Nice simple hack - good job buddy

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

- miSt

Joe Page
03 Jan 2003, 20:03
Thanks for this mod :)

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

Looks good Mystis:)

Satan

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

Mystis
03 Jan 2003, 23:06
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
04 Jan 2003, 14:35
Installed - grooveh :D

Boofo
02 Feb 2003, 17:41
Nice hack. ;)

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