-
Notifications
You must be signed in to change notification settings - Fork 2
/
changes.txt
72 lines (54 loc) · 2.16 KB
/
changes.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
bbb/lib/bbb_plugin.class.php
public $course_settings = [
[
'name' => 'big_blue_button_record_and_store',
'type' => 'checkbox',
],
[
'name' => 'bbb_enable_conference_in_groups',
'type' => 'checkbox',
],
[
'name' => 'bbb_force_record_generation',
'type' => 'checkbox',
],
[
'name' => 'big_blue_button_max_students_allowed',
'type' => 'input',
],
[
'name' => 'big_blue_button_meeting_duration',
'type' => 'input',
],
];
bbb/lib/bbb.lib.php
$max = api_get_course_plugin_setting('bbb', 'big_blue_button_max_students_allowed');
$maxFromPlugin = (int) $this->plugin->get('max_users_limit');
if(!$max && $maxFromPlugin > 0){
$max = $maxFromPlugin;
}elseif (!$max && !$maxFromPlugin){
$max = -1;
}
-------------
$duration = 300;
$meetingDuration = (int) $this->plugin->get('meeting_duration');
$meetingDurationFromPlugin = (int) api_get_course_plugin_setting('bbb', 'big_blue_button_meeting_duration');
if($meetingDurationFromPlugin){
$duration = $meetingDurationFromPlugin;
}elseif(!empty($meetingDuration)){
$duration = $meetingDuration;
}
bbb/lib/bbb_api.php
Remove:
if (isset($joinParams['interface']) && (int) $joinParams['interface'] === BBBPlugin::INTERFACE_HTML5) {
$bbbHost = api_remove_trailing_slash(CONFIG_SERVER_URL_WITH_PROTOCOL);
if (preg_match('#/bigbluebutton$#', $bbbHost)) {
$bbbHost = preg_replace('#/bigbluebutton$#', '', $bbbHost);
}
$params .= '&redirectClient=true&clientURL='.$bbbHost.'/html5client/join';
}
$params .= '&redirectClient=true';
bbb/lang/english.php
$strings['big_blue_button_max_students_allowed'] = 'Max users limit <small>(To overide global setting)</small>';
$strings['big_blue_button_meeting_duration'] = 'Meeting duration <small>(To overide global setting)</small>';
$strings['bbb_enable_conference_in_groups'] = 'Allow conference in groups';