+91 910 810 7071 support@higheredlab.com

Ask for feedback after a BigBlueButton session

Do you care whether your students liked your online class? Was it useful? Fun? Here is a quick way to ask for users’ feedback at the end of the class.   To enable the user feedback and make it available for later reference, execute the following script: #!/bin/bash HOST=$(cat /usr/share/bbb-web/WEB-INF/classes/bigbluebutton.properties | grep -v '#' | sed […]
18 Mar, 2022

Do you care whether your students liked your online class? Was it useful? Fun? Here is a quick way to ask for users’ feedback at the end of the class.  

To enable the user feedback and make it available for later reference, execute the following script:

#!/bin/bash

HOST=$(cat /usr/share/bbb-web/WEB-INF/classes/bigbluebutton.properties | grep -v '#' | sed -n '/^bigbluebutton.web.serverURL/{s/.*\///;p}')
HTML5_CONFIG=/usr/share/meteor/bundle/programs/server/assets/app/config/settings.yml
PROTOCOL=$(cat /usr/share/bbb-web/WEB-INF/classes/bigbluebutton.properties | grep -v '#' | grep '^bigbluebutton.web.serverURL' | sed 's/.*\(http[s]*\).*/\1/')

apt-get install -y nginx-full

yq w -i $HTML5_CONFIG public.clientLog.external.enabled true
yq w -i $HTML5_CONFIG public.clientLog.external.url     "$PROTOCOL://$HOST/html5log"
yq w -i $HTML5_CONFIG public.app.askForFeedbackOnLogout true
chown meteor:meteor $HTML5_CONFIG

cat > /etc/bigbluebutton/nginx/html5-client-log.nginx << HERE
location /html5log {
        access_log /var/log/nginx/html5-client.log postdata;
        echo_read_request_body;
}
HERE

cat > /etc/nginx/conf.d/html5-client-log.conf << HERE
log_format postdata '\$remote_addr [\$time_iso8601] \$request_body';
HERE

# We need nginx-full to enable postdata log_format
if ! dpkg -l | grep -q nginx-full; then
  apt-get install -y nginx-full
fi

touch /var/log/nginx/html5-client.log
chown bigbluebutton:bigbluebutton /var/log/nginx/html5-client.log

The user feedback will be written to /var/log/nginx/html5-client.log, which you would need to extract and parse. 

You can also use the following command to monitor the feedback.

tail -f /var/log/nginx/html5-client.log | sed -u 's/\\x22/"/g' | sed -u 's/\\x5C//g'

You may also like …

The Future Of Virtual Classrooms: 5 AI Innovations In Online Learning

Explore the transformative role of AI in online education with our in-depth analysis of five AI advancements in virtual classrooms. Discover how AI fosters personalized learning, improves student outcomes, and enables one-on-one instruction, revolutionizing the future of e-learning. Learn about AI’s impact on student engagement and teacher effectiveness through platforms like Edmentum, DreamBox Learning, and Carnegie Learning.

Transform Your Online Teaching with BigBlueButton

Revolutionize your virtual classroom with our BigBlueButton SaaS platform. Your brand, your URLs, backed by powerful AI from ChatGPT for quizzes and translations. Affordable, scalable, perfect for your ever-growing student community.