General plugins

New Plugin "Global Message"

Picture of Konrad Lorinczi
Re: New Plugin "Global Message"

Using Moodle v1.9, plugin version v1.4.1.

The problem is with the db installation, that the readme file writes this:

    a. If the file does not exist, then
        - Copy the file /local/globalmessage/upgrade.php into local/db/
        - Copy the file /local/globalmessage/version.php inot local/db/

Note, that you wrote, that user needs to copy /local/globalmessage/version.php inot local/db/

This is not working. Tables are not created.

If I copy version.php into /local/version.php, then tables are created.


Please fix this in the readme file.

Average of ratings: -
Picture of Konrad Lorinczi
Re: New Plugin "Global Message"

Using Moodle v1.9.13, plugin version v1.4.1.

There is also a bug in the plugin.

In the mdl_globalmessages_rules table, the 'rightside' field content is not always saved, resulting an empty field.

This happens when I create a condition (between 2 dates):

1 IF Date Greater than or equal to saturday, 2 february 2013  
2 AND Date Less than or equal to tuesday, 5 february 2013

 Please test creation of this condition, and check the values of the 'rightside' field.

Also note, that the plugin is not displaying any messages, if there is no rule created. I think messages should be displayed even, if there is no any rule created.

Please fix these bugs.

Average of ratings: -
Picture of mohamed alsharaf
Re: New Plugin "Global Message"
Core developersPlugin developers

Thanks for reporting this typo error.

About the other 2 bugs:  

1. Unsaved rules when selecting range dates. I'm unable to replicate it.

2. No message displaying, if there are not rules created.  This is not a bug. This is how the plugin works. If you want to display message in all pages, you can add the following rule:

IF         Course         Greater than or equal to        0




Average of ratings: -