Annoying "News Widget" in client...

Results 1 to 7 of 7
  1. #1
    Newbie ethanlongslong is offline
    MemberRank
    May 2013 Join Date
    LiverpoolLocation
    17Posts

    angry Annoying "News Widget" in client...

    I need to get rid of this thing, it appears when you leave a room and won't go unless you reload, it is also set to false in my external vars.



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

    Re: Annoying "News Widget" in client...

    Put your client source here!

  3. #3
    Newbie ethanlongslong is offline
    MemberRank
    May 2013 Join Date
    LiverpoolLocation
    17Posts

    Re: Annoying "News Widget" in client...

    Quote Originally Posted by tdid View Post
    Put your client source here!
    My client.php?

    Code:
    <?php
        
        require_once "required.php";
        
        if(!isset($_GET["novote"]) && $light->thehabbos_enabled && $light->isVotingOnline()) {
            $vote_uri = str_replace('/', '!', WWW);
            header ("Location: http://votingapi.com/vote.php?username=" . $light->thehabbos_username . "&api=" . $vote_uri . "!client?novote");
            exit;
        }
        
        if(!$users->isLogged()) {
            header ("Location: " . WWW . "/");
            exit;
        }
        else if($users->userVar(USERNAME, 'acc_pornbanned') == 1) {
            header ("Location: http://meatspin.com/");
            exit;
        }
        else if(isset($_GET["e"])) {
            $e = $db->real_escape_string($_GET["e"]);
            if($e == "flash_client_error") {
                echo "<font face='verdana> <center> <b>" . $light->site_name . " - Client Error</b><hr>";
                if($light->flash_client_dump) {
                    foreach($_POST as $key => $val) {
                        echo $key . "=" . $val . " . <br />";
                    }
                }
            }
            exit;
        }
        else if($light->pin_enabled == true && !isset($_SESSION["Pincode_Passed"]) && $users->userVar(USERNAME, 'rank') >= 6) {
            header ("Location: " . WWW . "/client_denied");
            exit;
        }
        
        $sso = $users->genSSO();
        
        $db->real_query("UPDATE users SET ip_last = '" . $_SERVER["REMOTE_ADDR"] . "', auth_ticket = '" . $sso . "' WHERE id = '" . USER_ID . "'");
        
        if($light->server_type == "Butterfly") {
            $check = $db->lnumrows("SELECT null FROM user_tickets WHERE userid = '" . USER_ID . "'");
            if($check > 0) {
                $db->real_query("UPDATE user_tickets SET sessionticket = '" . $sso . "', ipaddress = '" . $_SERVER["REMOTE_ADDR"] . "' WHERE userid = '" . USER_ID . "'");
            }
            else {
                $db->real_query("INSERT INTO user_tickets (userid, sessionticket, ipaddress) VALUES ('" . USER_ID . "', '" . $sso . "', '" . $_SERVER["REMOTE_ADDR"] . "')");
            }
        }
        else if($light->server_type == "Phoenix") {
            $db->real_query("UPDATE users SET last_online = UNIX_TIMESTAMP() WHERE id = '" . USER_ID . "'");
        }
        
        $tpl->assign('connection_info_host', $light->connection_info_host);
        $tpl->assign('connection_info_port', $light->connection_info_port);
        $tpl->assign('variables', $light->variables);
        $tpl->assign('texts', $light->texts);
        $tpl->assign('override_texts', $light->override_texts);
        $tpl->assign('productdata', $light->productdata);
        $tpl->assign('furnidata', $light->furnidata);
        $tpl->assign('baseurl', $light->baseurl);
        $tpl->assign('habbo_swf', $light->habbo_swf);
        $tpl->assign('loadingtext', $light->loadingtext);
        $tpl->assign('sso', $sso);
        $tpl->draw('client');
        
    ?>

  4. #4
    Lurking around Clawed is offline
    Grand MasterRank
    Jun 2012 Join Date
    RaGEZONELocation
    785Posts

    Re: Annoying "News Widget" in client...

    Try changing;
    Code:
    client.news.embed.enabled=false
    To;
    Code:
    client.news.embed.enabled=0
    Otherwise i have no clue without looking.

  5. #5
    Newbie ethanlongslong is offline
    MemberRank
    May 2013 Join Date
    LiverpoolLocation
    17Posts

    Re: Annoying "News Widget" in client...

    Quote Originally Posted by Clawed View Post
    Try changing;
    Code:
    client.news.embed.enabled=false
    To;
    Code:
    client.news.embed.enabled=0
    Otherwise i have no clue without looking.
    Tried it, doesn't fix it sadly.

  6. #6
    Elite Member Xversion is offline
    Member +Rank
    Mar 2012 Join Date
    LocalhostLocation
    144Posts

    Re: Annoying "News Widget" in client...

    else if($users->uservar(username, 'acc_pornbanned') == 1) {
    header ("location: Http://meatspin.com/");
    exit;
    }
    lol :p

  7. #7
    Newbie ethanlongslong is offline
    MemberRank
    May 2013 Join Date
    LiverpoolLocation
    17Posts

    Re: Annoying "News Widget" in client...

    Quote Originally Posted by Xversion View Post
    lol :p
    Shhh!



Advertisement