Installation
Install the plugin by following the Install Plugin instructions. The plugin’s repository address is https://github.com/jahan-ggn/discourse-post-sorting-customizer
About
Active: allows user to sort the posts that are answered recently
Oldest: allows user to sort the posts that were answered long ago
Likes: allows user to sort the posts based on likes that are being on posts
Note
By default, the plugin is disabled, to make use of the plugin the site administrator has to enable the plugin through a site setting named discourse_post_sorting_customizer_enabled
Nice work! Yes, I guess you could use it with the question answer plugin. I’m guessing you based the lists “Active”, “Oldest” and “Likes” on the similar post list sorting options in StackOverflow? Have you tested it out with the QnA plugin? Is there a community who needs this right now? It’d be good to see this in a real community first.
Yes, I have tested with the QnA plugin it is working properly but there it will be required separately to decorate answer count for a perfect view that’s it
Now the plugin is compatible with the discourse-solved plugin. When the user will select the post sorting variant and the topic has a post as a solution then it will showed first then rest of the posts will be sorted according to the sorting variant selected by the user.
@jahan_gagan Thank you for this great plugin. This is very helpful for users to sort a large amount of replies and find what he wants.
Will it possible to make plugin category specific? only works in certain categories?
Also, does it make sense to add a feature to sort the posts by “users I liked” or “users I followed”?
“user follow” is a plugin angus developed. I think “users I liked” is sufficient. Thanks.
تبدو هذه مجموعة مفيدة جدًا من الخيارات، خاصة للفرز حسب الأقدم. أود حقًا رؤية ذلك في النواة.
في هذه الأثناء، قبل أن أعتمد على هذه الإضافة وأبدأ في الاعتماد عليها، أردت أن أسأل عما إذا كانت أي من تغييرات التخطيط التي يتم إجراؤها في النواة من المحتمل أن تؤثر على هذه الإضافة. أسأل لأنها لم يتم تحديثها منذ أكثر من عام، لذلك أريد فقط التأكد من أنه سيتم تحديثها/إصلاحها إذا ظهرت أي مشاكل.
هل تعتقد أنه سيكون من السهل إضافة خيار الفرز أبجديًا؟
أيضًا، للتنبيه، لقد حاولت للتو تثبيته وحصلت على خطأ يقول Gem::LoadError: can't activate request_store-1.5.0, already activated request_store-1.5.1. لدي العديد من الإضافات مثبتة لذلك لست متأكدًا من أي منها قد يكون قد قام بتنشيطها بالفعل، أردت فقط إخبارك.