General plugins (Local): Global Message

local_globalmessage
Maintained by Picture of mohamed alsharaf mohamed alsharaf
Enables a Moodle administrator to create automatic pop-up messages
225 sites
283 downloads
15 fans

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

Screenshots

Screenshot #0

Contributors

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 Georg Wiesinger
    Thu, 26 Mar 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, 27 Mar 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.

    Thanks.
  • Picture of yudi kdimensions
    Wed, 8 Apr 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, 15 May 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, 4 Jun 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, 2 Jul 2015, 6:29 PM
    Hi!
    I was wondering if there will be soon an update for moodle 2.9?
    Thanks!
  • Picture of mohamed alsharaf
    Sat, 25 Jul 2015, 2:35 PM
    Hi Elena Stathi

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

    Cheers
  • Picture of Anna Lupandina
    Wed, 29 Jul 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, 30 Jul 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: https://github.com/satrun77/Global-Message-Moodle-Plugin/issues
  • Picture of John Banner
    Tue, 11 Aug 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;
    <?php

    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';
    moo_globalmessage::show_message();

    return parent::standard_end_of_body_html();
    }
    }
  • Picture of Mono Lith
    Fri, 21 Aug 2015, 7:56 PM
    Hi,
    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".

    Regards,
  • Picture of Roland Sherwood
    Fri, 13 Nov 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.
  • Picture of Dave Emsley
    Thu, 21 Jan 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?

    Cheers

    Dave Emsley
  • Picture of Mark McKay
    Sun, 31 Jan 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.
  • Picture of Siddharth Behera
    Wed, 21 Sep 2016, 1:51 PM
    This plugin works fine in moodle 2.8.
1 2 3
Please login to post comments