Chamilo is a learning management system focused on ease of use and accessibility
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
chamilo-lms/plugin/vchamilo
jmontoyaa 23c07f91fe Fix vchamilo plugin in order to use URL with a url_append 8 years ago
..
ajax Use __DIR__ when calling global.inc.php 8 years ago
cli Replace visible wih visible_to_self 8 years ago
js WIP vchamilo plugin 9 years ago
lang Fix vchamilo plugin in order to use URL with a url_append 8 years ago
lib Fix vchamilo plugin in order to use URL with a url_append 8 years ago
pix WIP vchamilo updates 8 years ago
templates WIP vchamilo plugin - Force creation of master snapshot to setup a default template. 9 years ago
views Fix vchamilo plugin in order to use URL with a url_append 8 years ago
README.md WIP vchamilo - Add password_encryption needed when importing and upgrading a chamilo instance 8 years ago
index.php Minor - format code 8 years ago
install.php WIP vchamilo - Add password_encryption needed when importing and upgrading a chamilo instance 8 years ago
plugin.php WIP. vchamilo plugin - Use chash to upgrade database to 1.11.x 8 years ago
template.tpl Minor - format code 8 years ago
uninstall.php Minor - format code 8 years ago
vcron.php Disable code 8 years ago

README.md

Virtual Chamilo

Authors : Valery Fremaux (valery.fremaux@gmail.com), Julio Montoya

Virtual chamilo is a feature that allows running several chamilo instances sharing the same code base.

Changelog

Version 1.4

Database upgrade needed:

ALTER TABLE vchamilo ADD COLUMN password_encryption VARCHAR(255);

Version 1.3

Add vchamilo import

Version features

This is a yet prototypal version that is not full featured in back-office tools. At the moment, the setup of virtual clones still is a technical operation and has no middle-office GUI. Development is in progress to offer a sufficient medium-level administrability of the process.

How to setup

You need :

  1. Install the vchamilo package into the /plugin directory
  2. Install the plugin in Chamilo administration
  3. Insert the virtualization hook into the Chamilo master configuration file:
<chamiloroot>/app/config/configuration.php

Insert the hook at the end of the file.

include_once $_configuration['root_sys'].'plugin/vchamilo/lib/Virtual.php';
Virtual::hookConfiguration($_configuration);

What you need for a virtual node is:

  • a blank database copy of chamilo
  • a dedicated course directory, that needs being accessible from chamilo installation root (directly, or using symlinks). the name of this directory is free, as it will be mapped into the vchamilo record.
  • a dedicated home page directory, that is located into /home directory and is named as the chamilo instance domain name.
  • a vchamilo record into the vchamilo table of the master installation. (the master installation is the install that refers to the effective "configuration.php" information.
  • an appropriate multiroot home root setup in the local chamilo instance

Prerequisites for VChamilo working nice

Multiple URL access must be enabled:

# in <chamiloroot>/main/inc/config/configuration.php
$_configuration['multiple_access_urls'] = true;

In the administration, you will need configure an adequate home root definition for the instance finding the dedicated home directory. You just need editing the http://localhost default host, and give the real domain name you are using.

Check you have the /home/ clone of the standard home directory.

Important note about file system permissions

Vchamilos will use several side-directories apart from the standard installation (dedicated courses, dedicated home page). Check you set the adequate filesystem permissions (usually let the server write in there) for them.