Moodle Plugins directory: Registration duration to the site | Moodle.org
Registration duration to the site
Local plugins ::: local_regperiod
Maintained by
Camille Carlier,
Laurent David,
Martin Cornu-Mansuy
This plugin allows you to set start and end dates of registration, via the user profile fields. A scheduled task runs every 10 minutes to suspend or activate relevant users.
Latest release:
45 sites
15 downloads
7 fans
Current versions available: 1
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.
Useful links
Contributors
Camille Carlier (Lead maintainer)
Laurent David
Martin Cornu-Mansuy
Romain Deleau: Developer
Please login to view contributors details and/or to contact them
Comments