Moodle Plugins directory: Point of view - Feedback | Moodle.org
Point of view - Feedback
Moodle plugin « Point of View »
Quentin Fombaron - October 20th 2020, Astor Bizard - October 11th 2021
Centre des Nouvelles Pédagogies (CNP*), Univ. Grenoble Alpes - University of innovation
The plugin Point of view offers the possibility to react and give difficulty levels to activities within a Moodle course. Students know the difficulty of an activity (estimated by the teacher) thanks to color tracks. They also have the possibility to react via emojis, each representing an emotion, a feeling. It is fully customizable.
This plugin is developed by Quentin Fombaron and Astor Bizard. It is initially developped for caseine.org. Do not hesitate to send your thinking and bug reports to the contact addresses below.
Contacts:
- Quentin Fombaron
- Astor Bizard
- Caseine
* The CNP, set up as part of the IDEX Training component, brings together the DAPI, PerForm and IDEX support teams.
Point of View as a block
The Point of View plugin is a block. For general information about how blocks work, see Moodle documentation on blocks.
Usage
Once configured (see Configuration below), the block enriches the display of course modules with difficulty tracks and reactions.
Difficulty tracks
The difficulty track is set by the teacher for each module. It appears on the left of the module name.
By default, Green track, Blue track, Red track and Black track are available. These colors are customizable.
Reactions
Reactions are a way for students to express their point of view on a
module. The reaction interface is displayed on the right of the module
line.
The total number of votes for the module is displayed, as well as a
preview of reactions that have been voted for. A green dot indicates
that the user has voted.
Hovering the reactions or clicking on them reveals the different
reactions, allowing the user to vote for a reaction by clicking on the
associated emoji.
By default, the available reactions are "Easy!", "I'm getting
better!" and "So hard...". These texts and their associated emoji are customizable.
Only one vote per module is allowed for each user. Users can freely
change their vote, or remove it (by clicking again the previously
selected reaction).
Accessing reactions details
Teachers can access detailed information about reactions by clicking the link in the block content:
This leads to a table with information about votes for each user and each course module:
Information about reactions votes is displayed as percentages by
default. This can be toggled to number of votes by clicking on the
reactions:
Clicking the arrow on the right of a row allows access to detailed information about each user's vote on the module:
Configuration
Once added to a course, the Point of View block needs to be configured.
Enabling reactions
To enable reactions in the course, the following option needs to be set to Yes:
Once enabled on block level, reactions can be enabled or disabled for each course module by checking the "Reactions" checkbox:
Reactions can also be enabled or disabled for all course modules of one type:
...or for all course modules in a section:
Enabling difficulty tracks
To enable difficulty tracks in the course, the following option needs to be set to Yes:
Once enabled on block level, difficulty tracks can be set for each course module with a dropdown menu:
Customization
Reactions emoji
Custom emoji can be defined to be used as reactions pictures. This
can be done either at the site level (in plugin administration
settings), or at the block level (on the block configuration page).
Note: Only 3 different reactions ("Easy", "I'm getting better" and "So hard" by default) are available.
Site administrators can define custom emoji to be used as reactions pictures site-wide:
11 files are needed: 3 emoji, 7 emoji groups (all possible groups from 1
to 3 emoji) and 1 neutral emoji meaning no vote on the activity. Please
stick to the specified names.
| Emoji | Emoji group | No vote emoji group | |
|---|---|---|---|
| File names | easy.png better.png hard.png |
group_E.png group_B.png group_H.png group_EB.png group_EH.png group_BH.png group_EBH.png |
group_.png |
| Preferred size | 200x200 | 400x200 | 400x200 |
| Extension | PNG | PNG | PNG |
At the block level, teachers can choose which
emoji to use, as well as using their own custom emoji. The requirements
are the same as above.
At the block level, custom text to be used for reactions can also be defined.
Difficulty tracks colors
Site administrators can define custom difficulty tracks colors. This
is useful if your site uses a theme where one of the default colors
renders badly.
Note: Only 4 difficulty tracks (Green, Blue, Red and Black by default) are available.
Yes, this feature exists. While on editing mode, the block should suggest you that it may be enabled in sub contexts. You can also find this setting under the "Where this block appears" section (you need to make it appear also on modules pages).
Once done, reactions and difficulty tracks should also display on modules pages.
Best regards,
Astor
Ensure Bootstrap is being loaded before bootstrap-select
and there is no namespace collision.
TypeError: Cannot read properties of undefined (reading 'Constructor')
Point of View (or one of its dependencies) is loading bootstrap-select, which needs Bootstrap JS to be available first.
In Moodle 4, the Bootstrap framework is already built in (Boost theme is Bootstrap 4).
If the plugin tries to load its own Bootstrap copy, or loads bootstrap-select too early, it causes a namespace collision.
That error stops some Moodle JavaScript from finishing — including the code that toggles sections."
Ensure Bootstrap is being loaded before bootstrap-select
and there is no namespace collision.
TypeError: Cannot read properties of undefined (reading 'Constructor')
Point of View (or one of its dependencies) is loading bootstrap-select, which needs Bootstrap JS to be available first.
In Moodle 4, the Bootstrap framework is already built in (Boost theme is Bootstrap 4).
If the plugin tries to load its own Bootstrap copy, or loads bootstrap-select too early, it causes a namespace collision.
That error stops some Moodle JavaScript from finishing — including the code that toggles sections."
I cannot manage to reproduce your issue.
Please note that this block does not use bootstrap-select nor any bootstrap feature, and I am not aware of any direct dependency that may use it.
How do you end up with the conclusion that this plugin is the problem?
Can't find data record in database.
invalidrecordunknown
Can't find data record in database.
Have you find a potential solution for the co-existence with the tile format ?
Thank you again for the plugin,
Adrien
Didn't the update 2.4 solve your issues with Tiles format?
Astor
invalidrecordunknown
No se puede encontrar el registro de datos en la base de datos.
The debuger....
SELECT id,category FROM {course} WHERE id IS NULL
[array (
)]
Error code: invalidrecord
* line 1653 of /public/lib/dml/moodle_database.php: dml_missing_record_exception thrown
* line 1629 of /public/lib/dml/moodle_database.php: call to moodle_database->get_record_select()
* line 200 of /public/lib/classes/context/course.php: call to moodle_database->get_record()
* line 74 of /public/blocks/point_view/externallib.php: call to core\context\course::instance()
* line 0 of unknownfile: call to block_point_view_external::update_db()
* line 253 of /public/lib/external/classes/external_api.php: call to call_user_func_array()
* line 83 of /public/lib/ajax/service.php: call to core_external\external_api::call_external_function()
Is there any way to fix this?
I'm investigating this issue, I'll publish a fix as soon as possible!
Astor
I just released a fix that should solve the issue.
Sorry for the inconvenience and the delay.
I don't know how I missed that on the earlier versions 😅
Astor