Skip to main content

Supported Activities and Resources

The Ranking Activities AI plugin displays the rating interface (Like/Dislike buttons) to students when they access certain Moodle activities and resources. The rating buttons only appear in the modules listed below; any other module type will not show the rating interface.

When a student opens one of the supported activities or resources, the Like/Dislike buttons are rendered on the page, allowing them to submit feedback as described in the Student Guide.

Supported Modules

The list below matches the whitelist in local/datacurso_ratings/classes/hook_callbacks.php (22 modules as of version 1.0.7).

#TypeMoodle Name
1assignAssignment
2bookBook
3chatChat (removed from Moodle core in 5.0+)
4choiceChoice
5dataDatabase
6feedbackFeedback
7folderFolder
8forumForum
9glossaryGlossary
10h5pactivityH5P
11hvpH5P – mod_hvp contributed plugin (distinct from h5pactivity)
12imscpIMS content package
13lessonLesson
14ltiExternal tool
15pagePage
16quizQuiz
17resourceFile
18scormSCORM package
19surveySurvey (removed from Moodle core in 5.0+)
20urlURL
21wikiWiki
22workshopWorkshop

Where the buttons are not shown

Even for a supported module, the rating buttons are not rendered when:

  • The plugin is disabled site-wide (Enable plugin in courses) or disabled for the course (Enable ratings for this course).
  • The user is not logged in or is a guest.
  • The page is an editing or configuration page (modedit.php, edit.php, mod_form.php, or an action=edit/editsection or update request).
  • The page uses the embedded, print, redirect or maintenance layout, or the site is still being installed.
  • The page is not a module page (/mod/...) inside a module context.

Notes

  • The plugin must be enabled in the general settings for the buttons to be visible.
  • chat and survey are listed for compatibility with Moodle 4.5; these modules no longer exist in Moodle 5.0 and later.
  • hvp requires the third-party mod_hvp plugin; h5pactivity is the core H5P activity.