BuddyPress Member Export Import is a powerful plugin that allows you to manage your BuddyPress community members efficiently. Whether you’re migrating sites, backing up user data, or performing bulk updates, this plugin provides all the tools you need.
Key Features
- Export Members: Export all or selected members with their profile data
- Import Members: Bulk import new members or update existing ones
- Profile Fields: Full support for all xProfile field types
- Group Memberships: Export and manage group membership relationships
- Large Site Support: Optimized for sites with 50,000+ members
- Flexible Formats: Multiple export formats for different use cases
Requirements
- WordPress 5.0 or higher
- BuddyPress 5.0 or higher
- PHP 7.2 or higher
- MySQL 5.6 or higher
- Minimum 256MB PHP memory limit (512MB recommended for large exports)
Getting Started
Installation
-
Upload Plugin
- Navigate to
Plugins > Add Newin WordPress admin - Click “Upload Plugin” and select the plugin zip file
- Or upload the unzipped folder to
/wp-content/plugins/
- Navigate to
-
Activate Plugin
- Go to
Plugins > Installed Plugins - Find “BuddyPress Member Export Import”
- Click “Activate”
- Go to
-
Access Plugin
- Find the plugin under
Users > Member Export Import - Or in the main menu under “WBcom Designs”
- Find the plugin under
First Time Setup
-
Check BuddyPress Components
- Ensure BuddyPress is active
- Verify Extended Profiles component is enabled
- Enable Groups component if using group features
-
Configure PHP Settings (if needed)
max_execution_time = 300 memory_limit = 256M upload_max_filesize = 50M post_max_size = 50M -
Set Permissions
- Ensure WordPress upload directory is writable
- Check user has ‘manage_options’ capability
Exporting Members
Basic Export
Step 1: Navigate to Export
- Go to
Users > Member Export Import - Click on the “Export Members” tab
Step 2: Select Members
You have three options for selecting members to export:
Option A: All Members
- Check “All BuddyPress Members”
- This exports every member in your database
Option B: Filter by Role
- Use WordPress user roles to filter
- Select one or multiple roles
- Only members with those roles will be exported
Step 3: Choose Profile Fields
Profile Field Groups:
- Click “Select Field Groups” dropdown
- Available groups will appear:
- Base (Primary)
- Custom field groups you’ve created
- Select the groups containing fields you want to export
Individual Fields:
- Click “Select Profile Fields” dropdown
- You’ll see all available fields organized by group
- Check the fields you want to include:
- Name (First Name, Last Name)
- Bio/Description
- Date fields
- Checkboxes/Radio buttons
- Any custom fields
Pro Tips:
- Hover over field names to see field types
- Required fields are marked with an asterisk
- Some fields may contain sensitive data – export carefully
Step 4: Configure Export Options
Include WordPress Data:
- ✓ Include user email
- ✓ Include display name
- ✓ Include user role
- ✓ Include registration date
- ✓ Include last activity
Advanced Options:
- ✓ Include empty fields (keeps consistent columns)
- ✓ Include field IDs (useful for re-import)
- ✓ Include user meta data
- ✓ Export in UTF-8 with BOM (for Excel compatibility)
Step 5: Export Data
- Click the blue “Export Members Data” button
- A progress bar will appear for large exports
- The file will automatically download when complete
- Default filename:
bp-members-export-YYYY-MM-DD.csv
Export Formats Explained
Standard CSV Format:
user_id,user_login,user_email,first_name,last_name,bio,interests
1,johndoe,john@example.com,John,Doe,"Love hiking",Sports|Music|Travel
- UTF-8 with BOM encoding
- Properly escaped special characters
- Compatible with Excel 2016+
Importing Members
Preparing Your Import File
CSV File Structure
Your CSV file must include these required columns:
user_login– Username (unique, no spaces)user_email– Email address (unique, valid format)
Optional but recommended columns:
user_pass– Password (plain text or encrypted)first_name– First namelast_name– Last namedisplay_name– Display namerole– WordPress user role
Sample CSV Format
user_login,user_email,user_pass,first_name,last_name,role,city,interests
janedoe,jane@example.com,SecurePass123,Jane,Doe,subscriber,New York,Reading|Travel
bobsmith,bob@example.com,MyPassword456,Bob,Smith,subscriber,Los Angeles,Sports|Music
Import Process
Step 1: Navigate to Import
- Go to
Users > Member Export Import - Click on the “Import Members” tab
Step 2: Configure Import Settings
Import Limit:
- Default: 50 users per batch
- For large imports: Use 25-30 per batch
- For small imports: Can use up to 100
Password Options:
- ✓ Encrypt passwords during import (Checked by default)
- Use when passwords are plain text
- Uncheck if passwords are already encrypted
Update Options:
- Choose how to handle existing users:
- Skip existing users (default)
- Update existing user data
- Update only empty fields
Step 3: Upload CSV File
- Click “Choose File” button
- Select your prepared CSV file
- Maximum file size shown (usually 50MB)
- File preview will appear showing:
- File name
- File size
- Estimated row count
Step 4: Map Fields
After uploading, you’ll see the field mapping interface:
-
Automatic Mapping:
- Common fields are mapped automatically
- Review all mappings for accuracy
-
Manual Mapping:
- Left column: Your CSV headers
- Right column: BuddyPress fields
- Use dropdowns to match fields correctly
-
Field Types:
- Text fields: Direct mapping
- Checkboxes: Use pipe (|) separated values
- Date fields: Use YYYY-MM-DD format
- Select boxes: Must match existing options
Step 5: Import Members
- Review your mappings carefully
- Click “Import Members Data” button
- Progress indicator shows:
- Current batch being processed
- Number of users imported
- Any errors encountered
- Wait for completion message
Handling Import Results
Success Messages:
- “50 users imported successfully”
- Green checkmark indicates completion
Error Messages:
- “User ‘johndoe’ already exists” – Skip or update
- “Invalid email format” – Fix in CSV
- “Required field missing” – Add to CSV
Import Log:
- Check import log for detailed results
- Download error report if available
- Fix issues and re-import failed rows
Group Memberships Export
Understanding Group Exports
Group membership exports create a relationship map between users and groups, perfect for:
- Backing up group structures
- Migrating group memberships
- Analyzing community engagement
- Bulk group management
Export Process
Step 1: Access Groups Export
- Navigate to
Users > Member Export Import - Click “Export Groups” tab
Step 2: Review Statistics
The dashboard shows:
- Total Groups: All groups in your site
- Active Groups: Groups with at least one member
- Total Memberships: All user-group relationships
Step 3: Select Groups
All Groups:
- Check “All Groups” to export every group
- Shows total count in parentheses
Specific Groups:
- Uncheck “All Groups”
- Select individual groups
- Member count shown for each group
- Multi-select supported
Step 4: Choose Export Format
Normalized Format (Recommended):
user_id,user_login,group_id,group_name,group_slug,member_role,date_joined
34,johndoe,12,Photography Club,photography-club,member,2024-01-15 10:30:00
34,johndoe,15,Book Readers,book-readers,admin,2024-02-20 14:45:00
- One row per membership
- Best for database imports
- Includes all relationship data
Grouped by User:
user_id,user_login,group_names,group_slugs,group_count
34,johndoe,"Photography Club,Book Readers","photography-club,book-readers",2
- One row per user
- Comma-separated group lists
- Easier to read in Excel
Step 5: Configure Options
Additional Data:
- ✓ Include user details (email, display name)
- ✓ Include group details (status, description)
- ✓ Include inactive members (pending/banned)
Step 6: Export
- Click “Export Group Memberships”
- Large exports show progress bar
- File downloads automatically
- Filename:
bp-groups-export-YYYY-MM-DD.csv
Advanced Features
Batch Processing
For sites with large member bases:
-
Export in Segments:
- Use role filtering to export in chunks
- Export by registration date ranges
- Process alphabetically by username
-
Import in Batches:
- Split large CSV files into 1000-row chunks
- Use import limit of 25-50 per batch
- Monitor server resources
Custom Field Handling
Supported Field Types
| Field Type | Format | Example |
|---|---|---|
| Text | Plain text | John Doe |
| Textarea | Multi-line text | “Line 1\nLine 2” |
| Select | Single value | Option1 |
| Multi-Select | Pipe-separated | Option1|Option2 |
| Checkbox | Pipe-separated | Value1|Value2 |
| Radio | Single value | Choice1 |
| Date | YYYY-MM-DD | 2024-01-15 |
| URL | Valid URL | https://example.com |
| Number | Numeric | 42 |
Special Characters
Handle special characters properly:
- Commas: Enclose in quotes
"Smith, John" - Quotes: Escape with backslash
\"quoted\" - Newlines: Use \n in quoted strings
- Unicode: Save as UTF-8
Scheduled Operations
While the plugin doesn’t have built-in scheduling, you can:
-
Use WP-CLI for Automation:
wp bpxp export --type=members --output=daily-backup.csv -
Cron Job Setup:
0 2 * * * /usr/bin/wp bpxp export --type=members
-
Third-Party Schedulers:
- WP Crontrol plugin
- Server-level cron jobs
- Automation plugins
Best Practices
Before Exporting
-
Backup Your Database
- Always backup before major exports
- Use WordPress backup plugins
- Test restore process
-
Clean Your Data
- Remove spam accounts
- Update outdated information
- Standardize field formats
-
Plan Export Strategy
- Identify required fields
- Document field mappings
- Test with small sample
During Import
-
Start Small
- Test with 5-10 users first
- Verify field mappings
- Check imported data
-
Monitor Performance
- Watch server resources
- Check error logs
- Adjust batch sizes
-
Validate Data
- Verify user creation
- Check profile fields
- Test user login
After Operations
-
Verify Results
- Count imported/exported users
- Spot-check random profiles
- Test functionality
-
Clean Up
- Remove temporary files
- Clear plugin cache
- Optimize database
-
Document Process
- Note field mappings
- Record any issues
- Save for future reference
Troubleshooting
Common Export Issues
“Export Times Out”
Problem: Export stops before completion
Solutions:
- Reduce number of selected users
- Export fewer fields
- Increase PHP timeout:
set_time_limit(300); max_execution_time = 300
- Use WP-CLI for large exports
“Memory Exhausted Error”
Problem: PHP runs out of memory
Solutions:
- Increase memory limit:
memory_limit = 512M - Export in smaller batches
- Disable other plugins temporarily
- Contact hosting provider
“CSV File is Empty”
Problem: Downloaded file has no data
Solutions:
- Check user permissions
- Verify BuddyPress is active
- Ensure users exist in database
- Check PHP error logs
Common Import Issues
“No Users Were Imported”
Problem: Import completes but no users created
Solutions:
- Verify CSV format is correct
- Check required fields (user_login, user_email)
- Ensure usernames/emails are unique
- Review import log for errors
“Field Mapping Not Working”
Problem: Fields don’t map correctly
Solutions:
- Check CSV header names
- Remove special characters from headers
- Ensure no extra spaces in headers
- Match field types correctly
“Passwords Not Working”
Problem: Imported users can’t login
Solutions:
- Check password encryption setting
- Ensure passwords meet requirements
- Use password reset for affected users
- Test with known good password
“Special Characters Corrupted”
Problem: Accents, symbols appear wrong
Solutions:
- Save CSV as UTF-8
- Use UTF-8 with BOM for Excel
- Check database character set
- Avoid smart quotes from Word
Server Issues
“413 Request Entity Too Large”
Problem: File upload fails
Solutions:
- Reduce file size
- Update server settings:
client_max_body_size 50M; # Nginx LimitRequestBody 52428800 # Apache - Split into multiple files
“504 Gateway Timeout”
Problem: Server times out
Solutions:
- Increase timeout values
- Use smaller batch sizes
- Optimize server performance
- Consider using WP-CLI
Support
Getting Help
Documentation
- Developer Guide:
DEVELOPER-GUIDE - Hooks Reference:
HOOKS-REFERENCE - WBcom Docs: https://docs.wbcomdesigns.com
Support Channels
-
Plugin Support Forum
- WordPress.org support forum
- Community-driven help
- Search existing topics first
-
Premium Support
- Email: support@wbcomdesigns.com
- Support portal: https://wbcomdesigns.com/support
- Response within 24-48 hours
-
Bug Reports
- GitHub issues (if available)
- Include error messages
- Provide steps to reproduce
Information to Provide
When requesting support, include:
- WordPress version
- BuddyPress version
- Plugin version
- PHP version
- Error messages (exact)
- Steps to reproduce issue
- Export/import settings used
Useful Resources
Related Plugins
- BuddyPress
- BP xProfile Fields Manager
- BuddyPress Bulk Delete
- User Role Editor
Tools
- CSV editors (LibreOffice Calc, Google Sheets)
- Text editors (Notepad++, VS Code)
- Database tools (phpMyAdmin, Adminer)
- File splitters for large CSVs
Learning Resources
- BuddyPress Codex
- WordPress Developer Handbook
- CSV format specification
- UTF-8 encoding guide
Conclusion
BuddyPress Member Export Import is a powerful tool for managing your community. With proper understanding and careful use, you can:
- Safely backup member data
- Migrate between sites
- Perform bulk updates
- Analyze your community
Remember to always:
- Test with small samples
- Backup before major operations
- Follow best practices
- Seek help when needed
Thank you for using BuddyPress Member Export Import!
