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 3 FirstFirst 123 LastLast
Results 11 to 20 of 28
  1. #11
    Join Date
    Oct 2005
    Location
    Melbourne, Australia
    Posts
    7,554
    Tokens
    0

    Latest Awards:

    Default

    very sloppy coding here:

    PHP Code:
    <?php
        $user 
    $_GET['user'];
        
    $page file_get_contents("http://www.habbo.co.uk/home/$user"); // Change the URL to the hotel you would like
        
    $start explode('<div class="profile-motto">'$page2);
        
    $end explode('<div class="clear"></div></div>'$start[1], 2);
        
    $motto trim($end[0]);
        echo (
    "$motto"); // Set the message you want to be displayed (Leave in the $amount)
    ?>
    then go to http://yoursite.com/motto.php?user=Blinger (that would retrieve my motto)

  2. #12
    Join Date
    Apr 2008
    Location
    Derby
    Posts
    4,668
    Tokens
    262

    Latest Awards:

    Default

    Thanks for your help. i did try something like that but It didnt work. I'll look at your code now Thank you

  3. #13
    Join Date
    Oct 2005
    Location
    Melbourne, Australia
    Posts
    7,554
    Tokens
    0

    Latest Awards:

    Default

    it works (well it did for me anyway)

  4. #14
    Join Date
    Apr 2008
    Location
    Derby
    Posts
    4,668
    Tokens
    262

    Latest Awards:

    Default

    OKay thanks Could you give me an indication as to what the comment :

    //leave in the $amount thing is all about?

  5. #15
    Join Date
    Oct 2005
    Location
    Melbourne, Australia
    Posts
    7,554
    Tokens
    0

    Latest Awards:

    Default

    yeah ignore that, i just edited the code from the display habbos online... change it to "//leave in the $motto" if you really want that part..

  6. #16
    Join Date
    Nov 2008
    Posts
    217
    Tokens
    1,822
    Habbo
    eLv

    Latest Awards:

    Default

    If you want an advanced one whereby you could get that certain habbo's username, mission and figures even if their homepage's locked or banned, you've to use curl or something that could send a POST request to another page.

    URL: http://www.habbo.com.sg/myhabbo/avatarlist/avatarinfo
    Field to send: ownerAccountId={the habbo id}&anAccountId=

    else, just use what Blinger did.






  7. #17
    Join Date
    Oct 2005
    Location
    Melbourne, Australia
    Posts
    7,554
    Tokens
    0

    Latest Awards:

    Default

    i don't get what you mean, elaborate a bit more please...

  8. #18
    Join Date
    Nov 2008
    Posts
    217
    Tokens
    1,822
    Habbo
    eLv

    Latest Awards:

    Default

    Okay basically http://www.habbo.com.sg/myhabbo/avatarlist/avatarinfo is a POST page. When you visit your own homepage, it'll send a POST request to that page and then display your profile widget (The one with your Habbo name, habbo figures etc).






  9. #19
    Join Date
    Mar 2008
    Location
    Swindon, UK
    Posts
    1,274
    Tokens
    187
    Habbo
    :Ltd

    Latest Awards:

    Default

    define what you have to post then and the post fields?
    Hi, names James. I am a web developer.

  10. #20
    Join Date
    Oct 2005
    Location
    Melbourne, Australia
    Posts
    7,554
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by Protege View Post
    define what you have to post then and the post fields?
    ... that made no sense.

Page 2 of 3 FirstFirst 123 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
  •