Include Exclude not working in MB Builder
Support › MB Builder › Include Exclude not working in MB Builder
- This topic has 12 replies, 3 voices, and was last updated 8 years, 2 months ago by
tsttech.
-
AuthorPosts
-
February 2, 2017 at 11:34 PM #4948
tsttech
ParticipantDear Support,
I copied the setting from (https://support.metabox.io/topic/how-to-assign-roles-to-meta-boxes-using-the-mb/). As I want to only show Admin's the following information in the user section. So I have set the box to include User Roles 'administrator" and saved changes.
I have created three accounts, on the site. One set as admin and the other 2 are just Contributor's.
When I log in as one of the contributors i can see the section i am trying to hide. I know I must be doing something wrong, but I am not sure what it is.
Here is a screen shot.
Thank you
DaveFebruary 4, 2017 at 2:44 AM #4959Tan Nguyen
ParticipantI've checked and it works. Did you:
- Use the latest Builder version?
- Installed and activated Include/Exclude extension?Best regards,
Tan
February 6, 2017 at 8:17 PM #4977tsttech
ParticipantHi Tan,
I have the following installed.
MB User Meta v1.0.4
Meta Box v4.10.1
MB Builder v2.1.1
MB Columns v1.0.0
MB Include Exclude v1.0.5
and
Meta Box Updater v1.1.4Are they all ok?
Dave
February 7, 2017 at 12:11 AM #4982Tan Nguyen
ParticipantDear Dave,
Yes, all of 'em are Ok, can you please export your meta box and send me via email [email protected]? It's weird because I've tested one more time and it still works.
February 7, 2017 at 9:02 AM #4986tsttech
ParticipantDear Tan,
I have just send you the file.
Thank you for taking the time to look into this problem.
Dave.February 8, 2017 at 5:12 PM #5001Tan Nguyen
ParticipantDear Dave,
Sorry because I don't noticed that you use Include/Exclude with User Meta, currently it doesn't support User Meta. We'll improve it soon.
Cheers!
February 8, 2017 at 10:44 PM #5009tsttech
ParticipantDear Tan,
Thank you for the update. That you will try and fix it. Will it take long to have that function added?
Cheers
Dave.February 9, 2017 at 5:32 PM #5022Anh Tran
KeymasterHi Dave,
I've just updated the Include Exclude extension. It works with the MB User Meta extension now.
February 9, 2017 at 9:12 PM #5024tsttech
ParticipantDear Anh,
You guys are amazing. Where can i download the update? As need to move it to the other test site.
DaveFebruary 10, 2017 at 8:47 AM #5030Anh Tran
KeymasterJust go to your "My Account" page (click on your avatar) and download the "MB Include Exclude" extension.
Also, read this guide to know about automatic update.
February 10, 2017 at 9:58 AM #5034tsttech
ParticipantDear Anh,
Thank you again and I will sort out the automatic updates.
Two questions will the Include Exclude extension also work for the ID's or just groups?
This question is about MB Admin Columns, can I also create columns in the users admin screens or just all posts, pages or custom post type?
Thank you again
DaveFebruary 10, 2017 at 10:45 AM #5036Anh Tran
KeymasterThis is the list of supported conditions for Include Exclude extension. But if you use it for user profile (with User Meta extension), then you can use only "user_role" and "user_id".
If you want to show/hide fields for a certain ID/groups, you should use the Conditional Logic extension.
See this for the difference between Include/Exclude and Conditional Logic.
Regarding the 2nd question about MB Admin Columns: currently it works only for posts, pages and custom post types.
February 10, 2017 at 11:15 AM #5043tsttech
ParticipantDear Anh,
Thank you for explaining and I understand.
Again Thank you
Dave. -
AuthorPosts
- The topic ‘Include Exclude not working in MB Builder’ is closed to new replies.