Results 1 to 10 of 10

Thread: FAKE STATS!!

  1. #1

    Default FAKE STATS!!

    Yes a crafty way to make ppl think youve got a rockin site.

    Save this as cron_views.php, and upload it the the root directory of your site, set cronjob to run on it once a minuet, change the viewcount to whatever you want

    ENJOY!

    Code:
    <?php
    
    require_once( "include/config.php" );
    
    //update view count by cron
    $result = mysql_query("UPDATE video SET viewnumber = viewnumber + 43 ORDER BY RAND() LIMIT 500") 
    or die(mysql_error());
    
    ?>

  2. #2
    Join Date
    Dec 2008
    Posts
    152

    Default Re: FAKE STATS!!

    Its nice, but why not work your ass off to get real stats?
    thats what i do

  3. #3

    Default Re: FAKE STATS!!

    Its nice, but why not work your ass off to get real stats?
    thats what i do
    Because one can :wink:

  4. #4
    Join Date
    Sep 2008
    Posts
    1,019

    Default Re: FAKE STATS!!

    While one could do that, I do not see where that would be useful. If anything, that would do nothing more than add a bunch of load on your server, especially as your site gets larger. Running through your DB to change every entry periodically not only consumes CPU, but it could overload your server as time goes on.
    vShare Solutions
    Custom vShare Modules and Services

    Now, your visitors can watch videos on your site using their mobile or tablet device with the Mobility Mod for vShare 2.8!

  5. #5

    Default Re: FAKE STATS!!

    by the time your site is that large you wont need it.

    its just to make the site look used when its new, anyways it has a LIMIT option to reduce strain

  6. #6
    Join Date
    Sep 2008
    Posts
    1,019

    Default Re: FAKE STATS!!

    Your site doesn't have to get that large to start to have problems. Many people who use vShare have very little server admin experience. Many of the mySQL installations that I have seen are no where near up to the task of handling running queries like that. An improperly configured mySQL installation running this could have problems as early as 500 videos. I've seen it happen.
    vShare Solutions
    Custom vShare Modules and Services

    Now, your visitors can watch videos on your site using their mobile or tablet device with the Mobility Mod for vShare 2.8!

  7. #7

    Default Re: FAKE STATS!!

    ok i hear ya!

    Im still using it though :evil:

  8. #8
    Join Date
    Sep 2008
    Posts
    1,019

    Default Re: FAKE STATS!!

    Hey... it's your site. You're free to do whatever you want with it :twisted:
    vShare Solutions
    Custom vShare Modules and Services

    Now, your visitors can watch videos on your site using their mobile or tablet device with the Mobility Mod for vShare 2.8!

  9. #9
    Join Date
    Oct 2010
    Posts
    3

    Default

    How to rum corn job

  10. #10
    Join Date
    Sep 2007
    Posts
    906

    Default

    Quote Originally Posted by diltube.com View Post
    How to rum corn job
    Depends on your server. If you have command line access, use "crontab -e" command to add crontab. Most control panels have option to add cron job.
    vShare Hosting, vShare Installation, Server Setup, Lighttpd streaming, vShare Templates
    [email protected]

Similar Threads

  1. Incorrect upload stats
    By bigoboy in forum Fixed Bugs
    Replies: 5
    Last Post: 12-20-2008, 09:58 PM
  2. Remove Site stats from the right of the index page
    By dbghosh in forum General Discussions
    Replies: 1
    Last Post: 10-05-2007, 11:36 AM
  3. Hits tracker - counter, stats...
    By pjohn in forum Feature Requests
    Replies: 2
    Last Post: 09-17-2007, 03:08 PM
  4. How to change colors of the progress bar stats table
    By grynmoors in forum Template Modifications
    Replies: 1
    Last Post: 09-10-2007, 09:26 AM
  5. Live stats
    By blogmaster2003 in forum Feature Requests
    Replies: 8
    Last Post: 07-01-2007, 03:13 PM

Bookmarks

Posting Permissions

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