Configuration

The LinkCodeGenerator is a relatively small program. All of it's configuration variables are setup at installation. You have the option to adjust the variables after installation from the management area. Below is a list of all the configuration variables with the variable name, an explaination of what it does, and how it can be adjusted.

Configuration
Variable name Details
Affiliate Program installed This variable can be set to AllAffiliatePro, BannerClick or AffiliateClick. As each of our affiliate programs generate different linking code then this needs to be set to the correct program you have installed for the generated code to work.
File System This can be set to FlatFile or DataBase. Here you select which file system the affiliate software is using. This will be FlatFile unless otherwise stated.
Path to image folder This value represents the RELATIVE server path to your images folder. This is the folder where all affiliate banners will be stored. You must only use RELATIVE paths and not FULL paths, otherwise no images can be uploaded. Examples are "images" or "../../../affiliate_images" but NOT "/home/usr/public_html/cgi-bin/affiliate/lcg/images".
URL to image folder This value represents the URL to your image folder. No trailing slash. Examples are "http://www.yourdomain.com/cgi-bin/affiliate/lcg/images" or "http://www.yourdomain.com/affiliate_images".
Path to affiliate program data folder This value represents the RELATIVE server path to your affiliate data folder. This is the folder where your affiliate program stores all it's affiliate data. You must only use RELATIVE paths and not FULL paths, otherwise your affiliates will not be able to download your banners. Examples are "../data" or "../affiliate/data" but NOT "/home/usr/public_html/cgi-bin/affiliate/data".
URL to the affiliate program folder (not the data folder) This value represents the URL to your affiliate program folder. No trailing slash. Examples are "http://www.yourdomain.com/cgi-bin/affiliate" or "http://www.yourdomain.com/affiliate".
Maximum file size for image files (in KiloBytes) This value represents the maximum filesize of images that you can upload to the server in KiloBytes. Examples are "30" or "40".
JavaScript to hide link code This can be set to Yes or No. If you select Yes then JavaScript is used to mask the long affiliate tracking URL (such as www.yourdomain.com/cgi-bin/affiliate/clickme.cgi?exec=username) and instead display a shortened version of choice (such as your domain, www.yourdomain.com).
Serve banner images from this server, or make affiliates upload banners to their server? With this enabled banner images will be served from your server. This can consume a lot of bandwidth.
URL to document files This is the path to the HTML User Guide. You need to set this to the URL which matches to the documents folder below. Example "http://www.yourdomain.com/documents/lcg"
Path to document files This is the path to the HTML User Guide. Example "../../public_html/documents/lcg"
Path to template files This is the path to the HTML template files. You need to set this if you move the templates files outside of the cgi-bin. Example "../../public_html/lcgtemplates"
Configure Domains
Variable name Details
URL to extra domain linking This value represents the URL to your extra domain linking script for site 1to5. No trailing slash. Examples are "http://www.yourdomain.com/cgi-bin/clickme.cgi", "http://www.yourdomain.com/affiliate.php", "http://www.yourdomain.com/index.asp". Yourdomain.com can be any domain that you own. Be it your current domain or your affiliate domain.
Domain to show (Sitenumber) This is the JavaScript domain name to be shown instead of the affiliate link.

Please continue to the next section Features Explained