• Resolved zuaz

    (@zuaz)


    Hello,
    I will try to be as brief and clear as possible.
    I have a website where there are 80 buddypress groups and I need to create a csv with more than 150 users where they will be divided into 80 groups.
    Currently, I have 3 users and the way I have created the CSV has been by exporting them and filling in the exported CSV.
    Users are created, but not added to groups.
    Could someone who has done something like this help me?
    Thank you very much,

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Javier Carazo

    (@carazo)

    @zuaz,

    Good morning in the documentation tab this is explained. I copy it here in Spanish:

    BuddyPress está activado Puedes usar el campo perfil que has creado y también puedes asignar uno o más grupos para cada usuario. Por ejemplo:
    Si quieres asignar un usuario a un grupo, tienes que crear una columna ?bp_group? y una columna ?bp_group_role?
    Después en cada celda tendrás que rellenar con el BuddyPress group slug
    Y el perfil asignado a este grupo: Administrador, Moderador o Miembro
    Puedes hacerlo con múltiples grupos a la misma vez usando comas para separar los diferentes grupos, en bp_group_column, p.e.:grupo_1, grupo_2, grupo_3
    Pero tendrás que asignar un perfil para cada grupo: Moderador, Moderador, Miembro, Miembro
    Si tienes un error de este tipo: Fatal error: Class ‘BP_XProfile_Group’ por favor activa Buddypress Extended Profile y luego importa el archivo CSV. Puedes desactivarlo después

    Thread Starter zuaz

    (@zuaz)

    Thanks Javier for such a prompt response.
    Before writing I had read the documentation and as some things I did not understand where to put them so I have first exported a CSV with the users there are. That way I understood that filling in the cells would be all OK.
    This section “Then in each cell you will have to fill in the BuddyPress group slug” is not entirely clear to me. Should I create a column bp_group_slug?
    When I export the CSV, the columns related to the groups that are exported are the following:
    – bp_group
    – bp_member_type
    – bp_goup_id
    Do I add bp_group_column, bp_group_role and bp_group_slug?

    Could it be that being private groups will affect imports?

    Thank you very much.

    Plugin Author Javier Carazo

    (@carazo)

    This section “Then in each cell you will have to fill in the BuddyPress group slug” is not entirely clear to me. Should I create a column bp_group_slug?

    No, you have to include in bp_group the group slug as this is told there.

    Thread Starter zuaz

    (@zuaz)

    Thank you very much Javier!
    I just ran a test and it’s solved.
    Greetings,

    Plugin Author Javier Carazo

    (@carazo)

    Thanks.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How can I import users into buddypress groups?’ is closed to new replies.