******************************************************************************************
	                        iScripts Cybermatch Readme File
        	                         July 25, 2014
******************************************************************************************
(c) Copyright Armia Systems,Inc 2005-13. All rights reserved.

This file contains information that describes the installation of iScripts Cybermatch 
You can find more help on the product and the installation in the /docs folder.


******************************************************************************************
Contents
******************************************************************************************
1.0 Introduction
2.0 Requirements
3.0 Installing iScripts Cybermatch
4.0 Setting up a cron
5.0 Upgradation


******************************************************************************************
1.0 Introduction
******************************************************************************************
This file contains important information you should read before installing iScripts.com 
Cybermatch.

The iScripts.com Cybermatch enables any web master to offer dating service from his/her 
hosting server.

For any support visit us at http://www.iscripts.com/support/kb/

******************************************************************************************
2.0 Requirements
******************************************************************************************

The iScripts.com Cybermatch is developed in PHP and the database is MySQL. 

The server requirements can be summarized as given below:
	1. PHP > 4.3.10 with GD support. (PHP 5 preferred)
		You can get the latest PHP version at http://www.php.net
	2. MySQL > 3.x.x
	3. Curl Support (In case you are using Authorize.net payment gateway)

Other requirements for trouble free installation/working

	1. GD complied with your PHP Build - (Yes)
	2. SendMail - (Yes)
	3. PHP safe mode - (OFF)
	4. PHP open_basedir - (OFF)
	5. PHP magic_quotes_gpc - (ON)
	6. PHP short_open_tag - (ON)
	7. CURL extension - (Yes)
	

******************************************************************************************
3.0 Installing iScripts Cybermatch 
******************************************************************************************

3.1) Unzip the entire contents to a folder of your choice.

	a) Upload the contents to the server to the desired folder using an FTP client.  
	   If you do not have a FTP client we suggest  CoreFTP or FTPzilla.

3.2) Set 'Write' permission to the following files/folders manually by checking the checkbox "I would provide 	permissions manually" 

 		OR

  
	You can have the automatic option to give  permission to files.

	1. images/
	2. images/profiles/
	3. images/success_stories/
	4. images/spam/
	5. help/
	6. userfiles/
	7. banners/
	8. pem/
        9. styles/
        9. All files with .css extension under /styles

	
3.3) Provide 'Write' permission for the following files.

	a) config.inc.php
	

3.4) Run the following URL in your browser and follow the instructions.
		
	http://www.yoursitename/install/
		
	If you have uploaded the files in to the root(home directory), you can access the iScripts		Cybermatch install wizard at http://www.yoursitename 	

	You can also install the script in any directory under the root. For example if you 			have uploaded the files in a directory like http://www.yoursitename/Cybermatch
	then you can access the Cybermatch site at http://www.yoursitename/Cybermatch
		
	In the installation step, please provide the site url as described above, without
	any trailing slashes.

	Make sure you enter the same license key you received at the time of purchase,in the 
	"License Key" field. The script would function only for the domain it is licensed.If you 		cannot recall the license its also included in the email you received with subject: 	“iScripts.com software download link”.You can also get the license key from your user 
	panel at www.iscripts.com

3.5) Remove the 'Write' permission provided to the file 'config.inc.php'.

3.6) Delete the 'install' folder.

3.7) Change the settings to match your specific requirements at http://www.yoursitename/admin/

*******************************************************************************
4.0 Setting cron jobs
*******************************************************************************

4.1) To enable subscription using authorize.net set cron jobs/scheduled tasks to 
	run the following files at 1 A.M daily.

	a)  http://www.yoursitename/cron_clean_uncompleted_usernames.php

          an example could be  
	    /usr/bin/php -q /home/Cybermatch/public_html/yourinstallationfolder/cron_clean_uncompleted_usernames.php

	b)  http://www.yoursitename/cron_cleanusernames.php

          an example could be  
	    /usr/bin/php -q /home/Cybermatch/public_html/yourinstallationfolder/cron_cleanusernames.php

	c)  http://www.yoursitename/cron_forcelogout.php

          an example could be  
	    /usr/bin/php -q /home/Cybermatch/public_html/yourinstallationfolder/cron_forcelogout.php

	d)  http://www.yoursitename/cron_sendregistration_alert.php

          an example could be  
	    /usr/bin/php -q /home/Cybermatch/public_html/yourinstallationfolder/cron_sendregistration_alert.php
	
  	e)  http://www.yoursitename/cron_forceexpire.php

          an example could be  
	    /usr/bin/php -q /home/Cybermatch/public_html/yourinstallationfolder/cron_forceexpire.php

  	f)  http://www.yoursitename/cron_partner_preference_alert.php

          an example could be  
	    /usr/bin/php -q /home/Cybermatch/public_html/yourinstallationfolder/cron_partner_preference_alert.php


*******************************************************************************
5.0 Upgradation
*******************************************************************************

If you are an existing cybermatch user, inorder to upgrade your product 

5.1) keep the backup of the configuration file  /root/config.inc.php  and the following folders

	1. pem/


5.2) Give 777 permission to following folders

        1. images/
	2. images/profiles/
	3. images/success_stories/
	4. images/spam/
	5. help/
	6. userfiles/
	7. banners/
	8. pem/
        9. styles/
        9. All files with .css extension under /styles 
           

 
5.3)Download the latest Cybermatch zip file and unzip all the files to the root folder. 

5.4)Replace the back up file and folder to the same location.

5.5) Run the following URL in your browser to upgrade to cybermatch1.2.1
		
	http://www.yoursitename/upgrade1.2.1



*******************************************************************************
6.0 Upgradation from 1.2.1
*******************************************************************************

If you are an existing cybermatch user, inorder to upgrade your product 

6.1) keep the backup of the configuration file  /root/config.inc.php  and the following folders

	1. pem/


6.2) Give 777 permission to following folders

        1. images/
	2. images/profiles/
	3. images/success_stories/
	4. images/spam/
	5. help/
	6. userfiles/
	7. banners/
	8. pem/
        9. styles/
        9. All files with .css extension under /styles 
           

 
6.3)Download the latest Cybermatch zip file and unzip all the files to the root folder. 

6.4)Replace the back up file and folder to the same location.

6.5) Run the following URL in your browser to upgrade to cybermatch1.3
		
	http://www.yoursitename/upgrade1.3


