gocodebox / lifterlms

LifterLMS, a WordPress LMS Solution: Easily create, sell, and protect engaging online courses.
https://lifterlms.com
GNU General Public License v3.0
182 stars 135 forks source link

Ratings with Review #420

Open sujaypawar opened 6 years ago

sujaypawar commented 6 years ago

May I suggest to add ratings functionality while adding a review?

thomasplevy commented 6 years ago

Yes, we'll be adding ratings in the future as we improve the reviews functionality.

actual-saurabh commented 6 years ago

Currently, Reviews are a custom post type. The suggested plan is to migrate reviews from post types into comment types and review titles and ratings into comment meta in a manner similar to how WooCommerce does it: https://github.com/woocommerce/woocommerce/blob/99ec658684284443e157326f5d52cecb554b07b5/includes/class-wc-comments.php

In addition creating a comment type abstraction and the builtin nested nature of comments can allow us to build the following functionality apart from reviews and ratings:

Any (all) of the above can be easily enhanced with something like http://annotatorjs.org/ to add inline annotations that can be additional explanations added by the instructor, for QnAs to be specific to a piece of text (or with video and audio playback tracking, to a specific playback time).

With User Segmentation in place (#604), this could be used to create really granular and specific visibility for individual users, roles and segments (#610).

actual-saurabh commented 5 years ago

https://rateyo.fundoocode.ninja/