Afrisoft's SMS Reseller Component V2 Page 1

engineachooInternet and Web Development

Dec 4, 2013 (3 years and 11 months ago)

186 views

Afrisoft’s SMS Reseller Component

V2

Page
1















Afrisoft’s SMS Reseller Component

V2

Page
2


www.afrisoft.org


Table of
C
ontents

Chapter



1.

Pre
-
requisites


2.

Installing Joomla Through Fan
tas
tico


3.

Installing the sms reseller component under joomla


4.

Creating
Member and Admin
Menus


5.

Setting up cron jobs for sms

scheduling on cPanel


6.

How to setup your facebook sms application


7.0

Conclusion




Afrisoft’s SMS Reseller Component

V2

Page
3


1.0 Pre
-
requisites

This component requires that you have an installation of
Joomla 1.5

on your website.
You can download a free copy at
http://www.joomla.org/download.html

or follow the
instructions in
C
hapter 2

of this manual to install joomla through fantastic
o

if you have
cPanel on your hosting account
.






Afrisoft’s SMS Reseller Component

V2

Page
4



2.0 Installing J
oomla 1.5 through fantastico

1
-

Open your Cpanel control panel

(You should find it at
www.your
-
domain.com/cpanel
)

2
-

Click on Fantastico


3
-

Select Joomla

1.5

from the list


4
-

C
lick on "New Installation"


Afrisoft’s SMS Reseller Component

V2

Page
5




5
-

C
hoose the domain name from the drop down menu (note
-

only if you have subdomains
or addon domains)


6
-

C
hoose the directory you want Joomla to r
eside under (note
-

only if you want to install it
in a directory type the directory name, otherwise leave it blank for the root folder)

7
-

F
ill in the admin username (most people use "admin" but feel free to choose any
username) and the password

8
-

C
hoo
se the nickname under which you'll be posting and fill in your email address

9
-

F
ill in all other necessary fields

10
-

C
lick install
-

on the next screen click finish installation (if there are no errors) and
you're done






Afrisoft’s SMS Reseller Component

V2

Page
6


3.0 Installing the
SMS

reseller component under Joomla 1.5

In Joomla 1.5 the installation of Joomla Components, Modules, Plugins, Templates, and
Languages, the so
-
called Joomla extensions, is done from one place and requires the same
actions. Follow the steps below to complete
the installation of
the
SMS reseller component.

Step 1. Download
the component from the download link given to you.


Step 2. Go to your Joomla admin area
> Extensions > Install/Uninstall
.

(Your joomla admin area is at
www.your
-
domain.com/administrator

)





Step 3. In the
Upload Package File

section click
Browse

and locate
the SMS reseller
archive.


Afrisoft’s SMS Reseller Component

V2

Page
7




Step 4. Click
Upload File & Install

to upload the file and complete the installation.


Step 5.

This will complete the

SMS reseller component

installation
.



Step 6. Y
ou will be able to
see the menu access levels for the menus to be created by going
to th
e
Components

menu >
SMS Reseller
.


Follow the instructions in the next chapter to create the
menus as shown.


You can remove

the

component from

Joomla 1.5 from the admin area
> Extensions >
I
nstall/Uninstall
.

Then click on

Components
, select SMS Reseller
and click the
Uninstall

button. This will
remove the component from your Joomla installation
.





Afrisoft’s SMS Reseller Component

V2

Page
8


4.0
Creating Member and Admin Menus


In order to make your
member
pages

and your admin pages

accessible for your visitors

and
administrators respectively
, you should link them in the site menu. To do this, follow the
steps below.

The access levels of
the menu to be created are shown below:


Step 1.


Create a
“Buy SMS”

link on the main menu.
From the admin panel, go to
Menus
>
> Main Menu
.


Step 2.
C
lick on [
New
] from the top
-
left menu and select the item type. In our case it will be
SMS Reseller >>
Buy SMS
:

Afrisoft’s SMS Reseller Component

V2

Page
9











Step 3.
Fill in the information about the links. Let's call the link "
Buy SMS
".


Afrisoft’s SMS Reseller Component

