DOCUMENTATION.

1.2
MENU

Installation

Server Requirements

EasyLogin Pro will work with versions of PHP as low as 5.3.2, however some features will not be available.

If you have PHP < 5.3.7 you'll have to disable BCrypt and use MD5 for password hashing.

The minimum recomended version of PHP is 5.3.7 or 5.4 if you want to enable Mailgun and Mandrill.

Beside that you will also need to have some common PHP extensions:

  • MCrypt
  • PDO MYSQL
  • OpenSSL
  • GD
  • Exif (optional)
  • Multibyte String (optional)
  • Internationalization (optional)

To make sure you have everything installed run extra/php_check.php in your browser to see the results.

Install EasyLogin Pro

To install EasyLogin Pro simply follow the video tutorial or read the instructions below.


1. Extract files

Extract the files from the archive you have downloaded from CodeCanyon.

2. Copy files

Copy the files from the code directory to your server.
By default the script is set to the main example, but you can install the other examples too.

*Make sure the uploads directory has 0777 permission.

3. Create a database & import the SQL file

Go to phpMyAdmin or your hosting equivalent panel, create a new database (and user) and import database.sql found in the code directory or in the one you copied earlier.

*If you are using PHP<5.3.7 you should import database-php-5.3.2.sql from the extra directory and enable Basic Hasher.

4. Configuration

First edit app/config/database.php and set the database connection details.

Then edit app/config/app/php and set url to the url where the script is located. For example if you have copied the script files into a directory called "elp" and your website is "http://mywebsite.com" then the url should be set to "http://mywebsite.com/elp".
Set the key to a random 32 character string. Use extra/generate_key.php to generate a key.

Make sure to set the permissions to 775 (recursively) for app/storage.

Now you can open the script in your browser. To log in use the username admin and password admin.
*Make sure you change the password after you log in the first time.

Next you should continue with the Configuration and Social Authentication sections.

Other Examples

If you want to use other examples than the main one copy the files from the example directory you want (basic, basic-ajax, inline or modal) from extra/examples to the main directory. Replace if necessary.

There are few tweaks you have to make for these examples:

basic, basic-ajax and inline:

Edit app/views/comments.php, find this line

<!-- <?php _e('comments.logged_in', array('attrs' => 'href="login.php"')) ?> -->

remove the comments (<!-- and -->), and make sure you comment the next line.

Then edit app/views/header.php find these lines:

<!--
<li><a href="login.php"><?php _e('main.login'); ?></a></li>
<li><a href="signup.php"><?php _e('main.signup'); ?></a></li>
-->

and again remove the comments (<!-- and -->) (and make sure you comment the next lines)

This will change the links to separate pages instead of using a modals.

modal:

Edit app/views/emails/activation.php and uncomment this line:

//$url = App::url("#activate-{$reminder}");

Edit app/views/emails/reminder.php and uncomment this line:

//$url = App::url("#reset-{$reminder}");

This will change activation and password reminder the links to modals.