Recalculating Message count

Edrondol

Well-known member
I know this is probably easy for someone out there, but I want to recalculate the message counts.

I assume that all that really needs to be done is a simple SQL command that counts posts and increments that person's message count, but I'm not good with SQL and would not trust myself to try it out.

Any ideas or is this harder than I'm thinking it is?
 
You misunderstand. The duplication happened when testing the software before I made the official move from vB to XF. I did the data transfer several times testing before the switch. So each time I did it it brought the same messages in, gave them a unique ID and said, "There ya go!"

No bug. Just me not thinking things through during my testing.
 
Aha, gotcha.
So you need to prune the database of the duplicate posts and then run the queries again to set the correct post counts.

If you need help compiling the script let me know; I'll just need the (updated) csv output again.
 
Top Bottom