Jump to content

Alt-Text Option for Smilie Mouse-Overs

Featured Replies

Posted

Smilies are traditionally used by MANY people to graphically replace text.

So ideally when a user does a mouse-over of the smilie, the text it replaces should appear instead of the file name. So a mouse over of :devil: would produce devil (or whatever the admin specified) instead of "devil.gif".





McQ

+1, but as an option. DeviantArt and other places do this and emoticons are sometimes ambiguous so alt text might help.

PS - 300th post! Woot -_-

Has this been considered ? Or it's/will be available ?

Also
I'm looking for a way to do this alt-text with images posted by users. Is this possible ?

Thx

To do the smile code for the alt-text, do the following:

Open File: sources/classes/bbcode/class_bbcode.php
Find:

return "<img src=\"{$this->ipsclass->vars['EMOTICONS_URL']}/$image\" style=\"vertical-align:middle\" emoid=\"".trim($code)."\" border=\"0\" alt=\"$image\" />";




Replace With:

return "<img src=\"{$this->ipsclass->vars['EMOTICONS_URL']}/$image\" style=\"vertical-align:middle\" emoid=\"".trim($code)."\" border=\"0\" alt=\"".trim($code)."\" />";

        // D21-Smilies Alt-Text Use Smilie Code



Save & Close File

+1 Very usefull!

Archived

This topic is now archived and is closed to further replies.

Recently Browsing 0

  • No registered users viewing this page.