Moodle Plugins directory: Alerts | Moodle.org

Alerts
Blocks ::: block_alerts
Maintained by
Chris Kenniburg,
Bryan Smith,
Andreas Wagner
Part of set Socialwall course format.
This is required by the Socialwall Course Format.
This block is used to indicate any due dates for activities such as an assignment or quizzes that have been added to a course. It is very similar to the standard Upcoming events block (calendar_upcoming) but it would also display any alerts posted by the teacher with its date. Alerts are posts with a special flag normally sent by teachers by using the socialwall format for a course.
Latest release:
48 sites
12 downloads
13 fans
Current versions available: 1
This plugin is part of a set of plugins belonging to the socialwall course format.
This block is used to indicate any due dates for activities such as an assignment or quizzes that have been added to a course. It is very similar to the standard Upcoming events block (calendar_upcoming) but it would also display any alerts posted by the teacher with its date. Alerts are posts with a special flag normally sent by teachers by using the socialwall format for a course.
A super big thank you to REMC Michigan http://remc.org for supporting and funding this project.
Special thanks to Moodle Partner Synergy Learning http://www.synergy-learning.com for doing the hard work of developing this course format.
Useful links
Contributors
Chris Kenniburg (Lead maintainer)
Bryan Smith
Andreas Wagner
Please login to view contributors details and/or to contact them
format. Some review notes follow.
* It would help to explain in the plugin description and the README file how this block differs from what the standard Upcoming events block,
i.e. what enhancements it provides (highlighting alarm posts from the social wall I guess).
* From the UI (before looking into the code), it was not clear to me what "Sticky Posts on Top" config option does and even then, it
did not seem to affect the list of alerts.
* The settings.php is being included in the global scope so it would be safer to call the $maxalerts with the frankenstyle prefix
(or do not use it at all).
* PARAM_TEXT does not seem to be a correct type for the config_maxalerts field, I would expect PARAM_INT here.
* Some issues mentioned in the format review applies here as well (missing PNG version of the picture, capitalised titles, missing
tracker and source code repository URLs)
I have not found any blockers so this can be approved once the missing URLs are provided. As you requested in the private message, I
am putting this on hold for now so we can approve all the plugins in the set at once.
Coding error detected, it must be fixed by a programmer: calendar_get_upcoming() has been removed. Please see block_calendar_upcoming::get_content() for the correct API usage.
Any help is greatly appreciated!