Field Groups not following the correct Location settings

Support MB Builder Field Groups not following the correct Location settingsResolved

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #50009
    EddyPiVEddyPiV
    Participant

    I have set Locations for field groups: 2 groups for user role author and 2 groups for user role editor.
    But the field groups for the author are not appearing for the author, while the groups for the editor are appearing, for editor and for author.
    See here for a video: https://drive.google.com/file/d/1T5pRdkKa4PtwT5rZUwXs0m9xYniz0VQL/view?usp=sharing

    Although it should not make any difference: with the Members plugin I have renamed editor to Creator and author to Co-Producer.

    How can I get this corrected?

    #50013
    PeterPeter
    Moderator

    Hello Eddy,

    Thanks for reaching out.

    If you select the option "User Role", the user with the selected role will see the field group when editing the user. For example: you are "humilis" user, you have the role Creator, you will see the field groups "Creator Design" and "License" but not the field groups "Documents" and "Various".

    You can try to set the "User role" to "Administrator" for all field groups and recheck this issue. Read more about the include/exclude settings in the documentation https://docs.metabox.io/extensions/meta-box-include-exclude/

    #50016
    EddyPiVEddyPiV
    Participant

    Peter,

    If I understand it correctly, the advanced rules in the Location actually means to which user role(s) the group of fields applies. I know it says 'where to display the group', but isn't it really to which role it applies?

    This is not about semantics. Because there are 2 groups for user role creator and 2 groups for co-producer. But the groups for the creator are visible /applied to both roles, while the co-producer roles are NOT visible / applied to the co-producer.
    That's what I recorded.

    What's happening now is that
    - I have to take out the advanced rules to get the co-producer fields visible for the co-producer role
    - for the co-producer I have to fill values for required fields in the creator group to get changes on co-producer fields saved
    - I had to take out the advanced rules to get the group visible for the co-producer, and these are now visible to the creator as well. Same story there: If I want to update a creator field, I have to fill the required co-producer fields as well.

    Can you pls have a look again at my recording?

    What am I doing wrong / what am I missing?

    #50018
    PeterPeter
    Moderator

    Hello Eddy,

    I understand that you want to edit the field when editing the user role co-producer while you have another role, like administrator. You can use the setting Edited user role to show the field when editing a user who has the role co-producer. See this screenshot https://imgur.com/8hqQt1D

    Let me know how it goes.

    #50022
    EddyPiVEddyPiV
    Participant

    Peter,

    I didn't notice the edited user role, but honestly the concept of it is not clear to me. And the Include/Exclude documentation did not help me here.

    What I'm doing is I'm creating the field groups with MB and I show them with Views. My end-users never work in the WP admin area, they always work Frontend. Setting/updating field values are mostly done by a forms plugin and AutomatorWP to actually update the metafields.

    I'm the only one looking into the Group fields in the WP admin area.
    There are 2 roles, and they have different fields applicable to them.

    When setting the Advanced rule to User role, the Creator fields were shown for all user roles, but the Co-Producer fields were not shown for any role. Using now Edited User role seems to do the job, but still I don't understand the concept or the meaning of "Edited User" in this context.

    Anyway, it's working, so thanks for your support.

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.