Forum Replies Created
-
AuthorPosts
-
Anh Tran
KeymasterOh I see. Glad that you figured it out ๐
Anh Tran
KeymasterI can't access the site. Can you send me the username/password via contact form?
Anh Tran
KeymasterAnh Tran
KeymasterHmm, that's strange. Can you post your code to create meta boxes here?
Anh Tran
KeymasterHi Thomas,
Thanks for a nice question. Yes, it's doable. In the code from the tutorial, notice this part:
add_filter( 'rwmb_meta_boxes', 'prefix_edit_meta_boxes', 20 );The last number is the priority of the code to add fields to a meta box. The plugin which has lower number will run first. So, if you have 6 plugins, just set different numbers for them in a order you want, like this:
add_filter( 'rwmb_meta_boxes', 'prefix_edit_meta_boxes_1', 20 ); add_filter( 'rwmb_meta_boxes', 'prefix_edit_meta_boxes_2', 30 ); add_filter( 'rwmb_meta_boxes', 'prefix_edit_meta_boxes_3', 40 );Anh Tran
KeymasterHi,
I'm afraid to say it's not possible at the moment. Fields must be created with Meta Box in order to work with the Group extension. Fields created by other plugins work in a different way. So, they're not compatible.
We're planning to write a conversion tool to convert fields created from other plugins to Meta Box. We haven't started it yet, because there are some higher priorities. But we'll try to do it asap.
Anh Tran
KeymasterHi Thomas,
Glad that you have resolved this problem. If you don't mind, please share your solution (or link to the tutorial) here so others can refer if they have a similar problem.
Thanks,
AnhAnh Tran
KeymasterI got it. The updating process for Builder is running. When it's finished, you'll see that option.
Anh Tran
KeymasterHi,
Regarding the 1st question: I think adding restriction to the form is ok, we can do that. However, even if the form is restricted, you still need to prevent non-wanted users to access that page? What do you think about this?
Regarding the 2nd problem: all post data is processed via
wp_update_postandwp_insert_post. We don't run any sanitize feature for that. However, you can use these filters to perform an extra check.This is an interesting question and I'd love to hear your feedback.
Thanks,
AnhAnh Tran
KeymasterUnfortunately no. We've added the requirement to create new term for taxonomy field for Meta Box. We'll work on that asap.
Anh Tran
KeymasterHi, which field are you referring to? Have you tried dot notation?
Anh Tran
KeymasterThanks for your bug report. We'll check it and update the extension asap.
Anh Tran
KeymasterHi, user role is actually not supported in Conditional Logic yet. Because the user role is always fixed and can't be changed while editing, using it for conditional logic seems not convenient. Instead of Conditional Logic, you can use the MB Include Exclude extension which supports well for the user role.
Anh Tran
KeymasterCan you please send me the code of the settings page to test?
Anh Tran
KeymasterHello David, at the moment, the MB Custom Table still relies on the custom post types to store the post data such as post title and post content. It supports only saving custom fields in the custom tables.
We're working on an enhancement that brings more power to this extension, which allows you to store any content separately from the wp_posts table. That will include both the custom fields and post fields. But it's not ready yet and you need to wait.
Best regards,
Anh -
AuthorPosts