Migrate user data from one user to another in a single course context.
This is limited to a subset of named site administrators.
This system should not be used by anyone. It's seriously unsafe and only fits a VERY specific use-case.
- Copy the contents blocks_migrate_users folder to blocks/migrate_users.
- Make sure the folder and its contents are owned by your web server.
- Install the block as normal.
- Make sure you add a comma separated list of the approved admins who are responsible enough to use this block.
- Add the block to a course in which you need to migrate a users' data to another (dummy) user.
- Enter the original user's Moodle username (with real course data) as the "From" user.
- Enter the new (dummy) user's Moodle username (without any course data) as the "To" user.
- Click the "Migrate" button.
- Read the dire warning regarding data being migrated and make sure the users in question are correct.
- Once confirming the process, click the "Continue" button.
- The process should complete. If there is an error, please let me know ASAP.
- Click the "Continue" button to return to the course page and check the user data.
Not currently. We support the following:
- Enrollment
- Groups
- Logs
- Events
- Forum posts
- Course completion
- Grades
- Grade history
- Assignment submissions
- Assignment grades
- Assignment user flags
- Lesson data
- Quiz attempts
- Quiz grades
- SCORM data
- Choice data
LSUOnline requested a way to reset the course for a single user while still maintaining that user's data. This system allows you to enter the existing user's username along with the new (dummy) user's username to "migrate" the user info from the existing to new user, allowing the existing user to re-take the course as if it was their 1st time.
Really.