1. Requirements
- The Apache Web Server version 1.3 or greater.
- MySQL database version 4.1.1 or greater.
- PHP 4.X requires 4.3.1 or greater or PHP 5.X requires 5.1.4 or greater
2. Installing CRE Loaded Store
Follow the instructions in
Installing CRE Loaded to download and install the software on your server.
3. Installing Telesign Module
Start by downloading the module package from
here and unpacking it to the same location as CRE Loaded parent directory.
Replacing original files - this means replacing files from CRE Loaded parent directory with files included in the module package. This method is simplier and faster, but you should use it only if you haven't modified CRE Loaded files yet, otherwise your changes may be cancelled.
Modifying existing files - this means modifying existing CRE Loaded files using patches included in the module package. You should use this method if you modified CRE Loaded files and you want to keep the changes.
Note: Make sure that's you backup all your files.
Replacing original files
Simply copy the content of
telesign_replace directory from the module package to your CRE Loaded parent directory. Some of the files will be replaced with the new ones.
Note: Use
cp command with
b option to backup existing CRE Loaded files.
Note: Our CRE Loaded is in ~/public_html/CRE/ folder
Example:
|
[tc@blaze ~]$
[tc@blaze ~]$ cd ./public_html/
[tc@blaze public_html]$ cp -rvb ./telesign_replace/* ./CRE/
`./telesign_replace/account_edit.php' -> `./CRE/account_edit.php'
...
...
...
`./telesign_replace/templates/content/create_account.tpl.php' -> `./CRE/templates/content/create_account.tpl.php'
[tc@blaze public_html]$
|
Modifying existing files
This method uses the patch command to modify the existing CRE Loaded files. Copy the content of the
telesign_patch directory from the module package to your CRE Loaded parent directory and use the
patch command as shown in the example below.
Note: Some new files will also be added.
Example:
|
[tc@blaze public_html]$ cp -rvb ./telesign_patch/includes/* ./CRE/includes/
[tc@blaze public_html]$ cp -rvb ./telesign_patch/telesign.php ./CRE/
[tc@blaze public_html]$ patch -p0 ./CRE/account_edit.php < ./telesign_patch/account_edit.php.diff
[tc@blaze public_html]$ patch -p0 ./CRE/Order_Info_Process.php < ./telesign_patch/Order_Info_Process.php.diff
[tc@blaze public_html]$ patch -p0 ./CRE/create_account.php < ./telesign_patch/create_account.php.diff
[tc@blaze public_html]$ patch -p0 ./CRE/includes/javascript/form_check.js.php < ./telesign_patch/form_check.js.php.diff
[tc@blaze public_html]$ patch -p0 ./CRE/includes/languages/english.php < ./telesign_patch/english.php.diff
[tc@blaze public_html]$ patch -p0 ./CRE/includes/languages/espanol.php < ./telesign_patch/espanol.php.diff
[tc@blaze public_html]$ patch -p0 ./CRE/includes/languages/french.php < ./telesign_patch/french.php.diff
[tc@blaze public_html]$ patch -p0 ./CRE/includes/languages/german.php < ./telesign_patch/german.php.diff
[tc@blaze public_html]$ patch -p0 ./CRE/includes/modules/Order_Info_Check.php < ./telesign_patch/Order_Info_Check.php.diff
[tc@blaze public_html]$ patch -p0 ./CRE/includes/form_check.js.php < ./telesign_patch/form_check.js.php.diff
[tc@blaze public_html]$ patch -p0 ./CRE/includes/javascript/form_check.js.php < ./telesign_patch/includes-form_check.js.php.diff
[tc@blaze public_html]$ patch -p0 ./CRE/templates/content/create_account.tpl.php < ./telesign_patch/create_account.tpl.php.diff
[tc@blaze public_html]$ patch -p0 ./CRE/templates/content/account_edit.tpl.php < ./telesign_patch/account_edit.tpl.php.diff
[tc@blaze public_html]$
|
4. Configuration
To complete your Telesign module installation click the
install button in
Modules->Add-Ons->TeleSign in the admin panel.
Now you can enable/disable Telesign phone verification and configure your Telesign module.
Note: You must specify your TeleSign Customer Id and TeleSign Authentication Id - these can be obtained from
www.telesign.com
5. Database info
Telesign module updates the database automatically (when clicking the
install button in the admin panel).
Module adds two columns in the
customers and
countries tables.
6. Downloads
7. Help
If you have any questions about the installation please contact me at:
tomw@telesign.com