Your Moodle version

General plugins (Local): Global Message

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

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


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 mohamed alsharaf
    Wed, Feb 4, 2015, 4:00 AM
    @sirisha there is an issue with the plugin. I'm working on fixing this and will release a new version when its done.
  • Picture of Joe White
    Mon, Feb 9, 2015, 11:33 PM
    HI, this looks like a great plugin but I'm unable to get it to work. I'm trying to use it for an initial welcome message. Is the issue you're referring to with @sirisha a limited issue or is the plugin not working in 2.8 at all? Do you know when you'll have the fix? Thx!
  • Picture of Georg Wiesinger
    Tue, Mar 17, 2015, 4:25 PM
    Hi! I'm using Moodle 2.8.5+ right now and would love to see this wonderful plugin working properly. Did some tests but I can't get it to work, there are no messages at all. sad

    Kind regards
  • Picture of Georg Wiesinger
    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!
  • Picture of Ben Tindell
    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.

  • Picture of yudi kdimensions
    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
  • Picture of Juls Allen
    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.
  • Picture of mohamed alsharaf
    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?
  • Picture of Eleni Stathi
    Thu, Jul 2, 2015, 6:29 PM
    I was wondering if there will be soon an update for moodle 2.9?
  • Picture of mohamed alsharaf
    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.

  • Picture of Anna Lupandina
    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
  • Picture of mohamed alsharaf
    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:
  • Picture of John Banner
    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();
  • Picture of Mono Lith
    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".

  • Picture of Roland Sherwood
    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.
1 2 3
Please login to post comments