michael-milette / moodle-filter_filtercodes

FilterCodes filter for Moodle enables content creators to easily customize and personalize course and site content using plain text tags (no HTML). For premium support, contact us at https://www.tngconsulting.ca/contact
https://moodle.org/plugins/filter_filtercodes
GNU General Public License v3.0
32 stars 43 forks source link

Bug: {teamcards} tag - Blank avatar image does not appear when gravatars is disabled and user has no profile image. #244

Closed michael-milette closed 1 year ago

michael-milette commented 1 year ago

Prerequisites

What happened?

The blank avatar profile image does not appear if gravitars are disabled.

What do you think should have happened?

A blank avatar image should appear if the user does not have a profile image, regardless of the Gravatar setting.

Steps to reproduce

  1. Login as site administrator
  2. Go to Settings > Site administration > Users > Permissions > User policies and disable Enable Gravatar.
  3. Create a page in Moodle, add the {teamcards} tag and save.
  4. View the page and see the issue.

Screenshots

image

Moodle version

All versions

Installed Moodle UI Language packs.

If other language(s), please specify

No response

Workaround

Use CSS to resize the text so that it is the same size as profile pictures.

Additional information

No response

System information

Not relevant.

Code of Conduct

michael-milette commented 1 year ago

This issue has been resolved as of FilterCodes 2.3.3.