Page 4 of 6 FirstFirst 123456 LastLast
Results 31 to 40 of 54
  1. #31
    Join Date
    May 2006
    Location
    Huntingdon (Cambridgeshire UK)
    Posts
    3,395
    Tokens
    0

    Latest Awards:

    Default

    Can anybody find a form for that?

    Type name, change url to the Habbo name..

  2. #32
    Join Date
    Jul 2005
    Location
    Leeds
    Posts
    947
    Tokens
    0
    Habbo
    Flumples

    Default

    Quote Originally Posted by Halting View Post
    I don't think so, because I'm just transfering the ID of the image from the Habbo Home to my website. Unless the image on their Habbo Home changes, I don't think it's possible Sorry Sam!
    Theres the pic at the the top of the homepage once you're logged in if that helps?

    Last edited by Flumples; 17-11-2006 at 09:39 PM.

  3. #33
    Join Date
    Mar 2006
    Location
    Scotland
    Posts
    1,012
    Tokens
    175

    Latest Awards:

    Default

    If nobody does it lost i'll write it tommorow. it's a simple get function.


    You don't like me
    Chances are I don't like you.

  4. #34
    Join Date
    May 2006
    Location
    Huntingdon (Cambridgeshire UK)
    Posts
    3,395
    Tokens
    0

    Latest Awards:


  5. #35
    Join Date
    Sep 2006
    Location
    Wakefield, West Yorkshire
    Posts
    162
    Tokens
    0

    Default

    I made this yesterday, got someone to help me fix bugs.

    PHP Code:
    <?php
    header
    ("Content-type: image/gif");
    $habbo $_GET['name'];
    $domain 'http://www.habbo.co.uk';
    $content file_get_contents($domain '/home/'.$habbo);
    $div_start explode('<div class="profile-figure">'$content2);
    $div_end explode('</div>'$div_start[1], 2);
    $img trim($div_end[0]);
    $img preg_replace('/<img alt=\"(.*?)\" src=\"(.*?)\" \/>/''$2'$img);
    $imag $domain.$img;
    header("Content-type: image/gif");
    $im imagecreatefromgif($imag);
    imagegif($im);
    imagedestroy($im);
    ?>
    That is just
    /page.php?name=Korma
    or whatever

    or if you're gonna use it as a signature or something:

    Remove Line 2
    Change the $habbo in line 5 to the habbo name, but make sure theres ''s around it.
    Left. Or have I?

  6. #36
    Join Date
    May 2006
    Location
    Huntingdon (Cambridgeshire UK)
    Posts
    3,395
    Tokens
    0

    Latest Awards:

    Default

    Nice to see yours works lol ;p

  7. #37
    Join Date
    Apr 2006
    Location
    England
    Posts
    1,159
    Tokens
    0

    Latest Awards:

    Default

    That's doing the same sort of thing, isn't it? Looks much better than mine though Tom

  8. #38
    Join Date
    Sep 2006
    Location
    Wakefield, West Yorkshire
    Posts
    162
    Tokens
    0

    Default

    Mine was a bit buggy before, wasnt working sometimes. Think it works now though.

    I also created a code for an image to say if your habbo is online or not.

    PHP Code:
    <?php
    $habbo 
    $_GET['name'];
    $home file_get_contents("http://www.habbohotel.co.uk/home/".$habbo);
    if (
    eregi("http://images.habbohotel.co.uk/web/web-2.0.1_b21/images/myhabbo/profile/habbo_online_anim.gif"$home)){
    $img "http://images.habbohotel.co.uk/web/web-2.0.1_b21/images/myhabbo/profile/habbo_online.gif";
    }else{
    $img "http://images.habbohotel.co.uk/web/web-2.0.1_b21/images/myhabbo/profile/habbo_offline.gif";
    }
    header("Content-type: image/gif");
    $im imagecreatefromgif($img);
    imagegif($im);
    imagedestroy($im);
    ?>
    Same /page.php?name=Korma
    thing. etc.

    Examples in my signature are for the habbo called:

    -1.
    Last edited by -1.; 17-11-2006 at 10:00 PM.
    Left. Or have I?

  9. #39
    Join Date
    Apr 2006
    Location
    England
    Posts
    1,159
    Tokens
    0

    Latest Awards:

    Default

    Here's another little script which would be ideal for a Habbo profile.

    Code:
    <?PHP
    $page = file_get_contents("http://www.habbo.co.uk/home/$_GET[name]");
    eregi("<img alt=\"$_GET[name]\" src=\"/habbo-imaging/avatar/(.*).gif\" />", $page, $result);
    $url = "http://www.habbo.co.uk/habbo-imaging/avatar/$result[1].gif";
    if ($result[1]) {
    echo('The username '.$_GET[name].' is not banned from using Habbo Hotel UK.');
    } else {
    echo('This username '.$_GET[name].' is banned from using Habbo Hotel UK.');
    }
    ?>
    Perhaps you could customize it so that if your user is banned then their profile will not be shown, meanwhile, if they are not banned, their profile will display.

    http://www.bobblefm.co.uk/banned?name=Callie
    http://www.bobblefm.co.uk/banned?name=Halting
    Last edited by Halting; 17-11-2006 at 10:07 PM.

  10. #40
    Join Date
    May 2006
    Location
    Huntingdon (Cambridgeshire UK)
    Posts
    3,395
    Tokens
    0

    Latest Awards:

    Default

    That's clever. Bit boring, But clever!

Page 4 of 6 FirstFirst 123456 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
  •