Restriction by relative date

Availability restriction ::: availability_relativedate
Maintained by RenaatRenaat Debleu
Restrict module and section access based on a relative date.

Restriction by relative date 3.5+

Moodle 3.5, 3.6, 3.7
Released: Saturday, October 12, 2019, 12:46 AM

moodle-availability_relativedate

Relative dates will be experimental in Moodle 3.8. Until then we can restrict module and section access based on a relative date.

This availability condition makes it easy to show modules or sections only x days/weeks/months - after course start date - before course end date - after user enrolment date

Check the global documentation about availability conditions : https://docs.moodle.org/en/Conditional_activities_settings

Installation:

  1. Unpack the zip file into the availability/condition/ directory. A new directory will be created called relativedate.
  2. Go to Site administration > Notifications to complete the plugin installation.

travis Coverage Status

Version information

Version build number
2019101100
Version release name
3.5+
Can be updated from
3.5+, 3.5+, 3.5+ (2019062500), 3.5+ (2019080700)
Can be updated to
3.5+ (2020012800), 3.8+ (2020102300), 3.8+ (2020110200), 3.8+ (2020111000), 3.9+ (2021060600)
Maturity
Stable version
MD5 Sum
d555bf908c82e284325323c2a5ef4243
Supported software
PHP 7.0, PHP 7.1, PHP 7.2, Moodle 3.5, Moodle 3.6, Moodle 3.7

Version control information

Version control system (VCS)
GIT
VCS repository URL
VCS tag
v3.5+