Batch creation of blogs and users in WPMU
This task is part of the FellowshipHacks/Projects/Blog project.
To automate the data migration, all the existing Fellows user accounts and blogs must be created automatically on the WPMU platform.
People working on this task.
Volunteers are always welcome! Have a look at FellowshipHacks to know how you can help
Last updated on: 090128
The WPMU+LDAP feature to automatically create users+blogs can be used in batch mode (using wget).
Since we don't know all plaintext passwords for users that must be created, we set up a temporary LDAP directory with all users sharing a known password, to be used at user-creation time only.
Tested successfully the batch user+blog creation feature of the LDAP plugin using wget (as we do for FellowshipHacks/Projects/Blog/BatchRSS) using a known LDAP password.
- Tested the "fake LDAP directory" solution to the password problem
These are the only references I found on this topic (I've searched WP(MU) official sites and third party sites)
Two solutions are mentioned:
This is a script to mass-create blogs on WPMU
- Test it
Please note that the current version of the LDAP plugin doesn't have yet a feature to create multiple users at once; see the release notes (and comments): http://www.frozenpc.net/s9y/archives/285-WPMU-Ldap-Plugin-2.6-Released!.html
WP import users plugin
This is a WP plugin to create users for an existing blog; likely it won't work on WPMU.
Maybe it's easy to tweak it to create blogs on WPMU (optimistic
Possible custom solution
Some initial notes:
- Write a mysql script to clone the WPMU tables initially created for new users/blogs
- In this way we also have full control on default blog/user settings