Live poll
- Moodle 1.9–5.1
- 更新 2026-10-03
This module allows having a live updating poll.
Live poll
This module allows having a live updating poll.
It uses Firebase to push the updates and stores the data anonymously, so no GDPR concerns there.
Configuration
Go to Firebase and create an account
Once in the Firebase console , create a project
We’re using the real time database for this project. So, create a database.
A popup will appear to configure Cloud Firestore , select any type of security (Locked/Test) mode.
Switch from Cloud firestore to Realtime database (Top part of the page)
Access Rules and set these rules
{
“rules”: {
“.read”: “auth != null”,
“.write”: “auth != null”
}
}
Enable anonymous authentication , if anonymous authentication is not setup, the poll will not work.
From the project overview page in the Firebase console , click Add Firebase to your web app . If your project already has an app, select Add App from
the project overview page.
- 5.1.4Moodle 5.1, 5.2, 5.3
- 4.5.4Moodle 4.5
- 4.4.4Moodle 4.4
- 4.3.4Moodle 4.3
- 4.1.3Moodle 4.1
- 4.0.7Moodle 4.0
- 3.11.6Moodle 3.11
- 0.1.4Moodle 3.7, 3.8, 3.9, 3.10
- 0.1.4Moodle 3.4, 3.5, 3.6, 3.7, 3.8, 3.9, 3.10