Julio Montoya a12bdcd5ea Minor - flint fixes 6 år sedan
..
lang 47d5370879 Minor - flint fixes 6 år sedan
resources a12bdcd5ea Minor - flint fixes 6 år sedan
LICENSE.txt f9eda9b23b Plugin: Add Card game plugin 6 år sedan
README.md 3bcd26bd71 Minor - Fix documentation issues in card_game plugin 6 år sedan
card_game.php e60db23879 Plugin: Card Game: Minor: Bumped plugin version after a series of improvements 6 år sedan
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 6 år sedan
install.php f9eda9b23b Plugin: Add Card game plugin 6 år sedan
plugin.php 47d5370879 Minor - flint fixes 6 år sedan
uninstall.php f9eda9b23b Plugin: Add Card game plugin 6 år sedan

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;