• Resolved Adrian

    (@thgie)


    I have filtering by User Role activated. But instead of the Role Label it shows the internal Role ID. I have some custom Roles made by Advanced Access Manager.

    The filtering dropdown now shows:

    aamrole_55151f7….



    administrator
    aktivtutor

    and some more.

    Is it possible to show the actual Role Label? Or where in the plugin code could I change that behaviour?

    https://wordpress.org/plugins/codepress-admin-columns/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Stefan van den Dungen Gronovius

    (@dungengronovius)

    Hi Adrian,

    Are you using the pro version of our plugin or the free version?
    Sorting, filtering and inline edit is not available in the free version of this plugin.

    Back to your question.
    It seems that you use a plugin to add some new User Roles that not really match the way WordPress has setup user roles. Are you using the default column ‘User Roles’ as a field? Or did you create a Custom field for User roles?

    If you use a Custom field to show the values of the custom Roles, there is not really a field type that matches the desired action. The value you see is the raw value that your plugin is saving for User Roles and the plugin does not know which related (label) field it should show.

    Thread Starter Adrian

    (@thgie)

    Hello Dungen

    Thanks for comming back at me. We use the pro version.

    – Yes, I did use a Plugin.
    – As far as I can see other plugins handle the new roles as expected. In example the ‘Members’ plugin, lists all roles by Label and not by internal ID.
    – I used the default ‘User Roles’ as field.

    ACP does display all roles by their ID and not their label. As seen by lowercase administrator instead of Administrator.

    Plugin Author Stefan van den Dungen Gronovius

    (@dungengronovius)

    Hi Adrian,

    I see what you mean now. Because this is a pro feature, I want to move this topic to our pro website (forum) or close this one. I’ve created a issue for this one and we hope we can fix this one for the upcoming release. You can track this issue on

    https://github.com/codepress/admin-columns-issues/issues/250

    Thread Starter Adrian

    (@thgie)

    Hi Dungen

    Thanks! Great Work.

    Plugin Author Stefan van den Dungen Gronovius

    (@dungengronovius)

    Just a quick update.
    A fix is made and will be included in our next release

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘User Filtering by Role – Labels instead of ids’ is closed to new replies.