What this plugin does
The Redeem a registration code block lets you enter a registration code directly on your Dashboard. A valid code enrols you in the course linked to it.
Who this is for
| Role | What they do |
|---|---|
| Learner | Redeems a registration code on the Dashboard |
| Platform administration | Places the block on the default Dashboard |
| Site administrator | Enables registration codes and chooses their mode |
Journeys by role
Learner: redeem a code
- Open your Dashboard and find Redeem a registration code. The hint reads "Have you received a registration code? The code automatically enrols you in the course linked to it."
- Enter your code and click Redeem a code.
- You are taken to the redemption page. If it shows your code in the form, confirm with Redeem a code there.
- After a successful redemption you return to the Dashboard with "Code redeemed. Your course access is ready."; otherwise the page explains why the code was not accepted.
Platform administration: offer the block to everyone
- Open the default Dashboard page, switch on Edit mode and add Redeem a registration code via Add a block. It is never placed automatically and can be moved or removed independently of LernHive My Learning.
Site administrator: enable registration codes
- In the settings of LernHive registration codes, turn on Enable registration codes and choose the Registration-code mode: Registration and redemption or Redemption only. The block appears only in these two modes.
Settings that matter
The block has no settings. Enable registration codes and Registration-code mode of the enrolment plugin decide whether it renders.
Limitations
- Only for signed-in users; guests and logged-out visitors see nothing.
- The block validates nothing itself; codes, limits and the linked course are managed in the enrolment plugin.
- Dashboard pages only, once per page.
Troubleshooting
The block is empty. → Registration codes are disabled, or you are not signed in.
The code is not accepted. → The redemption page names the reason (for example an unknown or used-up code). Ask the person who gave you the code.
Screenshots
No screenshots yet; there is no capture plan for this block.