Difference between revisions of "Smilies"

From Mibbit Wiki
Jump to: navigation, search
(How It Works: 1st, 2nd part of URLs)
(Predefined smiley sets)
Line 2: Line 2:
  
 
==Predefined smiley sets==
 
==Predefined smiley sets==
default|modern|rainbow
+
{| class="wikitable"
* [[Image:yel02.png]] | [[Image:modern_icon_smile.gif]] | [[Image:rainbow_smile.gif]] | ''':)''' or ''':-)'''
+
!Default
* [[Image:yel36.png]] | [[Image:modern_icon_sad.gif]] | [[Image:rainbow_sad.gif]] | ''':(''' or ''':-('''
+
!Modern
* [[Image:yel06.png]] | [[Image:modern_icon_biggrin.gif]] | [[Image:rainbow_biggrin.gif]] | ''':D''' or ''':-D'''
+
!Rainbow
* [[Image:yel07.png]] | [[Image:modern_icon_confused.gif]] | (--) | ''':s''' or ''':-s'''
+
|-
* [[Image:yel22.png]] | [[Image:modern_winky.gif]] | [[Image:rainbow_rolleyes.gif]] | ''':/''' or ''':-/'''
+
| [[Image:yel02.png|center]]  
* [[Image:yel40.png]] | [[Image:modern_icon_razz.gif]] | [[Image:rainbow_arf.gif]] | ''':P''' , ''':-P''' , ''':p''' or ''':-p'''
+
| [[Image:modern_icon_smile.gif|center]]  
* [[Image:yel54.png]] | [[Image:modern_icon_surprised.gif]] | [[Image:rainbow_eek.gif]] | ''':O''' , ''':-O''' , ''':o''' or ''':-o'''
+
| [[Image:rainbow_smile.gif|center]]  
* [[Image:yel08.png]] | [[Image:modern_icon_wink.gif]] | [[Image:rainbow_wink.gif]] | ''';)''' or ''';-)'''
+
| ''':)''' or ''':-)'''
 
+
|-
 +
| [[Image:yel36.png|center]]  
 +
| [[Image:modern_icon_sad.gif|center]]  
 +
| [[Image:rainbow_sad.gif|center]]  
 +
| ''':(''' or ''':-('''
 +
|-
 +
[[Image:yel06.png|center]]  
 +
| [[Image:modern_icon_biggrin.gif|center]]  
 +
| [[Image:rainbow_biggrin.gif|center]]  
 +
| ''':D''' or ''':-D'''
 +
|-
 +
| [[Image:yel07.png|center]]  
 +
| [[Image:modern_icon_confused.gif|center]]  
 +
|
 +
| (--) ''':s''' or ''':-s'''
 +
|-
 +
| [[Image:yel22.png|center]]  
 +
| [[Image:modern_winky.gif|center]]  
 +
| [[Image:rainbow_rolleyes.gif|center]]  
 +
| ''':/''' or ''':-/'''
 +
|-
 +
| [[Image:yel40.png|center]]  
 +
| [[Image:modern_icon_razz.gif|center]]  
 +
| [[Image:rainbow_arf.gif|center]]  
 +
| ''':P''' , ''':-P''' , ''':p''' or ''':-p'''
 +
|-
 +
| [[Image:yel54.png|center]]  
 +
| [[Image:modern_icon_surprised.gif|center]]  
 +
| [[Image:rainbow_eek.gif|center]]  
 +
| ''':O''' , ''':-O''' , ''':o''' or ''':-o'''
 +
|-
 +
| [[Image:yel08.png|center]]  
 +
| [[Image:modern_icon_wink.gif|center]]  
 +
| [[Image:rainbow_wink.gif|center]]  
 +
| ''';)''' or ''';-)'''
 +
|}
 
"Default" are the smilies that come pre-loaded with every account (and person not logged in).
 
"Default" are the smilies that come pre-loaded with every account (and person not logged in).
  

Revision as of 19:45, 26 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

Yel06.png
Default Modern Rainbow
Yel02.png
Modern icon smile.gif
Rainbow smile.gif
:) or :-)
Yel36.png
Modern icon sad.gif
Rainbow sad.gif
:( or :-(
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.mibbit.com/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.,

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