Batch Create is the advanced option designed to allow Super admin users to quickly create a large number of blogs or users.

For best results, use Google Spreadsheets to create your spreadsheet and then download as a .csv file.  The .csv file is uploaded to Sites > Batch Create or Users > Batch Create in the network admin dashboard.

Below are examples of how batch create can be used and what the batch create file needs to look like:

1.  Create new users and blogs.
Create sites

  • blog URL is myschool.com/sitename e.g myschool.com/samb18
  • If password field is left blank the user is sent an email with their username password info that includes a link to set their own password.
  • The user role on a new blog must be administrator.  You can only assign a different user role when adding a user to an existing blog.

2.  Create new users with preset password or auto-generated password.
Create username

  • If password field is left blank the user is sent an email with their username password info that includes a link to set their own password.
  • When site name and site title is left blank you’ll see messages after uploading the batch create file that say Empty blog name, blog title not valid and blog will not be created.  Ignore these messages and click Process Items if you only want to create usernames.

3.  Add new users to existing blogs with preset password or auto-generated password and set role.
Existing site with new users

  • The two new users are added to existing blog URL myschool.com/stevep18 assigned the role of contributor or subscriber.
  • If password field is left blank the new user is sent an email with their username password info that includes a link to set their own password.

4.  Add existing users to existing blogs with set role.
Existing user to a site

  • The user is added to existing blog URL myschool.com/stevep18 assigned the role of contributor.

5.  Add display name when create user account.

Add Display name

  • You can set the display name when processing a batch create file for new users by adding their display name to a column after the user role.
  • You need to network activate the Display Name enhancement plugin in Plugin > Plugin Management in network admin to list the display name in Users > All Users in the dashboard of the site.  This is helpful on networks that use alphanumeric usernames as it allows an admin user to search by display name in Users > All Users in the dashboard of the site.

Using Batch Create

1.  Set up your batch create file using a Google Spreadsheet with the following header row and format:
Batch create header row

  • Needs to be written in this order –Site Name,Site Title, username, password, user email and user role (display name optional after User role column).
  • Each new user must be on a separate row and each of a users details in a new column.  Refer to the examples above to see how to add the information for each user.
  • Each user must have their own unique email address; you can’t use the same email address for more than one user or the site will be created against the first username that has been attached to that email address.

2.  Once you’ve added the sites and usernames download as a .csv file onto your computer.
CSV file

3.  Go to Sites >  Batch Create in the network admin dashboard.
Batch Create

4.  Select Yes if your file has a header row.
Select Yes

5.  Select ‘No‘ for local users.

  • You only see the local user option on CampusPress networks that are set to authenticate against their single-sign on system, like Google Apps, LDAP, shibboleth, CAS.  On these networks No needs to be selected otherwise the user accounts will be created as local users and the users won’t be able to log in with their school username and password.

Local Users

6.  Select the template blog you want to use if you are using New Blog Templates.

  • The New Blog Templates tool allows Super Admins to set up blog templates that can be used for creating other blogs that are almost an exact copy of the template blog. Using blog templates, you can ensure all newly created sites have the same appearance, header image, categories, widgets, plugins and your own customized content in posts, pages and comments.

Select Template

7.  Select ‘Yes‘ if you want to add new blogs and users to a class blog.

  • You only see the class blog option on CampusPress networks that have the Classes plugin network activated.
  • This automatically connects a student blog to the class blog when their new blog is created.

Add the class blog ID by searching using the blog path.  When you type in the blog path into the ‘search by blog path’ field it automatically searches for the blog URL.

Select Class blog

8.  Upload your Batch Create file as a .csv file.
Upload batch create file

9.  Click Run Batch Create.

10.  The batch create queue will load after the batch create file has been uploaded.

11.  Check all items to confirm all details are correct.
Queue

12.  Click Process Items if all details are correct or click Clean Items if the details aren’t correct to upload a new batch create file.

Important tips:

  • Create a maximum of 100 sites or users per batch create file.  This reduces the risks of you making a mistake when creating the batch create file.
  • Start by testing batch create using 10 sites or users in your batch create file and send your batch create file to contact@campuspress.com so we can check the file has been set up properly before it is uploaded to batch create.