Suggested Topic Logic

:information_source: Ever wonder how Discourse determines which suggested topics are to show you?

Suggested Topic Logic

Suggested Topics are topics that will be shown at the bottom of the topic you are currently reading.

The Suggested Topics list will show any unread topics that you are watching or tracking that are less than 90 days old. If there are fewer than 5 unread topics in the list, or you’re viewing the site from an anonymously, random topics that are less than 365 days old will be appended to the list.

The Suggested Topics list tries to first load topics from the same category as the topic you are currently reading. If there are less than 5 topics from the category that can be added to the list, topics from other categories will be chosen.

Configuration Settings

In addition to this behavior, site admins can control the behavior of the Suggested Topics list with the following site settings:

  • suggested topics - The number of topics to show in the list (defaults to 5)
  • limit suggested to category - Instead of just prioritizing the current category, only show topics from the current category in the list (checkbox, defaults to false).
  • suggested topics unread max days old - The maximum age in days to query for unread suggested topics for a user (defaults to 90 days)
  • suggested topics max days old - The maximum age in days to query for random suggested topics (defaults to 365 days)

3 Likes