Level Up XP Availability

Availability restriction ::: availability_xp
Maintained by Frédéric Massart ⭐
Restrict access to course content until students reach the required level.
Latest release:
2028 sites
1k downloads
96 fans
Current versions available: 1

Using the experience points and levels generated from the usage of the block Level Up XP, you can limit the access to some course content such as activities, resources or sections according to the student's level.

How to use

  1. Install the block Level Up XP
  2. Install this plugin
  3. Add the block 'Level Up XP' to a course
  4. Find the new 'Level' restriction under 'Restrict access' in activity/section settings



Provided by
Branch Up

Screenshots

Screenshot #0

Contributors

Frédéric Massart ⭐ (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Anthony Borrow
    Tue, 22 Apr 2014, 12:02 PM
    Fred - Thanks, I created the availability category in Moodle plugins. I will be giving these a quick look. Peace - Anthony
  • Anthony Borrow
    Tue, 22 Apr 2014, 12:03 PM
    What do you mean by link with block_xp - would you like a set created? If so, could you describe what xp means and suggest a possible name for the set and a description?
  • Frédéric Massart ⭐
    Tue, 22 Apr 2014, 12:32 PM
    Yes, I mean a set, the same way it was done with repository_evernote and portfolio_evernote. The difference here is that availability_xp requires block_xp to work.

    XP means Experience (or Experience Points), it is often used in video games.

    A name? "XP" maybe? I am not sure exactly. The description could something like: "Gamification plugins working with experience points given to the students." - I am not sure to be honest.
  • Anthony Borrow
    Tue, 22 Apr 2014, 12:55 PM
    Fred - I was able to get everything installed but had trouble getting it to work. When I went back to the rules.php it showed that it was disabled; however, in the database (block_xp_config table) it shows it enabled for the course. When I went to an existing activity, I did not see any availability options related to xp. I will work on creating the set and adding these to them. Peace - Anthony
  • Anthony Borrow
    Tue, 22 Apr 2014, 12:58 PM
    Code checker revealed mostly just spacing issues in the js file - I would like better checking on js files but the bottom line is that there were no significant concerns with the code itself.

    availability/condition/xp/classes/frontend.php - 1 error(s) and 0 warning(s)
    availability/condition/xp/classes/condition.php - 1 error(s) and 0 warning(s)
    availability/condition/xp/yui/src/form/js/form.js
    availability/condition/xp/yui/build/moodle-availability_xp-form/moodle-availability_xp-form-min.js - 42 error(s) and 0 warning(s)
    availability/condition/xp/yui/build/moodle-availability_xp-form/moodle-availability_xp-form.js - 1 error(s) and 0 warning(s)
    availability/condition/xp/yui/build/moodle-availability_xp-form/moodle-availability_xp-form-debug.js - 1 error(s) and 0 warning(s)
    availability/condition/xp/lang/en/availability_xp.php - 1 error(s) and 0 warning(s)
    availability/condition/xp/version.php - 1 error(s) and 0 warning(s)
    availability/condition/xp/README.txt - 1 error(s) and 0 warning(s)

    Peace - Anthony
  • Anthony Borrow
    Tue, 22 Apr 2014, 1:04 PM
    You may want to add to the README file the requirement to Enable conditional access. I was able to see it working after that. Peace - Anthony
  • Frédéric Massart ⭐
    Tue, 22 Apr 2014, 2:08 PM
    Thanks Anthony.

    I am surprised the block was displayed as disabled. I will investigate and fix those comments in a later version.

    Many thanks.
    Fred
  • Fernando Rodrigues
    Wed, 13 May 2015, 5:45 PM
    Hello... when do you think that de version for 2.9 is available? It blocks the upgrade...

    Kind regards!
  • Ricardo Caiado
    Wed, 7 Dec 2016, 8:47 PM
    Any upgrade to Moodle 3.2?
  • Frédéric Massart ⭐
    Thu, 8 Dec 2016, 10:07 AM
    Sorry, I thought I had marked the plugin as available for 3.2. You can download it now. Let me know if you face any issue.
  • Vanye Vanduhe
    Mon, 15 Jan 2018, 4:24 PM
    Good day, i try to set level up by course activity such that after completing an activity from set of 5 activities there a level up notification of level up to the next level activity, how can i ge to do that
  • Jonathan Moreno
    Wed, 7 Nov 2018, 6:44 AM

    How to install this plugin manually?
  • Frédéric Massart ⭐
    Thu, 8 Nov 2018, 4:39 PM
    Hi Jonathan, please follow the instructions here: https://github.com/FMCorz/moodle-availability_xp#installation
  • Ricardo Caiado
    Thu, 19 Dec 2019, 10:35 PM
    Hi,

    I have just upgraded to Moodle 3.8 and got this error message:

    "Exception: Class \availability_xp\frontend not found"

    Any plan to upgrade this plugin to M3.8?

    All the best,

    Ricardo
  • Frédéric Massart ⭐
    Fri, 20 Dec 2019, 1:23 PM
    Hi Ricardo. We are unable to replicate this problem, please make sure that you've purged your cache as the class that aren't any reason for the error you are seeing to occur after a 3.8 upgrade. At least not from our plugin's point of view. We flagged this version of the plugin as being compatible, please raise an issue on Github if you're still experiencing issues. Thank you!
1 2
Please login to post comments