github michael-milette/moodle-filter_filtercodes v2.3.1
FilterCodes release 2.3.1 - 2022-06-07

latest releases: v2.6.1, v2.6.0, v2.5.1...
2 years ago

What's New in v.2.3.1

This is a bug-fix release. There are no new features.

Added

  • phpcs.xml.cont.dist file.

Updated

  • .gitignore file.
  • Fix-221: Resolved conflict between {mygroups} amd {ifingroup} tags when used at the same time.
  • Fix-222: Fixed PHPUnit v9.5 compatibility.

What's New in v2.3.0

Added

  • New {ifhasarolename roleshortname}{/ifhasarolename} tags.
  • Sample ALPHA code in the documentation to patch Moodle 4.0 themes for support in the custom menu.
  • New {courseprogresspercent} tag.
  • New {ifmobile}{/ifmobile} tags.
  • New {ifnotmobile}{/ifnotmobile} tags.
  • New {ifnotinactivity}{/ifnotinactivity} tags.
  • New {ifinactivity}{/ifinactivity} tags.
  • New {ifnotactivitycompleted id}{/ifnotactivitycompleted} tags.
  • New {ifactivitycompleted id}{/ifactivitycompleted} tags.
  • Support for optional course ID parameter in the {coursename} tag.
  • Support for optional course ID parameter in the {coursesummary} tag.
  • New {qrcode}{/qrcode} tags.
  • New {lastlogin} tag.
  • New {mygroups} tag.
  • New {teamcards} (ALPHA) tag.
  • New {ifnotvisible}{/ifnotvisible} tags.
  • New {showmore}{/showmore} tags (ALPHA).
  • New {menuadmin} tag.
  • New {mycoursescards} tag.
  • New fc-coursecontacts and fc-coursecontactroles classes for {coursecontacts} HTML.
  • New {coursecontacts} tag (formerly {courseteachers}).
  • {coursecontacts} can now optionally display user profile description.
  • {coursecontacts} can now optionally link to phone number.
  • New {chart progressbar x Title text} tag (ALPHA).
  • New {chart radial x Title text} tag (ALPHA).
  • New {chart pie x Title text} tag (ALPHA).
  • New {markborder}{/markborder} tags.
  • New {marktext}{/marktext} tags.
  • New {coursegradepercent} tag.
  • New {button}{/button} tags
  • New {ifnothome}{/ifnothome} tags.
  • New {label}{/label} tags.
  • New setting to enable/disable {categorycards} background.
  • New fc-categorycards class to {categorycards} to make it easier to customize.
  • New fc-categorycard-ID# class to {categorycards} to make it possible to customize background of card.
  • New {sectionname} tag.
  • New {hr} tag.
  • New {coursecardsbyenrol} tag.
  • New {userscountrycount} tag.
  • Missing support for {supportname}, {supportemail} and {supportpage} tags.
  • Known limitation in README.md regarding Moodle's 'Download course content' feature.
  • Compatible with Moodle 4.0 (ALPHA) - Note: Custom menu patch does not work in 4.0 yet.

Updated

  • Improve parsing of {scrape} tag. Improper syntax will no longer make Moodle crash, the tag just won't work properly.
  • {lang}, {idnumber} and {coursegradepercent} tags can now be used within other tags for example.
  • {coursesummary} tag is now processed through Moodle filters for multi-language support.
  • Fixed {coursecards catid}.
  • Fixed many tags that did not work if they contained a line break.
  • Tag %7Bcoursecontextid%7D now works.
  • Fix-166,168,191 multiple instances of date/time related tags (firstaccessdate, coursestartdate, courseenddate, coursecompletiondate, now)
  • {coursesactive} no longer count courses that are before start date or after end date, if any.
  • Renamed {courseteachers} tag to {coursecontacts}. No longer ALPHA.
  • {coursecontacts} now display's based on role coursecontacts setting in Site Admin > Display > Courses.
  • The {highlight} tag now uses HTML5 mark tags instead of span tags.
  • Replaced Learn Moodle link with Moodle Academy in menudev.
  • Page Builder link now works in menudev.
  • Photo Editor link now works in menudev.
  • Screen Recorder link now works in menudev.
  • Fixed undefined COMPLETION_ENABLED error on Dashboard.
  • Full name now supports RTL languages.
  • Refactored the {coursecards} code. No longer displays empty list.
  • Fixed {ifprofile_field_...} tag visibility and clarified documentation.
  • {coursecards} no longer displays hidden courses or those whose end-dates are past, unless you are an administrator.
  • Results from {course_field_shortname} and {course_fields} are now processed through Moodle filters.
  • Updated the documentation and fix typos.
  • Updated copyright notice to include 2022.

Don't miss a new moodle-filter_filtercodes release

NewReleases is sending notifications on new releases.