Discover Habbo's history
Treat yourself with a Secret Santa gift.... of a random Wiki page for you to start exploring Habbo's history!
Happy holidays!
Celebrate with us at Habbox on the hotel, on our Forum and right here!
Join Habbox!
One of us! One of us! Click here to see the roles you could take as part of the Habbox community!


Page 2 of 4 FirstFirst 1234 LastLast
Results 11 to 20 of 40

Thread: WLM Signature

  1. #11
    Join Date
    Dec 2004
    Location
    Essex, UK
    Posts
    3,285
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by Elitesean View Post
    Why does everyone insist on keeping code private?
    I'd like to see it, personally I'd share it, not like it's top secret :|
    Quote Originally Posted by TFerg006 View Post
    Yes, basically this thread is to show off, as he isnt going to release it "/
    You two don't know me, so don't accuse my of doing things that I haven't done. I'm going to give out the code now, and I was intending to if people wanted it.

    All you need to do is install the Status2FTP plugin for Messenger Plus Live. Open a conversation, click the Messenger Plus button then set it up with the FTP details for your hosting. Before you click OK, use your name FTP client or cPanel to make the folder you gave it. Then, in the following code, change $data_source to the URL of the XML file and then upload the script, the template image, the HTACCESS file and the font into the same directory as the XML file.

    Here is the code:

    PHP Code:
    <?php
    /* WLM Status Signature */

    /* Begin GetStringBetween function */
    function get_string_between($string$start$end){
            
    $string " ".$string;
            
    $ini strpos($string,$start);
            if (
    $ini == 0) return "";
            
    $ini += strlen($start);  
            
    $len strpos($string,$end,$ini) - $ini;
            return 
    substr($string,$ini,$len);
    }
    /* End GetStringBetween function */

    /* Begin to get the WLM data */
    $data_source "http://www.uploadz.co.uk/tim/wlm/data.xml";
    $data file_get_contents($data_source);
    $nickname get_string_between($data"<CleanUsername>""</CleanUsername>");
    $psm get_string_between($data"<CleanPSM>""</CleanPSM>");
    $status get_string_between($data"<Status>""</Status>");
    $dp imagecreatefrompng("dp.png");
    /* Finished getting WLM data */


    /* Form the image */
    $font "segoeui.ttf";
    $image imagecreatefrompng("template.png");
    $black imagecolorallocate($image000);
    imagettftext($image8018332$black$font$nickname);
    imagettftext($image8022763$black$font$psm);
    imagettftext($image8016292$black$font$status);
    imagecopy($image$dp1112009696);
    /* Image has been formed */

    /* Display image and free memory */
    header("Content-type: image/png");
    imagepng($image);
    imagedestroy($dp);
    imagedestroy($image);
    /* Finished */
    ?>
    and here is the ZIP file with the htaccess to make it work on Habbox Forum, the font file and the template image.



    i used to be NintendoNews. visit my blog or add me on twitter.
    need help with vista? i am a microsoft certified technology specialist in configuring windows vista and connected home integrator.. pm me for help!


    "I am the way, the truth, and the life. No one comes to the Father except through me"
    John 14:6 (NIV)


  2. #12

    Default

    NintendoNews I didn't mean it like that,
    I know you wanted to give it out, I was pointing out the people saying
    "omg give it to pplz who ask lolz dont share it publicly!!"

  3. #13
    Join Date
    Nov 2005
    Posts
    4,486
    Tokens
    921

    Latest Awards:

    Default

    How do you put it into your sig?
    "RETIRED" FROM HABBO(X)

    :¬:

    TOMSPIT / COWLY05


  4. #14
    Join Date
    Dec 2004
    Location
    Essex, UK
    Posts
    3,285
    Tokens
    0

    Latest Awards:

    Default

    The normal way. The only difference is that you need to use an htaccess file to make HabboxForum accept it.



    i used to be NintendoNews. visit my blog or add me on twitter.
    need help with vista? i am a microsoft certified technology specialist in configuring windows vista and connected home integrator.. pm me for help!


    "I am the way, the truth, and the life. No one comes to the Father except through me"
    John 14:6 (NIV)


  5. #15
    Join Date
    Nov 2005
    Posts
    4,486
    Tokens
    921

    Latest Awards:

    Default

    whats the code to put it into my sig?
    i no that other part..
    "RETIRED" FROM HABBO(X)

    :¬:

    TOMSPIT / COWLY05


  6. #16
    Join Date
    Feb 2006
    Location
    Ontario Canada
    Posts
    4,587
    Tokens
    0

    Latest Awards:

    Default

    i keep getting connection failed even tho the details are perfect.

    .:.:#14:.:. .:.: Impossible Is Nothing :.:. .:.: 845 Rep:.:.
    .:.: Stand up for what is right, even if you stand alone:.:.


  7. #17
    Join Date
    Dec 2004
    Location
    Essex, UK
    Posts
    3,285
    Tokens
    0

    Latest Awards:

    Default

    You can't have a trailing "/" on the end of the path, and the directory has to exist already.



    i used to be NintendoNews. visit my blog or add me on twitter.
    need help with vista? i am a microsoft certified technology specialist in configuring windows vista and connected home integrator.. pm me for help!


    "I am the way, the truth, and the life. No one comes to the Father except through me"
    John 14:6 (NIV)


  8. #18
    Join Date
    Apr 2005
    Posts
    4,614
    Tokens
    90

    Latest Awards:

    Default

    Works great, thanks

  9. #19
    Join Date
    Oct 2006
    Posts
    2,918
    Tokens
    946
    Habbo
    Verrou

    Latest Awards:

    Default

    Wahh, i don't get it lol, can you just make the Zip file with all the needed files, rather than us having to create files.

    Btw, what if we don't have msn plus...
    Last edited by Verrou; 12-03-2007 at 07:18 AM.
    Quote Originally Posted by Special-1k View Post
    How do you uninstall an internet? I want to uninstall my Google Chrome and
    get firefox but I never really got rid of an internet my dad usually did it for me.
    If you know how post below so I can do this.

  10. #20
    Join Date
    Oct 2006
    Posts
    2,918
    Tokens
    946
    Habbo
    Verrou

    Latest Awards:

    Default

    Quote Originally Posted by Special-1k View Post
    How do you uninstall an internet? I want to uninstall my Google Chrome and
    get firefox but I never really got rid of an internet my dad usually did it for me.
    If you know how post below so I can do this.

Page 2 of 4 FirstFirst 1234 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •