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

    Latest Awards:

    Default [Update] Habbo Badges on your site

    This thread is an update to this thread:
    http://www.habboxforum.com/showthread.php?t=570172

    A lot of Fansites have custom page headers & titles, which I couldn't make a template which would fit all the sites.

    So I now made it so that you can change the headers of the categories to how ever you want them

    You can find out how to do this, plus more by visiting the links below:

    Integration & Information
    Demo

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

    Latest Awards:

    Default

    Quote Originally Posted by Jack120 View Post
    This thread is an update to this thread:
    http://www.habboxforum.com/showthread.php?t=570172

    A lot of Fansites have custom page headers & titles, which I couldn't make a template which would fit all the sites.

    So I now made it so that you can change the headers of the categories to how ever you want them

    You can find out how to do this, plus more by visiting the links below:

    Integration & Information
    Demo
    Why don't you just make it have ids and classes and then a user could just do..

    Code:
    <style type="text/css">
    #badge_table {
         width: 100%
    }
    </style>
    
    <script type="text/javascript" src="http://sitetothing/blah.php"></script>
    That way you don't have to do all of that.

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

    Latest Awards:

    Default

    Quote Originally Posted by Dentafrice View Post
    Why don't you just make it have ids and classes and then a user could just do..

    Code:
    <style type="text/css">
    #badge_table {
         width: 100%
    }
    </style>
    
    <script type="text/javascript" src="http://sitetothing/blah.php"></script>
    That way you don't have to do all of that.
    If everyone used tables on their sites then I would. But some people will use divs, headings etc..

  4. #4
    Join Date
    Dec 2006
    Posts
    7,601
    Tokens
    95

    Latest Awards:

    Default

    but surely they could just add #badge_table into the CSS and its all good?

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

    Latest Awards:

    Default

    Quote Originally Posted by kk. View Post
    but surely they could just add #badge_table into the CSS and its all good?
    That would mean they would have to set it all up again

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

    Latest Awards:

    Default

    Quote Originally Posted by Jack120 View Post
    If everyone used tables on their sites then I would. But some people will use divs, headings etc..
    That doesn't matter though, you're returning it in tables.

    And even if they did use divs, they could style them, themselves.. on their server.. no need for useless get variables and things like that for things that can easily be styled on the other side.

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

    Latest Awards:

    Default

    Quote Originally Posted by Dentafrice View Post
    That doesn't matter though, you're returning it in tables.

    And even if they did use divs, they could style them, themselves.. on their server.. no need for useless get variables and things like that for things that can easily be styled on the other side.
    What if they have 3 rows like we do:
    HTML Code:
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
        <td id="header-left" />
        <td id="header-center">HabbCrazy Staff List</td>
        <td id="header-right" />
    </table>
    Surely its easier for them to just set the HTML than work out how they could make it work for 3 or 1 rows?

  8. #8
    Join Date
    Dec 2006
    Location
    Swindon
    Posts
    3,299
    Tokens
    215
    Habbo
    dunko

    Latest Awards:

    Default

    For more advanced people you should just return a load of badges names so they can style them / use them how they want. Or make an api that does that they can then download.

    Edited by ReviewDude (Forum Moderator): Identical double-posts merged.
    Last edited by ReviewDude; 31-03-2009 at 04:56 PM.

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

    Latest Awards:

    Default

    Or you can just return it all and let the users style it themselves, no need to get that complicated with it.

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

    Latest Awards:

    Default

    Quote Originally Posted by Blob View Post
    For more advanced people you should just return a load of badges names so they can style them / use them how they want. Or make an api that does that they can then download.
    Why double post the same thing?

    This isn't going to be that advanced people.. these are Habbo Fansite owners, not application developers, so why make an API? (plus.. you don't download an API, you download a library to communicate with it).

    I don't see the point in returning the data so they can style them, because that's just doing the same thing as HabbCrazy's is doing, but doing the parsing on your server instead of theirs.

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