Discover Habbo's history
Treat yourself with a Secret Santa gift.... of a random Wiki page for you to start exploring Habbo's history!
Happy holidays!
Celebrate with us at Habbox on the hotel, on our Forum and right here!
Join Habbox!
One of us! One of us! Click here to see the roles you could take as part of the Habbox community!


Results 1 to 10 of 10
  1. #1
    Join Date
    Oct 2006
    Posts
    238
    Tokens
    0

    Default Page views script

    Okay i'm making a site where i have thousands of clips for ppl to view, and i want each page where they watch to have a script on, showing you how many times the page had been viewed.

    where can i get this script?

    I know i'll have to add the script to each clip page lol.

    Edited by Lµke (Forum Moderator): Thread Moved from Website Designing. Please post in the correct section next time, Thanks .
    Last edited by Lµke; 28-01-2007 at 12:01 PM.

  2. #2
    Join Date
    Oct 2006
    Posts
    238
    Tokens
    0

    Default

    sorry for the bump.

  3. #3
    Join Date
    Oct 2006
    Posts
    238
    Tokens
    0

    Default

    yaps!

    Ingnore = Bumps

    Edited by Mattps22004 (Forum Moderator): Please do not triple post.
    Last edited by Matt.; 27-01-2007 at 11:26 PM.

  4. #4
    Join Date
    Sep 2005
    Posts
    5,253
    Tokens
    3,625

    Latest Awards:

    Default

    someone doesn't reply within an hour so you bump ... twice

    geese just wait

  5. #5
    Join Date
    Oct 2005
    Posts
    401
    Tokens
    0

    Default

    www.statcounter.com
    Make some counters..
    Musicicon is
    currently

  6. #6
    Join Date
    Oct 2006
    Posts
    238
    Tokens
    0

    Default

    Quote Originally Posted by Call View Post
    www.statcounter.com
    Make some counters..
    Thanks i want it in text though not shown on a button, and when i select that it still comes out on a button

  7. #7
    Join Date
    Apr 2005
    Posts
    4,614
    Tokens
    90

    Latest Awards:

    Default

    make a file called hitcounter.txt and CHMOD it to 0777

    Then this is your counter code. Put it on your page directly or on a page called counter.php or something

    PHP Code:
    <?php
    $countpg 
    = ("hitcounter.txt");
    $hits file($countpg);
    $hits[0] ++;
    $fp fopen($countpg "w");
    fputs($fp "$hits[0]");
    fclose($fp);
    echo 
    $hits[0];
    ?>
    Last edited by Robbie; 27-01-2007 at 11:04 PM.

  8. #8
    Join Date
    Aug 2006
    Location
    Wakefield, West Yorkshire
    Posts
    1,351
    Tokens
    0

    Latest Awards:


  9. #9
    Join Date
    Apr 2005
    Posts
    4,614
    Tokens
    90

    Latest Awards:

    Default

    I beat you hehe :p

  10. #10
    Join Date
    Aug 2004
    Location
    UK
    Posts
    11,283
    Tokens
    2,031

    Latest Awards:

    Default

    More info on your site would allow for a better counter solution, for exsample if all your clips were accessed by a page say, clip.php then an id, so clip.php?show=30

    You could easly make a few simple changes to a basic txt counter script, like the one posted above, so it would keep track and count, views for each page id inderviualy, and you only have to add it once.

Posting Permissions

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