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.

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 “Why Texts Are Not Translated”

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 “Fix Timezone Problem”

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 “Modify Welcome Page”