Closed aaclayton closed 11 years ago
As discussed this is doable. So long as you have the data, or can generate the data, and it gets stored along with a timestamp. However, the question of whether it would be a good feature for the community was raised. We should make a determination on whether we want to pursue this. If no, let's close and set as wontfix and we can always revisit in the future.
I got the favorites toggle added into the theme. Trying to keep it fun, the button alternates between
(thumbs up icon) This Thread Rocks and (thumbs down icon) This Got Ugly
Next up, hook onto whenever a user stores a new favorite topic, bumping the "total_favorites" count for that topic in postmeta so we can query topics in descending order by total_favorites.
"Best-Of" listing is in. The page is listed under the Forums tab of the main navigation menu. It lists up to 10 topics created in the past 7 days in descending order of their total favorites count.
I also added a tiny icon to the main topics loops which lists how many favorites a topic has, if any.
I wonder if we can use the integrated "favorite topics" in bbPress to save a "favorite_count" postmeta. We could then query topics by postmeta to get the most favorited topics from the last 2 weeks, and display a "Best Of" loop similar to the "Recent Topics" page where threads are sorted by peer endorsements (favorites).