Live poll

Activities ::: mod_livepoll
Maintained by David Castro, Open LMS LogoOpen LMS Development
This module allows having a live updating poll.
Latest release:
249 sites
402 downloads
31 fans
Current versions available: 5

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.

Configuration

  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 API KeyAuth DomainDatabase URL and the Project ID to add them to the Moodle plugin settings page. Site administration > Plugins > Activity modules > Live poll

Usage

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

Gif animation showing usage.

License

Copyright (c) 2020 Open LMS (https://www.openlms.net)

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 http://www.gnu.org/licenses/.


Screenshots

Screenshot #0
Screenshot #1

Contributors

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
  • Plugins bot
    Ijumaa, 11 Jan 2019, 7:20 AM
    Approval issue created: CONTRIB-7595
  • Jeffrey Bannister
    Jumanne, 29 Sep 2020, 3:05 PM
    Great plugin - is there any way to reset the poll results after the poll has concluded? Or do you need to go to the database and delete the entries? I'm looking at running the same poll for different groups of people.
    Thanks in advance,
    Jeff
  • P H
    Jumamosi, 23 Jan 2021, 6:26 PM
    Hello. Could you please let us know if this plugin works on a 3.9 installation?
  • David Castro
    Jumatatu, 25 Jan 2021, 9:57 PM
    It seems it is supported by 3.9, there are many sites which use it as you can see in the Stats section.
  • William Humberto Herrera Rey
    Alhamisi, 11 Feb 2021, 11:30 AM
    It doesn't work for me in Moodle 3.10.1. Can somebody help me. I do what the guide says and it doesn't work for me.
  • David Castro
    Jumatano, 17 Mac 2021, 11:10 AM
    There seems to be a problem with the way Firebase realtime databases are being auto-configured in the plugin.
    More info, here: https://github.com/dvdcastro/moodle-mod_livepoll/issues/10#issuecomment-800757955
  • Open LMS Logo
    Jumamosi, 27 Mac 2021, 4:06 AM
    The issue has been resolved, please update to version 2018071304
  • P H
    Ijumaa, 16 Des 2022, 5:59 PM
    Hello. Has this plugin been tested for Moodle 4.1? Regards.
  • P H
    Jumanne, 28 Mac 2023, 10:36 PM
    Hello again,
    Is there a way to prevent students from changing their answers?
Please login to post comments