Ranking block

Certified Partner Plugin
Maintained by Willian Araujo
A ranking block to improve the gamification into the course.
Price option: Free

Supports Moodle 2.4-4.4 See all versions
Latest release: 1 year ago
Installations: 1381
Downloads (last 90 days): 86

Frankenstyle name: block_ranking
Blocks

Comments

Comments are no longer open for new posts. Existing comments remain available to read.

I too cannot install this as two other posters have noted. I am using moodle 2.6.1. The install hangs at a white screen when trying to upgrade the database.
Hello Atul Kachhadiya, what is your moodle version? Are you using mysql?
The rating system monitor only activities marked in moodle course completion.
Hello. ! I was trying to use this block but when I try to update moodle database. It doesn't update the screen keep in color white. When I press the bottom update and nothing happen.
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.
I'm using Moodle 2.6.1
Hi.! I fix my problem. I deleted the folder in block. The problem was this:
Fatal error: Can't use function return value in write context in /home/ovasyste/public_html/pruebamoodle/moodleprueba/blocks/ranking/block_ranking.php on line 47
Could you help me with this? I'm so intereting to use this block. it's very powerful for my sites.
Thank for your answer
Hello Jehova, i don't see any problem in there. Whats is your moodle version?
Hello. ! I was trying to use this block but when I try to update moodle database. It doesn't update the screen keep in color white. this is my screen http://postimg.org/image/9encuwzsd/ I press the bottom update and nothing happen
Oops, my apologies Willian, I just noticed I had been misspelling your name. I see the link to the source points to Github, so now you just need to decide which tools you want to use for the tracker and documentation. I am going to go ahead and approve the plugin and if you want to use Github, you can modify the entry and provide those URLs. If you want to use the Moodle Tracker let me know so I can create the component and then I usually come back and add the URL. Peace - Anthony
Regarding the URLs, you have a couple of options. Are you using Github or something similar to host your code? If so, for tracking issues you can either use Github's issues or if you would like we can create a component in the Moodle Tracker that would auto-assign issues related to your plugin to you. Similarly for documentation, you can use Github's wiki functionality or you can use Moodle Docs. If you wish to use Moodle Docs I would recommend having a look at:
http://docs.moodle.org/dev/Plugin_documentation
For both the Moodle Tracker and Moodle Docs you will need to create an account. Please do not hesitate to let me know if there is anything I can do to be supportive of your efforts. Peace - Anthony
William - Thanks for making such quick work of that. I noticed one other minor issue that I would ask you to fix up when you get a chance. In the lang files the subpackage and copyright should be like the other files with your name. If you have questions just let me know. Peace - Anthony
William - Many thanks for sharing this creative plugin with the Moodle community. I installed the block fine but do have a couple (hopefully small) suggestions for improving things before we approve this. The first is to replace the 200 in version.php with MATURITY_STABLE. That should be quick and easy. The second suggestion has to do with settings.php. Currently your settings are being stored in the mdl_config table; however, it would be better if they were stored in mdl_config_plugins. To do this consider using the get_config function and changing lines like:
$settings->add(new admin_setting_configtext('block_ranking_rankingsize', get_string('rankingsize', 'block_ranking'),
get_string('rankingsize_help', 'block_ranking'), 10, PARAM_INT));
$settings->add(new admin_setting_configtext('block_ranking/rankingsize', get_string('rankingsize', 'block_ranking'),
get_string('rankingsize_help', 'block_ranking'), 10, PARAM_INT));
It will mean having to create your own variable for those settings but helps to prevent bloating of $CFG
For example instead of using:
$CFG->block_ranking_rankingsize
You would at the beginning of the script create
$cfg_ranking = get_config('block_ranking');
and then use $cfg_ranking->rankingsize instead.
Also, please review http://docs.moodle.org/dev/Plugin_validation#Recommended_URLs and provide the source, tracker, and documentation URLs. For now, I am going to mark this plugin as needing more work but once you have addressed these issues please upload the revised version and then schedule the plugin to be reviewed again.
Feel free to use the comments here for any discussion or if you have any questions. Peace -Anthony