Your Moodle version

Blocks: QuickmailSMS

block_quickmailsms
Maintained by My Hero Paul P.
A slight modification of quickmail to allow teachers to send text messages to users.
1k
74
1
This is an unabashed hack of the Original Quickmail block from Louisiana State University.  

All credit and kudos goes to their team.  I only changed a few items to enable SMS functionality.

***BE SURE TO DELETE ANY EXISTING INSTALLATION OF THE QUICKMAILSMS BLOCK BEFORE UPGRADING***

Go to Blocks > manage blocks > Delete, next to quickmailsmssms

______________________________________________________________________

INSTALLATION

Installation is like any other block - upload it to moodle/blocks and go to Admin->Notifications.  Basically, it works just like the old quickmail block:  
______________________________________________________________________

CONFIGURATION - BLOCK WILL NOT WORK WITHOUT THE FOLLOWING

You create three custom profile fields with the following specifications:

1.

type - checkbox
shortname - opt
name - whatever you feel appropriate
required - no
display on signup - yes
Who is the field visible to? - visible to user
checked by default - No

2.

type - select
shortname - mobileprovider
name - whatever you feel appropriate
required - no
display on signup - yes
Who is the field visible to? - visible to user
menu options -
Please select one...
AT&T ~@txt.att.net~
Verizon ~@vtext.com~
T-Mobile ~@tmomail.net~
Sprint PCS ~@messaging.sprintpcs.com~
Virgin Mobile ~@vmobl.com~
US Cellular ~@email.uscc.net~
Nextel ~@messaging.nextel.com~
Boost ~@myboostmobile.com~
Alltel ~@message.alltel.com~

Default value - Please select one...

3

type - text
shortname - mobilephone
name - whatever you feel appropriate
required - no
display on signup - yes
Who is the field visible to? - visible to user
Display size - 10
Maximum Length - 10

______________________________________________________________________

NOTES:

1 - Additional Providers
If you think your students have other providers that are not listed, find their email-to-sms address at http://www.emailtextmessages.com/ and add them in with the format

Name ~@address~

2 - Profile Field Category
I find it easier to create a new Profile Field Category called "SMS Messages" and put the three fields in there.

Screenshots

Screenshot
Screenshot
Screenshot
Screenshot
Screenshot
Screenshot

Contributors

My Hero
Paul P. (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • My Hero
    Thu, Jun 27, 2013, 1:04 AM
    Hi Marc

    You replied to yourself quicker than I could!

    The 2.5 version fixed the broken "continue" link. I haven't updated the 2.3 version yet, but I plan on doing it shortly.

    The 2.3 version should work with 2.4 but I think the 2.5 version should also work with 2.4, but I haven't tried it myself. I'd appreciate if Someone could let me know if the 2.5 version works in 2.4.

    I just saw that the actual "Quickmail" block was just upgraded to 2.4/2.5 so I am going to compare my files with it over the weekend.
  • Picture of Mr. Marc
    Fri, Aug 30, 2013, 5:48 AM
    I'm using Moodle 2.2.1+ (Build: 20120119) do I have any options to be able to use this block?
  • My Hero
    Fri, Aug 30, 2013, 7:04 AM
    hi Marc,

    I haven't tested it on 2.0-2.2, but you can try it out on a test installation to see if it works. if you do try it, use the 2.3 version. Please let us know if it works or not.
  • Picture of Teddi B
    Thu, May 8, 2014, 5:34 AM
    I'm testing this for my university on Moodle 2.6. I think I installed it correctly, once I figured out how, and I've tried to send four test messages (including one as a teacher to a student with a number, and one from the same student to the same teacher, who also has a number). Each time I hit "Send Text" I get an error page. It says:

    "Error reading from database."

    Do I just need to re-install the plugin? I might have done something wrong on install, but it never told me I did. Everything went just fine....
  • Cumali YAŞAR
    Wed, Nov 26, 2014, 8:21 PM
    Debug info:
    Error code: cannotdowngrade
    Stack trace:
    line 906 of /lib/upgradelib.php: downgrade_exception thrown
    line 420 of /lib/upgradelib.php: call to upgrade_plugins_blocks()
    line 1601 of /lib/upgradelib.php: call to upgrade_plugins()
    line 438 of /admin/index.php: call to upgrade_noncore()
  • My Hero
    Wed, Nov 26, 2014, 9:19 PM
    Please refer to the internal README.md file - you have to delete any previous installation before re-installing this plugin.
  • Cumali YAŞAR
    Wed, Nov 26, 2014, 9:24 PM
    Thank you. Problem is solved .
  • Cumali YAŞAR
    Wed, Nov 26, 2014, 9:25 PM
    Where can I change the settings for the service APIs.
  • My Hero
    Wed, Nov 26, 2014, 9:31 PM
    You can add as many service providers as you like in the profile field using the format

    providername ~@providerdomain~

    ex:

    AT&T ~@txt.att.net~

    A list can be found here: http://www.emailtextmessages.com/
  • Cumali YAŞAR
    Wed, Nov 26, 2014, 9:41 PM
    Thank you very much. Hand your health. You helped us a lot. How can we enter our own service provider for SMS. We live in Turkey.
  • My Hero
    Wed, Nov 26, 2014, 11:23 PM
    I am sorry, but I do not know who the service providers are in Turkey. You should be able to find out their email-to-sms gateway address on their website, but if not, you may have to contact them to find out. If the number of digits is different than 10 (which is the US standard) you will have to make adjustments accordingly in the mobilephone profile_field settings for Display Size and Max Length .
  • Picture of James Foster
    Tue, Jan 13, 2015, 11:01 PM
    Do know when a 2.8 version is coming out?
  • Picture of James Foster
    Wed, Jan 14, 2015, 3:48 AM
    I've installed Quickmail. I've followed all the steps, but I get the following error message no_agreement . What does this mean and how may I correct the issue?
  • My Hero
    Wed, Jan 14, 2015, 5:38 AM
    Hi James,

    Although I won't be able to test the plugin in 2.8 right away, it may work since there weren't too many changes in the block system from 2.7 to 2.8.

    Regarding the error, in order for the plugin to work, you have to create three profile fields, and then, at least one of them has to agree to the service. Please see the documentation for details.

    If you test it in 2.8, please let me know what you find.

    Thanks,
    Paul
  • Picture of Carlos Cruz
    Fri, Mar 13, 2015, 11:35 AM
    Greetings,

    I have installed this plugin on Moodle 2.8 (using both MySQL and PostgreSQL). On the MySQL installation, the plugin runs perfectly fine but on the PostgreSQL, I get the following message: "Error reading the database." Do any of you guys have any idea why this is happening or how to fix it?
1 2
Please login to post comments