Skip to content

ricky-mcalister/User-Management-Plugin-for-Cakephp-2.x

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UserMgmt is a User Management Plugin for cakephp 2.0.x
Plugin version 1.0 (Stable)

Hey wanna Demo ??? http://usermgmt.ektasoftwares.com/
Main Features-
1. Clean code with formatting
2. Login
3. Registration
4. Cookie login/ Remember me functionality
5. Add/Edit/Delete User By Admin
6. Add/Edit/Delete Group By Admin
7. Change Password
8. Forgot Password
9. Change User Password by Admin
10. List of all Users
11. List of all Groups
12. Manage site Permissions using Ajax updation, Permission caching functionality for fast checking
13. User's Email Verification
14. User Profile View
15. User activation by Admin
16. Routing long urls to small urls


It's based on jedt/SparkPlug plugin

INSTALLATION
------------

1. Download the latest version or use git to keep the plugin up to date
	https://github.com/chetanvarshney/User-Management-Plugin-for-Cakephp-2.x
	go to yourapp/app/Plugin
	extract here
	name it Usermgmt

2. Schema import (use your favorite sql tool to import the schema)

	yourapp/app/Plugin/Usermgmt/Config/Schema/usermgmt.sql

3. Configure your AppController class

        Your yourapp/app/Controller/AppController.php should look like this:

<?php
	class AppController extends Controller 
	{
		var $helpers = array('Form', 'Html', 'Session', 'Js', 'Usermgmt.UserAuth');
		public $components = array('Session','RequestHandler', 'Usermgmt.UserAuth');
		function beforeFilter(){
			$this->userAuth();
		}
		private function userAuth(){
			$this->UserAuth->beforeFilter($this);
		}
	}
?>

4. Enable Plugin in your bootstrap.php

        yourapp/app/Config/bootstrap.php should include this line

        // load Usermgmt plugin and apply plugin routes. Keep all the other plugins you are using here
        CakePlugin::loadAll(array(
            'Usermgmt' => array('routes' => true, 'bootstrap' => true),
        ));

5. Add plugin css in your layout file
    for example yourapp/app/View/Layouts/default.ctp
    echo $this->Html->css('/usermgmt/css/umstyle');

6. Adjust plugin configuration

    Change /app/Plugin/Usermgmt/Config/bootstrap.php (parameters are explained there) to suit your needs.

7. Default user name password 
username- admin
password- 123456

ALL DONE !

About

This is user management plugin for cakephp 2.x for more info read ReadMe file

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published