############################################################# ## iDevAffiliate Version 5.1 ## Copyright - iDevDirect.com L.L.C. ## Website: http://www.idevdirect.com/ ## Support: http://www.idevsupport.com/ ## Email: support@idevdirect.com ############################################################# IMPORTANT INFORMATION IS CONTAINED IN THIS DOCUMENT, PLEASE READ EVERYTHING! Copyright (C) 2001-2007 iDevDirect.com L.L.C. SECTIONS CONTAINED IN THIS DOCUMENT ---------------------------------------------------------------------------- SECTION 1. New installation of iDevAffiliate Version 5.1 SECTION 2. Upgrading from iDevAffiliate 4.0.9.05 to iDevAffiliate 5.0 SECTION 3. Upgrading from iDevAffiliate 5.0 to iDevAffiliate 5.1 After reading the notes below, choose the section that applies to you and scroll down to that section for instructions. ---------------------------------------------------------------------------- NOTES BEFORE INSTALLATION AND UPGRADES: A.) We highly recommend installing into a top level directory named /idevaffiliate/. Example: http://www.yoursite.com/idevaffiliate/ B.) If you want to change the look of the affiliate control panel, you can do so in /templates/ folder. All the HTML files are located here. C.) Before performing an upgrade, read the /install/iDevAffiliateUpgrade.pdf file for important information regarding your upgrade. D.) If upgrading, backup your current files and database before performing the upgrade. E.) If you're upgrading a previous version of iDevAffiliate, skip over the installation instructions and scroll down to the UPGRADE section of this file. ------------------------------------------------------------ WEB HOSTING NOTES A.) Hosting on Yahoo Servers? iDevAffiliate 5 requires ionCube for licensing. To our knowledge Yahoo Hosting does not provide ionCube nor do they allow the use of provided run-time loaders. Having said this, you cannot install iDevAffiliate 5 on a Yahoo Hosting account. This does not affect the Yahoo Stores integration at all. You can install into any hosting account and integrate iDevAffiliate with Yahoo Stores. B.) Hosting on GoDaddy Servers? You can install iDevAffiliate 5 if you are NOT using direct PayPal Buynow/Subscription buttons. That integration requires the use of our provided IPN file and GoDaddy hosting requires the use of CURL to get the IPN information. Our IPN file does not use CURL. If you're using PayPal through another cart system, you can still host on GoDaddy. You just can't do it if you're using a direct PayPal buynow button. If You Need Hosting: We offer very competitive plans at http://www.idevhosting.com. Your hosting account would be managed by our staff and you can be sure iDevAffiliate 5 will work with our hosting account. You might even consider just having iDevAffiliate hosted with us using a domain dedicated to your affiliate program. An example might be that you own joestoys.com and it's hosted elsewhere. You might consider getting joesaffiliates.com and having that hosted with us. This creates a "central hub" for all affiliate activity and you can connect all your sites to this affiliate location. Through the use of Marketing Groups, iDevAffiliate 5 will run them all. SECTION 1. New Installation of iDevAffiliate ------------------------------------------------------------ 1.) Create a new MySQL database (naming it "idevaffiliate" is fine). This is typically done at the command line or via a "control panel" if your hosting solution provides one. If not, we recommend using our hosting solution. For more info on hosting, contact hosting@idevdirect.com. 2.) Create a directory in your Document Root called 'idevaffiliate'. Example: public_html/idevaffiliate or http/idevaffiliate (each server looks different). 3.) If you named your directory "idevaffiliate", skip this step (see note A above). Otherwise open /API/config.php and adjust the name of the installation directory. -------------------------------------------------- $install_directory_name = "idevaffiliate"; -------------------------------------------------- 4.) Open /API/database.php and adjust your database connectivity settings. $dbhost = "localhost"; $dbuser = "yourdatabaseusername"; $dbpass = "yourdatabasepassword"; $dbname = "yourdatabasename"; Leaving the host set to "localhost" will work in most cases. Save your settings and close the file. 5.) Using your favorite FTP program, upload all of the files in their present directory structure to your hosting account (into your newly created directory called 'idevaffiliate'). Important: Use AUTO-DETECT mode when uploading files. Images need uploaded in BINARY and all other files need uploaded in ASCII. Using AUTO-DETECT mode will automatically handle this for you. 6.) From your web browser, run the install program. This program will automatically add the appropriate tables into your new database created in step 1. To execute the file simply type the following line into your web browser: http://www.yoursitenamehere.com/idevaffiliate/install/index.php WALK THROUGH EACH INSTALLATION STEP CAREFULLY AND FOLLOW ALL INSTRUCTIONS ON EACH STEP! SECTION 2. Upgrading from 4.0.9.05 to 5.1 ------------------------------------------------------------ 1.) If you named your directory "idevaffiliate", skip this step (see note A above). Otherwise open /API/config.php and adjust the name of the installation directory. -------------------------------------------------- $install_directory_name = "idevaffiliate"; -------------------------------------------------- 2.) Open /API/database.php and adjust your database connectivity settings. $dbhost = "localhost"; $dbuser = "yourdatabaseusername"; $dbpass = "yourdatabasepassword"; $dbname = "yourdatabasename"; Save your settings and close the file. 3.) Using your favorite FTP program, upload all of the files in their present directory structure to your hosting account. Important: Use AUTO-DETECT mode when uploading files. Images need uploaded in BINARY and all other files need uploaded in ASCII. Using AUTO-DETECT mode will automatically handle this for you. Note: Upload the new set of files right on top of your old files. If asked, allow the new files to overwrite your existing files. 4.) From your web browser, run the install program. http://www.yoursitenamehere.com/idevaffiliate/install/index.php WALK THROUGH EACH UPGRADE STEP CAREFULLY AND FOLLOW ALL INSTRUCTIONS ON EACH STEP! SECTION 3. Upgrading from 5.0 to 5.1 ------------------------------------------------------------ 1.) Using your favorite FTP program, upload all of the files in their present directory structure to your hosting account. Important: Use AUTO-DETECT mode when uploading files. Images need uploaded in BINARY and all other files need uploaded in ASCII. Using AUTO-DETECT mode will automatically handle this for you. Note: Upload the new set of files right on top of your old files. If asked, allow the new files to overwrite your existing files. You will need to re-adjust your /API/database.php and /API/config.php settings. You might want to write your current settings down. 2.) Simply login to your admin center like you always have. An auto-update routine will automatically be run the first time you login to your admin center. Note: After logging in, you may need to refresh the main page of your admin center to make sure any new menu items appear. The old menu (css) may be cached. ========================================================================================= Questions? Problems? Visit our support forum at: http://www.idevsupport.com/