Select Moodle version:

General plugins (Local): Global Message

Enables a Moodle administrator to create automatic pop-up messages
Maintained by: Picture of mohamed alsharaf mohamed alsharaf
for Moodle

Global message is a plug-in that enables a Moodle administrator to create automatic pop-up messages. The messages will appear for the users depending on the rules applied to each message.

A new message will be displayed once for each user when they log in, then will not be displayed again.

 List of message examples:

  • Important server outage in the next 1/2 hour.
  • Welcome message to new user. First time logged in.
  • Holiday Message (e.g. New Year shutdown).
  • The lab for the course Introductory to Chemistry has been changed.
  • Any other important notices that you would like to show to the users...




Picture of mohamed alsharaf
mohamed alsharaf (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Picture of Julia Küfner
    Tue, Nov 15, 2011, 12:29 AM
    I tried to install it on 2.04 and also on 2.1., I always get this error message: Plugin "mod_globalmessage" is defective or outdated, can not continue, sorry.
  • Picture of John Ryan
    Thu, Nov 24, 2011, 12:12 AM
    From your message I suspect that you have installed this in the "mod" folder. It needs to be installed into the "moodle/local" folder.
  • Picture of Martin Scaiff
    Thu, Nov 24, 2011, 12:49 AM
    HI There. I'm trying to install this on 1.9.14. I'm not quite clear where to put this. I have a 'moodledata' folder but no 'moodle' folder. Any help much appreciated.
  • Picture of Marcelo Garcia Marquez
    Thu, Mar 1, 2012, 1:04 AM
    Hi, I successfully installed the plugin, however whenever I click on the option on the admin panel I get an error saying "error while reading the database" do you know why this may be happening? I'm currently using moodle 2.2.1, Thanks!
  • Picture of llywelyn morgan
    Mon, Mar 19, 2012, 8:38 PM
    same problem as marcelo here. version 2.2
  • Picture of David Hallam
    Mon, Mar 26, 2012, 9:00 PM
    I am also running this on the latest moodle 2.2 and get the "error reading database" error
  • Picture of Mark G
    Wed, Mar 28, 2012, 9:51 AM
    I would like to use this plugin - can I use it for 2.2 yet?
  • Picture of Frank Sainsbury
    Tue, Apr 24, 2012, 12:57 PM
    RE 2.2 , I spent an hour or so to get this working. The DB tables install in local_globalmessages etc:

    $this->db->insert_record('globalmessages_rules', (object) $rulesdata);
    > $this->db->insert_record('local_globalmessages_rules', (object) $rulesdata);
    and the yui select is 2.8 not 2.9

    1106 mv ../../local/globalmessage/assets/js/yui-selector.js ../../local/globalmessage/assets/js/yui-selector.js.O
    1107 vi ../../local/globalmessage/assets/js/yui-selector.js.O
    1108 cp /Library/WebServer/Documents/moodle/lib/yui/2.9.0/build/selector/selector.js ../../local/globalmessage/assets/js/yui-selector.js
  • Picture of Frank Sainsbury
    Tue, Apr 24, 2012, 12:58 PM
    Oh and the rule handler wont let you delete the last rule.
  • Picture of Frank Sainsbury
    Tue, Apr 24, 2012, 1:02 PM
    these files changed: moodle/local/globalmessage/assets/js/yui-selector.js differ
    moodle/local/globalmessage/assets/js: yui-selector.js.O
    moodle/local/globalmessage/models/message.php differ
    moodle/local/globalmessage/models/messagedesign.php differ
    moodle/local/globalmessage/models/messagerule.php differ
  • Picture of mohamed alsharaf
    Mon, Apr 30, 2012, 7:31 AM
    Hi all, I don't get email notification when you post question here. It is better if you post in the forum or send message so I can help you with any issues smile.
    Cheers, Mohamed
  • Picture of Ali Rajabpour Sanati
    Wed, Apr 17, 2013, 4:56 PM
    hello mohamed and thank you very much for the module, i have just installed it on moodle 2.4, everything works fine but messages shows everytime users login not just once!, do you know any solution? thank you in advance
  • Picture of shailesh jai
    Sat, Jul 20, 2013, 3:10 PM
    I installed on 2.4 but how to use ? is there any link ?
  • Picture of mohamed alsharaf
    Mon, Jul 22, 2013, 1:12 PM
    @shailesh there is no web page for plugin usage documentation. The plugin has an info page containing information about how to use it.
  • wen photo
    Wed, Apr 9, 2014, 2:37 PM
    Quick question. Is there a way to use this plugin to set up pop-up messages (for teachers or admins) so that they know if a student has NOT yet submit an assignment which will be due in another 24 or 48 hours? Thanks!
Please login to post comments