Before starting the installation, you need to check for operating module "mod_rewrite" in your hosting. If it is turned off, it must be enabled.
You have to check the version of PHP, this script does not work on PHP 7.

Running a social network:

1. Upload files
Add the files from the directory "www" in your hosting.

2. Import Database
Import the database dump of the directory "mysql".

3. Connecting to database
Set up a connection to the database file, the inc/sql_social.php

$hostname = ''; - database server
$user = ''; - user database
$password = ''; - password database
$db = ''; - database name

The database must be encoded in UTF-8

4. Configuring the connection to the Mail server
For proper operation of the password recovery feature, you must configure the connection to the mail server of your hosting.
Set up a connection to a mail server in a file inc/mail_social.php

$host = ''; - mail server
$login = ''; - login mailbox
$password = ''; - password mailbox
$from = ''; - e-mail sending

Mail will be sent by POP3 protocol

5. Select the language currently only supports English and Russian.
Select the language in the file can be inc/config.php
You have to put in two places at the same value:

include $_SERVER['DOCUMENT_ROOT'].'/language/en.php'; - en.php or ru.php
$js_lang = 'en'; - en or ru
$secret = ""; - any value (involved in the formation of tokens)

The site will work correctly, if everything is configured correctly

=============================
