WabboCMS - Avatar imaging not working

Results 1 to 4 of 4
  1. #1
    Banned Queef is offline
    BannedRank
    May 2013 Join Date
    77Posts

    ! WabboCMS - Avatar imaging not working

    Hey guys, I am using WabboCMS, and the problem I am getting is that the Avatar imaging script isn't working.. Any help?

    <?php




    if(isset($_GET['user']))


    {


    define('IN_INDEX', 1);


    require 'core.php';


    $user = filter($_GET['user']);


    $figure = mysql_fetch_assoc(mysql_query("SELECT look FROM users WHERE username = '".$user."' LIMIT 1"));


    $url = 'http://habbo.com/habbo-imaging/avatarimage?figure='.$figure['look'];


    }


    else


    {


    $url = 'http://habbo.com/habbo-imaging/avatarimage?figure='.$_GET['look'];


    }





    if(isset($_GET['direction']))


    {


    $url = $url."&direction=".$_GET['direction'];


    }


    if(isset($_GET['gesture']))


    {


    $url = $url."&gesture=".$_GET['gesture'];


    }


    if(isset($_GET['size']))


    {


    $url = $url."&size=".$_GET['size'];


    }


    if(isset($_GET['img_format']))


    {


    $url = $url."&img_format=".$_GET['img_format'];


    }


    if(isset($_GET['action']))


    {


    $url = $url."&action=".$_GET['action'];


    }


    if(isset($_GET['head_direction']))


    {


    $url = $url."&head_direction=".$_GET['head_direction'];


    }





    header('Content-Type: image/png');


    exit(file_get_contents($url));






    ?>
    Cheers!


  2. #2
    Clean Title For Xen vLife is online now
    Super ModRank
    Apr 2009 Join Date
    The BahamasLocation
    3,814Posts

    Re: WabboCMS - Avatar imaging not working

    Bump once per 24 hours.

  3. #3
    Banned Queef is offline
    BannedRank
    May 2013 Join Date
    77Posts

    Re: WabboCMS - Avatar imaging not working

    You could have PM'ed that, since I thought it was per 4 hours. But I really need help with this! :-/

  4. #4
    Elite Member owot is offline
    Member +Rank
    Jun 2010 Join Date
    185Posts

    Re: WabboCMS - Avatar imaging not working

    Try changing the Habbo site you're using to another.

    eg;
    PHP Code:
    <?php 
    if(isset($_GET['user']))
    {
    define('IN_INDEX'1);
    require 
    'core.php';
    $user filter($_GET['user']);
    $figure mysql_fetch_assoc(mysql_query("SELECT look FROM users WHERE username = '".$user."' LIMIT 1"));
    $url 'http://habbo.fi/habbo-imaging/avatarimage?figure='.$figure['look'];
    } else {
    $url 'http://habbo.fi/habbo-imaging/avatarimage?figure='.$_GET['look'];
    }
    if(isset(
    $_GET['direction'])) {
    $url $url."&direction=".$_GET['direction'];
    }
    if(isset(
    $_GET['gesture']))
    {
    $url $url."&gesture=".$_GET['gesture'];
    }
    if(isset(
    $_GET['size']))
    {
    $url $url."&size=".$_GET['size'];
    }
    if(isset(
    $_GET['img_format']))
    {
    $url $url."&img_format=".$_GET['img_format'];
    }
    if(isset(
    $_GET['action']))
    {
    $url $url."&action=".$_GET['action'];
    }
    if(isset(
    $_GET['head_direction']))
    {
    $url $url."&head_direction=".$_GET['head_direction'];
    }
    header('Content-Type: image/png');
    exit(
    file_get_contents($url));
    ?>



Advertisement