Bloque de valoración de curso

De MoodleDocs

Nota: Pendiente de Traducir. ¡Anímese a traducir esta página!.     ( y otras páginas pendientes)

Moodle 2.x

Bloque de valoración de curso

El bloque contiene un enlace hacia una página aparte con un formato para emitir una valoración (ponerle estrellitas) de forma similar al sitio de Amazon.com, y muestra el agregado actual de todas las valoraciones de usuarios, incluyendo el número de personas que han hecho valoraciones.

Rateimg.jpg

Cada usuario solamente puede valorar un curso en una ocasión. Si vuelven a visitar la página de valoraciones, un mensaje les indica que ya han valorado el curso, y el formato (deshabilitado) muestra la valoración que dieron antes.

Instalación

  • Download the plugin from https://moodle.org/plugins/block_rate_course
  • Copy the files into the \blocks folder.
  • Go to the \admin page and allow the block to be installed
  • Add the block to your course pages to display course ratings

Roles y Permisos

The default installation will allow all roles except for Guest and Authenticated User to rate a course. All users, regardless of role, can see ratings.

Idiomas

Inglés, Hebreo, Alemán y Español de México.

Si usa el idioma Español de México deberá editar manualmente el archivo gráfico star0.png que se encuentra dentro del subdirectorio pix del plugin, para remplazar la parte de la imágen que dice "No ratings given" por algo parecido a "Sin valoraciones". Para esto puede usar MS Windows Paint o cualquier otro programa para editar mapas de bits. ESperamos que en futuras versiones de este plugin se corrija este detalle.


Integración con el módulo de Cuestionario ( Questionnaire )

En la versión para Moodle 2.x de este bloque, Usted puede editar las configuraciones del bloque para añadir un enlace al módulo de cuestionario ( questionnaire ). Si Usted no tiene instalado el módulo de cuestionario ( questionnaire ), o no desea usar esta característica, simnplemente deje vacía esta configuración..

Opciones avanzadas

You can get the rating graphic displayed anywhere you want by adding this code at the right point:

 $block = block_instance('rate_course');
 $block->display_rating($course->id);   //will echo immediately or some thing like 
 $block = block_instance('rate_course');
 $summary = $summary.$block->display_rating($course->id,true);  //use true to get a return value as string, otherwise the rating will be echoed directly

We've added this to our course listings so you can see the rating for each course as you browse through the categories. To do the same, edit the file course/renderer.php and paste the second example in the get_course_formatted_summary() function. You can also add it to the myMoodle course information by editing the print_overview() function in course/lib.php;

Pendiente por hacer

It would be great if users could enter their rating by clicking directly on the star graphic in the block, using AJAX, rather than have to go to a separate page, submit a form and return to the course home page. This would need to be an option, so that sites (or users) which do not have AJAX enabled could continue to use the form page.

Contributor/Maintainer

The Course Ratings Block was contributed and is maintained by Jenny Gray at the UK Open University, however we are no longer using this block on Moodle 2.x and would be grateful for any volunteers to collaborate or take over maintenance of this block.