What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Skype & Live Messenger » Web2Messenger Background Script!

Pages: (9): « First « 1 2 [ 3 ] 4 5 6 7 » Last »
Web2Messenger Background Script!
Author: Message:
hmaster
Senior Member
****

Avatar

Posts: 716
Reputation: 24
33 / Male / Flag
Joined: Nov 2004
O.P. RE: Web2Messenger Background Script!
Lol nice :)
[Image: sig.png]
08-24-2005 04:58 PM
Profile PM Web Find Quote Report
guanako
Veteran Member
*****

Avatar
ALbert0

Posts: 1100
Reputation: 24
38 / Male / Flag
Joined: May 2005
RE: Web2Messenger Background Script!
sorry guys i dont know how to use php :( but i got back ground
can anyone do it for me pliss, while this im gonna look up a php tutorial :)

http://www.web2messenger.com/status/guanako.png

.png File Attachment: background2.png (2.7 KB)
This file has been downloaded 180 time(s).

This post was edited on 08-24-2005 at 05:58 PM by guanako.
[Image: guanako20.png]
08-24-2005 05:56 PM
Profile PM Web Find Quote Report
hmaster
Senior Member
****

Avatar

Posts: 716
Reputation: 24
33 / Male / Flag
Joined: Nov 2004
O.P. RE: Web2Messenger Background Script!
[Image: guanako.php]
http://messengermad.com/hmaster/w2m/public/guanako.php

It will be only hosted for a short amount of time

php file attached :)

.php File Attachment: guanako.php (1.33 KB)
This file has been downloaded 288 time(s).

This post was edited on 08-24-2005 at 09:59 PM by hmaster.
[Image: sig.png]
08-24-2005 09:59 PM
Profile PM Web Find Quote Report
guanako
Veteran Member
*****

Avatar
ALbert0

Posts: 1100
Reputation: 24
38 / Male / Flag
Joined: May 2005
RE: Web2Messenger Background Script!
i got it now (Y) i wann learn how to change my background :D

This post was edited on 08-24-2005 at 10:21 PM by guanako.
[Image: guanako20.png]
08-24-2005 10:19 PM
Profile PM Web Find Quote Report
hmaster
Senior Member
****

Avatar

Posts: 716
Reputation: 24
33 / Male / Flag
Joined: Nov 2004
O.P. RE: Web2Messenger Background Script!
K cool, can you please host the file urself. The sig will be up until 2mrw :)
[Image: sig.png]
08-24-2005 10:26 PM
Profile PM Web Find Quote Report
Stab
Junior Member
**

Avatar
MSN Sphere Creator.

Posts: 27
41 / Male / –
Joined: Jul 2005
RE: Web2Messenger Background Script!
code:
<?php
//no error report because we whant an image so we don't need text in !!!
error_reporting(0);
// variables
// width of backgound image
$width = 468;
// height of background image
$height = 60;
// background path
$bgpng = "./images/bg.png";
// w2m image path
$w2mpng = "http://www.web2messenger.com/status/YOURNAME.png";

// create a new image and add colours
// create the image
$im = imagecreatetruecolor($width, $height);
// colour white
$white = imagecolorallocate($im, 254, 253, 254);
// border colour (grey)
$bordercolour = imagecolorallocate($im, 182, 182, 182);

// fill bg white
imagefill($im, 0, 0, $white);
// if you background image has rounded curves use this
imagecolortransparent($im, $white);

// open bg image
$bg = imagecreatefrompng($bgpng);

// copy bg image onto first image
imagecopy($im, $bg, 0, 0, 0, 0, $width, $height);
// close this image
imagedestroy($bg);

