[RELEASE] Habbo badge script?

Zephyrus

Wanderer
Sep 28, 2011
336
21
I don't know whether you'll find this useful, but I found it on Habbokingdom's website, I tryed to use it but it would not display anything, so I don't know why it isnt work because its powered by divs, idk... lmfao, you guys take a look, see what you can make out of it...if you can make it work please reply and comment how you made this work. Thanks.


MODS: Don't delete this, I released this here because someone may want to use this and I don't know whether it functions or its just me.

SCRIPT: ( FOUND HERE. )

Code:
$(document).ready(function() {
    $.getJSON(window.base + "php/badge.php", function(data) {
        var items = [];
       
        $.each( data, function( key, val ) {
            items.push('<div class="badge"><div class="container"><span class="hint--bottom" data-hint="' + val.description + '"><img src="http://habboo-a.akamaihd.net/c_images/album1584/' + val.id + '.gif"></span></div></div>');
        });
       
        $('#badges').html(items.join(''));
    });
});

THE php/badge.php THAT IS RECOGNIZED IN THE CODE " $.getJSON(window.base + "php/badge.php", function(data) {" :



The divs I saw them using in the source code:

HTML:
<div class="head"></div>
<div class="body">
<div id="badges">
<div class="badge"></div>
<div class="badge"></div>
<div class="badge"></div>
<div class="badge"></div>
<div class="badge"></div>
<div class="badge"></div>
</div>
</div>
<div class="foot"></div></div>
</div>

If you can work this, please reply how you made it work. Thanks! Hope this is useful to you !! ;D P.S: ITS MEANT TO DISPLAY A ROW OF 7 HABBO BADGE IMAGES ON YOUR WEBSITE!!
 

Owen

Mar 20, 2013
1,208
614
I don't know whether you'll find this useful, but I found it on Habbokingdom's website, I tryed to use it but it would not display anything, so I don't know why it isnt work because its powered by divs, idk... lmfao, you guys take a look, see what you can make out of it...if you can make it work please reply and comment how you made this work. Thanks.


MODS: Don't delete this, I released this here because someone may want to use this and I don't know whether it functions or its just me.

SCRIPT: ( FOUND HERE. )

Code:
$(document).ready(function() {
    $.getJSON(window.base + "php/badge.php", function(data) {
        var items = [];
      
        $.each( data, function( key, val ) {
            items.push('<div class="badge"><div class="container"><span class="hint--bottom" data-hint="' + val.description + '"><img src="http://habboo-a.akamaihd.net/c_images/album1584/' + val.id + '.gif"></span></div></div>');
        });
      
        $('#badges').html(items.join(''));
    });
});

THE php/badge.php THAT IS RECOGNIZED IN THE CODE " $.getJSON(window.base + "php/badge.php", function(data) {" :



The divs I saw them using in the source code:

HTML:
<div class="head"></div>
<div class="body">
<div id="badges">
<div class="badge"></div>
<div class="badge"></div>
<div class="badge"></div>
<div class="badge"></div>
<div class="badge"></div>
<div class="badge"></div>
</div>
</div>
<div class="foot"></div></div>
</div>

If you can work this, please reply how you made it work. Thanks! Hope this is useful to you !! ;D P.S: ITS MEANT TO DISPLAY A ROW OF 7 HABBO BADGE IMAGES ON YOUR WEBSITE!!
Think its best to ask the owner first and trying to ask someone to rip this isn't going to do well.
Ask Devy on the site to give you the script and shit lmfao.
 

Users who are viewing this thread

Top