Difference between revisions of "Smilies"

From Mibbit Wiki
Jump to: navigation, search
(ordering)
(Using your own smileys)
Line 22: Line 22:
 
*Icon URL:  A URL to an image that will replace the text found in Code.
 
*Icon URL:  A URL to an image that will replace the text found in Code.
 
see Prefs -> Smileys (main client or widget.mibbit.com/manager/ )
 
see Prefs -> Smileys (main client or widget.mibbit.com/manager/ )
 +
==Using your own smileys==
 +
To load your own smiley-set replace '''Base URL''': <code>/smileys/rainbow/</code> with <code><nowiki>http://the.server.blah/path/to/smiley-folder/</nowiki></code> in prefs -> smileys.
  
 +
If you want to mix smileys from different sources put only <code>http://</code> into '''Base URL''' and the full server/path/filename.ext into the fields of the '''URL''' column of the table, e.g.,
 +
:) &nbsp; mibbit.com/smileys/rainbow/smile.gif
 +
:( &nbsp; my.server.com/my-smileys/sad.gif
 +
etc.
 
==Warning==
 
==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 "(".
+
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.
  
 
[[Category:Preferences]]
 
[[Category:Preferences]]
 
[[Category:How To]]
 
[[Category:How To]]

Revision as of 08:00, 25 July 2009

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

  • Width: The width of the smiley when shown.
  • Height: The height of the smiley when shown.
  • Smileys base URL: In the ICON URL section, have it start with the text in this line. For example, if all your smilies start with "http://" (which they usually should), then you can put that there, and take it off of your smilies. If you only want to replace some smileys the "/smileys/" must be moved from base to the front of each default smiley.
  • Code: Mibbit searches for the code of each line of text for this, and replaces it with the picture hosted on the Icon URL.
  • Icon URL: A URL to an image that will replace the text found in Code.

see Prefs -> Smileys (main client or widget.mibbit.com/manager/ )

Using your own smileys

To load your own smiley-set replace Base URL: /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.,

:)   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.