Jump to content

  •  

  • Tutorial info Visit support topic

    • Added on: Mar 05 2009 08:03 PM
    • Views: 759
     


    * * * * *
    0 Ratings

    No Guests in 'Online At Once Record'

    Allows you to only count registered members towards your Online at Once stat.

    Posted by Michael on Mar 05 2009 08:03 PM

    Please Note

    This tutorial requires editing of a file currently encoded in the public release of IP.Board 3.0 Beta 3, thus you cannot do this tutorial at the moment.  When IP.Board 3.0 is fully released, this tutorial will become usable.

    Search engine spiders have an annoying habit of coming to your site and sending out many spiders simultaneously, having each one of them count as a guest.  When they do this, they often make your 'Online At Once' statistic jump to levels that are much higher than normal.  If you like having this stat be this high, then don't do this fix.  But if you want this statistic to be real, here's what you do.

    Open admin/applications/forums/modules_public/forums/boards.php.  Find:
    			$this->users_online = $active['TOTAL'];
    Change To:
    			$this->users_online = $active['MEMBERS'] + $active['ANON'];
    Save and upload.

    Now, you will only set new records when your actual number of registered members online is more than the old record.  If you've already had your 'Most users ever online...' stat boosted by the spiders, it is recommended that you go into the Recount & Rebuild section of your ACP and reset this. :)

    Powered by Tutorials 1.4.1 © 2012, by Michael McCune