Jump to content


Tutorial info Visit support topic

  • Added on: Oct 28 2005 06:07 PM
  • Date Updated: May 30 2006 07:45 PM
  • Views: 513
 


* * * * *
0 Ratings

No guests in 'most online'

Allows you to only count registered members towards your most users online stat.

Posted by Michael on Oct 28 2005 06:07 PM
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 'Most users ever online...' 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 lang/en/lang_boards.php.  Find:
most_online					=>	"Most users ever online was <b><#NUM#></b> on <b><#DATE#></b>",
Change To:
most_online					=>	"Most members ever online was <b><#NUM#></b> on <b><#DATE#></b>",
Save and upload.

Open sources/Boards.php.  Find:
			$active['TOTAL'] = $active['MEMBERS'] + $active['GUESTS'] + $active['ANON'];
Change To:
			$active['TOTAL'] = $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 Statistics section of your ACP and reset this. :)

Powered by Tutorials 1.4.1 © 2012, by Michael McCune