McQ Posted May 25, 2006 Posted May 25, 2006 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
ellawella Posted May 25, 2006 Posted May 25, 2006 +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 -_-
JSSF Posted May 29, 2006 Posted May 29, 2006 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
Shawn Dean Posted May 29, 2006 Posted May 29, 2006 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 CodeSave & Close File
Recommended Posts
Archived
This topic is now archived and is closed to further replies.