Julio Montoya a12bdcd5ea Minor - flint fixes hace 6 años
..
lang 47d5370879 Minor - flint fixes hace 6 años
resources a12bdcd5ea Minor - flint fixes hace 6 años
LICENSE.txt f9eda9b23b Plugin: Add Card game plugin hace 6 años
README.md 3bcd26bd71 Minor - Fix documentation issues in card_game plugin hace 6 años
card_game.php e60db23879 Plugin: Card Game: Minor: Bumped plugin version after a series of improvements hace 6 años
index.php dc8491831e Plugin: Card Game: Fix missing session variable setting in previous commit + add "loose" action to save data in database if already found hace 6 años
install.php f9eda9b23b Plugin: Add Card game plugin hace 6 años
plugin.php 47d5370879 Minor - flint fixes hace 6 años
uninstall.php f9eda9b23b Plugin: Add Card game plugin hace 6 años

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;