Jump to content


Tutorial info Visit support topic

  • Added on: Sep 24 2009 10:38 AM
  • Views: 574
 


No Guests in 'Online At Once Record'

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

Posted by Michael on Sep 24 2009 10:38 AM
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.5.1 © 2013, by Michael McCune