Skip to content
Laurent Jouanneau edited this page Mar 25, 2013 · 5 revisions

jCommunity 0.1

It works with Jelix 1.0 and 1.1.

Features

  • user registration: account creation, with confirmation by email and activation key
  • users can choose their password
  • possibility to ask a new password when the user has loose his password (again, confirmation by email and activation key)
  • Profile editing
  • login/logout form

Download

Installation

Extract the content of the downloaded archive.

Copy the jcommunity directory in a module repository of your application (in yourapp/modules for example).

In the configuration of the application (or precisely, the configuration of the index entry point), activate the auth plugin for the coordinator:

    [coordplugins]
    auth = auth.coord.ini.php

Copy the lib/jelix/plugins/coord/auth/auth.coord.ini.php.dist into the file var/config/auth.coord.ini.php

You should change at least this values in this file:

    driver = Db
    
    on_error_action = "jcommunity~login:out"
    
    bad_ip_action = "jcommunity~login:out"
    
    [Db]
    ; name of the dao to get user datas
    dao = "jcommunity~user"

Setup other values as indicated in the documentation of this plugin.

In your application, you should not use anything from the jauth module, but only from jcommunity, since it provides all needed things, with some different behaviors.

Clone this wiki locally