GithubHelp home page GithubHelp logo

gmeet-quiz's Introduction

GMeet Quiz

Setting up

Preparing the DB

  1. Create a MySQL database.
  2. Import database from gmeetchat.sql.
  3. Edit mdb.php.txt. Replace database host, username, password, and name with your settings. Then, save it as mdb.php.

Creating the content

  1. Create a quiz. Insert into table quiz:
    • title :Quiz title.
    • description :Quiz description.
    • score_correct :Points on correct answer.
    • score_wrong :Points on incorrect answer.
    • score_abstain :Points for not answering.
  2. Add a question. Insert into table question:
    • sort :Question number.
    • id_quiz :Quiz ID.
    • question :Question text (in HTML).
    • answer_exp :Correct answer explanation (in HTML).
  3. Add choices to question. Insert into table choice:
    • id_question :Question ID.
    • label :Text answer.
    • is_correct :Is answer correct?

Creating a session

  1. Open BASE_URL/pages/sessions.php.
  2. Under Quizs panel, choose a quiz and click create session.
  3. Under Sessions panel, choose a session and click details.
  4. Click [] force focus intro.
  5. Open quiz page BASE_URL/pages/launch.php.

Collecting answers

  1. Edit gmeet.user.js. Change const baseURL to your base URL.
  2. Install userscript manager extension on your browser (e.g. Tampermonkey/Greasemonkey).
  3. Install gmeet.user.js

gmeet-quiz's People

Contributors

hanaddi avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.