General plugins (Local): Hide inactive courses

local_hide_inactive_courses
Maintained by Picture of Andrew Zito Andrew Zito
A plugin which automatically hides courses that have not been accessed for a configurable time period.
10 sites
43 downloads
4 fans

# Moodle Local Hide Inactive Courses


This plugin adds a scheduled task which automatically hides any courses which have not been accessed for a configurable time period. It also sends an email alert to any Teachers in a course when that course is auto-hidden.


## Installation


Simply add the plugin to your Moodle install. Remember to enable the scheduled task to turn on plugin functionality.


## Settings


You can configure the following aspects of the plugin:

- The time limit for course inactivity, i.e., how long ago the last course access must have been for the course to count as inactive (default 1 year)

- Whether or not to send email alerts to teachers in auto-hidden courses

- The content of email alerts, including dynamic replacement flags (see default email content for example)


## Details


- The plugin only counts course accesses from users who are enrolled in the course

- The cron task is set to run once every day by default

- The time limit config represents a minimum 'time ago' value for course accesses. For example, with the default time limit of 1 year, a course will be considered inactive if the most recent course access is from a year ago or more; or to put it another way, if there are no course accesses within the last year.


Screenshots

Screenshot #0
Screenshot #1

Contributors

Picture of Andrew Zito
Andrew Zito (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Picture of Plugins bot
    Sat, 5 May 2018, 12:30 AM
    Approval issue created: CONTRIB-7288
  • Ricardo Caiado
    Fri, 20 Jul 2018, 8:12 AM
    Hi,

    Very useful plugin.

    Any update to Moodle 3.5?
  • Picture of Andrew Zito
    Fri, 20 Jul 2018, 10:22 AM
    Hi Ricardo,

    Thanks for your interest in Hide Inactive Courses!

    I've just tagged an official 3.5 release and added it here. Hope you get some use out of it!
Please login to post comments