MyBB Community Forums

Full Version: View Counts on Threads
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
hi, I run this site: http://revenueden.com

My problem is that every time I veiw a thread it's veiw count increases by one, instead of increasing just one time it increases every time I veiw this thread. So in turn the thread views has gone up extremely high. Any solution to this would be helpful
unique visits count is not easily possible. instead you can remove guests visit counts by following this method

and suggested method can be modified to include the staff by using method like below
to disable guests views count, suggested code begins with --> if($mybb->user['usergroup'] != 1)
adding staff groups is like below - replace condition line with
if(!in_array($mybb->user['usergroup'], array('1', '3', '4', '5', '6')))
or that can be simply used for only registered users by using if($mybb->user['usergroup'] == 2)