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

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;