Group badge in room

Results 1 to 8 of 8
  1. #1
    Member Windows--XP is offline
    MemberRank
    Jul 2009 Join Date
    25Posts

    happy Group badge in room

    hi ragezone.

    I visited all sites and to test all things but nothing works!

    I'm lost! I need your help.

    The badges groups does not rooms and profiles




    Here my configuration:

    I use swift emu
    PHP Code:
    ## Hotel Link; To Stream Images
    guilds.link=http://habble.fr/habbo-imaging/badge/
    stream.link=http://habble.fr/habbo-imaging/head?look= 
    .htaccess

    PHP Code:
    RewriteEngine on
    RewriteRule 
    ^habbo-imaging/badge/(.*) habbo-imaging/badge.php?badge=$1
    RewriteRule 
    ^habbo-imaging/head/([^/]+) /habbo-imaging/head.php?figure=$
    external_variables

    PHP Code:
    group.badge.url=http://habble.fr/habbo-imaging/badges/%imagerdata%.gif 


    thank you verry much !


  2. #2
    Check http://arcturus.pw The General is offline
    DeveloperRank
    Aug 2011 Join Date
    7,613Posts

    Re: Group badge in room

    Change

    Code:
    group.badge.url=http://habble.fr/habbo-imaging/badges/%imagerdata%.gif
    To
    Code:
    group.badge.url=http://habble.fr/habbo-imaging/badge/%imagerdata%.gif

  3. #3
    Member Windows--XP is offline
    MemberRank
    Jul 2009 Join Date
    25Posts

    Re: Group badge in room

    This still does not work :x

  4. #4
    Not so spooky... MrSpooks is offline
    Grand MasterRank
    May 2010 Join Date
    Under a rockLocation
    1,068Posts

    Re: Group badge in room

    Change:
    Code:
    RewriteRule ^habbo-imaging/badge/(.*) habbo-imaging/badge.php?badge=$1 
    RewriteRule ^habbo-imaging/head/([^/]+) /habbo-imaging/head.php?figure=$1


    To:
    Code:
    RewriteRule ^habbo-imaging/badge/([^/]+) /habbo-imaging/badge.php?badge=$1
    RewriteRule ^habbo-imaging/head/([^/]+) /habbo-imaging/head.php?figure=$1

    Hope it helps :)

  5. #5
    Member Windows--XP is offline
    MemberRank
    Jul 2009 Join Date
    25Posts

    Re: Group badge in room

    thanks .. but this still does not work, I have no luck

    EDIT: I just saw that I did not file head.php is this normal?

  6. #6
    Not so spooky... MrSpooks is offline
    Grand MasterRank
    May 2010 Join Date
    Under a rockLocation
    1,068Posts

    Re: Group badge in room

    Quote Originally Posted by Windows--XP View Post
    thanks .. but this still does not work, I have no luck

    EDIT: I just saw that I did not file head.php is this normal?

    Your gonna need that haha

  7. #7
    Member Windows--XP is offline
    MemberRank
    Jul 2009 Join Date
    25Posts

    Re: Group badge in room

    Ah .. so where I could find a complete habbo-imaging functional?

    thanks!

  8. #8
    Not so spooky... MrSpooks is offline
    Grand MasterRank
    May 2010 Join Date
    Under a rockLocation
    1,068Posts

    Re: Group badge in room

    Create a php file called head.php then add this


    Code:
    <?php 
    header('Content-Type: image/gif'); 
    
    $figure = str_replace(".gif","",$_GET['figure']); 
    $url = 'http://habbo.com/habbo-imaging/avatarimage?figure='.$figure; 
    
    $image = imagecreatetruecolor(64, 60); 
    imagealphablending($image, false); 
    $col=imagecolorallocatealpha($image,255,255,255,127); 
    imagefilledrectangle($image,0,0,485, 500,$col); 
    imagealphablending($image,true); 
    
    $img_avatar = imagecreatefrompng($url); 
    imagecopyresampled($image, $img_avatar, 0, 0, 0, 0, 64, 60, 64, 60); 
    imagealphablending($image,true); 
    
    $fn = md5(microtime()."head").".png"; 
    
    imagealphablending($image,false); 
    imagesavealpha($image,true); 
    
    imagepng($image); 
    imagedestroy($image); 
    
    ?>



Advertisement