Support » Plugin: Multiple Roles » Designate a role as Primary

  • Hi – Recently installed this plugin and it has been working as described. We use s2Member to manage the membership in our club. All members are assigned the s2Member Level 1 role. This is the primary role they need to access member only content on our site.

    When I export the membership data, I would like all members to show the Level 1 role. However, if I assign some members an Author role, that role is assigned during the export.

    I suspect that it is because the roles are listed in alphabetical order.

    Is it possible to add a field that designates one role as the PRIMARY role and the others as SECONDARY roles so that on export, the Primary role gets put ahead of all other roles?

Viewing 1 replies (of 1 total)
  • Plugin Author Florian TIAR



    I don’t know very well s2Member, but it seems that it’s more on the hand of s2Member authors than Multiple Roles plugin. Because even if I wanted to fix this issue, I guess I couldn’t fix it by my own with my plugin code. Imagine I add a primary role, how could I tell to s2Member “hey this is the primary role”, I guess the best solution is to ask s2Member to display all roles of the user, not only the first, they can easily do it with a foreach, withouth need any plugin function, it’s WordPress Core stuff.

Viewing 1 replies (of 1 total)
  • The topic ‘Designate a role as Primary’ is closed to new replies.