adamjenkins/moodle-block_oerexchangecontributors

Dashboard block listing the OER Exchange's contributors as cards, sorted by contribution, each linking to that contributor's profile.

Maintainers

Package info

github.com/adamjenkins/moodle-block_oerexchangecontributors

Type:moodle-block

pkg:composer/adamjenkins/moodle-block_oerexchangecontributors

Transparency log

Statistics

Installs: 3

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v1.0.0 2026-08-22 13:34 UTC

This package is auto-updated.

Last update: 2026-08-22 14:46:44 UTC


README

A Moodle Dashboard block for the OER Exchange platform. It shows the people who publish to the Exchange as cards, ordered by what they have contributed, and links each card to that contributor's profile.

What it shows

One card per contributor:

  • profile picture and name;
  • any badges they hold, such as Trusted Contributor;
  • up to three expertise tags from their profile;
  • how many resources and how many courses they have shared;
  • how recently they last shared something.

The whole card is clickable and opens that contributor's public profile.

Two controls sit at the top. Sort by offers Most resources shared, Most courses shared and Recently shared. View as switches between Cards (picture-led, in a responsive grid) and List (a compact one-per-row layout that suits a narrow block region). Both re-render the list in place; with JavaScript turned off they still work as an ordinary form that reloads the page. A footer link opens the full listing of every contributor at /local_oerexchange/contributors.

Who appears

  • Only people with at least one resource currently published in the catalogue. Someone whose resources are all pending, hidden or taken down does not appear.
  • Only people who have left their Exchange profile publicly visible. Hiding your profile removes you from the listing.
  • Co-authors count. A co-author holds exactly the same rights over a resource as its creator, so they earn the same recognition, and a resource counts once for each of them.
  • Deleted and suspended accounts never appear.

Settings

Site-wide, under Site administration ▸ Plugins ▸ Blocks ▸ OER Exchange: contributors:

Setting Default Meaning
Contributors to show 6 How many cards a block shows
View Cards Cards or compact list, before the viewer changes it
Sort on load Most resources shared The order before the viewer changes it

Every block instance can override all three on its own configuration form, or leave them set to Use the site default.

Where it can go

The Dashboard (/my/) and the site front page. Note that if local_oerexchange's public landing setting is on, anonymous visitors are served the catalogue at the site root and never reach the normal front page, so on such a site this block reaches logged-in visitors only.

Requirements

  • Moodle 5.0–5.2, PHP 8.2–8.4.
  • local_oerexchange 2026082200 or later. The block renders that plugin's contributor_list class and cannot work without it; the installer enforces the dependency.

Privacy

The block stores no data of its own. It displays information local_oerexchange already stores, and the sort choice is transient — a URL parameter and an AJAX call, never a saved preference.

Licence

GPL-3.0-or-later. See LICENSE.