Julio Montoya e1cb48c5ee Updating from 1.11.x 5 lat temu
..
lang e1cb48c5ee Updating from 1.11.x 5 lat temu
resources e1cb48c5ee Updating from 1.11.x 5 lat temu
LICENSE.txt e1cb48c5ee Updating from 1.11.x 5 lat temu
README.md e1cb48c5ee Updating from 1.11.x 5 lat temu
card_game.php e1cb48c5ee Updating from 1.11.x 5 lat temu
index.php e1cb48c5ee Updating from 1.11.x 5 lat temu
install.php e1cb48c5ee Updating from 1.11.x 5 lat temu
plugin.php e1cb48c5ee Updating from 1.11.x 5 lat temu
uninstall.php e1cb48c5ee Updating from 1.11.x 5 lat temu

README.md

Card reveal game Chamilo plugin

This plugin adds a little game to the interface to encourage users to connect every day.

Installation

To install, enable the plugin, then go to "Regions" in the administration panel and add the region "pre_footer" to the plugin. Save. The plugin should appear as a little icon in the lower-right side of your user picture in the left column of the "My courses" list.

Migrating from a non-official version

This plugin was initially designed by Les Compagnons Bâtisseurs. If you had used it before its review and integration into Chamilo, you will need to execute the following changes in your database to update its structure.

Database changes

You need execute these SQL queries in your database if you are upgrading to Chamilo 1.11.8 and the card_game plugin was already installed in your previous version.

ALTER TABLE plugin_card_game CHANGE COLUMN idUser user_id INT NOT NULL;
ALTER TABLE plugin_card_game CHANGE COLUMN dateAcces access_date date default NULL;