Bulk Import Members (Users) Plugin for BuddyPress Site

We wanted to provide seekers at Unstructure , with a better experience and a richer profile. Keeping this in mind, we decided to include Buddypress .

While the site has been configured with Buddypress, one of the tasks that was required was to migrate users from a standard wordpress installation to the new buddypress members format. On finding, no plugin or tool available to do the same, I decided to write one.

The following defines how the plugin works, let me know your thoughts on this

  1. You can import UserName, FirstName, Lastname and Email. Where FirstName + LastName becomes FullName for BuddyPress
  2. Delimit your data with “[|]” (pipe sign) like username|firstname lastname|email@domainname.com
  3. Paste your data in the given box
  4. Choose any of the 3 Email notification options
  5. Click on the import user button

Download plugin from here (Version 0.1)
Download For New BuddyPress 1.0.1

59 thoughts on “Bulk Import Members (Users) Plugin for BuddyPress Site

  1. Kyle says:

    hey, great plugin!
    this saved my day…
    questions for you
    I’ve changed the Full Name (buddypress) field to be just “First Name” and added an additional field for “Last Name”
    how do I seperate the new user data to reflect that?
like this?
    please email me

  2. Kyle says:

    upon activation of this plugin, no matter how i enter the user info,
    I get “1 Error” & “Processing has been complete”
username123|firstname lastname|email@emial.com
    both show 1 Error and processing has been completed…
    what is the 1 Error ?

  3. Hi Kyle,
    There is no need to rename or add any additional field to BuddyPress. Please rollback the changes to default installation and try again.
    I am wondering how you have changed the Full Name (BuddyPress) field? Are you using RC1 or trunk?
    Please try copy and past following line
newtestuser|Firstname Lastname|email@yourdomainname.com

  4. @Oliver
    You have pasted plugin in wrong directory. Please move to mu-plugins directory
    It should look like :

    There is no need to activate it.

  5. @Dheeraj
    Try copy and paste line from the top of the given box. i.e. username|Firstname Lastname|email@yourdomainname.com
    Processing has been complete means that records submitted by user are processed with number of errors or number of records successfully imported or both.
    Can you please provide me record(s) which you are importing?

  6. Oliver says:

    I get this error message when activating the plugin:
    Warning: require_once(bp-core.php) [function.require-once]: failed to open stream: No such file or directory in /www/wpmu/wp-content/plugins/bulk-import-members-users/bp-user-import.php on line 29

  7. Kyle says:

    Got it working! thanks again…
    I would like to pay you to customize this for me…
    instead of just:
    username|firstname lastname|email@email.com
    i want to add additional fields/xprofile fields that can be inported
    like this:
    the Extra_field would be a xprofile field
    I’ve got $25-$100 for you if you can do this asap
    please email me… I will also be posting this to the buddypress forum

  8. Hi Manoj
    I noticed that my users on mu that joined before I had BD are not *available* on BP. For example I know the user exist but when you search for a user it says that you user without an update profile will not be found.
    I then got your plugin working. Thanks. To import my current mu users to become bp users on the same site.
    Can I use your plugin to do that?

  9. @ Johan
    For that you have to recreate those users through my plugin.
    Alternatively whenever any user perform any activity they will automatically start appearing in search.
    Sorry for the late reply (akismet marked your comment as spam)

  10. wpblogger says:

I was tested this plug-in, if possible according to the user to import will be even better.

  11. Internet Marketing Optimization says:

    Thanks a million….does this only work for previous wp users? I am trying to move a whole db of people from a directory (has those fields) over to a BP site…think it will work?

  12. @Internet Marketing Optimization
    It will work seamlessly if you have same fields.
    Even if you want to import more fields you can use my other plugin User Import for BuddyPress (All Fields)

  13. Shelley says:

    Do you know if there is a conflict with BP RC-2 and WPMU 2.7.1? I’m trying to figure out if the plugin needs an update or I’m doing something wrong.

  14. Shelley says:

    @manoj There have been so many sweeping changes between RC1 and RC2, I’d bet the plugin needs tweaking to reflect them. Specifically the directory changes could easily throw off the code.

  15. Macopoly says:

    Hi, I am so excited to find this plugin.
