Person 2 person SMS

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
JayCally's picture

I'm working on a site that displays classified listings from a local newspaper. Content is pulled to the site every hour and in the feed is the seller's cell number. It isn't being used right now but I'd like to allow buyers to content the seller. Is there away to allow a user to click a "cell number" cck field and send a short text message to said number?

Comments

Ok this would need a little

frazras's picture

Ok this would need a little work. If you place the seller's number in a field in the actual listing node and allow the users permission to use an associate module Bulk SMS. Then the users could select the ad they want to reply to from a view and select the field to be used as the number and send a text. This however is not a recommended option since it opens your site to SMS spammers who could spam all the people in the classified listings.

This is a nice feature to add to the road map for SMS framework 2.0 though

regulatory issues

andybill's picture

not sure where you're based but I would think here in the UK there would be privacy concerns with doing that. If you could anonymise the number - ie not have a CCK field with the number but have a "click here to txt user X" button - that may be a work around. On the other hand, could you put something together using notifications and just default everyone's preferred method to SMS? No-one sees anyone else's cell, and people could choose to have email (or Twit/book etc) instead ...

I don't think the

frazras's picture

I don't think the notification option is possible since the people who make the listings in the news paper are not users of the website.... unless you could do some work with actions and a number field [hidden] and have an sms sent to the number associated with the ad [with custom code or SMS Blast] whenever a comment is made.

Thanks for the posts. The

JayCally's picture

Thanks for the posts. The site isn't set up to have users (newspaper doesn't want it). A feed is being exported from the newspaper's classified system and a cell number for the seller is included in the feed. They would like to let users contact the seller but I can see the issue with spammers. I wouldn't want to have that happen.

I already have a contact by email option, so maybe I wouldn't need the SMS option for now.

understand better now ..

andybill's picture

Apologies, I misunderstood earlier.
In terms of "let users contact seller", what would that contact be - just "here's my number, call me", or free text?

Does the data feed you get include both seller's cell number and some form of unique advert id? If it does, maybe you could programmatically create each advert as a node (with an associated site user with a profile field of cell number) and let the "responders" post responses to that, and use your automagic users to relay an SMS notification? You could even be a little trickier and use the cell number as the user ID, which would let your newspaper track responses to a given person's ads not just a given ad?

OK, so I've been spending too much time playing with notifications, tends to be my first thought to things :-)

Sending content via SMS based on content type

Midas Man's picture

This seems like something very similar to what I need to do. I am a newbie to Drupal (7 weeks at the time of writing), but have come a long way in a short time. I have a content type called "SMS reminders", which contains a field for content to be sent and a field for the time (hour of the day). There is room for upto five reminders per day. One of the requirements for a project I am working on is to be able to send the content in the content field to a patients mobile phone at the time in the time field (hour of the day). It is to act as a reminder for them to take a medication. The patient decides what content they want to have sent and at what hour of the day.

Is this feasible? Also, I am based in the UK, but the patients and other uses are throughout Europe.

Do I need to build a custom module for this, or can I accomplish from within the Drupal UI. I have SMS Framework installed, but have yet to sign up to any SMS Gateway.

If I do need to build a custom module, how do I link the content and hour of the day from the SMS Reminder content type to the SMS Framework. The site has come a very long way, but this is where I have hit my limit with Drupal (for the moment).

Thanks in advance.

this must be possible.

wouters_f's picture

-> Make an indicator if the reminder has been sent (content type)
-> make an action that processes the unprocessed rows (custom action = custom module?)
-> Set your cron job to do this action every x minutes (add this action to the cron trigger in the UI)

sms module

wouters_f's picture

I have written a custom soap sms module for this that uses the soaposms module.
you can enter the soap url , username and password (for example CDYE) and then your site can send smsses.
I don't know if it's ok for my employer to commit this module.
maybe later.

Another Approach

Midas Man's picture

Hi all,

I think I might be able to do what I want with using Rulesets, tokens, CCK Rules Scheduling and some help :o)

I am looking into this approach at the moment. I have moved forward, but nothing concreate as of yet.

thanks

SMS Framework

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

Hot content this week