Skip to:
Content
Pages
Categories
Search
Top
Bottom

Importing Members from Joomla .csv


  • Robert
    Participant

    @robg48

    Hello,
    I have a .csv file, that I exported from my Joomla site, that
    I want to import into my BP site as members.

    The file contains:
    name, username, email, password (encrypted), register data, and last visit date

    What is the best way to do this that will capture the most information and
    will make them MEMBERS and not users – so that they will show up when someone
    clicks on the “members” tab?

    Thanks!
    Rob

Viewing 2 replies - 1 through 2 (of 2 total)
  • BP is just a plugin running under WP, WP handles users/registration. You need to create Users not members first so you’ll need to run up a little script to import the .csv file using fgetcsv() into an array then use that to loop over and set values to add for a user with the function wp_insert_user().

    BP recognises members when a user logs, in until that point you will have no populated members list, BP looks to usermeta key ‘last_activity’ to see if there is a value so you can, as your looping and setting a new user, then also set ‘last_activity with the php date function and a pause between each itteration so you get a unique time stamp for each (not that that’s vital)


    Robert
    Participant

    @robg48

    Hey Hugo,

    I appreciate the response but I’m afraid it’s beyond me – I can usually muddle through stuff but I’m a network engineer, don’t know much about php or scripting.

    I was able to use an import tool – but it only took username and email.

    Found some tutorials on the fgetcsv command….will give it a shot!

    Thanks for the info!
    Rob

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Importing Members from Joomla .csv’ is closed to new replies.
Skip to toolbar