I ended up writing a bunch of MySQL statements. My process went:
- Add users into wp_users.
- Add first name into wp_usermeta.
- Add last name into wp_usermeta.
- Add nickname into wp_usermeta.
- Add last activity into wp_usermeta. (This is important for BuddyPress; otherwise, users won’t show up in the members-loop)
- Add name to BuddyPress.
- Add custom “phone” field to BP.
- Add custom “fax” field to BP.
- Add custom “company” field to BP.
If anybody doing something similar comes across this question and would like the SQL I used, feel free to message me. After half a dozen people requested the SQL code I have, I’ve written a blog post that includes the full SQL I used, plus a basic importer script. See: http://aendrew.com/content/importing-proprietary-user-database-buddypress-boss
Related Posts:
- Importing data for advanced custom fields plugin?
- importing data from non-wordpress mysql db
- Create Posts using Import>RSS/WXR/XML and pass values to Custom Fields
- Inserting data into MagicFields using mysql queries
- With WordPress Importer, why can’t I import post meta containing a multi-dimensional array, in which value(s) of that array contain line breaks?
- Remove old custom field after import
- Query meta field using between
- Insert post without actions/hooks
- Move value of one custom field to another
- Programatically import custom fields using wp all import [closed]
- Get multiple custom field values in a $wpdb query [duplicate]
- Difference between ‘LIKE’ and ‘IN’ in meta queries
- little help with a mySQL query to wp database
- BuddyPress – Hook to Update Custom Profile Fields [closed]
- MySQL query to set wp_postmeta using term_taxonomy_id value
- Redirect users based on custom field
- Importing from XML is ignoring serialized custom field
- Buddypress Add unserialized Profile Fields in Members Loop [closed]
- MySQL Query that looks for post with Custom Field, then changes Category
- Unique Post Meta Values
- Excluding Specific Fields from Profile Builder Registration Form
- Custom Profile Fields move from BBpress to BuddyPress
- Add custom field to all posts in specific post_type
- UPDATE on SELECT results. A SQL query to swap Author with Meta Box value
- Importing WordPress Posts With Custom Meta Data As CSV Files Through PHPMyAdmin
- Copy price categories to custom field
- If I update WordPress my custom data will be deleted from the wp_users table?
- Update post meta data (custom field) by post link
- Help setting up a sql query
- wpdb function insert doesn’t work
- How to improve my non-unique metadata MySQL entries?
- Very large list of options for BuddyPress profile fields
- Delete a custom field in mysql for all posts with specific category id
- Featured image from custom to WordPress database
- use mysql to replace one custom field value with another custom field value
- Copy url from post_content to custom field
- Import data from arbitrary CSV to WPAlchemy meta fields
- Convert many posts from having a specific meta_key to use a post_format
- Custom Search, MySql Query Gone Wrong?
- Can running a WP-Cron to update_post_meta cause performance issues?
- How to hide a field on the frontend of a Buddypress page by field ID according to user roles and login status?
- Contact Form 7 List Building
- author global display format
- Link fields in User Admin list
- register_form, custom field not submitted on first try
- How to use a custom field with add_rewrite_rule()?
- what would be a good example of a php dynamic code to display contents of textarea?
- want to add video upload option for front end user
- 4 Unique Random Posts based on Custom Field Values
- Populate custom post type/custom fields from an external database
- to create a custom post type with additionnal url field such as link to social network and an email field
- Create Meta boxes dynamically
- Custom field group on page
- How to save array option as text and not integer?
- Outputting custom field on home.php not outside of blog list
- Custom Fields Not Working In Footer
- How to delete attachments associated with custom field type when post property changes? [closed]
- How to repeate custom field group with bulk image field
- Importing URLs of Audio Enclosures
- Load one page with parent and child pages
- Output Custom Field value to shortcode
- Update custom table on metabox POST
- Why can’t I get the correct post permalink
- Get link picker custom field to show only if field exists
- PHP and Shortcode Combination
- Use a different catalog image than the featured image
- Sub Field of File Field
- ACF – Compare user and post data
- Login Api with Meta_key and Meta_value
- ACF plugin and field update
- Theme page headers and rotator images not assigned after website migration
- Advanced Custom Fields deleting some code and adding code for a slider
- Save input form on custom field
- Retrieving and inserting data in custom fields
- How to add custom fields to images for image source text and URL
- Counting number of images from loop
- Include a custom field in mysql query
- Page template is missing fields or is invalid when I updating the template
- User custom meta delete by serialised key value
- Metabox value for post loop?
- Adding fields to attachment – only shows when inserting new attachments
- Order categories by sum of custom fields
- how to modify a field’s size in a metabox : ROWS height, and scroll control?
- Add commentmeta custom field to every published comment with SQL
- Saved Post Meta Array Returns as String
- How to add content with a filter when there’s no content in the editor
- Login_form add to top of form rather then bottom
- meta_query ‘compare’ => ‘!=’ not working
- Weird characters displayed when importing WordPress MySQL db
- Advanced Custom Fields from Category – IF statement
- Check for meta data before it is published
- Query Multiple meta
- If metabox fields has content display content
- I have a form with a custom button ,i want to add the field data to an database when clicking the custom button
- Stop truncation of shortcodes in custom text fields?
- Delete custom meta
- custom field images do not display until page save
- How to check custom fields from functions.php
- Save custom post data outside of default post form
- display custom media folders to wordpress media popup