• jakus

    (@jakus)


    Hi there,

    I was wondering how we’d go about importing Capabilities with this plugin?

    It’s for a membership section that assigns its users with a custom Capability.

    I’ve tried using a column titled ‘capabilities’ but it hasn’t worked. Seems to be ignored.

    Also can we import user meta items, using meta_keys? How would we format this in the CSV?

    Any help you can offer would be appreciated.

    Cheers,
    J

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

    (@carazo)

    @jakus,

    Currently this is not possible directly. You can try to do it using a serialized value but this is not user-friendly.

    If you want, we could do some kind of special column for this with a syntax of this kind: capability0, capability1…

    What do you think? I would need your support to be able to do it and include in a new version.

    Thread Starter jakus

    (@jakus)

    It’s pretty vital that we get it included, so I am happy to help in any way I can.

    Would this also cover any user_meta fields that could also be imported?

    Regards,
    J

    Plugin Author Javier Carazo

    (@carazo)

    @jakus,

    Ok write me to carazo AT codection DOT com and we talk about the support.

    Currently any user_meta field can be imported 🙂

    Thread Starter jakus

    (@jakus)

    Sorry how do I go about importing a user_meta field?

    Do I just include the meta_key name from the DB as a column header?

    I couldn’t see anything in the documentation..

    Cheers,
    J

    Thread Starter jakus

    (@jakus)

    Also; do I need to format the meta_value in this particular way (as an example):

    a:1:{i:0;s:17:”dashboard_primary”;}

    Cheers,
    J

    Plugin Author Javier Carazo

    (@carazo)

    Yes, in this way!

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Capabilities’ is closed to new replies.