Installation:  

1) Obtain phpDatingClub.zip
2) unzip it into the directory you want (best way is document root 'htdocs' or 'www')
3) Make sure your directory structure is like this:
     phpDatingClub/
     phpDatingClub/admin
     phpDatingClub/conf (chmod: 777)
     phpDatingClub/horoscope
     phpDatingClub/img
     phpDatingClub/lib
     phpDatingClub/languages
     phpDatingClub/photoes (chmod: 777)
     phpDatingClub/templates


Attention! Befor running Install script you need to set permissions to make 'conf' directory and it's content files writable!
This involves using the CHMOD command. If you do not understand CHMOD, there are some resources and information listed at http://www.eclecticpixels.com/tutorials/chmod/. CHMOD as follows: 
chmod 777 conf (this is a directory) 
chmod 777 all files in the conf directory
After the installation and final configuration you may chmod "conf" directory to 606 for security purposes. 


Automatic Installation
Run install.php in your web browser and follow the instructions. 


 


Manual Installation

==============================================================
Below instruction only for MySQL database backend. 
For other databases backends see their manuals ==============================================================

4) Create a MySQL database (If you have an installed MySQL database and enough experinece in SQL you may pass this step).

The database needs a database-name, a username, and a password.
The database-name can be any name beginning with a letter, the username
should be your unix login name. The password must be different from all 
other passwords in your system for security reasons.

If you have root access to the MySQL server then you can create the
database following these instructions:

   4.1. On UNIX prompt write:

      mysqladmin -uroot -p create YourDataBaseName
      (enter MySQL root password)
	
   4.2. On UNIX prompt write:

      mysql -uroot -p
      (enter MySQL root password)
	
   4.3. On MySQL prompt write:

      grant select, insert, update, create, alter, delete, drop
      on DATABASENAME.*
      to USERNAME@localhost
      identified by 'PASSWORD' ;
      quit
	
If you don't have root access then you have to ask the webmaster to
create a database for you. Just specify the database-name, username,
and password. Remember that the database password must be different from
your normal password.

5) Create database tables
There are two ways:
  - From the command line for your operating system, type 

	% mysql YourDataBaseName < phpDatingClub.sql
	
This will send the statements into the mysql client and create the tables for you. To verify that this was done correctly, go into the mysql client and see. 

	%mysql YourDataBaseName
	

You should see 

	Welcome to the MySQL monitor. Commands end with ; or \g.
	Your MySQL connection id is 2 to server version: 3.22.32
	Type 'help' for help.
	mysql>


now type 
mysql> show tables;

and you should see the next tables listed 

	+----------------------------+
	| Tables_in_YourDataBaseName |
	+----------------------------+
	|pd_data                     |
	|pd_country                  |
	|pd_loc                      |
	+----------------------------+



   - use phpMyAdmin or similar DataBase Web Administration tools to run the SQL requests from phpDatingClub.sql file 

6) Make changes to the phpDatingClub/conf/conf.inc file. This file is well documented, so you should be able to pick out what you need to change fairly easily.


	########### MySQL DataBase Setting ####################
	$dbname = "yourDBName"; //DataBase Name
	$hostname = "mysql.yourdomain.comm:64366"; //Host Name:PORT
	$username = "yourDBUserName"; //DataBase Access UserName
	$password = "yourDBPassword"; //DataBase Access Password
	
	########### WebDocs real path #################
	$epath="/usr/local/apache/htdocs/phpDatingClub"; //real path
	$eurl="http://localhost/phpDatingClub"; //Your Site URL
	$sp="/"; //Windows System '\\'
	$admin="admin@demo.com"; //Admin email

	$site_url="http://www.w2bpm.com/";

	############## Color configuration for the default HTML table layout 
	$design["tab_color"]="#d4d5c2"; //HTML Table background color tag setting 
	$design["tr_color"]="#E4E5D2"; //HTML Table <tr> tag background color setting 
	$design["td_color"]="white"; //HTML Table <td> tag background color setting 

	include("../languages/lang_eng.inc"); choose Interface Language

You may create your own language interface simply translating the message variables in the lang_eng.inc.

7) Run admin page to customize and tune your installation.
REMEMBER! The basic changes of some settings ( $aims, $race, $religion, $educations, $married, $children, $hairs, $eyes, $zodiaks ) are possible only during first installation. Then it is not allowable to change array keys and values meaning. You may only edit entries in the context of their basic meaning. For example it not correctly change "Student (High School)" entry from $educations array to "Retired" or reorder array keys. It threatens to break posting ad data. 
Similarly you may change countries and cities entries in 'pd_country', 'pd_loc' tables keeping the uniqueness of 'cid' fields. Remember also that each cid value meets flag image name in img/flags directory
It is easy to do this simply editing phpDatingClub.sql file befor running of the SQL requestes. Otherwise use MySQL database tools or phpDatingClub Admin Module(if you registerd user) for editing.


8) Once all this has been done, you should protect the conf/conf.inc file (that contains
your login/password for db access). Look at your server documentation to find out
how to do this.
For the Apache server, you'll need to create an ".htaccess" file (without quotes) in
the conf subdir that contains:

      <files conf.inc>
          Order Deny,Allow
          Deny From All
      </files>


9) To customize page layout you may edit next two files in 'templates' folder: 
templates/header.inc 
templates/footer.inc 

You can customize any HTML tag in these files.
Warning ! Don't change <form > elements names and parameters. 

 
   Download:  

  you have got opportunity to try application before you have decided to use and purchase it ! 

  "Free Edition" includes all the Main Features

   If you need admin and advanced features (see advanced features list) you have to purchase on-line Full/Advanced Edition. 

Download "Free Edition" (last updated: 11 Feb 2005) Size: 237.76 KB 



 
   Prices, Order On-Line:  
 
phpDatingClub 4.0 (Advanced Version) 
$79.95     (Our Regular Price) 

By popular demand we now accept online payments through PayPal!


 1. Please select payment type. 
 PayPal     $72     (Special Offer - limited time, save 10%) 
 RegNow   
 Western Union   
 
2. Please enter your name & email address. 
Name:  So we may assist you if a problem occurs with your online payment,
please enter your name and email address here. 
Email:  
 
3. Please click "Proceed to Checkout" button. 
   

   phpDatingClub License Information
   Free 90-Day Email Support for "Advanced Edition" 
 
   Contact us:  
9732 Pyramid Hwy #162, Sparks, Nevada, 89436 USA, (775)475-2000 
e-mail: development@w2bpm.com 
support: support@w2bpm.com 
 
 
Web 2 Business Process Management, 9732 Pyramid Hwy #162, Sparks, Nevada, 89436 USA, (775)475-2000 
