Hide inactive courses

General plugins (Local) ::: local_hide_inactive_courses
Maintained by Picture of Andrew ZitoAndrew Zito
[RETIRED] A plugin which automatically hides courses that have not been accessed for a configurable time period.
Latest release:
13 sites
6 fans
Current versions available: 4

# Moodle Local Hide Inactive Courses

[RETIRED] This plugin is no longer maintained and there will be no further releases.

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.


Screenshot #0
Screenshot #1


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

Comments RSS


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

    Very useful plugin.

    Any update to Moodle 3.5?
  • Picture of Andrew Zito
    Fri, Jul 20, 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