However I am trying to import multiple users but it is only importing one out of time.
    This is how I have the data set:
username|firstname |email@domainname.com
username|firstname |email@domainname.com
username|firstname |email@domainname.com
    Also, is there a way to allow capital letters in the username?

  16. @ Macoploy
    Thanks for using my plugin!
    Time-out is something that is related to the server, please check your server settings, as far as plugin is concerned there is no limit to data import.
    With regard to capital letters you can do this by hacking core buddypress code, but I do not recommend it.

  17. @ Shelley
    I will upgrade it shortly on svn.
    But you can make it work in BP v1.0 by commenting line no. 29 ie require_once( ‘bp-core.php’ );
    it should look like
    //require_once( ‘bp-core.php’ );

  18. Shelley says:

    Is there any way for this plugin to circumvent the email address restrictions in the BP admin? I want to have open registration for certain email domains only (our University email) while still being able to import users without University email.

  19. peter says:

    i get the following error when i try to activate the plugin:
    Warning: require_once(bp-core.php) [function.require-once]: failed to open stream: No such file or directory in /home/lpatucso/public_html/wpmu/wp-content/plugins/bulk-import-members-users/bp-user-import.php on line 29

  20. @peter
    1. remove line from plugin require_once(bp-core.php)

    2. Move all plugin files to mu-plugin directory, there is no need to activate this plugin

  21. manoj says:

    did that… uploaded to the mu-plugin dir. not sure what to do next. please explain? (sorry, im a nooby to wp)

  22. peter says:

    Sorry… removed the line as requested suggested, uploaded to the mu-plugin dir. not sure what to do next. please explain? (sorry, im a nooby to wp)

  23. CJ says:

    Will this add the users to the wordpress MU user list? or just into BuddyPress? Not sure how that works. I need to be able to import a massive list of users into MU. I do have BP installed too.

  24. Shelley says:

    I just upgraded to BP 1.01 and when I did the import it didn’t keep the First Last info. The username and email address were put in the right places, but it used the username for the Full Name field. It was working before the upgrade. Thoughts?

  25. Ray says:

    Hi Manoj, this plugin is going to be very useful!
    In an older comment, you said that additional profile fields would be available to add to the delimited list.
    Is this still in the works?

  26. I am a little confused, Do you have to go and type in each user, i have over a 1000. I did as instr. say, and it created 1 user

  27. Plugin could not be activated because it triggered a fatal error.
    Warning: require_once(bp-core.php) [function.require-once]: failed to open stream: No such file or directory in /usr/www/virtual/kenetik/www.findyourho.com/wp-content/plugins/bulk-import-members-users/bp-user-import.php on line 29
    Fatal error: require_once() [function.require]: Failed opening required ‘bp-core.php’ (include_path=’.:/usr/local/lib/php’) in /usr/www/virtual/kenetik/www.findyourho.com/wp-content/plugins/bulk-import-members-users/bp-user-import.php on line 29

  28. Thanks for the reply, the test works well, but let me ask, when initializing, do you need to have empty user database(except for admin) for it to work properly, I ask because I was able to import user via php, but not user meta. so I have the 1000 plus members showing in the mu site admin users, but on the botton user panel it only shows current signups? Your help is GREATLY appreciated

  29. Bas says:

    I’m using your plugin. But when I import users they don’t receive the WP-emails containing login and password. Thay are being created in the DB. WPMU 284a and BP1.1.1. Any know issues with BP 1.1+?

  30. @Bas : Please check your spam folder or wait for the mail. I am not creating my own functions for sending mail but just passing values to BP and WP functions. So if they are working correctly, mail should come.

  31. Bas says:

    Manoj Kumar, when I register just 1 user via WPMU (traditional style) I receive email with credentials. When I use your Bulk Importer it doesn’t work. I’ll check compatibility with other plugins / customizations.

Comments are closed.