Julio Montoya 8f00902c47 Speed performance: Avoid hitting the DB for a course info 5 tahun lalu
..
lang 97ddaf1598 Minor - flint fixes 5 tahun lalu
lib 8f00902c47 Speed performance: Avoid hitting the DB for a course info 5 tahun lalu
resources f922a9ebd9 Replace document.ready with shortcut "$(function () {" 5 tahun lalu
view 9076905d7c Minor - format code 5 tahun lalu
README.md 89fed6ecde Save bbb "internal meeting id" in plugin_bbb_meeting table see BT#15618 5 tahun lalu
admin.php be82d6afef add icons conference type - refs BT#14664 6 tahun lalu
ajax.php ecdc2037e2 Applied fixes from FlintCI 6 tahun lalu
changelog.md 85ef745825 Add bbb interface option (flash or html5) see BT#14664 6 tahun lalu
config.php cbcecfedb7 Fix fatal error when anon enters videoconference BT#13803 6 tahun lalu
config.vm.dist.php ecdc2037e2 Applied fixes from FlintCI 6 tahun lalu
course_index.php ecdc2037e2 Applied fixes from FlintCI 6 tahun lalu
cron.php 28a1ab4349 Add option "global_conference_allow_roles" see BT#12620 7 tahun lalu
index.php d2bf4a3b35 Format code, move URL into functions 8 tahun lalu
install.php ecdc2037e2 Applied fixes from FlintCI 6 tahun lalu
listing.php 8f00902c47 Speed performance: Avoid hitting the DB for a course info 5 tahun lalu
plugin.php cbcecfedb7 Fix fatal error when anon enters videoconference BT#13803 6 tahun lalu
start.php 0fd2cbcd10 Minor - format code, fix return message 5 tahun lalu
uninstall.php ecdc2037e2 Applied fixes from FlintCI 6 tahun lalu

README.md

BigBlueButton Chamilo plugin

This plugin allows you to have videoconference rooms in each course. It requires you to have a BigBlueButton videoconference server installed on another server (ideally). Check www.bigbluebutton.org for more about BigBlueButton.

Migrating to Chamilo LMS 1.10.x

For Chamilo 1.10.x, the Videoconference plugin has two new settings options: Enable global conference and Enable conference in course groups.

Database changes

You need execute these SQL queries in your database after making the migration process from 1.9.x.

ALTER TABLE plugin_bbb_meeting ADD voice_bridge int NOT NULL DEFAULT 1;
ALTER TABLE plugin_bbb_meeting ADD group_id int unsigned NOT NULL DEFAULT 0;

Migrating to Chamilo LMS 1.11.x

For Chamilo 1.11.x, Videoconference plugin has two new settings options:

Database changes

You need execute this SQL query in your database after making the Chamilo migration process from 1.10.x.

If you are migrating from 1.9.x versions, you need execute the SQL queries from the migration to 1.10.x before.

ALTER TABLE plugin_bbb_meeting ADD user_id int unsigned NOT NULL DEFAULT 0;
ALTER TABLE plugin_bbb_meeting ADD access_url int NOT NULL DEFAULT 1;

For version 2.5 you need execute these SQL queries

CREATE TABLE IF NOT EXISTS plugin_bbb_room (
    id int NOT NULL AUTO_INCREMENT PRIMARY KEY,
    meeting_id int(10) unsigned NOT NULL,
    participant_id int(11) NOT NULL,
    in_at datetime NOT NULL,
    out_at datetime NOT NULL
);
ALTER TABLE plugin_bbb_meeting ADD COLUMN video_url TEXT NULL;
ALTER TABLE plugin_bbb_meeting ADD COLUMN has_video_m4v TINYINT NOT NULL DEFAULT 0;
ALTER TABLE plugin_bbb_meeting ADD COLUMN user_id INT DEFAULT 0;
ALTER TABLE plugin_bbb_meeting ADD COLUMN access_url INT DEFAULT 0;
ALTER TABLE plugin_bbb_meeting ADD COLUMN remote_id char(30);
ALTER TABLE plugin_bbb_meeting ADD COLUMN visibility TINYINT NOT NULL DEFAULT 1;
ALTER TABLE plugin_bbb_meeting ADD COLUMN session_id INT DEFAULT 0;

For version 2.6 (adding limits) you need execute these SQL queries

INSERT INTO settings_current (variable, subkey, type, category, selected_value, title, comment, scope, subkeytext, access_url, access_url_changeable, access_url_locked) VALUES ('bbb_max_users_limit', 'bbb', 'setting', 'Plugins', '3', 'bbb', null, null, null, 1, 1, 0);
INSERT INTO extra_field (extra_field_type, field_type, variable, display_text, default_value, field_order, visible_to_self, visible_to_others, changeable, filter, created_at) VALUES (2, 15, 'plugin_bbb_course_users_limit', 'MaxUsersInConferenceRoom', '0', 1, 1, 0, 1, null, '2017-05-28 01:19:32');
INSERT INTO extra_field (extra_field_type, field_type, variable, display_text, default_value, field_order, visible_to_self, visible_to_others, changeable, filter, created_at) VALUES (3, 15, 'plugin_bbb_session_users_limit', 'MaxUsersInConferenceRoom', null, 1, 1, 0, 1, null, '2017-05-28 01:19:32');

For version 2.7

ALTER TABLE plugin_bbb_meeting ADD COLUMN interface INT NOT NULL DEFAULT 0;
ALTER TABLE plugin_bbb_room ADD COLUMN interface INT NOT NULL DEFAULT 0;
ALTER TABLE plugin_bbb_room MODIFY COLUMN in_at datetime;
ALTER TABLE plugin_bbb_room MODIFY COLUMN out_at datetime;

For version 2.8

ALTER TABLE plugin_bbb_meeting ADD COLUMN internal_meeting_id VARCHAR(255) DEFAULT NULL;