• Resolved Uwe

    (@uwe-stegmann)


    Hola Javier,
    we have 3 custom user-roles let’s say A,B and C

    Importing I check user role subscriber and userrole A, but when imported the user has the roles subscriber and C.
    Making more tests e.g. checking subscriber, A,B and C, still the user get’s only subscriber and C. The roles A and B do not appear in anyway.

    Can you help ?
    Saludos,
    Uwe

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

    (@carazo)

    Uwe,

    Good morning, maybe you are not using the role slug as the value in each cell.

    If you use the slug it should work.

    I have the same problem. I am using the slugs.

    The custom user roles is initialized by functions.php

    The users are exported to CSV via WP Users Exporter since it can export multiple roles.

    Plugin Author Javier Carazo

    (@carazo)

    @daniel-w-1,

    Maybe you are not using it correctly.

    Please check the format:

    Multiple roles can be imported creating a list of roles using commas to separate values

    This is explained in the documentation.

    A list like this (quoted in the .CSV) will not work for me:
    … ,”custom_role_1, custom_role_2, custom_role_3″, …
    The role will then be the Default Role checked in the import settings.

    but a single role will be imported perfectly:
    … ,custom_role_1, …

    Am I missing something obvious?

    Plugin Author Javier Carazo

    (@carazo)

    Uhm, which user are you using to create the CSV?

    Try with LibreOffice, maybe the one you used make some bug saving the commas separated list.

    Thread Starter Uwe

    (@uwe-stegmann)

    Hola Javier,
    with a column ‘roles’ setting ‘subscriber,A’ it works fine.
    Thank you,
    Uwe

    Plugin Author Javier Carazo

    (@carazo)

    That’s great.

    Perfect.

    Anything you need more, create a new thread.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘custom User roles not working’ is closed to new replies.