# AlstraSoft Affiliate Network Pro v9.1 Software Documentation

Server Requirements
PHP 4.1.0 or higher MySQL (version 3.23 or higher) MYSQL database SSL (optional) Any of the following supported payment systems: Paypal, E-Gold, Stormpay, WorldPay and Authorize.net

Installation Instructions
Unzip zip file and copy all the files to a folder named "affiliate". The SQL file (affiliatenetwork.sql) for the complete database can be found in the folder /SQL/. Change the values for the variables ($db, $dbuser, $dbpass) to reflect the database name, database username and database password of your server (/ includes/constant.php). Place the /partnerssecured folder into secured area, since it includes credit card validation page. Change the values for the variables ($track_site_url, $secured_site_url) to reflect the your site URL, secured site URL (path to /partnerssecured – but not including /partnerssecured ) in /includes/constant.php. For example, if the secured area URL is https://www.yoursite.com/affiliate/partnerssecured , please set the $secured_site_url = https://www.yoursite.com/affiliate/. A cron job has to be set to run daily at a specified time for the file dailyjobs_anp.php in the folder /cron. This cron job is for the recurring commission and for the automatic update of currency rates from XE.com. Open the above file, dailyjobs_anp.php and edit the basepath setting on your site Set the permission of the following files and folders to 777 (Read, Write, Execute): -/includes -All files in /includes -/admin/dump -/reports -/admin/error.htm -/admin/dbinfo.php -/admin/mer_terms.htm -/admin/terms.htm -/images -/images/uploads

Running The Software
Admin Panel: http://www.yoursite.com/affiliate/admin (Default admin username: admin, password: admin) Main page: http://www.yoursite.com/affiliate

Administrator Settings
## ## 1. Payment Settings (Admin>>Options>>Set Payments) A) Change Subscription Amounts For Merchant Set Normal Users subscription rate – Normal user can add only one affiliate program and associates ad-links. Set Advanced Users subscription rate -Advanced user can add more than one affiliate program and associated ad-links. Membership payment Type - Set the payment to be one-time or recurring for the above subscription rates B) Change Minimum Balance Set Minimum Amount - i.e. minimum amount in a merchant's account at any time for successful processing of transactions. C) Change Program Settings Program Fee - Fee for each affiliate program created by the merchant Program Payment Type - Set the program fee to be one-time or recurring D) Change Transaction Amounts Click Rate - This will be the commission the admin will get when a click occurs through the system. (example: if the click rate is set as $0.05, the admin will get $0.05 which will be deducted from merchant's account balance for each click.) Lead Rate - This will be the commission the admin will get when a lead occurs through the system. Sale Rate - Set Sale rate (sale rate)- This will be the commission the admin will get when a sale occurs through the system. (sale commission=sale rate*(actual sale amount)/100) E) Change Minimum Withdraw Amount Of Affiliates Set Minimum Withdraw Amount - The min. amount affiliates must have in their account before they can request for withdrawal 2. Change Amount Per Paid Mail (Admin>>Options>>Admin mail) A) Amount Per Mail - Set the amount for paid mail B) Change Mail Header and Footer – Here the admin can change the common header and footer for each mail send through the system (options tab/Admin mail). 3. Error Page Settings (Admin>>Options) A) Set Error Page – Set the error page displayed to the user when a transaction (fails for some reasons such as IP blocking (options tab). 4. Category settings (Admin>>Options>>Add or Remove Category) A) Set the categories such as computer, sports etc so that merchants and affiliates can find their partners ,which helps in increase their profits easily 5. Email Settings (Admin>>Options>>Email Setup) A) Admin can setup emails for particular events. For eg: At the time of User Registration 6. Events Enabled For Merchants (Admin>>Options>>Events Enabled For Merchants) A) Enable Mail Settings To Merchants – Merchant can also setup mails for their affiliates. Admin can set which are all the events can be setup by merchant. In this case only mails setup by merchant will be send to respective clients. Priority should be given to mails setup by merchant than mails setup by admin. But admin can restrict the events that can be setup by merchant through this tab. 7. Payment Gateway Settings (Admin>>Options>>Gateways) A) Admin has to set the correct details of his accounts (Paypal, Stormpay, E-gold, Authorize.net, WorldPay etc...) so that money can be successfully transferred to his account whenever merchant pays through the system. 8 Currencies Settings (Admin>>Options>>Currencies) A) The Administrator can add new currencies as well as changing the base currency and set relationship with the base currency. The Administrator must be careful to enter the correct Universally accepted code for each currency Added. The currency rate system works based on the currency code. The Automatic updates of the currency rates fro XE.com can be enabled or disabled by the Administrator. 9. System Backup (Admin>>Options>>Backup) A) Here the admin can create/restore/upload backup database.

