Git Product home page Git Product logo

moodle-mod_debate's Introduction

What does this plugin do

The debate is a moodle activity that allows students to debate on a given topic inside moodle.
It is a usual activity in any face to face class that moderators or teacher or even employees are divided into group and
they are asked to give their opinion or debate on a given topic. This plugin is the approach to take that whole scenario inside moodle.

Features

Use debate activity in a course

Adding a debate activity is simple, just the usual way, go to the course, turn editing on and add the activity. A debate activity will have three parts:

  1. A name of the activity (a usual moodle activity name).
  2. The topic of the debate (the actual topic where the users will debate on).
  3. Activity description, a usual moodle field where you can upload pictures or other descriptions which can be viewed
    on either of the course page or the debate page or both. There is a checkbox while adding or deleting a debate
    instance allows to set up this feature.

Create teams in debate activity

You can create multiple teams for a debate activity for positive and negative side for a group of users. You will need to use the groups feature inside the course, create groups and use those groups as a part of each team. Each team can have:

  1. A name of the team.
  2. Number of responses allowed for the team.
  3. The side of the team, either positive or negative.
  4. The selection of groups for each team will determine which user goes to which team.

Debate activity allows you to control the response from the users

These are the following options available when it comes to accepting response from the users:

  1. Unlimited response - users can add as many positive and negative response as they want.
  2. Allow one response on one side - only one response is allowed on any one side, either positive or negative.
  3. Allow one response on each side - allow anyone to respond either on the positive or negative side.
  4. Use debate teams - use teams feature instead which will control these for individual teams.

Debate allows the control of activity completion of the module

These are the types of completion you can use:

  1. User viewing the debate activity (and/or).
  2. User submitting the required number of debate responses.
    (for example, the user will have to submit 2 responses to complete this module)

Debate logs all types of activities inside the debate instance

The following events are logged in moodle log:

  1. Visiting a debate instance.
  2. Adding a debate instance.
  3. Updating a debate instance.
  4. Deleting a debate instance.
  5. Adding a debate response.
  6. Updating a debate response.
  7. Deleting a debate response.

The debate also introduces capabilities for users and other roles inside a course

These are capabilities available:

  1. Add a new debate instance: allows users to add a new debate activity inside the course.
  2. View debate content: View the debate page where the actual debate will happen.
  3. Delete any debate response: Allows moderators or teachers to delete debate responses from users.
  4. Delete own debate response: Gives the user the capability to delete their own response.
  5. Update own debate response: Gives the user the capability to update their own response.
  6. Manage debate teams: Gives a teacher or manager the capability to create, update or manage teams.

Automated testing support

Debate activity includes automated testing support for testing any issues from the code.
I am continuously adding phpunit tests to the plugin, the coverage of test will increase time to time.

GDPR compliant

Debate activity includes privacy api to maintain GDPR compliance.

Want something more? Let's talk about it

If you have something you want for your organisation to be implemented, please create an issue in the link below:
https://github.com/safatshahin/moodle-mod_debate/issues I am always happy to talk about your requirements and discuss further.

Track progress of any current and future developments

https://trello.com/b/7nep6sSF/moodle-debate-plugin

Contributing

Any type of contribution, suggestions, feature request is welcome.
Please create an issue in GitHub to discuss before doing a pull request.

moodle-mod_debate's People

Contributors

safatshahin avatar safatshahinsd avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

leofreitas

moodle-mod_debate's Issues

Allow voting against responses

If you have a very large audience/ cohort many of the same arguments will be made, depending on your use case it would be better to add weight to an existing argument, both for and possibly also against

String identifier 'search:activity' missing

I get a warning in my installation (developer mode one) that the string identifier 'search:activity" was missing. Is is it possible that the string identifier "search_activity" should be called?

Timeslot für "discussion"

Having a starting - ending-time (like the assignment / quiz module)

functions to change this for groups or individuals (like the assignment / quiz module)

Invalid processing of the input text

When the input text is not a plain text (as dictated by PARAM_TEXT parameter) then the external function throws fatal error:

Invalid parameter value detected (Invalid external api parameter: the value is "<h", the server was expecting "text" type): Invalid external api parameter: the value is "<h", the server was expecting "text" type

image

Texts like this should be probably PARAM_RAW and be correctly processed upon output.

tranlated strings

Ive translated debate to cs, but some string are use wrog, eg. "Either the edit mode is active or no more response is allowed".
Tnx

Only site admins can create new teams

We've detected that only users with the site admin role can create "Debate teams". When a user with a teacher role wants to create the team, because the button is enabled, an error appears:

Sorry, but you do not currently have permissions to do that ({$a}).
More information about this error

With the debuger error activated the error is.

Sorry, but you do not currently have permissions to do that ({$a}).
More information about this error
×Debug info:
Error code: nopermissions
×Stack trace:
line 498 of /lib/setuplib.php: moodle_exception thrown
line 34 of /mod/debate/debate_teams_form_page.php: call to print_error()

In the "debate_teams_form_page.php" line 33 the code is:

if (!is_siteadmin()) {
print_error('nopermissions', 'error');
}

After the teams created by an admin user, the teacher cant' manage the temas also.

If the users can't create teams, the "Create new team" button have to be disabled.
If users can do that you can add the capability "Create debate teams". I think this is the correct option because the site admins don't have to create teams for all the other users.

https://www.loom.com/share/068756710b044f5c9ccc6b1d5f1c561b

Capability

actual, there is the capability mod/debate:view

perhaps also good:

  • writing (else guests can also write)
  • writing out of debate "time"
  • deleting responses (like moderation)

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.