Ranking block

Blocks ::: block_ranking
Maintained by Willian Mano Araújo
A ranking block to improve the gamification into the course.
Latest release:
1664 sites
369 downloads
96 fans
Current versions available: 3

Moodle Ranking block repository

VERSION 2

This block is and will remain free, but your donation allows me to continue the development, and any amount is greatly appreciated.

Imagem com link para doação


This block improves gamefication into the moodle plataform.

This new version is more simpler and easy to use, but, with more visual.

The plugin works listening moodle events, so now, the points are added in real time.

The ranking works with the activity completion tracking, so you need to enable that and configure the criterias for all activities you want to monitor. The plugin only add points to activities with completion criterias. The method to add points remains the same.

There are different ways to gain points.

For example:

  • If a student completes a html page the ranking adds 2 points.
  • If a student completes an assignment and it is ended only when the student receive a grade. The ranking add 2 points plus the grade points to the student. You can configure the default points in the block configuraion.

NOTE: All the activities that needs grade to be finished will add the activity points (default 2) more the activity grade. For example: If the course has one assignment and it's configured to be completed only after the grade is received by the student and let's say a random student received by the end of the assignment 10(ten) as his grade. In this case that student will obtain 12(twelve) points, the 2(two pre-configured) from finishing the activity plus 10(ten) from his grade.

This only occurs with activities that have grades. ex: foruns, assignments, lessons, etc...

For Moodle version 3.2+ 

With the new chart api in moodle version 3.2 i added some graphs to see the groups performance. Enjoy and feel free to send me your feedback.

Update Notes

  • Added graphs page
  • Added event listeners to add point
  • Removed cron dependency
  • Added a weekly ranking
  • Added a monthly ranking
  • Added a tiny report with top 100 students in general ranking
  • Added filter the tiny report by groups (the course group mode needs to be "separeted groups" or "visible groups")
  • Now you don't need configure the course completion tracking, only the activities completion criterias. Again, the plugin only monitors the activities with completion criteria
  • The table ranking_cmc_mirror was removed.

Installation

First way

  • Clone this repository into the folder blocks.
  • Access the notification area in moodle and install

Second way

  • Download this repository
  • Extract the content
  • Put the folder into the folder blocks of your moodle
  • Access the notification area in moodle and install

Post instalation

After you have installed the block you just add it into the moodle course.

The ranking block works together with the activity completion, so you need to enable that and configure the criterias for all activities you want to monitor. The ranking block monitors these activities and add points to the students based on accomplishing the activities.

Enabling completion tracking

  • Go to: Site administration / Advanced features
  • Turn on the item "Enable completion tracking"
  • Inside the course go to: Course administration / Edit settings
  • In the section Completion tracking set "Completion tracking" to yes
  • Save

Screenshots

Screenshot #0
Screenshot #1
Screenshot #2
Screenshot #3
Screenshot #4
Screenshot #5
Screenshot #6

Contributors

