New Plugin "Global Message"

Re: New Plugin "Global Message"

by Konrad Lorinczi -
Number of replies: 2

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.

In reply to Konrad Lorinczi

Re: New Plugin "Global Message"

by Konrad Lorinczi -

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.

In reply to Konrad Lorinczi

Re: New Plugin "Global Message"

by mohamed alsharaf -

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

Cheers

Mohamed