How to contact site users via SMS in the Joomla 1.5

Ozeki SMS Contact Component presented on this page makes it possible to contact
the users of your site via SMS. This solution is based on Ozeki NG SMS Gateway
that is a software product and it provides the SMS functionality to your system.
After you have installed and configured this component, website visitors will be able to
give their phone numbers (e.g. on the registration form). Learn more about this
SMS solution on this page which also provides a requirements list as well as step
by step setup instructions with video tutorials.

How this solution works

To keep contact with the users of your Joomla website, you need to let them provide their
phone numbers at the registration form or at the edit form of their own settings.
The forms should contain a section where they can give their phone numbers.
The phone number will be stored at the database. This way the Administrator
will be able to keep contact with them by sending messages with the help of
Ozeki NG SMS Gateway (see Figure 1).

Figure 1 - How the Administrator sends SMS to registered users

Note:The Administrator can only send SMS to those users
who not only register but give their phone numbers, as well.

Configuration of Joomla SMS solution

To be able to send SMS to your contacts from Joomla with SMS
Contact component, follow the installation steps in this guide and watch
the video tutorial for further help.

Installation Steps

Joomla is a CMS (Content Management System) web designer used
for creating and operating websites. With Joomla you can install and use components
which help you in creating contact with users of your Joomla website. You
are able to keep in touch with users with the help of SMS Contact component. SMS
Contact is a great help in informing or helping your contacts via SMS.

You can configure the SMS Contact module in Joomla! with the help
of Ozeki NG SMS Gateway. Follow the installation steps shown in this section.
You are supposed to have installed both Ozeki NG SMS Gateway (you can find the
installer on this page) and Joomla (it is not necessary to have both installed
on the same computer). To install the component, you need to log into the
back-end of Joomla as Administrator. You are enabled to manage or edit your
Joomla website from the back-end. Give the Administrator user name and password
and click on the "Login" button as the example shows in Figure 2.

You can check the results of editing the two .php files. At the
user properties section you can find the additional phone field. Now you can edit
the users' phone number from the back-end as shown in Figure 10.

Figure 10 - Edit phone number in User Manager

Entering Contact site user via SMS component, the user and the related
phone number is appeared in the list as a potential recipient.

As a result, the visitors of your website are enabled to give
their phone numbers during the registration. In the example I register a test user as
you can see in Figure 15. I give a phone number as well.

Figure 15 - Registering user with phone number

After registration, the registered users will
appear in the SMS Contact menu.

The next step is to enable the users to change their phone numbers.
Enter joomla\templates\[Template_Name]\html and create com_user folder as
shown in Figure 16.

Figure 16 - Create com_user folder

Enter com_user folder and create a register folder in it
(Figure 17).

Figure 17 - Create register folder

Copy and paste the components\com_user\views\register\tmpl folder's
content here as shown in Figure 18 and 19.

Figure 18 - Copy the content from tmpl folder

Figure 19 - Paste the content to register folder

Create a new user folder in com_user folder
(Figure 20).

Figure 20 - Create user folder

Copy the content from components\com_user\views\user\tmpl folder
as shown in Figure 21.

Figure 21 - Copy the content of tmpl folder

Paste the tmpl folder content in user folder (Figure 22).

Figure 22 - Paste the content in user folder

Open the form.php file for editing. Find line 70 in the file
as shown in Figure 23.

Figure 23 - Line 70 in form.php file

Insert the table row definition you can find under Figure 24 after line 70.

These configuration steps enable the users to edit their phone numbers in the
Edit Your Details form (Figure 25).

Figure 25 - Edit phone number

The configuration came to an end, so the SMS Contact component gained
full functionality. To test it, you can send a test SMS to your users. First, open
the SMS Contact component and select the users you want to send a message for.
Type your message into the Message box as shown in Figure 26 and click on the
"Send" button.

Figure 26 - Test message to contacts

After sending the message you can check if it is delivered in
Ozeki NG SMS Gateway (Figure 27).

Figure 27 - Sent contact messages in Ozeki NG SMS Gateway.

The configuration demonstrated in this section enables you to
provide SMS Contact solution without changing core files. With this solution
you become able to keep in touch with your users and inform them about important
events, news immediately. It also helps you maintain your a list of your contacts
and attain your business plans.