Shoutbox

{CODE} PHP MSN Signature Generator (MSGPlus enabled) - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Skype & Technology (/forumdisplay.php?fid=9)
+---- Forum: Skype & Live Messenger (/forumdisplay.php?fid=10)
+----- Thread: {CODE} PHP MSN Signature Generator (MSGPlus enabled) (/showthread.php?tid=60662)

{CODE} PHP MSN Signature Generator (MSGPlus enabled) by R4000 on 06-18-2006 at 11:25 AM

[Image: msnsig/]
(This is now a dynamic image; And is displaying live info for my MSN address)

Current Features:

  • Supports Emoticons (all emoticons work)
  • Supports MSGPlus bold and italic and underline and strikethrough code
  • Supports MSGPlus all (BB and norm style) color codes
  • MSGPlus text background color codes
  • Custom status's
Need to add:
  • PSM Styling.
  • Anything else? Let me know!

I have attached a ZIP with all the code/fonts/images required to make this run

RE: {CODE} PHP MSN Signature Generator (MSGPlus enabled) by -dt- on 06-18-2006 at 11:49 AM

your code isnt that great =p

anyway

the colors

code:
$plus_colors = Array(
        "FFFFFF",
        "000000",
        "00007F",
        "009300",
        "FF0000",
        "7F0000",
        "9C009C",
        "FC7F00",
        "FFFF00",
        "00FC00",
        "009393",
        "00FFFF",
        "0000FF",
        "FF00FF",
        "7F7F7F",
        "D2D2D2",
        "E7E6E4",
        "CFCDD0",
        "FFDEA4",
        "FFAEB9",
        "FFA8FF",
        "B4B4FC",
        "BAFBE5",
        "C1FFA3",
        "FAFDA2",
        "B6B4B7",
        "A2A0A1",
        "F9C152",
        "FF6D66",
        "FF62FF",
        "6C6CFF",
        "68FFC3",
        "8EFF67",
        "F9FF57",
        "858482",
        "6E6D7B",
        "FFA01E",
        "F92611",
        "FF20FF",
        "202BFF",
        "1EFFA5",
        "60F913",
        "FFF813",
        "5E6464",
        "4B494C",
        "D98812",
        "EB0505",
        "DE00DE",
        "0000D3",
        "03CC88",
        "59D80D",
        "D4C804",
        "333335",
        "18171C",
        "944E00",
        "9B0008",
        "980299",
        "01038C",
        "01885F",
        "389600",
        "9A9E15",
        "473400",
        "4D0000",
        "5F0162",
        "000047",
        "06502F",
        "1C5300",
        "544D05"
                            );


Bold
code:
$nicknameBold =chr(183) . '$';
$bold =   chr(3) ;


Underline
code:
$nicknameUnderline =  chr(183) . "'";
$underline = chr(5);


Italic
code:
$nicknameItalic = chr(183) . '@';
$italic = chr(31);



and the emoticons
http://random.thedt.net/elvish/msn/emotcions/ (yes i know its spelt wrong :P)


also don't count on url wrappers being enabled use something like this instead
code:
function download($file){
    if(extension_loaded('curl')){
    $ch = curl_init();
    curl_setopt($ch, CURLOPT_URL, $file);
    curl_setopt($ch, CURLOPT_HEADER, 0);
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
    $data = curl_exec($ch);
    curl_close($ch);
    return $data;   
       
    }else{
    return file_get_contents($file);
    }

}



RE: {CODE} PHP MSN Signature Generator (MSGPlus enabled) by R4000 on 06-18-2006 at 12:49 PM

i know about the url wrappers thing, and thanks for everything :)

im working on it all now, practicly got most of it done!

thanks for the color codes! :D


RE: {CODE} PHP MSN Signature Generator (MSGPlus enabled) by Matti on 06-18-2006 at 01:04 PM

Thanks for the script, and the color codes! :D
I'm working on a W2M script too, check it out here. :)


RE: {CODE} PHP MSN Signature Generator (MSGPlus enabled) by R4000 on 06-18-2006 at 01:52 PM

Updated!

Now supports all colour codes, all syntax codes and everything else.

All left to add is background colors, emotes, psm parsing and custom status.

I didnt use the emotes you gave me -dt- because they had a horrible white border around them. I'm going to steal them all of MSN Spaces because thats where i got the rainbow that worked fine :P


RE: {CODE} PHP MSN Signature Generator (MSGPlus enabled) by alexp2_ad on 06-18-2006 at 02:07 PM

Make sure you add Web2Messenger on there, Lord D'eath said W2M wasn't good enough. :(

I've got a full set of PNG emoticons I use for MSIG if you want.


RE: {CODE} PHP MSN Signature Generator (MSGPlus enabled) by R4000 on 06-18-2006 at 02:07 PM

That would be nice if you could share! (and ill change W2M into Web2Messenger)


RE: RE: {CODE} PHP MSN Signature Generator (MSGPlus enabled) by alexp2_ad on 06-18-2006 at 02:12 PM

quote:
Originally posted by R4000
That would be nice if you could share! (and ill change W2M into Web2Messenger)

http://msig.info/emoticons.zip  let me know if you need any other help. ;)
RE: {CODE} PHP MSN Signature Generator (MSGPlus enabled) by R4000 on 06-18-2006 at 02:14 PM

thx man


RE: {CODE} PHP MSN Signature Generator (MSGPlus enabled) by R4000 on 06-18-2006 at 03:40 PM

Because i still dont have 100% transparent emoticons. I have changed the background image. The emoticons will look crap on a dark background!

I have added background color parsing (it seems to be acting wierd if you dont use the html code)
I have added custom status support.

So i think its pretty much done!
Just got to make it parse the PSM and add colors ect.


RE: {CODE} PHP MSN Signature Generator (MSGPlus enabled) by Matti on 06-18-2006 at 06:23 PM

Well, I'm also modifying your script and used some things I made before, and it's already working quite good. I only have to find a way to position the emoticons correctly and maybe I can add background color support. The custom status is only a matter of pasting my previously made code, so that's quite easy to make. :)

Thanks for posting your script, it really helped me with the way I should handle the different codes. :D


RE: {CODE} PHP MSN Signature Generator (MSGPlus enabled) by R4000 on 06-18-2006 at 06:37 PM

custom status is allready in it..
so is backgrounds, just needs fine tuning.
and the emoticons stuff should be relative to the $width/$height vars
(i know it is because i had to re align stuff a few hours ago when i made it smaller)