Smart Notices Lite
Maintained by
Jesus Antonio Jimenez Aviña
Free Moodle plugin to display global modal announcements on key platform pages such as login, front page, dashboard and My courses.
Price option: Free
Supports Moodle 4.1-5.1
See all versions
Latest release: 4 months ago
Installations: 35
Downloads (last 90 days): 69
Frankenstyle name:
local_smartnoticeslite
Plugin type:
Local plugins
Versions
Current version
0.3.7 (2026032102)
Moodle 4.1, 4.2, 4.3, 4.4, 4.5, 5.0, 5.1
Uploaded on Saturday, 21 March 2026 at 07:38 (GMT+0)
0.3.7
Plugin type: Local plugins
Frankenstyle component name: local_smartnoticeslite
Version build number: 2026032102
Version release name: 0.3.7
Maturity: Stable
Supported Moodle versions: 4.1, 4.2, 4.3, 4.4, 4.5, 5.0, 5.1
Repository URL (Git): https://github.com/antoniomexdf-boop/moodle-local_smartnoticeslite
Repository branch: main
Repository tag: v0.3.7
Issue/bug tracker URL: https://github.com/antoniomexdf-boop/moodle-local_smartnoticeslite/issues
Changelog
0.3.7 - 2026-03-21
- Fixed remaining PHPCS warnings in
forms/notice_form.phpby wrapping long lines. - Removed the unnecessary
MOODLE_INTERNALcheck fromlib.php.
0.3.6 - 2026-03-21
- Rebuilt AMD assets using Moodle Grunt with
--root=local/smartnoticeslite. - Added committed
amd/build/modal.min.js.maprequired by Moodle CI. - Updated
amd/build/modal.min.jsto match the currentamd/src/modal.jssource state.
0.3.5 - 2026-03-21
- Prepared Lite package for Moodle review using the release playbook.
- Removed Spanish language and documentation files from the submission package.
- Added Moodle Plugin CI workflow for repository validation.
- Fixed capability language string keys to use the Moodle-expected component format.
- Completed Privacy API coverage for
local_smartnoticeslite_log. - Corrected plugin upgrade savepoints to
smartnoticeslite. - Updated log schema and upgrade path so anonymous/login-page notice logging supports
NULLuserid. - Removed
.gitignoreexclusion for sourcemap files required by AMD builds. - Updated Mustache, AMD source, CSS, and library callbacks to align with Moodle validation expectations.
- Updated release naming from
0.3.4-liteto0.3.5.
0.3.4-lite - 2026-03-09
- Replaced Lite screenshots with the newest source set from:
screenshots_smartnotices
- Renamed screenshots with Lite-specific naming:
smartnoticeslite_01_notice_form.pngsmartnoticeslite_02_report_table.pngsmartnoticeslite_03_modal_preview.png
- Updated screenshot references and descriptions in:
README.mddocs/MANUAL_ES.mddocs/MANUAL_EN.md
- Synced images in both plugin screenshot folders:
screenshots/docs/screenshots/
0.3.3-lite - 2026-03-09
- Renamed Lite plugin component/folder for side-by-side install:
- Component:
local_smartnoticeslite - Folder:
local/smartnoticeslite - Independent DB tables/log tables (
local_smartnoticeslite*)
- Component:
- Added shared modal render guard (
$GLOBALS['smartnotices_any_modal_rendered']) to avoid simultaneous modal rendering when PRO and LITE are both installed. - Updated docs and install references for the new Lite folder/component naming.
0.3.2-lite - 2026-03-08
- Replaced plugin screenshots with new source set from:
/Users/antonio/Documents/CODEX/screenshots
- Rebuilt both folders with the new images:
screenshots/docs/screenshots/
- Lite behavior update:
- Display locations are selectable by admin (only these four available):
- Login page
- Front page
- Dashboard
- My courses
- Display locations are selectable by admin (only these four available):
- Lite listing update:
- Removed
ImpressionsandClosescolumns. - Actions now show only
EditandDelete.
- Removed
- Added GitHub publishing documentation:
docs/GITHUB_PUBLISH_ES.mddocs/GITHUB_PUBLISH_EN.md
0.3.1-lite - 2026-03-08
- Lite location behavior updated:
- Locations are selectable by admin (not fixed), limited to:
- Login page
- Front page
- Dashboard
- My courses
- Locations are selectable by admin (not fixed), limited to:
- Lite listing simplified:
- Removed
ImpressionsandClosescolumns. - Actions now include only
EditandDelete.
- Removed
- Updated Lite documentation (README + manuals EN/ES) to match this behavior.
0.3.0-lite - 2026-03-08
- Converted plugin baseline to Lite (free) edition:
- Global notices only.
- Fixed audience to all users.
- Fixed display locations:
- Login page
- Front page
- Dashboard
- My courses
- No display inside course pages.
- Removed Lite features from UI/flow:
- Removed confirmation button from modal and form flow.
- Removed role targeting and location selection from form.
- Removed course/group scope management flow and course navigation entry.
- Simplified management pages to system/global context only:
index.php,edit.php,delete.php,report.php.
- Updated README and manuals to Lite documentation.
0.2.21 - 2026-03-07
- Improved report action readability:
- Added localized action labels in table and CSV export:
impression->Viewed/Vistoclose->Closed/Cerradoconfirm->Confirmed/Confirmado
- Added localized action labels in table and CSV export:
- Bundled documentation screenshots inside plugin docs:
- Added
docs/screenshots/and copied provided images from workspace screenshots folder.
- Added
- Updated documentation references to use in-doc paths:
README.mddocs/MANUAL_ES.mddocs/MANUAL_EN.md
0.2.20 - 2026-03-07
- Report UI improvement:
- Replaced raw page URL display with user-friendly page names in report table.
- Applied same page-name mapping in CSV export.
- Added page label formatter for report rows:
- Login page
- Front page
- Dashboard
- My courses
- Course page (includes course name when available)
- Updated report column label from
Page URL/URL de páginatoPage/Página.
0.2.19 - 2026-03-07
- Removed default preselection of
Course pagelocation in add notice form (global flow). - Adjusted location validation:
- no location selection is accepted while
scope = course(location is normalized server-side to course page).
- no location selection is accepted while
0.2.18 - 2026-03-07
- Updated global notice form behavior for
Target role:
- No default selection when scope is
global. - Added placeholder option:
Select a target role. - Added validation requiring target role selection for global notices.
- No default selection when scope is
- Added new language strings (EN/ES) for target-role placeholder and required validation message.
0.2.17 - 2026-03-07
- Course-specific auto behavior in global add/edit flow:
- If scope is
course, notice is automatically normalized to:
- location:
course pageonly - target role:
all users
- location:
- If scope is
- Updated form UX for global flow:
Target roleis hidden when scope iscourse.- Non-course locations are hidden when scope is
course.
- Report page toolbar improved:
Backbutton moved to same row asExport CSV.Backuses native Moodle button style (btn btn-secondary).
- Added screenshot staging folder for documentation work:
screenshots/docs_pending/with.gitkeep
- Updated README and manuals (EN/ES) with screenshot folder and filename conventions.
0.2.16 - 2026-03-07
- Added per-user confirmation persistence for notice visibility:
- If
Enable confirmation buttonis active and user clicksConfirm, that notice is no longer shown to that user. - If confirmation is disabled, notice continues displaying according to normal rules (status/date/location/role/course/group).
- If
- Implemented filtering based on
local_smartnoticeslite_logconfirmevents in active notice resolution.
0.2.15 - 2026-03-07
- Expanded documentation with complete usage manuals:
- Updated
docs/MANUAL_ES.mdto full-feature manual. - Updated
docs/MANUAL_EN.mdto full-feature manual.
- Updated
- Updated
README.mddocumentation section and added recommended screenshot checklist for:
- GitHub repository documentation
- Moodle Plugins Directory listing
0.2.14 - 2026-03-07
- Switched toolbar/action buttons to native Moodle/Boost button styles:
- Removed custom premium button class usage in listing and reports.
- Removed custom button-shadow CSS for better visual integration.
- Added safe table sorting (ASC/DESC) in notices listing:
- Sort parameters:
sort+dir. - Sortable headers:
- Notice ID
- Title
- Status
- Dates (start date)
- Sorting persists while paginating and navigating course/global listings.
- Sort parameters:
0.2.13 - 2026-03-07
- Updated teacher course notice form:
Grupo objetivonow includesTodos los grupos/All groups.- Group selection is optional when groups exist in the course.
- Updated course notices listing toolbar:
- Added
Ir al curso/Go to coursebutton next toAgregar aviso.
- Added
- Improved table integration with Moodle/Boost styles:
- Listing and report tables now use Moodle table classes (
table,table-striped,table-hover).
- Listing and report tables now use Moodle table classes (
- Improved group column display:
- Course notices without a specific group now show
Todos los grupos/All groups.
- Course notices without a specific group now show
0.2.12 - 2026-03-07
- Added dedicated teacher page for course notices:
- New file:
/local/smartnoticeslite/course_edit.php - Teacher add/edit flow is isolated from global edit page.
- Course notice flow enforces:
- course scope only
- course location only
- role target
all - optional group target when course groups exist
- New file:
- Updated course listing routes:
Agregar aviso(course context) now openscourse_edit.php.Editarfrom course notices now openscourse_edit.php.
- After saving/canceling course notice edit, user always returns to:
/local/smartnoticeslite/index.php?courseid={id}
0.2.11 - 2026-03-07
- Improved teacher notice creation in course context:
- Added group targeting support (
groupid) for course notices. - Teacher flow now targets group members when groups exist.
- Added "Group" column in listing.
- Added group targeting support (
- Updated wording across plugin:
Hide title in modal->Hide title
- Added DB upgrade for
groupidfield and related key/index.
0.2.10 - 2026-03-07
- Removed "What activity is next?" feature and all active code paths:
- Removed course button and configuration page.
- Removed dynamic auto-notice rendering logic.
- Removed related language strings and README mention.
- Added DB cleanup upgrade to drop
autonextactivityfield.
0.2.9 - 2026-03-07
- Fixed auto next-activity engine database compatibility:
- Replaced dependency on non-portable
calendar_eventtable withassign.duedatequery. - Prevents
dmlreadexceptionon sites without that table.
- Replaced dependency on non-portable
0.2.8 - 2026-03-07
- Fixed auto next-activity notice visibility for students in course context.
- Auto notice now has explicit priority in course rendering order.
- Improved auto-notice role filtering:
- visible to enrolled students
- hidden for teachers/managers/admins
0.2.7 - 2026-03-07
- Added automatic course-only notice mode: "What activity is next?"
- Added course configuration button and page:
/local/smartnoticeslite/auto.php
- Added simple recommendation engine:
- Prioritizes upcoming assignment due events.
- Falls back to next incomplete visible activity.
- Added direct activity link in automatic notice message.
- Added DB field
autonextactivitywith upgrade step. - Automatic notice uses existing metrics and interaction logging pipeline.
0.2.6 - 2026-03-07
- Fixed report/export fatal error on user interaction logs:
- Removed dependency on
get_all_user_name_fields()in log query. - Now selects explicit user fields (
firstname,lastname,email) for compatibility.
- Removed dependency on
0.2.5 - 2026-03-07
- Fixed XMLDB collision in
local_smartnoticeslite_logtable definition:
- Removed redundant indexes on foreign key fields (
noticeid,userid) to avoid key/index name collisions during upgrade.
- Removed redundant indexes on foreign key fields (
0.2.4 - 2026-03-07
- Added notice option in edit form to enable/disable confirmation button.
- Added interaction log table for per-user event tracking with timestamp:
- impression
- close
- confirm
- Added report page per notice with pagination and export icon:
- CSV export (Excel-compatible)
- Added new actions in listing:
- report view icon
- export CSV icon
- Extended metrics tracking integration to register user actions in logs.
0.2.3 - 2026-03-07
- Added listing pagination (20 records per page).
- Added analytics metrics per notice in listing:
- impressions
- closes
- confirmations
- CTR (
confirmations / impressions).
- Added modal interaction tracking endpoint:
/local/smartnoticeslite/track.php
- Added modal confirmation button (
Got it/Entendido) with tracking. - Added database fields for metrics with upgrade step.
- Improved badge rendering robustness for scope, role, and status columns.
0.2.2 - 2026-03-07
- Added unique visible notice ID column in listing (format
SN-000123). - Upgraded listing UI:
- Primary styled "Add notice" button with icon and improved spacing.
- Badge-style display for scope, target role, and status.
0.2.1 - 2026-03-07
- Added screenshots folder to the plugin package and documentation references.
- Updated repository URL to:
- Added screenshot sections to:
README.mddocs/MANUAL_EN.mddocs/MANUAL_ES.md
0.2.0 - 2026-03-07
- Renamed product display name from
Smart Notices for MoodletoSmart Noticesacross plugin strings and documentation.
0.1.9 - 2026-03-06
- Added English quick manual:
docs/MANUAL_EN.md
- Updated README documentation section to include EN + ES manuals.
0.1.8 - 2026-03-06
- Added GitHub documentation manual in Spanish:
docs/MANUAL_ES.md
- Included manager and teacher usage flows in the manual.
- Linked manual from README.
0.1.7 - 2026-03-06
- Updated edit redirect flow:
- After saving an edited notice, users with global management access are redirected to the main plugin page.
- Course-only teachers keep course-specific fallback redirect to avoid permission errors.
0.1.6 - 2026-03-06
- Updated author full name across code headers and documentation:
- Jesus Antonio Jimenez Aviña
0.1.5 - 2026-03-06
- Prepared plugin metadata for GitHub and Moodle Plugins Directory publication.
- Added maintainer and contact details in source headers and documentation.
- Added
AUTHORS.mdwith author emails and GitHub URL. - Updated release metadata to stable and marked support range for Moodle 4.5.
0.1.4 - 2026-03-06
- Fixed role labels to use actual Moodle role names from configured archetype roles.
- Updated Spanish label for dashboard location to
Área personal.
0.1.3 - 2026-03-06
- Moved the "Add notice" button into page content under the heading/menu area.
- Added "Hide title" option for modal notices.
- Added "My courses" as a new display location (
/my/courses.php). - Switched role labels to Moodle archetype names (Student, Teacher, Manager).
- Added database upgrade step to create
hidetitlefield for existing installations.
0.1.2 - 2026-03-06
- Fixed role targeting logic using real role assignments/capabilities for student/teacher/manager checks.
- Updated course-management screens to use a standalone plugin page context (not embedded in course layout).
- Updated modal template to render visible by default and keep JS close/escape behavior.
0.1.1 - 2026-03-06
- Fixed modal rendering reliability by adding a top-of-body callback fallback.
- Improved page location detection (
login,frontpage,dashboard,course) using pagetype and URL path. - Prevented duplicate modal injection when both callbacks run.
0.1.0 - 2026-03-06
- Initial MVP release.
- Added notice database schema and capabilities.
- Added admin and teacher CRUD interfaces.
- Added role/location/date visibility rules.
- Added Mustache modal + AMD auto-open behavior.
- Added English and Spanish translations.