Emoticons
CAUTION: THIS IS A BETA STAGE PLUGIN. IT CAN DO VERY BAD THINGS. USE AT YOUR OWN RISK.
This is a plugin to replace emoticons in message windows. It support replacement in the log and in message entry area. Animated gifs are supported in both areas. For that AniSmiley plugin is supported and advised.
It is based in two concepts:
1. The emoticons configuration is per protocol, and comes bundled with the plugin. They reference emoticons by a set of pre-configured names (they can't create new names - if someone needs new names, please tell me) and set the shortcut and names for the emoticons the protocol support.
They are *.emo files and must be inside <Miranda>\Plugins\Emoticons
Currently I created a pack for MSN, ICQ, JGMAIL, YAHOO and a Default. If someone knows where I can find a list of default emoticons for other protocols, please tell me.
The format of the emo file, it is like this:
"smile" = "Small smile", "/wx" "/:)" "/small_smile"
field 1 -> "smile" -> The unique name of the emoticon (as the Tango pack has it)
field 2 -> "Small smile" -> A text description for the emoticon, as the protocol uses it. This should be in english (so all users can 'understand' it), and is translatable via language pack
field 3 -> "/wx" -> Default emoticon text (used when using the selection window). It also can be a service call, in the format "<Service:/ServiceName:hContact:0>"
fields 4 ... -> "/:)" "/small_smile" -> Other possible texts (only if not a service call). Please, try get all possible texts. Also, note that this is case sensitive, so if the protocol is not you have to type all possible combinations.
2. Emoticon packs, containing the emoticons to show, only contain the images and a .mep file describing the creator.
Each one must be a folder inside Customize\Emoticons, with the images beeing the pre-configured name of the smiley.
If you want to change images for a protocol, you can create a sub-folder with the protocol name and put the images there (with the images beeing the pre-configured name of the smiley). Currently gif (included animated ones), png and jpeg images are supported.
The name of the pack is the name of the folder, and a file <Pack name>.mep can exist inside the folder, containing this entries (all of then are optional):
Name: <Full name of the pack>
Creator: <Artist name>
Updater URL: <URL for updating this pack - not yet implemented>
Also, the mep file can expecify the filename for an emoticon, in a line like:
"<The unique name of the emoticon>" = "<Relative path from pack foler>", <Frame number, starting in 1 - optional>
For example:
"smile" = "01.gif"
This will affect all protocols. If you want to change the image for a protocol only, you can write:
"ICQ\smile" = "ICQ_smile01.gif"
or
"ICQ\smile" = "ICQ\smile01.gif"
A default pack, containing Tango Emoticons (made by Hylke) is packed and can be used as an example.
For custom smileys to work, you need MSN protocol from miranda 0.8 #10.
Currently there is a lot more work to be done on this plugin, but I wanted to show an initial version, so I could get some feedback.
Thanks to FYR for the AniSmiley plugin and to Hylke for the nice emoticons.
To report bugs/make suggestions, go to the forum thread: http://forums.miranda-im.org/showthread.php?t=17210
To do
- Per protocol pack
- Updater support for Emoticon Packs
- Support h++ (works using AniSmiley)
Changelog
. 0.0.2.10
* Better handling of text in input area
* Fixed handling of URLs
+ Added initial version of Tlen
. 0.0.2.9
* Fix for crash
. 0.0.2.8
* Fix for AIM smileys
+ Added support for IEView and Clist Modern
. 0.0.2.7
* Fix to copy emoticons from message log (closes issue 39)
. 0.0.2.6
* Fix for jabber transports
. 0.0.2.5
+ Support for SRMM (but no button)
. 0.0.2.4
* Handle metacontact change in the middle of chat
* Works with miranda 0.7
. 0.0.2.3
+ Send nudges throught nudge plugin (if possible)
* Better guess of number of columns in selection window
. 0.0.2.2
+ Support for accounts and jabber transports
* Fix for frame in selection window
. 0.0.2.1
* Fix for guessing fonts of Scriver
* Show less flags in options dialog
. 0.0.2.0
+ New selection window layout
+ Support for service calls in .emo
+ Added nudge
+ Added tZers (need ICQJ Plus mod)
. 0.0.1.6
+ Allow URLs in emoticon packs
+ Flash emoticons
+ Added Skype and Sametime emoticons
+ Option to select which frame to show in selection window (for animated gif and swf)
. 0.0.1.5
+ Added MySpace and AIM emoticons
* Fix for smileys after URL (closes issue 11)
. 0.0.1.4
* Fix for updater
. 0.0.1.3
* Fix for protocol emoticons (closes issue 22)
* Fix for URLs in input area
+ Support for borkra's version of custom smileys
+ Option to disable custom smileys
. 0.0.1.2
* Fix for wrong memory free
+ Support for custom smileys
. 0.0.1.1
* Fix for copy in input area
+ Added silly to de default pack
. 0.0.1.0
+ Allows loading emoticons from folder with proto name
+ Allows to write generic paths (inside pack folder) for an emoticon in .mep
+ Random emoticons in options page
. 0.0.0.9
+ Use AniSmiley if avaiable (recomended) or my control as fallback (more buggy)
* Updated AniSmiley to latest version (a lot of fixes)
* Fixes and other stuff
. 0.0.0.8
+ Created my own ole image control
. 0.0.0.7
+ Option to only replace emoticons surrounded by spaces
. 0.0.0.6
* Fix for URLs in history
* Fix for HOME key in input area
. 0.0.0.5
+ Added Yahoo emoticons
* Fix for emoticons like :(|) in input area
. 0.0.0.4
* Fix for emoticons in history
+ New emoticon pack selection control
. 0.0.0.3
* Protocol and pack names are case insensitive
+ Tooltips in selection window
+ Show smileys without images as text in selection window
+ Added default module
* Fix for transparent images
. 0.0.0.2
* Fix if not using metacontacts
* Fix for first message only with :)
+ Added jgmail emoticons (still missing one)
. 0.0.0.1
+ Initial version







