-
Bug
-
Resolution: Fixed
-
3.0.2
-
None
-
PHP Environment:
Database:
[15:18:49] <naderman> anyone want to report http://area51.phpbb.com/phpBB/viewtopic.php?f=4&t=29673 as a bug
Summary: Spiders and Bots appear to increment topic view count.
This is undesired, as it can skew the true count.
There is a patch provided by Igor in the above topic:
eviL3:
Open: viewtopic.php
Find:
if (isset($user->data['session_page']) && strpos($user->data['session_page'], '&t=' . $topic_id) === false)
Replace with:
if (isset($user->data['session_page']) && strpos($user->data['session_page'], '&t=' . $topic_id) === false && !$user->data['is_bot'])
:ugeek: