“Zlogin User Authentication System” Documentation by “Zamblek” v1.x


“Zlogin”

Created: 6/20/2013
By: Zamblek
Email: zamblek@outlook.com

Thank you for purchasing my script. If you have any questions that are beyond the scope of this help file, please feel free to email via my user page contact form here. Thanks so much!


Table of Contents

  1. Preparing
  2. Install
  3. Run
  4. Files Structure

A) Preparing - top

This script requires PHP5 and MySQL to run

Now, first thing you want to do, is to make sure you create a MySQL database along with an user for it.

So your requirements are:

  1. A MySQL database + MySQL username/password
  2. Domain name + FTP server
  3. Recaptcha publick/private keys (You can go to recaptcha.net and signup a new account and add your website and get keys)

B) Install - top

1. Create Database

After you create your database you have to execute or import the sql file in folder Database\zlogin.sql

2. Configuration

Open \Script\libs\config.php and edit following code:

            
            define('SITE_TITLE', 'your_system_name');
            
        

Edit with your website name as you like!

            
            define('SITE_DOMAIN', 'your_system_domain'); // example: zamblek.com (without 'www or http://')
            
        

Edit with your domain name this variable for no-replay@system_domain email address for verifications/activation emails messages

            
            define('SITE_URL', 'your_system_url'); // example: http://www.zamblek.com (without '/' at end)
            
        

Edit with your script path I.E "htttp://yoursite.com/path" but don't put '/' at the end we already put it for you :)

            
            define('DB_NAME', 'your_database_name');
            
            define('DB_USER', 'your_database_username');
            
            define('DB_PASSWORD', 'your_database_password');
            
            define('DB_HOST', 'localhost');
            
        

Edit with your database name and database username/password

            
            define('RECAPTCHA_PUBLICKEY', 'your_recaptcha_publickey');
            
            define('RECAPTCHA_PRIVATEKEY', 'your_recaptcha_privatekey');
                        
        

You can go to recaptcha.net and signup a new account and add your website domain name after that get the publick/private keys and put theme here!

3. Uploading

Now you can upload the files and run the Zlogin. You will only upload files in \Script folder to your www or public_html folder on your server


C) Run - top

After uploading the script you can login to admin panel to add/edit/delete users & add/edit/delete user groups and edit script settings

To login to your admin panel just goto:

            http://yourdomain.com/path_to_script/admin
        

Email: admin@zamblek.com
Password: 123456
You can edit theme after your login to anything you like :)


D) Files Structure - top

We developed Zlogin as MVC and built it with Smarty Template Engine and desgined it usging Bootstrap to be easy for customization and integraion. So you can use it as a core for your own CMS ;)

Zlogin files are separated into:

            + admin/
            + content/
            + js/
            + libs/
            - bootstrap.php
            - confirm.php
            - index.php
            - kernal.php
            - login.php
            - logout.php
            - password.php
            - recover.php
            - register.php
            - reset.php
            - user.php
        

If you would like to edit a specific section of the desgine, simply find the appropriate template in \Script\content\themes\default folder, In this folder you will find the css and the templates files.


That's all, Enjoy!

Zamblek

Go To Table of Contents