Show
Setup
Create a CSV file with fields: username, firstname, lastname, email, password, theme.
Note 1: username, firstname, lastname, email at least are mandatory fields
Note 2: provide passwords to prevent CRON having to send a newly generated password
Note 3: Valid theme names are " boost " and " classic ". Add entries with invalid theme names too (e.g. ' clean ', ' more ')
Sample CSV:
username,password,firstname,lastname,email,theme
student1,P@ssw0rd!,Tom,Jones,jonest@example.com,boost
student2,P@ssw0rd!,Trent,Reznor,reznor@example.com,classic
student3,P@ssw0rd!,Troy,Barnes,troy@greendale.com,
student4,P@ssw0rd!,Donald,Barnes,donald@greendale.com,clean
User themes disabled.
Log in as admin.
Go to " Site administration / Appearance / Themes / Theme settings "
Make sure "Allow user themes" (allowuserthemes) is disabled
Go to the upload users tool (" Site administration / Users / Accounts / Upload users ")
Upload your CSV file.
Confirm that you see " User themes are not enabled, so any included in the upload users file will be ignored. " in the Status column of the " Upload users preview " page.
Press " Upload users "
Confirm that the users have been uploaded (indicated by the " New user " text under the Status column)
Confirm that you also see " User themes are not enabled, so any included in the upload users file will be ignored. " in the Status column of the "Upload users results"
Log in as any of the uploaded users.
Confirm that your theme is set to the default theme (e.g. Boost).
User themes enabled.
Log in as admin.
Go to " Site administration / Appearance / Themes / Theme settings "
Tick "Allow user themes" (allowuserthemes).
Save the changes.
Go to the upload users tool (" Site administration / Users / Accounts / Upload users ")
Upload your CSV file.
Check the "Status" column on the " Upload users preview " (Since you're uploading the same file, you'll see " Duplicate address " as well)
Confirm that you see " No theme is defined for this user. " for student3
Confirm that you see " Theme "clean" is not installed and will be ignored. " for student4
Under the " Upload type ", select " Add new and update existing users ".
Set " Existing user details " to " Override with file "
Press " Upload users "
On the " Upload users results " page, confirm that the users student1 and student2 have been updated (indicated by the " User updated " text under the Status column).
Just like in the " Upload users preview " page, confirm that you see " No theme is defined for this user. " for student3
Confirm that you also see " Theme "clean" is not installed and will be ignored. " for student4
Log in as student1/3/4.
Confirm that your theme is set to the default theme (e.g. Boost).
Log in as student2.
Confirm that your theme is set to Classsic.