How to assign roles to meta boxes using the MB

Support MB Builder How to assign roles to meta boxes using the MB

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #4524
    tsttechtsttech
    Participant

    Dear Support,
    Question how does one assign roles to a metabox? I have create some user meta boxes, but can not assign them roles in Members wordpress plugin. Would you know any role plugin which can assign roles to the user meta box.
    Thank you

    #4526
    tsttechtsttech
    Participant

    I have been doing more reading and it seems that i have to use "MB Include Exclude" to assign user role. Is this correct or should I be using "MB Conditional Logic"

    Also I am so sorry for stupid questions.

    #4529
    Anh TranAnh Tran
    Keymaster

    Yes, you should use the extension "MB Include Exclude". It supports to control the visibility of a meta box based on user role.

    #4534
    tsttechtsttech
    Participant

    Dear Anh,
    I must be doing something incorrect, as I can not hide the meta box i have created.

    I have set the include Exclude extension to include the administrator role, but i can still see the meta box when i login as an non-administrator. Am i doing something incorrect.

    The Custom Attributes is set for the following "key"=type "value"=user.

    #4538
    Anh TranAnh Tran
    Keymaster

    Can you make a screenshot of the settings?

    #4539
    tsttechtsttech
    Participant

    Dear Anh,

    Sure, please go to this link.

    http://50ccplus.com/user-roles-v1.JPG

    And Thank you so much.

    #4584
    tsttechtsttech
    Participant

    Dear Anh,

    I know this is a stupid question, but how would you limit access to the user box to only administrator access? Using the MBB.

    Thank you
    Dave

    #4609
    Tan NguyenTan Nguyen
    Participant

    Dear Dave,

    I have tested and it works, did you installed and activated the Include/Exclude extension?

    #4610
    tsttechtsttech
    Participant

    Dear Tan,

    Thank you for testing it for me. Can you explain what you did you get it to work? How did you only allow admin's to see the box?

    Dave.

    #4612
    Tan NguyenTan Nguyen
    Participant

    Dear Dave,

    Nothing is special here, here is my screenshot, similar with you:

    http://prntscr.com/ddx2lh

    After I did it, only Administrator can see the Meta Box.

    #4613
    tsttechtsttech
    Participant

    Dear Tan,

    Thank you for the screenshot and confirming how to do it. I will go back and try it again.
    Thank you again
    Dave.

Viewing 11 posts - 1 through 11 (of 11 total)
  • The topic ‘How to assign roles to meta boxes using the MB’ is closed to new replies.