## Blocks: Rate a course

block_rate_course
Maintained by Jenny Gray
This block provides an Amazon-style 5 star rating system for courses. Users each give a rating and the total is displayed in the block.
Moodle 2.0, 2.1, 2.2

### Sets

This plugin is part of set Open University.

This block provides an Amazon-style 5 star rating system for courses. Users each give a rating and the total is displayed in the block.  Optionally administrators can connect to Questionnaire module instances on the same course from the block, to add a "Review" survey.

### Contributors

• Sun, Jun 17, 2012, 10:55 AM
Hello, I have the same question as Gawesh Jawaheer that is, could this rate it block be used with any activity on moodle? Thank you
• Wed, Sep 26, 2012, 6:30 PM
New version released today which you can add to the site home page with a warning message in edit mode.
• Fri, Sep 28, 2012, 2:20 AM
Hi Jenny,

It is a nice block.
For non-english users it is almost as nice, but in spite of a full local translation (language customization), the block displays a "no ratings given" (graphic?) message in english when (obviously) no ratings have been given, and this particular sentence is not available for translation within the strings language pack.

Would you be so kind as to check this and make the necessary improvement ?

German Valero (mex spanish language pack maintainer)
• Fri, Sep 28, 2012, 3:55 PM
Hi German, yes that's come up before. I must remember to change it next time I'm in there. The best workaround is for people to change the graphic in their theme.
• Sun, Apr 14, 2013, 12:54 AM
hi
i need to add voting or poll in my frontpage moodle 2.4 which occure like as in websit voting
• Thu, Jun 13, 2013, 7:23 AM
Hi Jenny,
The AMOS translator (https://moodle.org/) has Hebrew and Mexican Spanish languages translated strings for this add-on, but there are no German language strings there (as mentioned in http://docs.moodle.org/25/en/Course_rate_block#Languages ). The german language strings are in the 'lang/de' folder within the plugin downloadable ZIP files.

I took the german language strings from the 'de' folder from the downloaded file and submitted them to the german pack maintainer at AMOS.

That (old way) of placing language strings seems to be now obsolete. Please see http://lang.moodle.org/mod/forum/discuss.php?d=2485

• Thu, Jun 13, 2013, 3:55 PM
Thanks for reminding me! I've made a tracker issue CONTRIB-4415 and will do this next time we release an update to the block.
• Sat, Aug 17, 2013, 4:07 AM
Does this work with Moodle 2.5? I installed but it is giving me an Internal Server Error when I click to rate the course.
• Tue, Oct 8, 2013, 11:39 AM
when will you make version for 2.5? because I want to install it on moodle 2.5.
• Fri, Dec 13, 2013, 3:49 PM
hello Jenny...thank a lot for this cool plugin..but it would be great if you can make it for Moodle 2.6 since i have just upgrade to Moodle 2.6...i really looking forward ya~! Thanks~!
• Fri, Dec 13, 2013, 4:54 PM
Has any-one tried it in 2.6 yet? We've only just gone up to 2.5 so it will be 3-6 months before I need a 2.6 version myself. I'm not aware of any significant changes that would cause it to break? Please give it a try and report any issues in the Tracker.
• Tue, Jan 7, 2014, 6:21 AM
Hi all, is it possible to show only the rating result in any course list, like in the front page even if you'r not logged in?
• Tue, Jan 7, 2014, 5:14 PM
Hi Pedro, please see the advanced options section of the documentation http://docs.moodle.org/26/en/Course_rate_block#Advanced_Options - you will need to be a programmer to do this as you'll be altering areas of Moodle not within the plug-in's control.
• Tue, Feb 11, 2014, 1:22 PM
Hi,
I want to add extera field 'Comment'. For this I added new field comment in mdl_block_rate_course table which have degault value '0'. also i have written the following code on rate.php page
echo '';
and on update.php i have added
$comment = required_param('comment',PARAM_ALPHA); on the top and$completion->comment = \$comment;
just above where data is inserting.

But after submitting, the comment value is not reflecting . It is showing '0' as i have defiled.

Kindly let me knwo what i am doing wrong.

Regards
Ajeet
• Tue, Mar 4, 2014, 12:31 PM
How to Each session will be linked to general rating system and also Each session will be linked to a (general comments)Memo field for feedback.