Fixing read counts in migrated forum data

What is the best way to run UserStats to recalculate the posts_read number like you mentioned? Is there a built-in rake command for this or is there another method to call it?

And by the way, I’m not sure if this issue is resolved yet. I’m testing an import currently and the entire database only a few days old. And yet it tells me I have 36.0k posts read. Granted, I’ve been checking posts for errors, but I promise you I haven’t “read” 36k posts.

The import script is marking everything imported as read. If the source data has a way to indicate which posts you’ve read, then the import script could be improved.

1 Like

I’m not sure that’s the case in this instance. This particular database has far more than 36k posts. I don’t think the import script is loading in any “read” stats actually. Other members show nothing, but my account has been browsing and should show some topics read.