Moodle Plugins directory: Registration duration to the site | Moodle.org
Registration duration to the site
Purpose
This plugin helps manage when users can access a site by setting specific start and end dates for their registration. Essentially, it controls when a user's account is active and when it is not, making it easier to manage user access over specific periods.
Setup
When you install the plugin, it creates a new section in the user's profile called "Registration duration to the site."
This section will have two fields: "Start" and "End". These fields let you set the dates for when a user's registration starts and ends. They will appear at the top of all existing categories in the user profile.
You can change the name of this section or even delete it. But if you delete both the "Start" and "End" fields, the plugin will stop updating its profile. You can remove one of these fields if you need to.
Possible customisations
You can customize the "Start" and "End" fields to suit your needs (label, wording). However, you can't change their short names because these names are essential for the plugin to function correctly.
Other
- If you want to upload user data through a CSV file, make sure to format the start and end dates in the UNIX timestamp format. There's a link provided to a converter tool that can help you with this.
- The plugin includes a scheduled task that runs every 10 minutes. This task checks the start and end dates for each user and then either activates or suspends their accounts based on those dates.
- You can modify this task's settings in the site's administration area.
Comments