V2

Page
10


Type
"
Buy SMS
"

in the title field

as shown below
.



Step 4.
Se
t the
A
ccess
L
evel

to
Registered

as shown
above to ensure that only registered
members
can access the menu.

Step 5.
Save the link by clicking on [
Save
] from the top
-
right menu.


Now that you have created a
“Buy SMS”

link on the main menu,
it’s time to

create other
links on the main

menu
.

Step

6
.
From the admin panel, go to
Menus
>
>
Main Menu
.

Step

7
. Repeat steps 2
-
5 for the
main
menu and Set the
[
A
ccess
L
evel
]

to
Registered

for
each of the links shown under below


Afrisoft’s SMS Reseller Component

V2

Page
11



Next thing is to create
a link for SMS administration
.

Step

8
.
Repeat steps 2
-
5 for the Main Menu and Set the [
A
ccess
L
evel
]

to
Special

for the
Administration link shown below
:



That’s all! Your SMS Menus are created and ready to use.


Afrisoft’s SMS Reseller Component

V2

Page
12


5.0
Setting cron jobs for
sms scheduling

on c
P
anel
.

A cron

job allows you to run a certain command at times set by the job. For example, you
could set a cron job to
run a

php

file at specific intervals
.


To access the Cron Jobs Menu, click on the corresponding icon located on the main screen
of your cPanel interf
ace.


The upper section of the Cron Jobs interface allows you to specify the email address where
you would receive an email each time a cron job is ran for your account.


You can enter the desired email address in the text box

or leave it blank
and click

the
Update Email button to apply the changes.

The next (lower) section of the Cron Job interface is where you actually set your


cron jobs.

Afrisoft’s SMS Reseller Component

V2

Page
13



There are several common settings that can be used for setting up your cron

jobs. In the
example above we are showing how to setup
sms

cron job to run
every minute
.
Under

Common Settings”
, select “
Every minute

.

Under the command
, type

php /home/user/public_html/components/com_smsreseller/smscron.php

.

S
ubstitute

user


with your cpanel username so that if your cpanel username is

coolsms
1”
,
your command will be

php /home/coolsms
1
/public_html/components/com_smsreseller/smscron.php
.

Note that there is space after the php.

Once ready setting up the cron job click the "Add

New Cron Job" button and it will be saved
and activated for your account.

The bottom part of the Cron Jobs interface will allow you to edit or delete existing cron jobs.


That’s all you need to do for sms scheduling to work properly.



Afrisoft’s SMS Reseller Component

V2

Page
14


6.0
S
etup your
facebook
sms
application


Go to
http://www.facebook.com/developers/createapp.php



Type the name for you app in the App name Box e.g SMS LADY.

Agree to the
Facebook Terms

and click “Create App” Button.

On the next page, type the security codes as shown and press submit.



Type your application description

Upload your icon and logo



Type your
Contact Email and any other data you may have
but don’t press submit yet.

Afrisoft’s SMS Reseller Component

V2

Page
15



C
l
i
c
k

on Website as shown below to continue editing



Type your website url and your domain as shown below. Be sure that you end your site url with a
trailing slash /. Dont click save ch
anges yet. Click
Facebook
I
ntegration

as shown.

Afrisoft’s SMS Reseller Component

V2

Page
16



Note down your application ID and your Application Secret as shown below. It will be entered on
your site

Your canvas url can be found on your site
(i.e Admin Menu
-
> Settings
-
> FACEBOOK
APPLICATION)


Set the Canvas Type and Iframe

Size as
shown.

Also copy your Application ID and your
Application Secret to your site settings as
shown above.


Press
Save Changes

on your facebook app and also fill your
website homepage

and press
Submit

on you website’s settings page.

Thats all. Your a
pplication url on facebook will be something like
http://apps.facebook.com/
smslady

Afrisoft’s SMS Reseller Component

V2

Page
17


7.0 Conclusion

You have completely installed the sms reseller component

VERSION 2

on your website. For
further information or assistance, please visit our support forums on
the link below.

http://afrisoft.org/support
-
forum


Thank you,

Afrisoft team.