Run this one to see what forums have incorrect post counts:
SELECT Bo_Keyword, Bo_Total, COUNT(*) AS ActualPosts FROM w3t_Boards JOIN w3t_Posts ON B_Board = Bo_Keyword GROUP BY Bo_Keyword HAVING Bo_Total != ActualPosts
Then run this one to fix'em:
UPDATE w3t_Boards SET Bo_Total = '1737' WHERE Bo_Keyword = 'UBB2'
(changing the '1737' and 'UBB2' to the info you have
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.