// open our w2m image
if (getimagesize($w2mpng)){
    $w2m = imagecreatefrompng($w2mpng);
    //get w2m image width
    $w2mwidth = imagesx($w2m);
    //get w2m image height
    $w2mheight = imagesy($w2m);
    // your status image
    ImageCopy($im, $w2m, 8, 13, 0, 0, 40, $w2mheight-12);
    //your personal message
    $w2mwidth = $w2mwidth-42;
    if ($w2mwidth>330) {
        $w2mwidth = 330;
    }
    ImageCopy($im, $w2m, 72, 40, 42, 15, $w2mwidth, $w2mheight-33);
    // close this image
    imagedestroy($w2m);
}
//if w2m is not an image the service is down...
else{
    $black = imagecolorallocate($im, 0, 0, 0);
    // the error text
    $text = 'Status service down...';
    // your police (need to upload one)
    $font = 'LUCON.TTF';
    // add the text
    imagettftext($im, 8, 0, 75, 55, $black, $font, $text);
    $offpng = "./images/off.png"; //the status failed image
    $w2m = imagecreatefrompng($offpng);
    ImageCopy($im, $w2m, 18, 24, 0, 0, 21, 21);
    imagedestroy($w2m);
}

// finished now just make the image a PNG and show it
header("Content-Type: image/png");
imagepng($im);
imagedestroy($im);
?>

Thanks hmaster for the orginal code :)
Just because server crash I add a little condition in the script.


Enjoy...

This post was edited on 08-26-2005 at 12:51 PM by Stab.
Sorry, if my English is not as good as I would like...

[Image: sign.php]
MSN Sphere
08-26-2005 11:02 AM
Profile PM Web Find Quote Report
hmaster
Senior Member
****

Avatar

Posts: 716
Reputation: 24
33 / Male / Flag
Joined: Nov 2004
O.P. RE: Web2Messenger Background Script!
Nice mod, hadnt thought of that. Not sure that the server will crash again but cool...

I will be releasing teh auto resizing script soon as too many ppl asked me for that one. Will be posted as soon as released
[Image: sig.png]
08-27-2005 03:56 PM
Profile PM Web Find Quote Report
NiteMare
Veteran Member
*****

Avatar
Giga-Byte me

Posts: 2497
Reputation: 37
37 / Male / Flag
Joined: Aug 2003
RE: Web2Messenger Background Script!
apperently the script has stoped working, it nolonger accepts teh status image as a valid png file

edit:

quote:
Originally posted by web2messenger.com forums

There's a hidden message which all the php scripts will get when they access the status images from the w2m servers


This post was edited on 08-29-2005 at 01:21 AM by NiteMare.
[Image: sig/]
I'll never forget what she said 6865 days, 9 hours, 42 minutes, 5 seconds ago
Need hosting? Check
out my website. we can help you out :)
08-29-2005 12:59 AM
Profile PM Web Find Quote Report
hmaster
Senior Member
****

Avatar

Posts: 716
Reputation: 24
33 / Male / Flag
Joined: Nov 2004
O.P. RE: Web2Messenger Background Script!
It works again now :)
My generator isnt finished so you can use my friends here:
http://www.place2chat.be/web2sig/
[Image: sig.png]
08-30-2005 04:42 PM
Profile PM Web Find Quote Report
hmaster
Senior Member
****

Avatar

Posts: 716
Reputation: 24
33 / Male / Flag
Joined: Nov 2004
O.P. RE: Web2Messenger Background Script!
Hey people. Updating you all.

The new updated scripts can now be found at a new place:
http://dxlabs.skarz.co.uk/?page=w2m

-------------------------------------

Ive finished one of the two generators
http://dxlabs.skarz.co.uk/?page=w2m&sec=cgen
It basically lets you add any colour to your web2messenger sigs bg/nick/psm!

--------------------------------------


I have finished the dynamic sigs.
You prob seen then in my sig
Thanks to all the helpers and people who helped coding.

You url code for you sig can be found here:
http://dxlabs.skarz.co.uk/?page=w2m&sec=dynamic

A few examples:

[Image: hmaster.png]

[Image: hmaster.png]

New MSN! - changes size
[Image: hmaster.png]

-----
updated first post

This post was edited on 11-04-2005 at 08:34 PM by hmaster.
[Image: sig.png]
11-04-2005 07:15 PM
Profile PM Web Find Quote Report
Pages: (9): « First « 1 2 [ 3 ] 4 5 6 7 » Last »
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On