Yannick Warnier cb8a3f89fc Minor - Add documentation about new plugin version 7 rokov pred
..
lang f2109a10a1 Plugins: BBB: Add global limit to number of users per room, including extra fields for course and session to define contextual limits 7 rokov pred
lib f2109a10a1 Plugins: BBB: Add global limit to number of users per room, including extra fields for course and session to define contextual limits 7 rokov pred
resources e5f0002860 Check if the BBB meeting has a m4v file - refs BT#11636 8 rokov pred
README.md cb8a3f89fc Minor - Add documentation about new plugin version 7 rokov pred
admin.php 0407630444 Fix toolbars action 7 rokov pred
admin.tpl f5a8f94596 Fix BBB language variables #1502 7 rokov pred
ajax.php 9ba150d7c1 Scrutinizer Auto-Fixes 7 rokov pred
changelog.md cb8a3f89fc Minor - Add documentation about new plugin version 7 rokov pred
config.php 4b4b366d5f Scrutinizer Auto-Fixes 7 rokov pred
config.vm.dist.php c54ff61a95 Adding DO support see #8183 10 rokov pred
course_index.php 4116a6b100 merge 10 rokov pred
cron.php 2dce14872e Scrutinizer Auto-Fixes 7 rokov pred
index.php d2bf4a3b35 Format code, move URL into functions 8 rokov pred
install.php d2bf4a3b35 Format code, move URL into functions 8 rokov pred
listing.php f2109a10a1 Plugins: BBB: Add global limit to number of users per room, including extra fields for course and session to define contextual limits 7 rokov pred
listing.tpl f2109a10a1 Plugins: BBB: Add global limit to number of users per room, including extra fields for course and session to define contextual limits 7 rokov pred
plugin.php d2bf4a3b35 Format code, move URL into functions 8 rokov pred
start.php 1f7844380e Scrutinizer Auto-Fixes 7 rokov pred
uninstall.php d2bf4a3b35 Format code, move URL into functions 8 rokov pred

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 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,
    FOREIGN KEY (meeting_id) REFERENCES plugin_bbb_meeting (id),
    FOREIGN KEY (participant_id) REFERENCES user (id)
);
ALTER TABLE plugin_bbb_meeting ADD video_url TEXT NULL;
ALTER TABLE plugin_bbb_meeting ADD 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;

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

INSERT INTO chamilo111x.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 chamilo111x.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 chamilo111x.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');