YAFLogo

Posted by: tecman - Friday, 3 February 2017 16:07:39
We are using the release version 2.2.3. The number of posts is not changed for every user. Has this bug been fixed in the latest release of YAF?

Posted by: logan - Saturday, 4 February 2017 09:27:27
Did you check that the forums are not set to no count? [url=http://yetanotherforum.net/forum/posts/m59614--Solved--Post-Count-remains-0#post59614]http://yetanotherforum.net/forum/posts/m59614--Solved--Post-Count-remains-0#post59614[/url]

Posted by: tecman - Tuesday, 7 February 2017 17:00:10
I checked the settings of every forum. Strange, but one of them had this "no count" option set. I do not remember that I ever touched it... Now the problem is how to set the post count for every user to the proper value - some posts were not counted while this "no count" option was in effect. Is there a way to rebuild the user data that contain post count?

Posted by: tecman - Friday, 10 February 2017 10:43:09
Bump #1. Can we rebuild or update the user data table to set the post count to proper values? I think it could be a SQL script or something similar we can execute. It would be nice to have such a function integrated into the Admin panel.

Posted by: logan - Saturday, 11 February 2017 15:37:08
Found this. http://yetanotherforum.net/forum/posts/m64946-Importing---Pasting-Messages-to-migrate-to-YAF#post64946 update yaf_user set numposts = (select count(userid) from yaf_message where yaf_user.userid = yaf_message.userid) Under Hostsettings Tab / Database tab / Run SQL Query Copy and Paste above into query area and click run query

Posted by: tecman - Tuesday, 14 February 2017 16:45:57
This helped to solve the problem completely!! Thank you.