Login  Register

Re: How to add/edit emoticons, i.e. smileys

Posted by GregChapman on Jan 15, 2013; 10:39am
URL: https://support.nabble.com/How-to-add-edit-emoticons-i-e-smileys-tp7114253p7582729.html

Hi,

When you reach the smiley table you'll see large button at the top of the screen "Override this macro". Click that! That will produce a second editable version of the macro above the existing version. Once your edit is complete click the "Save changes" button.

A comment in the code towards the top explains what it needed:

You can edit the table below if you want to customize the list of smileys.
Use the 'smiley' command just like in the default cases, but you can print the
full URL of your smileys in the 'src' attribute. Example:
< n.smiley name="My Smiley" src="http://domain.com/image.gif"/>

You'll see that the table that contains the table contains a number of table rows (< tr>...< /tr>) and that each row contains a number of table data cells (< td>...< /td>) Just substitute the data for your preferred smiley in any of the lines:
< td>< n.smiley name="My Smiley" src="http://domain.com/image.gif"/>< /td>

If you want to keep all the existing smileys then you can either make each row longer or add an extra row by adding the necessary < tr>...< /tr> tags.

Just have a play. If it all goes horribly wrong all you need to do is click the button "Remove this override" and you'll be back where you started.
Volunteer Helper - but recommending that users move off the platform!
Once the admin for GregHelp now deleted.