Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted May 25, 200618 yr 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
May 25, 200618 yr +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 -_-
May 29, 200618 yr 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
May 29, 200618 yr 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
Archived
This topic is now archived and is closed to further replies.