|
|
|
|
|
|
Sunday, September 5th, 2010
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 -- 1561 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)
| 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. |
|
| asdasd |
12/31/2006 04:15 AM |
 |
| Moot. |
|
| Jenny |
11/18/2006 04:32 PM |
| sorry |
| Confused. |
|
| dfsa |
09/08/2006 11:34 AM |
      |
| Likewise. I think. |
|
| asdasd |
08/14/2006 02:17 AM |
Smile Smile Open-Mouthed Open-Mouthed Tongue Out Tongue Out Wink Wink Sad Sad Confused Confused Disappointed Disappointed Crying Crying
|
| Why someone would copy the whole example window, and paste it as a comment, I'll never know...
Sorry I had to ruin your fun by editing your post. |
|
| Rose's smelly a-- |
06/10/2006 01:05 PM |
              In english that means.. I was once a smelly goat who used to date the devil. We would play X-box together. I went outside with an umbrella. I gave the devil a high 5 with a cigarette in my hand. He left me. I was homeless, so I needed money to buy a car. There was a storm. I found a turtle, and we started to ba friends. I gave him a high 5. Then I kissed him. I went to jail because that was illegle for me to date a turtle that was a 48 year old turtle that was a man and lived with his mom.
|
| I'm sorry for everyone who wasted their time reading that. And this comment too. I'm sorry, lol. |
|
| 2laak |
04/27/2006 04:08 AM |
| thanx go out from Slovakia! |
| Any time (from Canada). |
|
| Putte |
04/09/2006 04:30 AM |
                       
        YEAH nice script! |
| Thanky =) |
|
| HISHAMHANY |
03/24/2006 07:05 AM |
| hiii |
| Helloooo |
|
| Billy |
03/21/2006 01:11 PM |
Test comment  |
| Test reply. Yep, works. |
|
| demoguestbook |
02/16/2006 10:48 PM |
|
| ...yep, thanks for that |
|
| Swoop |
02/14/2006 12:10 PM |
This is very cool. <:0) )
Awesome1 |
It works better when you type the right keys... but still, thanks.
It's actually a small letter o in the <:o) code, not the number 0. |
|
| SHARKY |
02/14/2006 11:29 AM |
Hello
MSN Emoticons Script is very good.
I like it. |
| I moved this from the guestbook to here, cause that's what this thing is for. But thanks :) |
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.
|
|
|
|
|
|
|
|
|