
--------------------------------------------------------------------------------
README.TXT
--------------------------------------------------------------------------------
TWSC AffiliateLite v3.02 (Build-008)                                2005-Sep-09
                               TWSCLITE@twsclite.com
--------------------------------------------------------------------------------

Thank you for downloading TWSCLite v3.02!

This copy of TWSCLite v3.02 is licensed for one domain only.
For each installed instance of the software, a separate license or
payment is required.

TWSC Affiliate Lite v3.02 is not freeware.
If you have downloaded this program
Please be aware you will need an activation code
Please contact TWSCLITE@twsclite.com


1. Support and Help
2. Important Notes
3. Installation Service
4. Upgrading from 3.01
5. Installation
6. URL's
7. Bug Reports & Updates

====================
1. SUPPORT AND HELP:
====================
Direct Support : Email TWSCLITE@twsclite.com

===================
2. IMPORTANT NOTES:
===================
The webpages on which you'd like to use TWSCLite should all be able
to execute PHP scripts. A normal .htm or .html webpage can not execute PHP
scripts. You have two options:

i) Rename all your files with a .php file extension - or;

ii) Add a MIME type via your CPanel (hosting account)that enable .htm or .html
	pages to execute PHP scripts. In this case you do not need to rename all
	your webpages with a .php file extension.
	a) If you have CPanel then login,
		- Go to MIME TYPES
		- Enter: application/x-httpd-php in the first field box
		- Enter: .htm .html in the second field box
		- Click the Add button
	b) If you do not have CPanel then contact your hosting service provider
		for assistance.

=========================
3. INSTALLATION SERVICE :
=========================
Contact TWSCLITE@twsclite.com for installation services and costs.

Send us your FTP details (HOST NAME, FTP USER ID, FTP PASSWORD + WEBSITE URL)

=========================
4. Upgrading from v3.01 :
=========================

It is recommended you delete all your previous files. You can leave the 
"affiliates" directory in place with all affiliate files in it.

Upload all other files as described below.

