Luis_angel Posted July 21, 2017 Posted July 21, 2017 Hello, I create a forum post and the post number (attached) increase but when i delete the topic/reply the count stays the same, it does not increase. How to change it? It shows "9" Thank you
Faqole Posted July 22, 2017 Posted July 22, 2017 23 hours ago, Luis_angel said: Hello, I create a forum post and the post number (attached) increase but when i delete the topic/reply the count stays the same, it does not increase. How to change it? It shows "9" Thank you Did you mean to say that the number does not decrease? Because if a post/topic is deleted, the number should not increase. That behaviour is for posting. That should be taken care automatically by the system. Have you installed any plugins that might have caused this? To change it, you can do it manually but I would not recommend this. However, should you want to do it, run this query at your phpmyadmin. UPDATE forums_forums SET posts = posts - x WHERE id = y; And replace the x with the number of replies that were deleted. If topics were deleted too, add the topics field in the query above. That sql query will keep the number of posts intact, but it will substract the number of deleted posts from the count. Whereas the y represents the id of of the forum where you want to adjust the post count. And it goes wthout saying, that first of all you must make a backup of the forums table, or better yet of the entire database before you manipulate it manually.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.