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!


Results 1 to 8 of 8
  1. #1
    Join Date
    Aug 2007
    Posts
    13
    Tokens
    0

    Default ANY WORKING HABBO IMAGE SCRIPTS EASY TO USE?

    Lol, I very very badly need a Habbo Imager script to make a few things and I HATE using other people's..

    If you can place the PHP Code someone on here I will be thankful

  2. #2
    Join Date
    May 2005
    Location
    San Francisco, CA
    Posts
    7,160
    Tokens
    2,331

    Latest Awards:

    Default

    PHP Code:
    <?php
    function get_badge$username ) {

        
    $site "http://www.habbo.co.uk/home/".$username."";
        
        
    $page file_get_contents$site );

        
    $badge explode'http://images.habbohotel.co.uk/c_images/album1584/'$page );
        
    $badge1 explode'.gif'$badge[1] );
        
        
    $badge "http://images.habbohotel.co.uk/c_images/album1584/".$badge1[0].".gif";
        
        echo 
    $badge;
                    
    }

    function 
    get_group_badge$username ) {

        
    $site "http://www.habbo.co.uk/home/".$username."";
        
        
    $page file_get_contents$site );
        
        
    $badge explode'<img src="/habbo-imaging/badge/'$page );
        
    $badge1 explode'.gif'$badge[1] );
        
        
    $badge "http://www.habbo.co.uk/habbo-imaging/badge/".$badge1[0].".gif";
        
        echo 
    $badge;
        
    }

    function 
    get_habbo$username ) {

        
    $site "http://www.habbo.co.uk/home/".$username."";
        
        
    $page file_get_contents$site );
        
        
    $habbo explode'<img alt="'$username .'" src="/habbo-imaging/avatar/'$page );
        
        
    $habbo1 explode'.gif'$habbo[1] );
        
        
    $habbo "http://www.habbo.co.uk/habbo-imaging/avatar/".$habbo1[0].".gif";
        
        echo 
    $habbo;
        
    }    

    function 
    get_motto$username ) {

        
    $site "http://www.habbo.co.uk/home/".$username."";
        
        
    $page file_get_contents$site );
        
        
    $motto explode'    <div class="profile-motto">'$page );
        
    $motto1 explode'<div class="clear">'$motto[1] );
        
        
    $motto $motto1[0];
        
        
    $motto str_replace'        '''$motto );
        
        echo 
    $motto;
        
    }

    echo 
    get_badge$_GET"habbo" ] );
    echo 
    "<br />";
    echo 
    get_group_badge$_GET"habbo" ] );
    echo 
    "<br />";
    echo 
    get_habbo$_GET"habbo" ] );
    echo 
    "<br />";
    echo 
    get_motto$_GET"habbo" ] );
    ?>
    Whipped that up, especially for you :p

  3. #3
    Join Date
    Aug 2007
    Posts
    13
    Tokens
    0

    Default

    Ty simon, ill stop with the spam messages on Habbo

  4. #4
    Join Date
    Aug 2007
    Posts
    13
    Tokens
    0

    Default

    Would i goto

    script_directory/imagescript.php?name=ilovepoo? lolz because its not working

  5. #5
    Join Date
    May 2005
    Location
    San Francisco, CA
    Posts
    7,160
    Tokens
    2,331

    Latest Awards:

    Default

    you would need to add GD to make it work as an image in itself.

    I'll code that in a bit.

    This just echoes the URL to the images. So you could do <img src="" /> using the functions.

  6. #6
    Join Date
    Aug 2007
    Posts
    13
    Tokens
    0

    Default

    What so, i type the image html, and add imagescript.php?name=Xendo to grab the image into a Html page, right?

    Couldnt you just do a collect script so it collects from the URL like

    imagescript.php?name=Xendo

    so the form thing grabs Xendo?
    Last edited by Xendo; 03-08-2007 at 06:11 PM.

  7. #7
    Join Date
    May 2005
    Location
    San Francisco, CA
    Posts
    7,160
    Tokens
    2,331

    Latest Awards:

    Default

    No that wont work, you need it to be done using GD for that to work.

  8. #8
    Join Date
    Aug 2007
    Posts
    13
    Tokens
    0

    Default

    Right, sorry for annoying you but how do i add the image, as in what URL, would I enter into the image src

Posting Permissions

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