Filename | Description |
---|---|
bbb_admin.json | Configuration file for application |
index.php | Index page for application |
bbb_config.php | Load configuration |
bbb_load.php | Loading needed addons and additional scripts |
bbb_create.php | Create meeting on server |
bbb_join.php | Join meeting on server |
bbb_info.php | Display meeting informations |
bbb_record.php | Show recordings on server |
bbb_delrec.php | Delete recordings on server |
bbb_send.php | Send invitation mail to user |
bbb_stop.php | Stop meeting on server |
bbb_user.php | Join user to meeting |
Configuration file bbb_admin.json
Email template file bbb_admin.tmpl
Folder protection file .htaccess
Access password file [.htpasswd]
{
"debug": "1",
"refresh": "30",
"language": "en",
"email": "bbbadmin@domain.com",
"invite": "https://room.domain.com",
"copyright": "© 2021 unattended.ch",
"server": {
"1": "room1.domain.com",
"2": "room2.domain.com"
},
"logout": {
"1": "https://room1.domain.com",
"2": "https://room2.domain.com"
},
"logos": {
"1": "https://room1.domain.com/favicon.ico",
"2": "https://room2.domain.com/favicon.ico"
},
"access": {
"1": "ModeratorPasswordDefault" ,
"2": "AttendeePasswordDefault"
},
"rooms": {
"1": { "name": "Bastelraum © 2021 unattended.ch", "id": "Bastelraum" , "acc": "Password", "msg": "Monday 20:00 - 22:00" },
"2": { "name": "Startraum © 2021 unattended.ch", "id": "Startraum" , "acc": "Password", "msg": "" }
}
}
Parameter|Description ———|———– debug|0=Off 1=On refresh|Screen refresh in secords for main and recording page language|en=English, de=German, fr=French other languages are wanted email|Admin email for sending invitation links invite|URL to users join page for invitations copyright|Copyright
"server": Parameter|Description ---------|----------- unique id|Unique number for server name|Name of server (only descriptive)
"logout": Parameter|Description ---------|----------- unique id|Unique number for logout URL name|Logout URL for meeting (default invitation url &exit=1)
"logos": Parameter|Description ---------|----------- unique id|Unique number for Logo name|Logo URL for meetings
"access": Parameter|Description ---------|----------- 1|Moderator password default 2|Attendee password default if no room password was specified
"rooms": Parameter|Description ---------|----------- unique id|Unique number for room name|Room name fully descriptive for BigBlueButton id|Room ID for BigBlueButton acc|Room password for BigBlueButton
Change [“language”: “en”,] in bbb_admin.json to your language shortcode
en=English de=German fr=French
See res/locale/ for .PO translation files and translation scripts
See locale/ for translated .PHP files
Use bootstrap.css for styling of bbb_user.php
Create your own bbbadmin.deb and bbb_users.deb for delivery
Use bbb_build.sh for package creation
Admin Frontend installation script bbbadmin_install.sh
User Frontend installation script bbbuser_install.sh
Or you can use our debian packages in releases
sudo apt install php-curl php-mbstring php-xml php-intl -y
git clone https://github.com/unattended-ch/bbbadmin ~/bbbadmin
git clone https://github.com/bigbluebutton/bigbluebutton-api-php ~/bigbluebutton-api-php
sudo rsync -avr ~/bigbluebutton-api-php/src/* /opt/yourpage/
sudo rsync --exclude="res/*" -avr ~/bbbadmin/* /opt/yourpage/
sudo ln -s /opt/yourpage /var/www/html/
sudo chown -R www-data.www-data /opt/yourpage
SetEnv BBB_SECRET1 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
SetEnv BBB_SERVER1_BASE_URL https://server1.domain.com/bigbluebutton/
SetEnv BBB_SECRET2 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
SetEnv BBB_SERVER2_BASE_URL https://server2.domain.com/bigbluebutton/
<Directory "/var/www/html/yourpage">
AllowOverride All
Options SymLinksIfOwnerMatch IncludesNoExec
Order allow,deny
Allow from all
</Directory>
8.2 Copy .htacces file to your webpage
sudo cp -v ~/bbbadmin/res/.htaccess /opt/youpage/
8.3 Edit the path of password file in .htaccess, always use document root of apache
sudo mcedit /opt/yourpage/.htaccess
AuthUserFile "/var/www/html/yourpage/.htpasswd"
8.4 Add user to .htpasswd
sudo htpasswd -c /opt/youpage/.htpasswd [username]
8.5 Restart apache server
sudo systemctl restart apache2
git clone https://github.com/unattended-ch/bbbadmin ~/bbbadmin
git clone https://github.com/bigbluebutton/bigbluebutton-api-php ~/bigbluebutton-api-php
sudo rsync -avr ~/bigbluebutton-api-php/src/* /opt/youruserpage/
sudo rsync --exclude="res/*" -avr ~/bbbadmin/* /opt/youruserpage/
sudo mv -v /opt/youruserpage/bbb_user.php /opt/youruserpage/index.php
sudo rm -f /opt/youruserpage/index.php
sudo rm -f /opt/youruserpage/bbb_create.php
sudo rm -f /opt/youruserpage/bbb_delrec.php
sudo rm -f /opt/youruserpage/bbb_info.php
sudo rm -f /opt/youruserpage/bbb_join.php
sudo rm -f /opt/youruserpage/bbb_record.php
sudo rm -f /opt/youruserpage/bbb_stop.php
sudo ln -s /opt/yourpage /var/www/html/
sudo chown -R www-data.www-data /opt/youruserpage
SetEnv BBB_SECRET1 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
SetEnv BBB_SERVER1_BASE_URL https://server1.domain.com/bigbluebutton/
SetEnv BBB_SECRET2 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
SetEnv BBB_SERVER2_BASE_URL https://server2.domain.com/bigbluebutton/
Servers with no apache_setenv() and apache_getenv() support edit bbb_admin.json
https://server.domain.com/bbbuser/?sid=X&mID=XXXXXXXXXXXXXXXXXX[&usr=Username][&join=1]
https://server.domain.com?sid=X&mID=XXXXXXXXXXXXXXXXXX[&usr=Username][&join=1]
If you get a lot curl errrors, change the following lines in [BigBlueButton.php] ```
$data = curl_exec($ch); ```
Replace with ```
$retry = 3;
$attempts = 0;
do {
try
{
$data = curl_exec($ch);
}
catch (Exception $e)
{
$attempts++;
continue;
}
}
while(($data === false) && ($attempts < $retry)); ```
index.php
goto TOC
index.php
Join meeting
Show meeting
Send invitation
Stop meeting
View recorded meeting
Delete recording