MyBB Community Forums

Full Version: View Count Messed Up!
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
A member of ours just made a thread and after only seconds and 1 reply the view count was over 1400 views.

Another thread was made right after and it also had 746 views right away.

The view count should be 2 not 1472 .... LOL

Can someone please tell me what caused this to happen? I don't want this to happen again.

The post had to be deleted and reposted again from scratch Sad
In the ACP run the recount thread counters.
Thanks, i did that already, also everything else i did a recount on.
Did not help them 2 threads, so i deleted them. The recounts had no affect on the "Thread Views"
Open ./showthread.php file and find; (around line# 596)
		$db->shutdown_query("UPDATE ".TABLE_PREFIX."threads SET views=views+1 WHERE tid='{$tid}'");

Check and see if it is correct on your showthread.php file ? FYI, it should be views+1.
Thanks Yaldaram Smile
Yes, its correct, set to views+1

This is very strange...