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 1 of 3 123 LastLast
Results 1 to 10 of 22
  1. #1
    Join Date
    May 2006
    Location
    Hull
    Posts
    7,701
    Tokens
    2,430
    Habbo
    Moh

    Latest Awards:

    Default Habbo Badges on your site

    We have an up-to-date Habbo Badge guide on HabbCrazy. Every day, the server will check whether there are any new badges (AAA - ZZZ, AA0 - ZZ9, A00 - Z99).

    So if you want to display our badges on your site - knowing you don't have to update them, then why not put the following code on your website!

    To display the actual badges on your site, use the following:
    HTML Code:
    <script type="text/javascript" src="http://habbcrazy.net/files/external/badges.php?cols=6&width=200px"></script>
    Remember you can change the variables:

    • cols - this is how many columns you want you badges to display. Default is 4.
    • width - this is how wide you want the containing table. Default is 100%.

    If you want to display the number of badges in the database on your site, use the following:
    HTML Code:
    <script type="text/javascript" src="http://habbcrazy.net/files/external/badges_num.php"></script>
    The above will just display the number

    If your lazy, and want the full code in one, then use this =) :
    HTML Code:
    <p>
        There are currently <strong><script type="text/javascript" src="http://habbcrazy.net/files/external/badges_num.php"></script></strong> badges below.
    </p>
    <p align="center">
        <script type="text/javascript" src="http://habbcrazy.net/files/external/badges.php?cols=6&width=200px"></script>
    </p>
    Demo:
    http://habbcrazy.net/files/external/badges_demo.html

  2. #2
    Join Date
    Feb 2009
    Location
    Suffolk
    Posts
    327
    Tokens
    0

    Default

    thats awesome! +rep when uncautioned

    although you should arrange them in hotels

  3. #3
    Join Date
    May 2006
    Location
    Hull
    Posts
    7,701
    Tokens
    2,430
    Habbo
    Moh

    Latest Awards:

    Default

    Quote Originally Posted by Four View Post
    thats awesome! +rep when uncautioned

    although you should arrange them in hotels
    The badge images are uploaded to all Hotels, so it would be hard to do it automaticly.

    However, I do know most hotels have a pattern such as:
    UK - UK* and Z*
    USA - US*

    I'll make them display in hotels when I get time

  4. #4
    Join Date
    May 2008
    Location
    lololololololololololololololo
    Posts
    2,134
    Tokens
    0

    Latest Awards:

    Default

    i tryed it on my site and the images wouldnt load

  5. #5
    Join Date
    Mar 2008
    Posts
    5,108
    Tokens
    3,780

    Latest Awards:

    Default

    Doesn't work, it returns absolute URL(s) to your server, but no actual "URL" in place, just a directory structure.



    Should be "http://www.habbcrazy.net/images/habbo_badges/ACH_AIPerformanceVote1.gif"


  6. #6
    Join Date
    Feb 2008
    Location
    London, UK
    Posts
    15,747
    Tokens
    25,786
    Habbo
    Mr-Trainor

    Latest Awards:

    Default

    Will be good once you fix the error posted above

    Not online very often

  7. #7
    Join Date
    May 2006
    Location
    Hull
    Posts
    7,701
    Tokens
    2,430
    Habbo
    Moh

    Latest Awards:

    Default

    Sorry, didn't notice that.
    I have fixed that, and also sorted them into categories.

    The categories aren't 100% accurate, but most the badges are in the correct places (Just several which may not).

    Demo:
    http://habbcrazy.net/files/external/badges_demo.html

  8. #8
    Join Date
    Sep 2008
    Posts
    428
    Tokens
    0

    Default

    Cool nice thanks for this I'll try it.

  9. #9
    Join Date
    Oct 2007
    Location
    Luton, England
    Posts
    1,548
    Tokens
    388
    Habbo
    DeejayMachoo

    Latest Awards:

    Default

    Quote Originally Posted by Jack120 View Post
    Sorry, didn't notice that.
    I have fixed that, and also sorted them into categories.

    The categories aren't 100% accurate, but most the badges are in the correct places (Just several which may not).

    Demo:
    http://habbcrazy.net/files/external/badges_demo.html
    not that im going too but it's rather easy to take away the message at the bottom; http://www.machoo.net/lool.php perhaps you change make it slightly different each time, although you've still got preg_match then. but there are some ungreatful sods about that wouldnt mind removing your copyright.


  10. #10
    Join Date
    May 2008
    Posts
    1,160
    Tokens
    11

    Latest Awards:

    Default

    Quote Originally Posted by DeejayMachoo View Post
    not that im going too but it's rather easy to take away the message at the bottom; http://www.machoo.net/lool.php perhaps you change make it slightly different each time, although you've still got preg_match then. but there are some ungreatful sods about that wouldnt mind removing your copyright.
    Wow.
    You're the one who:
    1. Took the time to do it.. To see if it worked.
    2. Shared with everyone that you could/how to basically.

    Rather funny.. And a bit hypocritical.
    Previously a Habbo fanatic, web designer/developer, fansite owner, & trusted member of the community.

Page 1 of 3 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
  •