Run an email to your affiliates (using the Mailing List Manager) and ask
them to update their banner code via their admin areas
(http://www.yoursite.com/aff_login.php)

Filenames have changed!

=================
5. INSTALLATION :
=================

Follow these steps carefully and you will not run into any trouble.

1. Unzip your copy of TWSC Affiliate Lite v3.02 onto your hard drive.

2. Use FTP software (like WS_FTP of CUTE_FTP) to upload your files to your server.

3. FTP into your public_html (MAIN) directory.

4. Create the following directories under public_html and CHMOD (change file 
	permissions) them to 777 (or 755 on some servers)
	Start CHMODing files with 777 and if that give problems then use 755

	affadmin (777)
	affcgi (777)
	affiliates (777)
	affinc (777)
	afflib (777)
	images   

5. Upload the following files into your public_html (Main) directory
	and CHMOD specified files:

	aff_login.php // This is where your affiliates login to view their stats.
	aff_login1.php
	aff_login2.php
	affagreement.php // Edit the content of this sample agreement.
	afffooter.php (777)
	affheader.php (777)
	banners.php
	incl.php (777)
	mail_downline.php
	password.php // Affiliates use this page to retrieve lost passwords.
	password1.php 
	schedule.php
	signupaff.php // Send visitors to this page to signup.
	signupaff2.php
	updater.php

	.htacess (IMPORTANT - see NOTE below) 

	NOTE: We have included a .htaccess file for users with a server setting: 
		register_globals Off. 
		Upload this file ONLY after you have experienced first-time
		admin login trouble and have consulted with TWSC.biz

6. Double click the "affadmin" directory on your server. Create the
	following sub-directories in the "affadmin" directory:

	help
	images

7. Upload the following files into your "affadmin" directory:

	add_paytypes.php
	analysis.php
	auto_update.php
	check.php
	delete_paytypes.php 
	edit_paytypes.php
	encrypt.php
	footer.php
	header.php 
	help.php
	incl.php (777)
	index.php 
	license.php
	maillist.php 
	maillist1.php
	make_paypal_button.php
	memberadmin.php 
	memberadmin1.php
	products.php
	resell.php 
	setup.php
	setup_complete.php
	setup_main.php 
	stats.php 
	stats_log.php
	stats_main.php
	t_shooter.php 
	templates.php
	tools.php
	topay.php 
	view.php 

8. Upload the following files into the "help" sub-directory in your "affadmin" 
	directory:

	help1.php
	help10.php 
	help11.php
	help12.php
	help13.php 
	help2.php
	help3.php
	help4.php
	help5.php 
	help6.php
	help7.php 
	help8.php 
	help9.php 
	help_contact.php 

9. Upload the following image files into your "images" sub-directory in your 
	"affadmin" directory:

	2C.jpg 
	affiliates1.jpg
	auto_update.jpg 
	bg.jpg 
	email.gif 
	fast2471.jpg 
	help2.jpg
	help3.jpg 
	home2.jpg
	home3.jpg 
	insert.jpg 
	link_admin1.jpg
	logo.jpg 
	logout.jpg 
	mailing2.jpg
	mailing3.jpg
	multiple_domains1.jpg
	no_url.jpg
	paymethods2.jpg
	paymethods3.jpg 
	PP.jpg 
	products2.jpg
	products3.jpg 
	question.jpg
	resell_admin1.jpg
	setup2.jpg
	setup3.jpg 
	shout.gif 
	SP.jpg 
	stats2.jpg
	stats3.jpg 
	tools2.jpg
	tools3.jpg  
	url.jpg   
	user_lic1.jpg 

10. Open your "affcgi" directory and create the following sub-directory in your 
	"affcgi" directory:

	pp_txn_logs (777)

11. Upload a blank index.htm file into the directory above for security reasons.

12. Upload the following files into your "affcgi" directory:

	denied.htm // This page will display when transactions failed. Edit it.
	dummy.php (777) 
	footer.php 
	header.php
	incl.php (777)
	index.php 
	ipn_log.txt (777) 
	ipn_test.php 
	paypal.class.php
	paypal.inc.php 
	paypal.php 
	thanks.htm // This page will be displayed after a successful transaction.

13. Upload a blank index.htm file into your "affiliates" directory.

14. Upload the following files into your "affinc" directory:

	c_file_perm.php (777)
	configaff.php (777)
	incl.php (777)
	index.php 
	js1.js 
	js2.js 
	p_message.txt (777)
	paytype.txt (777)
	pro.php  
	script.php (777)
	set.php (777)
	stats.txt (777)
	style.css (777)
	totalhits.dat (777)
	visitor_log.php (777)
	register.php (777)

15. Create a sub-directory called "aff-prod" in your "affinc" directory.
	CHMOD this directory to 777.

16. Upload the following files into your "afflib" directory:

	email_tags.txt 
	index.php 
	mail_lib.php (777) 
	test_paypal_button.php (777) 

17. Upload the following files into your "images" directory under your 
	public_html directory:

	buypaypal.jpg 
	x-click-but20.gif 
	x-click-but21.gif 
	x-click-but22.gif 
	x-click-but23.gif  
	x-click-but24.gif 
	x-click-but26.gif
	x-click-but27.gif 
	x-click-but28.gif 
	x-click-but29.gif 

18. Log into your TWSC Affiliate Lite v3.02 admin area by going to:
	http://www.yoursite.com/affadmin

	Your password is : affadmin
	
IMPORTANT! If you change the "affadmin" password in CONFIGURATION then log out,
	close your browser, open a new browser and login with your new password. 

Your TWSC Affiliate Lite v3.02 has not been activated yet! Please read on ...!

19. First we have to check your file permission settings and that you have 
	uploaded the directories where they should be -

	19.1 Click the SETUP tab (top left) in admin area.

	19.2 Click the "Check your file permission settings" link.

	19.3 If every file is OK then proceed with 20 below...
	
	19.4 Otherwise CHMOD Error files to 777 or 755
	
	NOTE: When CHMODing to 755 Error messages will still display.

20. Click the SETUP tab in admin.

21. Click the "Script Configuration" link.

22. You have to accept the user agreement to activate your copy of
	TWSC Affiliate Lite v3.02

23. Enter your License Information EXACTLY as you have received them in the 
	email from TWSC.biz or your registered reseller.

24. Hit the "I have read the terms ...." button (after you have read the 
	agreement)

25. Click the "Configuration" button on the left of the page to start
	with the configuration of your TWSCLite v3.02

26. Every page do have HELP files. Click the ? buttons for HELP. 


===================
6. IMPORTANT URL's:
===================

1. Send your visitors to join your program:
	http://www.yoursite.com/signupaff.php

2. Your affiliates admin area:
	http://www.yoursite.com/aff_login.php

3. Your TWSC Affiliate Lite v3.02 admin area:
	http://www.yoursite.com/affadmin

	password : affadmin

=============================
7. Bug Fixes & Build Updates:
=============================

1. 23 July 2005:
	UNABLE TO ACCESS AFTER ADMIN PASSWORD CHANGED?
	Solution ; Logout after you have changed your password. Close your
		browser. Open a new browser. Go to your admin area and enter
		your new password.

2. 27 July 2005:
	AFFILIATES ID AND PRODUCT ID
	Fixed problem with affiliate id and product id generator.

	OVERRIDE REGISTER_GLOBALS SETTING
	.htaccess file now included into package to override server setting when
	register_globals is set Off. Contact TWSC.biz before you use this file!

3. 21 August 2005 (Build 006):
	AUTO UPDATER SCRIPT
	An Auto Updater Script has been added for easy updating of your TWSC
	Affiliate Lite v3.02 Access via admin area

	PAYMENT METHODS
	Fixed the problem with updating payment methods

	PRODUCTS
	Fixed bad links in products.php page

	RESELLING ADMIN
	Added feature for easier upgrading to v5.02
	
4. 4 September 2005 (Build 007):
	PAYMENT METHODS
	Not all bugs were fixed before. Attended to those that slipped by.
	
	MAILING LIST MANAGER
	Fixed opendir() path to affiliates directory. Sending mail fixed.
	
	ADMINISTRATION LOGIN/LOGOUT
	Fixed problem where browser would not let you login again after a password
	change
	
	IMAGES
	Added new images and look to administration top navigation
	
5. 9 September 2005
	PAYPAL IPN
	Added paypal.inc.php file
	Worked on the PayPal IPN Testing area
	
	RESELLER VERSION
	Script will now check your reseller status during CONFIGURATION and will 
	then update your config file.
	
	AUTO UPDATER
	Fixed a bug in the Auto Updater. It will now copy new and edited files in 
	sub-directories as well.

	EMAIL TAGS FOR PAYPAL
	Added more tags into the "Thank You" email after transaction via PayPal

Please help us to improve TWSCLite by sending in your comments,
suggestions and bug reports to : TWSCLITE@twsclite.com

---------------------
Paul White
TWSCLITE@twsclite.com
