I'm going to attach a patch to upgrade the messaging_sms for D7

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

NROTC_Webmaster’s picture

Patch attached.

POVYLAZZZ’s picture

I need this functionality and I don't feel like reverting to 6.x so I took a look a patch. Here are my findings:
I think that that the line in the patch :

'class' => 'Messaging_Mail_Method',  // Changed from type to class

Should be

'class' => 'Messaging_SMS_Method',  // Changed from type to class

And then Messaging_SMS_Method extending Messaging_Send_Method should be coded.
Also this module should probably have Phone module dependency and after it is been enabled a phone field should automatically be added to the user profile form.
Since I need this functionality I am ready to spend some time trying to bring it to 7.x jet I need some help with drawing up Messaging_SMS_Method. How should it look like? Where should I start?
One more question is the SMS functionality on the TODO list for 7.x? If so how far down it is positioned?

oturpin’s picture

Issue summary: View changes
FileSize
2.61 KB

Hi All,

I spent some time adapting simple mail method to SMS messaging.
The only constraint I have for the time being is to have a "mobile" field on the user account entity.
I tried to use SMS_validation submodule but without success... maybe once.
The code is provided in the attached file (messaging_sms.tar_.gz) which has to be copied to messaging module directory.

It works... I am using it to send SMS via the simple gateway to a REST server gateway.

Thx for feedback