Git Product home page Git Product logo

discourse-ratings's Introduction

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

discourse-ratings's People

Contributors

angusmcleod avatar fzngagan avatar siddhudhangar avatar davidgnavas avatar francoisdouville avatar arkshine avatar danibgz avatar sidval avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.