Back to vBulletin Tips & Tricks

How to remove smilies' text from smilies drop menu
by Mazinger 09 Dec 2008

If you have a large collection of smilies and each smilie is associated with a random ID/name that doesn't anyway express the smilie. You might prefer to remove it. (Screenshot attached)

Edit: clientscript/vbulletin_textedit.js

Find:

PHP Code:
option.innerHTML '<img src="' smilieoptions[cat][smilieid][0] + '" alt="' PHP.htmlspecialchars(smilieoptions[cat][smilieid][2]) + '" /> ' PHP.htmlspecialchars(smilieoptions[cat][smilieid][2]); 
Replace with:

PHP Code:
option.innerHTML '<img src="' smilieoptions[cat][smilieid][0] + '" alt="' PHP.htmlspecialchars(smilieoptions[cat][smilieid][2]) + '" /> '
Then save.
Attached Thumbnails
Click image for larger version
Name:	smilietext.gif
Views:	182
Size:	32.4 KB
ID:	90357  

vblts.ru supports vBulletin®, 2022-2024