5. Custom alerts

From 4.12 onwards custom alerts can be defined for both system and user. This alerts will be created using scripting.

It can be done in any kind of script just adding a few lines as the next examples show:

This type will appear as a new option in the administrators notification settings page under "User alerts" and "System alerts" preferences.