Your Moodle version

Blocks: SMS Notifier

Maintained by Picture of 3i Logic LMS 3i Logic LMS
A one way SMS messaging block.
Moodle 2.1, 2.2, 2.3, 2.4, 2.5

SMS notifier is a one way SMS messaging block that allows managers, teachers and administrators to send text messages to their student and teacher.


SendSMS service provider only works in Pakistan. You can send 25 SMSs per day using a free account.

See the link below for details:

SendSMS :



This SMS service provider covers 960 mobile networks in over 220 countries and territories. You can send 10 SMSs on trial basis.

See the link below for details:

Clickatell :






Picture of 3i Logic LMS
3i Logic LMS (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Capt. Moodle
    Thu, Aug 22, 2013, 12:52 PM
    Thanks for sharing this plugin with the Moodle community. When uploading a version, please remember to specify the version of Moodle for which the plugin is intended to work. I believe you can edit the current version and provide that information. I noticed that this plugin did not seem to have the copyright statement so I did not see any of the "All Rights Reserved" statements as in the themes. In any case, I am going to mark this as needing more work so you can update the latest version with the additional information. Peace - Anthony
  • Capt. Moodle
    Thu, Aug 22, 2013, 12:54 PM
    p.s. - You may also want to consider renaming the Github repository to moodle-block_sms (instead of moodle-block-sms). It is not required if you have reasons for it but I try to encourage folks to name their repositories using the Moodle standard of moodle-{type}_{name}.
  • Capt. Moodle
    Thu, Sep 5, 2013, 8:29 AM
    Would you consider renaming the repository to moodle-block_sms. This is not necessary but it is a small detail that does help folks using git to install plugins have a consistent experience regarding the names of the repositories and is something that I do my best to encourage. Peace - Anthony
  • Capt. Moodle
    Thu, Sep 5, 2013, 10:27 AM
    It would good if you could mention the two providers - namely Clickatell and SendSMSpk in the description just to clarify the limitations of the SMS providers. Peace - Anthony
  • Capt. Moodle
    Thu, Sep 5, 2013, 10:50 AM
    In testing the URLs were not working because of the missing equal sign. I quickly fixed this by getting rid of the pageurl variable and simply using:

    $this->content->text .= html_writer::link(new moodle_url('/blocks/sms/view.php', array('viewpage' => '2')), get_string('sms_send', 'block_sms')).'
    $this->content->text .= html_writer::link(new moodle_url('/blocks/sms/view.php', array('viewpage' => '3')), get_string('sms_template', 'block_sms')).'

    Peace - Anthony
  • Capt. Moodle
    Thu, Sep 5, 2013, 10:51 AM
    I'm going to mark this as needing a little more while you consider how you want to handle the Github repository name and fix up the links. Peace - Anthony
  • Capt. Moodle
    Fri, Sep 6, 2013, 1:43 AM
    Thanks for working so quickly to tidy things up. I think this plugin is now ready to share. I did not actually test it by creating an account with the SMS providers but I'm sure if there are issues that folks will let you know. I'm going to go ahead and approve this now that the above issues have been addressed.
  • Picture of David Heuring
    Thu, Jan 16, 2014, 9:00 PM
    HI all,

    I am getting error messages when I try to use this plug in. I have Moodle 2.5.3 installed on a LAMP stack. Full access to the server. Debugging gives the follow error messages when I run the program.

    Coding problem: $PAGE->context was not set. You may have forgotten to call require_login() or $PAGE->set_context(). The page may not display correctly as a result

    line 450 of /lib/pagelib.php: call to debugging()
    line 717 of /lib/pagelib.php: call to moodle_page->magic_get_context()
    line 1294 of /lib/weblib.php: call to moodle_page->__get()
    line 1073 of /lib/pagelib.php: call to format_string()
    line 39 of /blocks/sms/view.php: call to moodle_page->set_title()

    Anyone have a suggested
  • Picture of 3i Logic LMS
    Fri, Jan 17, 2014, 4:14 PM

    Dear David,

    Thank you very much for raising this. Please allow us sometime to investigate this and get back to you. You can always approach us directly too at for this or any other issue.
  • Picture of David Heuring
    Mon, Jan 20, 2014, 6:29 AM
    Okay great. It looks like the same issue that Anthony posted above regarding the url links. Thanks.
  • Picture of 3i Logic LMS
    Mon, Jan 20, 2014, 2:27 PM
    Thanks David,

    We have set the page context to resolve your issue. You can replace the view.php file from the following link

    Kindly advise how it goes. You can always contact us directly too on
  • Picture of David Heuring
    Tue, Jan 21, 2014, 11:31 PM
    Thank you, guys. I replaced the the code in view.php with what you provided in the link above and it worked fine. No error messages and the block loaded nicely. I've opened a developer account with Clickatel and will now start testing the plug in to see if it will work for my purposes.

    I assume someone will update the Github repository so this change is in the download. Thanks again! Much appreciated!
  • Picture of Matteo Lombardi
    Thu, Jul 3, 2014, 12:38 PM

    I am trying this plugin on Moodle 2.6 with Clickatell.
    I have installed the block and set up with Clickatell username, password and API ID without problem (I am using the HTTP API, is it correct?)

    When I try (as admin or teacher) to send a message to the users of a course, I can select the course but I cannot select the role (I have no values in the drop-down menu), so it is impossible retrieve the users and send them SMS.

    Do you have any idea of what could be the issue? I have already set up the user roles in the course and in the system as well.

    Thank you!
  • Picture of 3i Logic LMS
    Fri, Jul 4, 2014, 6:58 PM
    Dear Matteo,

    Thanks for using this plugin. You created right API. Currently our plugin supports Moodle 2.5 & it will be upgraded by the end of July for newer versions.

    We hope your issued was resolved by the attached files emailed to you.

    Best Regards,

    3i Logic LMS Team
  • Picture of Matteo Lombardi
    Mon, Jul 7, 2014, 8:42 AM

    I have created a new version that allows:

    - Setting the field to use to identify roles in table role: Custom names (field name), Moodle short names (field shortname) or Archetype (field archetype).
    Please use Custom names ONLY if you have already set up them for the roles in your Moodle instance (default values in Moodle 2.6 are blank), otherwise the drop-down select in Send SMS page will remain empty.

    - Selecting the roles allowed to receive SMS via a multi-select list (listing the shortnames of the roles, so pay attention to the difference between teacher and editingteacher roles - if in doubt, leave the default value)

    the link to this version is:

    Enjoy smile
Please login to post comments