Smilies

From Mibbit Wiki
Jump to: navigation, search

Smilies are small icons that replace text. This helps the client look cooler. An example of one is :) which is replaced to Yel02.png by default. That specific smiley can be changed.

Predefined smiley sets

Default Modern Rainbow
Yel02.png
Modern icon smile.gif
Rainbow smile.gif
:) or :-)
Yel36.png
Modern icon sad.gif
Rainbow sad.gif
:( or :-(
Yel06.png
Modern icon biggrin.gif
Rainbow biggrin.gif
:D or :-D
Yel07.png
Modern icon confused.gif
(--) :s or :-s
Yel22.png
Modern winky.gif
Rainbow rolleyes.gif
:/ or :-/
Yel40.png
Modern icon razz.gif
Rainbow arf.gif
:P , :-P , :p or :-p
Yel54.png
Modern icon surprised.gif
Rainbow eek.gif
:O , :-O , :o or :-o
Yel08.png
Modern icon wink.gif
Rainbow wink.gif
;) or ;-)

"Default" are the smilies that come pre-loaded with every account (and person not logged in).

How It Works

see Prefs -> Smileys (main client or widget manager):

  • Width: The width of the smiley when shown.
  • Height: The height of the smiley when shown.
  • Base URL: The common first part for all icons in the URL column.
  • Code: Mibbit searches for the code of each line of text for this, and replaces it with the picture hosted on the Icon URL.
  • URL: The second part of the URL to an image that will replace the text found in Code (or a file name if server/path is common for all icons).

Using your own smileys

To load your own smiley-set replace the current Base URL, e.g., /smileys/rainbow/ with http://the.server.blah/path/to/smiley-folder/ in prefs -> smileys.

If you want to mix smileys from different sources put only http:// into Base URL and the full server/path/filename.ext into the fields of the URL column of the table, e.g.,

:)   chat.mibbit.com/smileys/rainbow/smile.gif
:(   my.server.com/my-smileys/sad.gif

etc.

Warning

Make sure that the code for smilies that might include another one (such as :(( contains :( in it) are above the ones that are included. If you have :( above :(( in the list, It'll parse it as the :( smiley followed by a "(". On most systems path/filenames are case sensitive.