Most helpful or most upvoted
-
I am thinking about writing a plugin or feature for nodebb that allows for the most upvoted (maybe assuming this is the most helpful) post to be highlighted at the top underneath the original topic post. I imagine that I would want the topic to still be sorted by newest to oldest.
Does anyone have any thoughts about this before I carry on. I am quite new to nodebb and may be missing and old discussion about this.
-
I might be mistaken but I vaguely remember a plugin existing for this at one point; there were a few people asking for a stack overflow- or Reddit-like experience.
After some searching it looks like some people got close with the q&a plugin: https://www.npmjs.com/package/nodebb-plugin-question-and-answer
-
This plugin looks great. It looks like it has the ability to mark a specific post as the answer. This would be a nice feature but I think the use case for most upvoted is slightly different.
I think the most upvoted feature stands on its own so should be treated separately to the q&a feature.
-
Right, what you're looking for is just something that orders replies to a topic by the number of upvotes?
-
@Bri Thanks for the reply. I believe that if you do that with the current flat reply system the conversation would become very confusing. You would need the system to be chronological to preserve the discusssion and then maybe switch to highest vote order after a while. Not sure this would work very nicely. This may be resolvable with nested replies but I was trying to find a simpler solution.
My thought was, if you think about a new user who is trying to find the answer to a question, they will arrive at the forum based on a google search and end up on a particular topic. From there they will try to find the best answer to the question that the chain of replies has to offer. I would like them to be able to do this easily without reordering the posts or trying to decide where the conversation ended, which a new user is unlikely to want to do. I was thinking we could highlight the post in its location in the chronological stream and also place it at the top in a green box, just underneath the original topic post.
I think this is probably not that hard to do. I am in the process of exploring the plugin system to see if this is possible.