Skip to content
Newton Miyoshi edited this page May 2, 2015 · 14 revisions

Welcome to the users wiki!

##Installing the plugin Users

  1. Clone search plugins, utils and users in app/Plugin

  2. Set up the database and load the schema plugin users

    app/console/cake schema create --plugin Users

  3. Load the plugins in bootstrap.php file and upload the users mainly plugin routes

    CakePlugin::load( 'Search'); CakePlugin::load( 'Utils'); CakePlugin::load( 'Users' , array('routes' => true ));

  4. Correctly configure email in app/Config

  5. Enable admin prefix routing in core.php

    Configure::write('Routing.prefixes', array('admin'));

  6. Register a new user in /users/register and change it in admin in users table altering collumn is_admin to value 1 and collumn role to value of 'admin'

##FAQ

Example of how to configure Email to use Gmail:

 public $gmail = array(
    'host' => 'ssl://smtp.gmail.com'
    'port' => 465,
    'username' => 'my@gmail.com'
    'password' => 'secret'
 );

Make sure to enable "less secure apps" if you have trouble with gmail:

thats all!

Clone this wiki locally