Willian Mano Araújo (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Comments

  • Tue, Mar 17, 2015, 10:33 PM
    rsrsrs. i'm on line right now. ;)

    You can check the new version under the github: https://github.com/willianmano/moodle-block_ranking/tree/VERSION2

    Now you only need mark the activities completion, don't need go to course completion and select the activities. Now the plugin get all activities with completion rules. I removed unecessary table and complexity and add the weekly, monthly and general ranking. xD

    I'm right now creating an area with more detailed infos about the students and points received

    I'm thinking in more ideas like levels and badges... ;)
  • Tue, Apr 21, 2015, 1:57 AM
    Hi William,

    I have two courses with activities marked as contributing to the ranking. Can I have separate ranking for each course or is the ranking only on a per student basis? I ask this because I have a ranking block in each course and all students have the same scores in both courses. Surely they have different completion criteria so should have different scores?

    Otherwise a great plugin! My students love it!
  • Ricardo Caiado
    Thu, May 14, 2015, 1:38 AM
    Prezado Willian,

    Estou usando a versão 2.8.5+ e o cron está retornando a seguinte mensagem:

    "Processing cron function for ranking....... used 12 dbqueries
    ... used 0.074506998062134 seconds
    Task failed: Erro ao ler a base de dados"

    Você teria ideia do que pode estar causando isto, uma vez que é só com ele que eu tenho este erro de leitura da base de dados?

    Ricardo



  • Sat, May 16, 2015, 2:10 AM
    Hey Ricardo, what SGBD are you using?
  • Sat, May 16, 2015, 2:19 AM
    I am exploring plugins like this one to try an gamify my Global Studies 8 course. One feature that would be very motivating for my junior high students is an individual rank. We often play a game called Kahoot (getkahoot.com) and after each question, the top 5 players are posted on main screen, but each student's screen shows their overall rank and who is 1 place above them (and possibly 1 place below them). It builds a competition amongst all the students, especially when the top is dominated by very strong students. Is this something that could be incorporated into this block? Show the top 5 and then "Your Rank:" and then show who is above them (and possibly below them). Students in a Kahoot game see how many points the student above them have to be able to say, "I need XXX points in order to pass Johnny."

    It would also be great to possibly turn off the global ranking portion. While we can use that when playing a game, I am not sure how student privacy rights would play in if we posted the top XXX students publicly. When we post our grades in class, we do it by student id numbers so students can't see each other's grades. Successful students might not want their name on the a global scoreboard.

    Thanks for listening! smile

    Brian Rigwald
    Global Studies 8
    Century Junior High
  • Sat, May 16, 2015, 3:30 AM
    That is a very good idea. Unfortunately, i'm very busy, but i will implement something like this to the new version. You can check the new version on github. https://github.com/willianmano/moodle-block_ranking/tree/VERSION2
  • Sun, May 17, 2015, 2:45 AM
    Do you like this? http://imgur.com/gUBVzmN

    ;)
  • Sun, May 17, 2015, 6:26 AM
    Hi Willian! Is that what I was suggesting? (I am not sure, since the student names are the same and it is a top 2 ranking.) I am guessing it is, since you added a ";)" to your message, hehehe.

    My questions must have inspired you to find time to play with it, eh?
  • Sun, May 17, 2015, 11:24 PM
    I've added the possibility to the student see her own points. That course have only two students, it's a test. I've changed the behavior, now the plugin works with moodle events, not with cron, now the points are automatically computed.
  • Ricardo Caiado
    Wed, May 20, 2015, 3:23 AM
    Hi William,

    I'm using Postgres 9

    Ricardo
  • Wed, May 20, 2015, 4:26 AM
    Fala Ricardo Caiado, agora que vi que você é brazuca. smile

    Cara, acabei de subir uma versão nova do plugin, ta fresquinha. instala ela e vê se da tudo certo.
  • Fri, Jun 5, 2015, 2:35 AM
    Willian, I am playing with your block right now. smile I think it is something that I can use. Would there be a way to allow teachers, and not site admins, to edit the point values for items?
  • Wed, Jun 10, 2015, 11:42 PM
    Hello Willian, thank you for this amazing block! I wanted to ask you one thing: when number of attempts is set for unlimited users keep gaining points for every attempt they're taking. Is there any way to add the highest grade only to the ranking?

    Thank you,

    Maxim
  • Thu, Jun 11, 2015, 7:49 PM
    Hey Brian Rigwald, i can't do it, cause this is a global configuration.
  • Thu, Jun 11, 2015, 7:55 PM
    Maxim Khasiev, i did it intentionality for one purpose. Maxim Khasiev, i did it for one purpose. When a student finish all activities he do not will gain more points, and then he no will more interact with the course. So, i use the quiz, with multiple attempts, to create an activity like a practice. He can repeat the quiz any time, and still gain more points. This is very good, cause he fixed the content and practice more, and studies more... Do you understood?
Please login to post comments