插件版块

Top Active Courses

block_topactivecoursesSadik Mert

  • Moodle 4.0–5.2
  • 更新 2026-08-21

The Top Active Courses block is a Moodle plugin that displays a visually appealing list of the most active courses on your Moodle site. It is designed to help users discover popular courses they are not yet enrolled in, but where self-enrolment is possible. The block uses a modern card-based layout with course images, titles, and direct links to the course pages.
Top Active Courses Block for Moodle
Overview
The Top Active Courses block is a Moodle plugin that displays a visually appealing list of the most active courses on your Moodle site. It is designed to help users discover popular courses they are not yet enrolled in, but where self-enrolment is possible. The block uses a modern card-based layout with course images, titles, and direct links to the course pages.
Features
Shows the most active courses from the last 7 days, based on user interactions (log entries).
Excludes courses in which the current user is already enrolled.
Only displays courses where self-enrolment is enabled and available.
Modern, responsive card layout with course images, titles, and links.
Customizable appearance via the included styles.css .
No personal data is stored by the block.
How It Works
The block queries the Moodle logstore to find courses with the highest number of unique user interactions in the last 7 days.
For each course, it checks if the current user is not enrolled and if self-enrolment is enabled.
The block then displays up to X (Default: 10) of these courses as cards, each showing the course image, title, and a link to the course page.
Installation
There are two ways to install the Top Active Courses block:
Via Moodle plugins Directory (recommended):
Site administration > Plugins > Install plugins .
Upload the ZIP file or install from the Moodle plugins repository.

返回插件目录