Hi,
The SMSBulk (http://drupal.org/project/smsbulk ) module requires a mobile number to appear in views. Real nice, only thing missing was views support for the SMS User module.
So, after this patch, you can use Mobile numbers from the SMS User module to send bulk SMS using the BulkSMS Module.
And off course, do other nice views stuff with the SMS User fields.
To add this, add the following lines to your sms_user.module file:
/**
* hook_views_api implementation
*/
function sms_user_views_api()
{
return array('api' => 2, 'path' => drupal_get_path('module','sms_user'));
} // function sms_user_views_api
And unzip the attached files into the sms_user folder.
It would be nice if someone could commit this and my other patch (http://drupal.org/node/641404 ) so we can move the framework forward.
It seems there is plenty of demand.
Comments
Comment #1
codare commentedThanks for this - I thought I was going crazy when I couldn't find any mobile/SMS fields in views - this solved my problem by allowing me to create a view for SMS bulk sending that allows filtering for users with mobile # added and sorting/filtering by location, role, etc... very nice
Once again - thanks :-)
Comment #2
BenK commentedNice feature... subscribing
Comment #3
socialnicheguru commentedme too
Comment #4
N1029676 commentedExcellent, I almost gave up on SMSFramework for not finding this!
Comment #5
gausarts commentedSubscribing. Thanks
Comment #6
jcmarco commentedI have upgraded this patch to add support for status fields with the values defined in the module plus sorting by status.
As an example, and for administration, there is a default view that allows administer the users mobile settings.
(the sms user admin view is disable by default, and it integrates with the existing SMS User settings menu,
respecting the sms user administration permissions.)
This views integration allows that SMS Framework can, with Views Bulk Administration+SMS Blast, create many
different forms for sending sms to friends, groups and even integrate it with Rules to send sms to defined users
based on rules.
I have tested it with version 2.x-dev but it should work exactly the same with others versions
Comment #7
jcmarco commentedTrying to integrate the views features with the great module SMSBulk I realized that was not really possible to automatize the sms delivery.
So I have integrated the VBO features into SMS User Module.
New version:
- new Drupal Action
- Integration with Views Bulk Operations
- SMS length configurable and js feature to control length ( thanks to SMSBulk module)
That feature has been added to previous patch that add views integration and custom handlers for status and number.
Comment #8
tauno commentedWorked for me on 6.x-2.x-dev. I applied the patch manually though due to some issues with my own copy of smsframework.
Comment #9
univate commentedExcellent feature. Tested and works well.
Comment #10
univate commentedcommitted
Comment #11
jcmarco commentedThis code is not in the last dev release
Comment #12
univate commentedFirstly if that was the case the correct state would be to put this back to RTBC as the patch is still good and doesn't need work.
But this is in CVS, so I guess we just need to wait for the next -dev snapshot to be created.