Restriction by badge

Availability conditions ::: availability_badge
Maintained by Tim Lock
Activities in a course can be restricted by a badge
Latest release:
361 sites
77 downloads
27 fans
Current versions available: 1

This plugin adds the functionality that an activity in a course can be restricted by a badge in courses or site level.

Screenshots

Screenshot #0
Screenshot #1
Screenshot #2
Screenshot #3

Contributors

Tim Lock (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Wed, Jun 15, 2016, 8:24 PM

    Thanks again Tim. I was able to successfully test the functionality of the plugin and did not spot any issues with the code that would prevent me from approving this now. You are cleared to land, welcome to the Plugins directory.

  • Sat, Oct 29, 2016, 5:17 AM
    Tim I've installed the plugin and all checked ok. However it does not show in the plugins on site administration. Moodle 3.1
  • Randy Thornton
    Thu, Dec 1, 2016, 7:17 AM
    Gordon, it should appear in Site admin > Plugins > Availability restrictions > Manage restrictions, if installed properly.
  • Ricardo Caiado
    Wed, Dec 7, 2016, 8:46 PM
    Any upgrade to Moodle 3.2?
  • Thu, Dec 8, 2016, 5:27 AM
    Ricardo, Doesn't any changes required but I will review in the next few weeks.
  • Sun, May 7, 2017, 6:08 PM
    I'm getting error_selectbadge all of a sudden when it was working fine earlier.
    debug messages:
    line 7078 of /lib/moodlelib.php: call to core_string_manager_standard->get_string()
    line 184 of /availability/classes/frontend.php: call to get_string()
    line 425 of /course/moodleform_mod.php: call to core_availability\frontend::report_validation_errors()
    line 93 of /mod/folder/mod_form.php: call to moodleform_mod->validation()
    line 573 of /lib/formslib.php: call to mod_folder_mod_form->validation()
    line 523 of /lib/formslib.php: call to moodleform->validate_defined_fields()
    line 619 of /lib/formslib.php: call to moodleform->is_validated()
    line 150 of /course/modedit.php: call to moodleform->get_data()

    Any help greatly appreciated!

    Running Moodle 3.2.2 (Build: 20170313)
  • Mon, Aug 21, 2017, 8:42 PM
    It seems this plugin is no longer receiving attention. Still not working on current version of Moodle (3.2). That's a great pity it was useful.
  • Wed, Sep 27, 2017, 8:26 PM
    Hello,

    When will this be Moodle 3.3 compatible so we can install it with composer?
  • Thu, Feb 8, 2018, 2:25 AM
    Any upgrade to MOODLE 3.4 ?
  • Guido
    Wed, Oct 10, 2018, 4:56 PM
    The github code worked for me on moodle 3.5
    https://github.com/tlock/moodle-availability_badge
  • Sat, Mar 23, 2019, 4:19 AM
    Hi Tim,

    I've been using availability_badge for a couple of months now and it's been great. It would be even better if the restriction on the course page could be transformed into a link to the badges page, to help get students used to badges functionality in Moodle. Sometimes when a student has no idea of what a badge is, it can be too restrictive and frustating. Do you think that's doable? Any workaround maybe?

    Thanks!
  • Fri, Sep 6, 2019, 7:19 PM
    is this plugin discontinued? (as I am writing, the last version of Moodle is 3.7...)
  • Sun, Jul 5, 2020, 9:09 PM
    Would love for this to be certified for 3.8 LTS!
  • Sun, Jun 27, 2021, 6:33 AM
    Hello there,
    Thanks for your useful plugin.
    Is there anyway to consider restriction if the badge is expired? In current situation it doesn't matter if the badge is expired or not.

    Thanks & Regards 🙌🏻
  • Tue, Aug 10, 2021, 6:19 PM
    As per other comments, this would be brilliant if this plugin could be updated for newer versions of Moodle, and as per Hoda's suggestion, if the enrolment could also recognise when a badge expires and then suspend the user at that point in time - this would be very powerful.
1 2
Please login to post comments