|
|
|
|
|
|
Monday, February 6th, 2012
MSN Messenger Emoticons Script |
|
|
|
|
|
. : : MSN Emoticons Script |
|
|
This little chunk of code takes the string passed to it, and replaces any instances of MSN Emoticon codes with the corrisponding icon.
 |
Explanations:
#.gif - All the different emoticon image files.
index.php - A redirecting index page to prevent directory viewing.
gpl.txt - A copy of the General Public License.
msn.php - The script page. Include it in the page you want emoticons with, then call its functions.
readme.txt - A quick readme file.
|
EXAMPLE:
<?
# Format:
# Smilies($text)
# $text is the string that you want the image codes to be replaced in
include ("msn.php");
$text = "Look at me! :) All fancy with my MSN emoticons! :P Woo! |-)";
echo Smilies($text);
?>
Look at me! All fancy with my MSN emoticons! Woo!
Here is a complete list of emoticons.
-- DOWNLOAD -- 2441 Downloads To Date
LASTEST UPDATES:
July 7, 2009
Again, *hopefully* fixed a problem with the party icon. Also added alt and title tags.
December 13, 2005
Fixed issue with the party icon <:o) , where :o was being detected before <:o)
[Show All 17 Comments]
| phlum |
12/02/2010 03:48 PM |
| How can I implement this into Wordpress? |
| I don't use Wordpress? I code my own... |
|
| Jesse |
08/22/2010 06:50 PM |
| I notice this is in php, will it work with javascript for clientside? |
The main function is a simple str_ireplace. As-is, it will not do beans in javascript. But the icons, and idea could be used in a client side function, just as easily. I'm no javascript wizard though.
This script was written in PHP, which does not use the same functions as javascript. It would need to be rewritten to run in javascript. A javascript equivalent would not be too hard to write, but as i mentioned, I am not the greatest with javascript. |
|
| CONFUZED |
07/05/2009 07:35 PM |
+-o im confused can u please help me? i wanna do this on may stie but i cant seem to get it
 thanks |
| I've updated the script with a version that *should* work no matter what. Let me know how it goes. Future reference: adding your email address to your comment would let me reply to you directly. Enjoy. |
|
| aisserf |
03/21/2008 03:43 PM |
you are missing some icons, like for ex: ('.') try that one with the new messenger. It's a rabbit. |
|
| MANUEL |
02/20/2007 11:52 PM |
QUE HONDA     |
| Likewise. |
[Show All 17 Comments]
disclaimer:
the comments posted throughout my site are submitted by other users.
the things said are not endorsed by me, and do not represent my opinion.
|
|
|
|
|
|
|
|
|