Displaying the XP block
When the plugin is used per course, the block must be individually added to each course. However, when the plugin is used globally, all instances of the block will use the exact same configuration.
By default, the permission to view the block is given to all users.
Adding the block anywhere
- Go to the page where you want to add the block to.
- Turn editing on.
- Click the "Add a block" button.
- Choose "Level Up XP" from the list.
To make the block sticky so that it displays on more pages than the page where it was added, please refer to official Moodle documentation.
Adding the block to everyone's dashboard
Follow these few steps to make the block available to all users on their dashboard.
- Go to the page "Site administration > Appearance > Default Dashboard page".
- Turn block editing on.
- Click the "Add a block" button.
- Choose "Level Up XP" from the list.
- Move the block to its preferred location.
- Click the button "Reset Dashboard for all users".
A common mistake users make is to add the block to their own dashboard, and then wonder why it is not visible to other users. The dashboard is a personal page, and thus blocks must be configured via the "Default Dashboard page".
Troubleshooting
If the "Level Up XP" option is not listed in the "Add a block" list, please confirm that:
- You have the permission to add the block (block/xp:addinstance).
- On the frontpage and dashboard, that XP is used in sidewide mode.
- The block was not locked by an administrator.