playSMS Webservices

More and more users using playSMS, and some of them ask about whether or not playSMS provides HTTP API. Well the answer is YES. Its been there quite sometime actually, it is called playSMS Webservices API.

For those PHP developers, you can also try to use PHP class specifically implements playSMS Webservices API. Read about it here: http://antonraharja.com/2014/04/28/playsms-webservices-class/

Enjoy.

Share on FacebookTweet about this on TwitterShare on Google+Share on LinkedInShare on RedditShare on StumbleUpon

Why Texts Are Not Translated

There are in total 8 language translations available in current playSMS.

They are:

  • Catalan (Spain) ca_CA
  • Deutsch (Deutschland) de_DE
  • English (United States) en_US
  • Spanish (Venezuela) es_VE
  • French (France) fr_FR
  • Indonesian (Indonesia) id_ID
  • Portuguese (Brazil) pt_BR
  • Russian (Russia) ru_RU
  • Chinese (China) zh_CN

When user or admin activate one of them, sometime they saw changes on displayed text, but on some language no changes made. I’ve seen questions like this asked by playSMS users.

Continue reading

Share on FacebookTweet about this on TwitterShare on Google+Share on LinkedInShare on RedditShare on StumbleUpon

Fix Timezone Problem

Messages are not delivered, they are queued. Admin saw all messages in View SMS queue.

Usually, before 0.9.9.2, this is the case of daemon scripts issue, they are not running or running improperly such as wrong path configured in /etc/default/playsms.

But since I introduced SMS scheduler, a way to schedule delivery of submitted SMS through Send SMS page or webservices, one more issue unfortunately has emerged. It’s the timezone settings, PHP simply cannot determine exact timezone used in the script. The result is every SMS submitted NOW will end up being scheduled for next hour depend on the timezone that actually guessed by PHP.

A discussion in the group shows an example of user experiencing this issue.

So, if you experienced an issue like the first paragraph in this article, and you already make sure that all daemon scripts are running and well configured, then its time to check the timezone settings.

Continue reading

Share on FacebookTweet about this on TwitterShare on Google+Share on LinkedInShare on RedditShare on StumbleUpon

Modify Welcome Page

In 0.9.9.2 it is relatively easy to modify playSMS look and feel. A template engine has been added and now using Twitter Bootstrap 3.

Welcome Page 0.9.9.2

Welcome Page on 0.9.9.2

Above screenshot is a welcome page displayed after successful login. Most users probably want to change that page.

These are methods available to change that page:

  1. Edit common file plugin/themes/common/templates/page_welcome.html
  2. Add themes specific template file to override common file. For example if your active themes is flatly, then you can add your own page_welcome.html in plugin/themes/flatly/templates/
  3. Add another themes specific file. For example if your active themes is flatly, theme you can add page_welcome.php in plugin/themes/flatly/

Select the simplest. For me its method 3.

Continue reading

Share on FacebookTweet about this on TwitterShare on Google+Share on LinkedInShare on RedditShare on StumbleUpon

playSMS + Kannel + CentOS 6 final + Huawei E220 unlocked

Halo,

Sedang browsing2 nemu link ini. Tulisannya cukup jelas dan isinya sepertinya benar (tapi saya belum mencobanya).

URL tutorial: http://kasrut.blogspot.com/2011/07/install-playsms-and-kannel-on-centos-6.html

Sedikit aja di-edit pada bagian instalasi playSMS nya:

wget http://nchc.dl.sourceforge.net/project/playsms/playsms/Version%200.9.5.2/playsms-0.9.5.2.tar.gz
tar zxvf playsms-0.9.5.2.tar.gz -C /usr/local/src/
cd /usr/local/src/playsms-0.9.5.2/web
mkdir -p /opt/lampp/htdocs/playsms
mkdir -p /var/spool/playsms
mkdir -p /var/log/playsms
cp -rR * /opt/lampp/htdocs/playsms/
/opt/lampp/bin/mysqladmin -u root -p create playsms
/opt/lampp/bin/mysql -u root -p playsms < /usr/local/src/playsms-9.5.2/db/playsms.sql
cd bin/
cp playsmsd playsmsd_start playsmsd.php /usr/local/bin
cp playsms /etc/default/

Sebagai catatan, tutorial ini juga bisa dijadikan acuan untuk instalasi playSMS versi selanjutnya pada platform yang sama dan mungkin dengan modem2 lainnya selain Huawei E220.

Semoga tidak salah paste URL, dan ini adalah URL dari penulis aslinya (maklum tutorial playSMS banyak artikel dan URL isinya bisa sama alias copas2an).

Enjoy!

Share on FacebookTweet about this on TwitterShare on Google+Share on LinkedInShare on RedditShare on StumbleUpon

playSMS in Windows

I got a good news to share with you guys: playSMS works in Windows !

My test environment was:

  • Laptop
  • Windows 7 Home Edition
  • Cygwin 1.7.7
  • Kannel 1.4.3
  • playSMS 0.9.5.1
  • WampServer 2.0i
  • GSM modem Q2406B, USB (now its freakin cheap! USD 25-35 in Jakarta)

I’m happy, it really works :) All playSMS feature seems to be running properly, including the push update of delivery status (from Sent to Delivered).

Continue reading

Share on FacebookTweet about this on TwitterShare on Google+Share on LinkedInShare on RedditShare on StumbleUpon