Restriction by badge

Availability restriction ::: availability_badge
Maintained by Tim Lock
Activities in a course can be restricted by a badge
Latest release:
332 sites
168 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
  • David Mudrák
    Wed, 15 Jun 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.

  • Gordon Mills
    Sat, 29 Oct 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
  • Gravatar is a privacy violator
    Thu, 1 Dec 2016, 7:17 AM
    Gordon, it should appear in Site admin > Plugins > Availability restrictions > Manage restrictions, if installed properly.
  • Ricardo Caiado
    Wed, 7 Dec 2016, 8:46 PM
    Any upgrade to Moodle 3.2?
  • Tim Lock
    Thu, 8 Dec 2016, 5:27 AM
    Ricardo, Doesn't any changes required but I will review in the next few weeks.
  • Rob Mills
    Sun, 7 May 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)
  • Rob Mills
    Mon, 21 Aug 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.
  • Jari Vilkman
    Wed, 27 Sep 2017, 8:26 PM
    Hello,

    When will this be Moodle 3.3 compatible so we can install it with composer?
  • Alexandre Bento Martins
    Thu, 8 Feb 2018, 2:25 AM
    Any upgrade to MOODLE 3.4 ?
  • Guido bei der Arbeit
    Wed, 10 Oct 2018, 4:56 PM
    The github code worked for me on moodle 3.5
    https://github.com/tlock/moodle-availability_badge
  • Rafael Rizo Scandian
    Sat, 23 Mar 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!
  • Th Malta
    Fri, 6 Sep 2019, 7:19 PM
    is this plugin discontinued? (as I am writing, the last version of Moodle is 3.7...)
  • Brian Pool
    Sun, 5 Jul 2020, 9:09 PM
    Would love for this to be certified for 3.8 LTS!
  • Hoda Farazandeh
    Sun, 27 Jun 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 🙌🏻
  • Dave Foord
    Tue, 10 Aug 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