Global Message

General plugins (Local) ::: local_globalmessage
Maintained by mohamed alsharaf
Enables a Moodle administrator to create automatic pop-up messages
Latest release:
68 sites
21 fans
Current versions available: 8

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...


Screenshot #0


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

Comments RSS

Show comments
  • Thu, Mar 26, 2015, 6:23 PM
    Hi again! I now tested the plugin on Moodle 2.7.2+ because I was so curious to know, how it works. I actually wasn't able to get it to work! I followed the readme file, don't know what I'm doing wrong!
  • Fri, Mar 27, 2015, 2:17 AM
    Hello everyone,

    I have been working on getting this to work on 2.8.5+. I am curious if anyone has got this to work? Or is there going to be a release soon to fix the issues everyone is having.

  • Wed, Apr 8, 2015, 4:02 PM
    m getting this error.... The given plugin type is missing the expected English language file message_globalmessage.php.... please help
  • Fri, May 15, 2015, 11:40 PM
    I install global message in my moodle, I do, all the things in the installation guide but the messages don't appear. My theme is elegance.
  • Thu, Jun 4, 2015, 4:37 PM
    @Juls do you have any error messages? Check the message rules. What is the content of the theme renderers.php file?
  • Thu, Jul 2, 2015, 6:29 PM
    I was wondering if there will be soon an update for moodle 2.9?
  • Sat, Jul 25, 2015, 2:35 PM
    Hi Elena Stathi

    Currently there is no plan to upgrade the module. I have no free time for it.

  • Wed, Jul 29, 2015, 1:34 AM
    Hi Mohamed

    Your plugin is awesome! But I have some problems with it. If I try to create two messages with different rules the message text stay the same. Tha means I can send only one message text at the same time (Moodle Version 2.7.2).
    Have I overlooked some settings or can this plugin send only one message?
    If the first is thrue how can I create two messages?
    If the second is true, are you planning to develop your plugin further?

    Thanks & Cheers
  • Thu, Jul 30, 2015, 4:38 PM
    Hi Anna

    Currently only one message can be displayed at the same time. Currently I'm unable to work on this plugin, but feel free to request your feature here:
  • Tue, Aug 11, 2015, 3:31 AM
    This plugin works in 2.9,

    For example, in the more theme all I had to do was create a "renderers.php" file in the theme drectory and then put in the following;

    require_once(__DIR__ . '/../bootstrapbase/renderers.php');

    class theme_more_core_renderer extends theme_bootstrapbase_core_renderer
    public function standard_end_of_body_html() {
    global $CFG;

    include_once $CFG->dirroot . '/local/globalmessage/lib/base.php';

    return parent::standard_end_of_body_html();
  • Fri, Aug 21, 2015, 7:56 PM
    Sorry this stupid question, please.

    In the installation instructions on read me file you say "Create a new file in the same directory of your theme renderers.php and then place the following code"

    Should I create a a new renderers.php file, backing up the previous file? If don't, what is the name for this "new file".

  • Fri, Nov 13, 2015, 3:27 PM
    Further to my previous comment: sincere apologies - this plugin does indeed function under Moodle 2.8. However, critically, it relies on the additions to the renderers.php file being located in the right place. Our theme's renderers.php file has several 'class theme_[theme_name]_core_renderer extends core_renderer {' entries, and we located the required additions under the last of these when actually they need to be located under the first.

    Thank you for making this plugin available.
  • Thu, Jan 21, 2016, 12:00 AM
    Hi there, just installed this as I need a welcome message to all users. Installation has worked fine and It seems to work fine but I cannot work out how to make it do this for new users only. Moodle 2.9.3 FYI

    Is there a user guide anywhere?


    Dave Emsley
  • Sun, Jan 31, 2016, 9:49 PM
    When you leave Global Message it throws a warning "This page is asking you to confirm that you want to leave - data you have entered may not be saved." even though there is nothing to save at that page.
  • Wed, Sep 21, 2016, 1:51 PM
    This plugin works fine in moodle 2.8.
1 2 3
Please login to post comments