Platinum Multi Domain Affiliate System Script - MS SQL Database

Installation:
  1. UnRar the downloaded file and paste/upload the affiliate folder to your server

    If WinRAR is not installed on your computer, Click here to download it from RARLAB

  2. Modify your affiliate program settings in login/constants.asp

    1. Replace YourName.com in lines 2-3, 6-9, 12-15 to your Domain name.
    2. Setup your Email Variables at lines 12-15

  3. Setup your Affiliate Program design. customize login/css.css
    customize login/HeaderInclude.asp
    customize login/FooterInclude.asp

  4. SQL Server Database Connection
    1. Run the affiliate/login/affiliateDB.sql file in your Query Analizer
    2. Modify the database connection at affiliate/login/dbase.asp


  5. If you are using multiple sites for your affiliate program:
    1. Copy your login/constants.asp file to the AffiliateRemote folder.
    2. Copy your login/dbase.asp file to the AffiliateRemote folder.
    3. Copy the AffiliateRemote folder to your other domains.


  6. Put the following code in the top of your Home Page ASP file or your Landing Pages:
    If you use Standard Pay Per Click (Every Unique click will be counted) take one of the following options:

    Landing Page is in your Domain <!--#INCLUDE file="affiliate/addHits.asp"-->
    Landing Page is outside your Domain <!--#INCLUDE file="AffiliateRemote/addHits.asp"-->


    If you use Smart Unique Clicks (see explanation in the administration section) take one of the following options:

    Landing Page is in your Domain <!--#INCLUDE file="affiliate/addSmartHits.asp"-->
    Landing Page is outside your Domain <!--#INCLUDE file="AffiliateRemote/addSmartHits.asp"-->


  7. Put the following code in the top of your ASP lead Page(for example- signup: the page that insert the signup fields to the database):

    Lead Page is in your Domain <!--#INCLUDE file="affiliate/addPerLead.asp"-->
    Lead Page is outside your Domain <!--#INCLUDE file="AffiliateRemote/addPerLead.asp"-->


  8. Put the following code in the top of the ASP Page after successful payments:

    Thankyou Page is in your Domain <!--#INCLUDE file="affiliate/addPerSale.asp"-->
    Thankyou Page is outside your Domain <!--#INCLUDE file="AffiliateRemote/addPerSale.asp"-->


  9. If you have recurring sales, put the following code in the top of the ASP Page after successful recurring payments:

    Thankyou Page after recurring payments is in your Domain <!--#INCLUDE file="affiliate/addRecurringSale.asp"-->
    Thankyou Page after recurring payments is outside your Domain <!--#INCLUDE file="AffiliateRemote/addRecurringSale.asp"-->


  10. customize affiliate/addPerSale.asp

    1. line 4: request("order_number") is the order variable from the billing company. if you are getting a different variable change it to request("YourVariable")

    2. line 5: request("total") is the total amount variable(product price) from the billing company. if you are getting a different variable change it to request("ProductPriceVariable")

    3. line 6: request("product_name") is the product name variable from the billing company. if you are getting a different variable change it to request("ProductNameVariable")

    4. line 7 (Optional): to enhance security it is advisable that you will send another variable (security_code or any other variable with a code that only you knows) through your billing company. In this case modify lines 7 & 46

  11. If you have recurring sales, customize affiliate/addRecurringSale.asp

    line 3-5 should be the same as affiliate/addPerSale.asp

    line 6: request("email") is the Buyer Email variable sent from your billing company.

    line 7: request("RecurringType") is the RecurringType variable sent from your billing company. If you are getting a different variable change it.

    lines 11-20: Check the subscription type: Daily, Monthly, Yearly.
    You should modify lines 11-20 to suite your Recurring Payments.

  12. Apply the changes you have made in section 10 and 11 to the relevant files at the AffiliateRemote folder.

  13. Modify Emails HTML (Subject & HTML Code)

      Email File Location
      Welcome Email affiliate/login/join2.asp lines 59-67
      Activate Email affiliate/login/activate2.asp lines 101-111
      Forgot Email affiliate/login/forgot.asp lines 29-35
      Notify Sale Email affiliate/addPerSale.asp lines 97-105
      affiliate/addRecurringSale.asp lines 111-119
      Administrator Payment Notification affiliate/login/admin_pay.asp lines 50-55
      Administrator approval/rejection affiliate/login/admin_users.asp lines 24-31 / 38-44
      Newsletter View Sample affiliate/login/newsletter.asp lines 35-38
      Affiliate's Newsletter affiliate/login/newsletter2.asp lines 30-32


Administration:
  • To login as administrator go to the login page (affiliate/login/login.asp) and enter your admin Username & Password. The default Username & password are:
    Username:admin
    Password:admin

    You can change the admin password by clicking 'All Affiliates' and editing 'admin'

  • Manage Recurring Payments
    • Update Recurring Payments - Calculate/update the affiliates recurring payments (if you have recurring payments you need to update every few days).
    • Stop recurring Subscription - Stop recurring payment so an affiliate will not continue to get commissions for a cancel subscription.


  • How to add Image Banners?
    1. Click on the Manage your Image Banners link in the Links Manage Box.
    2. Click the add Image Banners link.
    3. Copy your banner to the affiliate/banners folder.
    4. Fill in the form and click submit


  • How to add Text Links?
    1. Click on the Manage your Text Links link in the Links Manage Box.
    2. Click the add Text Links link.
    3. Fill in the form and click submit.


  • How to add Flash Banners?
    1. Open affiliate/banners/FlashBanner1.fla with Macromedia Flash and replace Layer 1 with your own banner. Don't erase Layer 3 and Symbol 1000.
    2. Publish your new Flash Banner in the affiliate/banners folder.
    3. Click on the Manage your Flash Banners link in the Links Manage Box.
    4. Click the Flash Banners link.
    5. Fill in the form and click submit. Please note: The Banner Url field should be an .swf file


  • How to add Popups?
    1. Create a Popup in the affiliate/banners folder. Use the popup1.asp example in the banners folder; just replace the img tag in line 11 with your own image.
    2. Click on the Manage your Popups link in the Links Manage Box.
    3. Click the add Popups link.
    4. Fill in the form and click submit.




For any question or problems please contact us at: http://www.affiliateprogramsystem.com/software/cs.asp