Welcome, Guest. Please login or register.
Did you miss your activation email?
May 26, 2012, 05:13:22 PM

Login with username, password and session length
Search:     Advanced search
Wollen Sie dem WebsiteBaker Team beitreten?
Nähere Informationen finden Sie unter hier und auf unserer neuen Webseite.
155544 Posts in 21714 Topics by 7736 Members
Latest Member: chris85
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: Mobile Phone SMS Messaging Module  (Read 600 times)
Nick

Offline Offline

Posts: 9


« on: February 07, 2011, 08:45:56 PM »

This is my first module submitted to the Website Baker Community so if I missed something let me know:

I have a page type module that sends SMS messages (160 character limit) to cell phones. As of now only Sprint, Verizon, and AT&T have been tested inside the United States but I need some outside help to thoroughly test the program to make sure it works for everyone as intended. This application will be in Alpha status so expect bugs. I will also need some translation help.

Features:
 - Text messaging by person, group, or everyone.
 - Recipients of the message can text back to the sender.
 - 9 different phone carriers to choose from (please post if your carrier is not on the list)
 - As of now the application is English only.

Works on the latest version of Website Baker 2.8.1.

Demonstration found at http://nicsword.com/wb/pages/text-system.php

Edit February 08: MobileText V0.11 release
-Removed hard-coded text to use EN.php
-Fixed an issue with View.php. Profiles did not update correctly.
« Last Edit: February 08, 2011, 10:56:05 PM by Nick » Logged
kweitzel
Forum administrator
*****
Offline Offline

Posts: 6975


WWW
« Reply #1 on: February 07, 2011, 09:05:31 PM »

OK .. up to now you have hard-coded the language, right? I reckon you should start by moving your output into the EN.php file within the languages folder. That makes the translation easier, since you define the fieldname inside the language array and gives the translator a base where to start.

cheers

Klaus
Logged

WebsiteBaker Org e.V. - for WebsiteBaker

crnogorac081
AddOn Development
*
Offline Offline

Posts: 1706



« Reply #2 on: February 07, 2011, 10:27:14 PM »

Hi,

@Nick,
Could you turn on error reporting and correct the appearing errors ?

also,
could someone verify that the messages works ? It wouldnt work to me..(europe), and what would be the phone number format ?

this could be a great module, thanks for sharing Nick !
cheers

Logged

Wow, I coded something myself: PM Messanger Modul ,Searchbox with suggestions
Nick

Offline Offline

Posts: 9


« Reply #3 on: February 07, 2011, 10:48:40 PM »

@kweitzel
Thanks for the reminder, next update will remove the hard coded text.

@crnogorac081
I was afraid it would not work outside the U.S. Text messages are treated like email messages, for example a Sprint user would have the email address 2223334444@messaging.sprintpcs.com given the fact that his/her 10 digit phone number is 2223334444.

From what I understand Europe has their own international phone codes, a list can be found at http://www.eurotrip.com/content/european-international-phone-codes. This should not be needed unless your server is hosted outside of the area which you live in.

I will reinstall the application and repeat my actions with error reporting and see what I come up with.
Logged
Bramus
Forum Team
*****
Offline Offline

Posts: 601


WWW
« Reply #4 on: February 08, 2011, 11:06:07 AM »

Hi,

@Nick,
Could you turn on error reporting and correct the appearing errors ?

also,
could someone verify that the messages works ? It wouldnt work to me..(europe), and what would be the phone number format ?

this could be a great module, thanks for sharing Nick !
cheers



This indeed will not work for some EU country's. The way i fixed a sms page is by using "Mollie". It is a dutch company where you can buy "credits". They provide a nice API and then it will be rather easy to also send messages in the EU.

I have made a page (not with WB) that uses CURL for this, and it is working perfectly. If there is interest in this i can post the curl code, you only have to attach the proper fields  and maybe it can be implemented in this module pretty easy (like a button for EU (mollie) US (mail)).
Logged

BRAMUS Internet Services
Nick

Offline Offline

Posts: 9


« Reply #5 on: February 09, 2011, 04:35:02 PM »

After some researching there are extra numbers involved such as the international code, and there are many of free SMS messaging sites
- http://www.onlinetextmessage.com/
- http://www.text4free.net/
- http://www.makeuseof.com/tag/10-sites-to-send-free-text-messages-to-cell-phones-sms/

They may not be trustworthy of private information but it proves a point that it can be done without having the user to pay. Some of them have a drop down list of carriers with the country beside it. I could give international codes a try and see what we can come up with.
Logged
Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!