Hide courses

Admin tools ::: tool_hidecourses
Maintained by Charles Fulton, Andrew Zito
This admin tool allows managers to set all courses in a category (including subcategories) to either hidden from, or visible to, students.

Hide courses v3.6.0

Moodle 3.6, 3.7, 3.8, 3.9, 3.10
Released: Thursday, November 29, 2018, 4:06 AM

Hide courses

Build Status

This admin tool allows managers to set all courses in a category (including subcategories) to either hidden from, or visible to, students. The intended use case is installations where all categories are already hidden by default and course visibility is the prime method for restricting access. At Lafayette, we combine this with overrides to moodle/course:viewhiddencourses at the category level to restict access by teachers to old courses.

Requirements

  • Moodle 3.6 (build 2018112800.00 or later)

Installation

Copy the hidecourses folder into your /admin/tool directory and visit your Admin Notification page to complete the installation.

Usage

The tool adds two links to the category navigation block, "Hide all courses" and "Show all courses." Each will take the user to a page describing what will happen and requesting confirmation. On confirmation, Moodle will create an "adhoc task" to change all the settings in the background. This requires the cron be enabled. Each setting change will be logged in the standard Moodle log store.

If you're using Boost or a similar theme, you may need to access /course/index.php directly, navigate to the desired category, then click the edit cog at top right to reach the links.

Configuration

The tool has no options but does require, as mentioned above, that cron be running.

Author

Charles Fulton (fultonc@lafayette.edu)

Version information

Version build number
2018112800
Version release name
v3.6.0
Can be updated from
v1.0.0 (2017030300), v1.0.0 (2017030300), v1.0.0 (2017030302), v3.4.0 (2018051300), v3.3.0 (2017030303), v3.4.1 (2018051301), v3.4.2 (2018051302), v3.3.1 (2017030304)
Maturity
Stable version
MD5 Sum
211d38ddb3051809650add3da525d16b
Supported software
Moodle 3.6, Moodle 3.7, Moodle 3.8, Moodle 3.9, Moodle 3.10
  • Latest release for Moodle 3.6
  • Latest release for Moodle 3.7
  • Latest release for Moodle 3.8
  • Latest release for Moodle 3.9
  • Latest release for Moodle 3.10

Version control information

Version control system (VCS)
GIT
VCS repository URL
VCS branch
main
VCS tag
v3.6.0

Default installation instructions for plugins of the type Admin tools

  1. Make sure you have all the required versions.
  2. Download and unpack the module.
  3. Place the folder (eg "mytool") in the "admin/tool" subdirectory.
  4. Visit http://yoursite.com/admin to finish the installation