Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.tx
app/views/connectors/topic_header Add aggregateRating structured data Oct 5, 2017
assets css tweak Nov 8, 2018
config Merge pull request #13 from Arkshine/create/he-locale Feb 17, 2019
controllers Bugfix rating remove Dec 8, 2017
lib Move rating count to dedicated count field && isolate count updates Feb 11, 2018
serializers Add rating list serializer Nov 30, 2017
spec/controllers Rails 5 spec fixes Sep 26, 2017
.travis.yml Add travis Sep 20, 2017
COPYRIGHT.txt
LICENSE.txt Add Liencse May 27, 2017
README.md
plugin.rb

README.md

discourse-ratings image

A Discourse plugin that lets you use topics to rate things. Read more about this plugin on Discourse Meta.

  1. Topics can be designated as 'for rating', by being posted in a category with ratings setting on (see below), or by being given the tag 'rating'.

  2. Each ratings topic concerns a single thing ("rating subject"); e.g. a service or a product.

  3. Users rate the rating subject by choosing a star rating when posting (i.e. in the composer).

  4. The average (mean) of all the ratings in the topic is displayed under the topic title and on the relevant topic list item.

To do

  1. Prevent a user from posting in a ratings topic more than once. Currently, users cannot rate in a ratings topic more than once.

  2. Created a sorted topic list (highest to lowest) of all topics within a ratings category or with the 'rating'. Perhaps use Bayseian estimation as discussed in the code comments.

  3. Add translations for the category.for_ratings and composer.your_rating text.

  4. Allow the user to select the tag(s) they wish to use to designate ratings topics in the admin config.

  5. Allow the user to choose the number of total stars in a rating.

  6. Allow the user to change the rating item image (i.e. use something other than stars).

Installation

To install using docker, add the following to your app.yml in the plugins section:

hooks:
  after_code:
    - exec:
        cd: $home/plugins
        cmd:
          - mkdir -p plugins
          - git clone https://github.com/angusmcleod/discourse-ratings.git

and rebuild docker via

cd /var/discourse
./launcher rebuild app
You can’t perform that action at this time.