A discussion is ongoing about fixing read counts in migrated forum data. 007 is experiencing an issue where their account shows 36.0k posts read, despite the database being only a few days old. neil suggests that the import script may be marking all imported posts as read, but 007 disputes this, believing that the script is not loading “read” stats. Instead, 007 thinks their account’s browsing history is being incorrectly reflected in the read counts.
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.
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.