Skip to content
Laurent Jouanneau edited this page Sep 6, 2012 · 4 revisions

= jCommunity 0.2.2 =

You need Jelix 1.2 or Jelix 1.3.

== New features and improvements ==

  • compatibility with Jelix 1.3b1

== 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).
  • install the jcommunity module
    • with Jelix 1.2, with the command installmodule in the lib/jelix-scripts/ directory: php jelix.php --myapp installmodule jcommunity
    • with Jelix 1.3, with the command installmodule in your application: php cmd.php installmodule jcommunity
  • You can change the start action in index/config.ini.php like this: {{{ startModule=jcommunity startAction="login:index" }}}

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.

== migrating from version 0.1 ==

Execute this SQL script on your mysql database :

{{{ #!sql ALTER TABLE community_users DROP PRIMARY KEY ; ALTER TABLE community_users ADD id INT NOT NULL AUTO_INCREMENT PRIMARY KEY FIRST ; ALTER TABLE community_users DROP PRIMARY KEY , ADD UNIQUE (id); ALTER TABLE community_users ADD PRIMARY KEY ( login ); }}}

The goal is to create a new auto increment field, "id". It is not the primary key, but has a "unique" index.

Clone this wiki locally