I recently migrated a fairly large (150k posts) phpBB forum to discourse. A lot of our users want to be able to “track” the majority of the forum, so they’ve added all categories to their “Tracked” categories in their user settings. This works perfectly for new threads created in discourse.
However, when someone replies to an old imported topic, it does not become “implicitly tracked” as I would expect from this thread:
Steps taken:
- User “David” has the “General” category set to “Tracked” in his user preferences
- User “Bob” replies to an old thread that was imported from phpBB
- “David” does not see this in his “Unread” tab
However, this works fine:
- User “David” has the “General” category set to “Tracked” in his user preferences
- User “Bob” creates a new thread under “General”
- “David” sees this in his “new” tab
Some investigation on the console reveals that there is no TopicUser row associated with David for either of the topics, so I don’t understand why the implicit tracking is not working.
David’s user_id is 1, old topic_id is 8531, new topic_id is 10708
[18] pry(main)> TopicUser.where(topic_id: 8531, user_id:1).length()
=> 0
[19] pry(main)> TopicUser.where(topic_id: 10708, user_id:1).length()
=> 0