laurentj / jcommunity

A set of modules for the Jelix framework, to bring the support of a community management in an application : registration, profile editing etc

Clone this repository (size: 2.5 MB): HTTPS / SSH
$ hg clone http://bitbucket.org/laurentj/jcommunity

Contributing

If you want to contribute, see tickets for bug to fix or feature to develop. You can also create new tickets to tell us bugs you found, or to propose new features (you can discuss about it on the jelix.org forums).

You can also propose some patch by attaching them to a ticket or by pulling a request from your clone.

installation

jCommunity works only with Jelix 1.1 beta and higher.

Directories are:

  • modules/: the jcommunity modules
  • test/: a test application for development
  • lib/: a version of jelix to use with the test application.

If you want to install jcommunity modules into your own application, copy the modules/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:

1
2
[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:

1
2
3
4
5
6
7
8
9
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.


This revision is from 2010-07-05 00:20