Julio Montoya e1cb48c5ee Updating from 1.11.x %!s(int64=5) %!d(string=hai) anos
..
lang e1cb48c5ee Updating from 1.11.x %!s(int64=5) %!d(string=hai) anos
resources e1cb48c5ee Updating from 1.11.x %!s(int64=5) %!d(string=hai) anos
LICENSE.txt e1cb48c5ee Updating from 1.11.x %!s(int64=5) %!d(string=hai) anos
README.md e1cb48c5ee Updating from 1.11.x %!s(int64=5) %!d(string=hai) anos
card_game.php e1cb48c5ee Updating from 1.11.x %!s(int64=5) %!d(string=hai) anos
index.php e1cb48c5ee Updating from 1.11.x %!s(int64=5) %!d(string=hai) anos
install.php e1cb48c5ee Updating from 1.11.x %!s(int64=5) %!d(string=hai) anos
plugin.php e1cb48c5ee Updating from 1.11.x %!s(int64=5) %!d(string=hai) anos
uninstall.php e1cb48c5ee Updating from 1.11.x %!s(int64=5) %!d(string=hai) anos

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;