Results 1 to 6 of 6
  1. #1
    Join Date
    May 2006
    Location
    Surrey
    Posts
    2,891
    Tokens
    0

    Latest Awards:

    Default how many habbos online..

    whats the code to get how many habbos online to show on your site?

  2. #2
    Join Date
    Sep 2007
    Location
    USA
    Posts
    474
    Tokens
    0

    Default

    recently done here..
    but also on habboring.com
    Post Meter
    ______________________________________________
    400 450 500 550 600 650 700 750 800 850 900-1k
    Green=Done | Orange=Almost | Red=Not Done
    ______________________________________________
    Habbo fury Coming Soon!
    My Img tag has ran away

  3. #3
    Join Date
    Nov 2007
    Location
    playboy mansion
    Posts
    662
    Tokens
    0

    Default

    PHP Code:
     <?php
    $page 
    file_get_contents("http://www.habbo.co.uk");
    $start explode('<td id="topbar-count">'$page2);
    $end explode(' members online</td>'$start[1], 2);
    $amount trim($end[0]);
    echo 
    "There are $amount Habbos online!";
    ?>








    I think?

  4. #4
    Join Date
    Aug 2006
    Location
    Manchester, UK
    Posts
    2,016
    Tokens
    141
    Habbo
    florx

    Latest Awards:

    Default

    That wont work with the new layout!



    PHP Code:
    <?php
    $page 
    file_get_contents("http://www.habbo.co.uk");
    $start explode('<span class="stats-fig">'$page2);
    $end explode('</span>'$start[1], 2);
    $amount trim($end[0]);
    echo 
    "There are $amount Habbos online!";
    ?>
    This should though

  5. #5
    Join Date
    Apr 2006
    Location
    Australia
    Posts
    307
    Tokens
    0

    Default

    There's some script where it grabs it from an XML file, can't remember the URL to it though.

  6. #6
    Join Date
    Sep 2006
    Location
    Hobart, Australia
    Posts
    593
    Tokens
    0

    Default

    Quote Originally Posted by Zaub View Post
    There's some script where it grabs it from an XML file, can't remember the URL to it though.
    Yeah, I remember that. Advantage to that, is it'd be a whole lot faster to load.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •