Log in

View Full Version : How to remove smilies' text from smilies drop menu


Mazinger
12-08-2008, 10:00 PM
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:

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

Replace with:

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

Then save.

Marco van Herwaarden
12-10-2008, 08:19 AM
Moved to modifications. Please also upload your instructions in a text file.

Mazinger
12-10-2008, 09:03 AM
I'm sorry but that intended to be an article about 'How to do something', not a mod.

Shouldn't it?