Language Setup
If you want to include a new language, i.e. French to the site: Add language French through admin panel (options tab/languages). Generate a French.php file for affiliates side (copy the /affiliates/lang/English.php and translate the contents into French and name the file as french.php) and place it on affiliates/lang folder. Generate a French.php file for merchants side (copy the merchants/lang/English.php and translate the contents into French and name the file as french.php) and place it on /merchants/lang folder. Generate a French.php file for common parts for merchants and affiliates (copy the /lang/English.php and translate the contents into French and name the file as french. php) and place it on /lang folder.

Modification of Site Design
## 1. Admin area : You can get the entire structure of the Admin area from /admin/index.php file. There will be header.php & footer.php files at /admin/ folder. Change the content. Design will be reflected automatically at the admin area. 2. Affiliate Area : You can get the entire structure of the affiliate side from /affiliate/index.php file. There will be affiliates_header.php & footer.php files at /affiliates/ folder . Change the content. Design will be reflected automatically at the affiliate side. 3. Merchant Area : You can get the entire structure of the merchant side from /merchant/index.php file. There will be merchants_header.php & footer.php files at /merchants/ folder. Change the content. Design will be reflected automatically at the merchants area. 4. User Login Area : You can get the entire structure of the affiliate side from /index.php file. There will be header.php & footer.php files. Change this files along with the following files to change the entire design of this side Home Page – body.php Merchant - newmerchant.php, new_merchant_regi.php Affiliate - newaffiliate.php, new_affil_regi.php, affil_regi.php Directory - newdirectory.php, directory_help.php Login - newlogin.php About us - newabout.php Contact us - newcontact.php money_empty_error.php – This page will be displayed when a transaction leaves the merchant in a money empty status and thus the transaction will not be processed.

Customer Support
If you need help installing or configuring your script, we offer professional installation for our software for a flat-fee of $30. If you require us to help you install our software on your server, feel free to email us at support@alstrasoft.com or use our online feedback form to send us an installation request.

License Agreement and Disclaimer
AlstraSoft Affiliate Network Pro v9.1 Contact: sales@alstrasoft.com AlstraSoft.com, Copyright 2003-2006 All rights reserved. 1.THIS IS NOT FREE SOFTWARE If you have downloaded this software from a website other than 'www.AlstraSoft.com' or if you have otherwise received this software from someone who is not a representative of this organization you are involved in an illegal activity. The copying, distribution, installation and usage of this software without our consent is illegal. In order to help us continue the development and production of good software, we kindly ask for your collaboration. Please contact us at 'piracy@AlstraSoft.com' and tell us where you got the software from. 2.LICENSE AGREEMENT Do not run the AlstraSoft software on a site other than which they have been licensed for. Violation of this license agreement may void your right to receive support and subject you to legal action. You should carefully read the following terms and conditions before using this software. Unless you have a different license agreement signed by AlstraSoft, your use of this software indicates your acceptance of this license agreement and disclaimer of warranty. As a registered user, you may alter or modify the AlstraSoft Pro as far as the HTML output is concerned. Further modification of the script code requires written permission of the author (Just drop us a short note ). You cannot give anyone else permission to modify the AlstraSoft Pro Software. You are strictly prohibited from distributing copies of this software without prior permission. You are specifically prohibited from charging, or requesting donations, for any copies, however made, and from distributing the software and/or documentation with other products (commercial or otherwise) without prior written permission! 3.DISCLAIMER OF WARRANTY This software, the information, code and/or executables as well as the accompanying files provided are provided "as is" without warranty of any kind, either expressed or implied, including but not limited to the implied warranties of merchantability and fitness for a particular purpose. In no event shall the AlstraSoft be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of data, loss of business profits or special damages, even if the author or seller has been advised of the possibility of such damages. Good data processing procedure dictates that any program be thoroughly tested with non-critical data before relying on it. The user must assume the entire risk of using the program. 4.LIMITED LIABILITY Unless otherwise expressly stated herein, AlstraSoft shall not be liable to Licensee for any consequential damages arising out of AlstraSoft breach of this Agreement. 5.REPRESENTATIONS AND WARRANTIES AlstraSoft hereby represents and warrants to Licensee that A.Licensor is the owner of all right, title and interest, including copyright, in all the Licensed Materials, or has the authority to enter into this Agreement on behalf of the owner. B.AlstraSoft is fully aware of Licensee's business requirements and intended uses for the Software and the Software shall satisfy such requirements and is fit for such intended uses. C.AlstraSoft use of the Licensed Materials as authorized by this Agreement will not infringe any existing copyright, trade secret, patent or trademark rights of any third party. D.Licensee does not have the right to resell or transfer the ownership of the software (with or without a site) the licensee bought to a third party individual or a company. 6.ATTORNEY FEES If any legal action is necessary to enforce this License, the prevailing party shall be entitled to reasonable attorney fees, costs and expenses in addition to any other relief to which it may be entitled. 7.NOTICE All notices required or permitted to be given by one party to the other under this Agreement shall be sufficient if sent by certified mail, return receipt requested, to the parties at the respective addresses set forth above or to such other address as the party to receive the notice has designated by notice to the other party.