Activities: Live poll

Maintained by Picture of David CastroDavid Castro, Open LMS LogoOpen LMS Development
This module allows having a live updating poll.
72 sites
10 fans
Current versions available: 1

Live poll

Codacy Badge  Build Status

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.


  1. Go to Firebase and create an account
  2. Once in the Firebase console, create a project
  3. We're using the real time database for this project. So, create a database.
  4. A popup will appear to configure Cloud Firestore, select any type of security (Locked/Test) mode.
  5. Switch from Cloud firestore to Realtime database (Top part of the page)
  6. Access Rules and set these rules firebase-rules
        "rules": {
            ".read": "auth != null",
            ".write": "auth != null"
  7. Enable anonymous authentication, if anonymous authentication is not setup, the poll will not work.
  8. 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.
  9. You can copy and paste the Project ID and API Key to add them to the Moodle plugin settings page. Site administration > Plugins > Activity modules > Live poll


You can review this blog post for usage videos and a sample use case.

Gif animation showing usage.


Copyright (c) 2020 Open LMS (

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see


Screenshot #0
Screenshot #1


Picture of David Castro
David Castro (Lead maintainer)
Open LMS Logo
Open LMS Development
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
Please login to post comments