Custom Certificate - Assignment Feedback Comments

Certificate elements ::: customcertelement_assignfeedbackcomments
Maintained by Joe Rebbeck
A Moodle mod_customcert element plugin that renders a student's assignment feedback comment text directly onto a generated PDF certificate.
Latest release:
9 downloads
2 fans
Current versions available: 1

Features

  • Automatic Truncation Handling: Includes a configurable character limit setting with automatic "Read more online" URL appended if threshold limits are exceeded. This text string can be altered in Language configuration.
  • Rich Formatting preservation: Preserves safe inline HTML tags (like bolding, italics, paragraphs, and list layouts) when rendering onto PDFs instead of bulk stripping.
  • Performance Cache Integrates: Uses indexed fast-queries with local cache storage pipelines built natively into database configurations to boost layout loads.
  • Compatibility V2 ready: Wired correctly out-of-the-box with conditionals supporting upcoming core `Element System v2` layout specifications node.

Requirements

Dependency: Version

  • Moodle: 4.1+
  • mod_assign: Must be installed and enabled
  • mod_customcert: 4.1+ (supports Element System v2 for 5.2+)

Configuration & Usage

Once installed to your moodle build, the element will appear as "Assignment Feedback Comments" inside the template bundle items menu.

Upon adding the element to a cert template:

  1. Assignment ID: Choose the target assignment mapping from the dropdown directory.
  2. Character Limit: (Optional) Enter the maximum allowed characters. Type `0` to display full feedback length boundaries.

Screenshots

  1. Overview
  2. Element Configuration
  3. Text Truncation
  4. Text Formatting

Limitations & Fallbacks

This element reads **only** from the *Feedback comments* sub-plugin (`assignfeedback_comments`).

Situation > Text Shown on Certificate

    • Assignment deleted / uninstalled > _Feedback not available_
    • Grader has not graded user yet > _Feedback not available_
    • Graded but with NO comment filled > _No feedback provided_
    • HTML tags exceed threshold > Safely closes open tags during shorten pass

Potential privacy issues

This plugin reads assignment feedback comment text from assignfeedback_comments (owned by mod_assign) and renders it onto a student's PDF certificate. It does not store any personal data of its own. A full Privacy API provider is implemented (classes/privacy/provider.php) which declares the external data sources, supports user data export for GDPR "Export my data" requests, and defers deletion to mod_assign's own privacy provider, as the data is not owned by this plugin.

Screenshots

Screenshot #0
Screenshot #1
Screenshot #2
Screenshot #3

Contributors

Joe Rebbeck (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments

Show comments
Please login to post comments