插件本地插件稳定版

Welcome Modal

local_welcome_modalDynamic Pixel

  • Moodle 4.1–5.1
  • 更新 2026-02-23

A Moodle local plugin that displays a friendly, customizable welcome modal to users after they log in, encouraging them to explore the platform and access the library. The modal can be dismissed temporarily (for the session) or permanently, and respects site policy agreements.
Overview
A Moodle local plugin that displays a friendly, customizable welcome modal to users after they log in, encouraging them to explore the platform and access the library. The modal can be dismissed temporarily (for the session) or permanently, and respects site policy agreements.
Features
– **Personalised welcome** – Greets the user by name.
– **Fully configurable** – Choose modal size (small, medium, large, extra large) and the destination URL for the “Go to Library” button.
– **Session‑based suppression** – Optionally prevent the modal from reappearing during the same browser session when closed with the X button.
– **Permanent dismissal** – Users can click “Don’t show again” to never see the modal again (record stored in the database).
– **Privacy‑aware** – Implements Moodle’s Privacy API to handle user data correctly.
– **Policy integration** – If a site policy is enabled, the modal will only appear after the user has agreed to it.
– **Responsive design** – Looks great on all devices.
Requirements
– Moodle 4.1 or later
– PHP 7.4 or later
Installation
1. **Unzip** the plugin folder and place it into `/local/` directory of your Moodle installation.
The folder must be named `welcome_modal` (i.e. `/local/welcome_modal/`).
2. **Log in** to your Moodle site as an administrator and go to *Site administration → Notifications*.
3. Follow the on‑screen instructions to complete the installation. The plugin will create its own database table automatically.
Configuration

返回插件目录