Support Forum » User Profile

Forum Replies Created

Viewing 15 posts - 2,866 through 2,880 (of 3,787 total)
  • Author
    Posts
  • in reply to: No fields showing after migration #41604
    PeterPeter
    Moderator

    Hello,

    Yes, please delete that field from the ACF field group then you can do the migration then.

    Let me know how it goes.

    PeterPeter
    Moderator

    Hello,

    The argument post_parent__in accept an array of post IDs, it does not work with a string like parent. The MB builder also does not support passing a dynamic value, you need to add specific IDs or use the code to register the custom field to pass the dynamic value.

    Please read more on the following documentation
    https://docs.metabox.io/category/developer-guides/
    https://developer.wordpress.org/reference/classes/wp_query/

    in reply to: No fields showing after migration #41599
    PeterPeter
    Moderator

    Hello,

    I got the issue. There is a field type acfe_post_statuses which comes from a third-party plugin, not a native field type of ACF so there is no corresponding field type in Meta Box to display that field and it breaks the field group.

    I remove this field type from the JSON file and import the field group to my local site and it works correctly.

    You can download the fixed JSON file here https://drive.google.com/file/d/18C6EsnKiWQetmaMpSJFUoPEeILYnd8wH/view?usp=share_link
    and import it to your site.

    in reply to: Get all field type (Array of all types) #41594
    PeterPeter
    Moderator

    Hello Kevin,

    You might need to use the function rwmb_get_registry() to get all fields. Please read more here https://docs.metabox.io/functions/rwmb-get-registry/

    in reply to: No fields showing after migration #41593
    PeterPeter
    Moderator

    Hello Andrew,

    Please update Meta Box, MB extensions to the latest version, then deactivate all other plugins, switch to a standard theme of WordPress and migrate the field group again.

    If it does not help, can you please share some screenshots of the issue and export the field group to a JSON file and share it here? I will take a look.

    Please read more on the documentation https://docs.metabox.io/extensions/meta-box-builder/#export--import

    in reply to: Relationships and capabilities #41592
    PeterPeter
    Moderator

    Hello,

    Currently, there are no capabilities like that for other default post types of Meta Box, just for CPT meta-box (Field Groups). It would be a feature request and I will inform our development team to consider supporting this feature in future updates.

    in reply to: form not saving data #41587
    PeterPeter
    Moderator

    Hello,

    I see the field values are saved to the custom table correctly. In the View code, the field "Choose an option" has the ID choose_an_option but you add the ID choose_an_options to get the value and it returns nothing.

    {% set options = post.choose_an_options.value %}

    in reply to: Relationships and capabilities #41586
    PeterPeter
    Moderator

    Hello,

    There are 3 capabilities registered to control the field group, not the relationship. You can find them in the file /meta-box-builder/src/PostType.php
    But Meta Box does not support controlling the capabilities for user roles, it is the feature of a third-party plugin. I hope that makes sense.

    in reply to: Unable to get relationship to work with View #41583
    PeterPeter
    Moderator

    Hello,

    It looks like there is a plugin that modifies the WordPress query. I've deactivated all plugins except Meta Box, MB AIO then the relationship posts display as well on the frontend.

    in reply to: Unable to get relationship to work with View #41582
    PeterPeter
    Moderator

    Hmm, I do not see any issue with the provided information. Please share your site credentials via this contact form https://metabox.io/contact/
    and let me know where I can see the issue on your site.

    in reply to: Critical error #41578
    PeterPeter
    Moderator

    Hello,

    I import the shared JSON file to my local host, assign it to a post type, create a new post and add some value to the custom fields but do not see any issue.

    You can try to delete some choice fields in the field group on your site like checkbox, radio, taxonomy ... and check this issue again.

    in reply to: Unable to get relationship to work with View #41577
    PeterPeter
    Moderator

    Hello,

    I do not see the relationship ID in the screenshot, can you please take a full screenshot?

    PeterPeter
    Moderator

    Hello Bret,

    I suggest you can try to add all arguments to the helper function rwmb_meta(), for example:

    rwmb_meta( 'privacy', '', 123 );

    where 123 is the attachment ID. Because the helper function is not executed in a loop so you need to add the post ID to the third argument.

    Or you can try to use the function get_post_meta() if the code is executed earlier than the init hook with priority 20.

    Please read more on the documentation
    https://docs.metabox.io/functions/rwmb-meta/
    https://developer.wordpress.org/reference/functions/get_post_meta/

    in reply to: Unable to get relationship to work with View #41571
    PeterPeter
    Moderator

    Hello,

    Please share a screenshot of the relationship settings or generate the PHP code and paste it here, I will check if there is an issue with the settings.
    You may try to change the relation parameter from to to and add a specific post ID instead of filmmaker.ID to see how it works.

    in reply to: Relationship working on Author page but not Post #41570
    PeterPeter
    Moderator

    Hello,

    I do not see any issue with that relationship settings. Please share your site credentials via this contact form https://metabox.io/contact/ and let me know where I can see the issue. I will take a closer look.

Viewing 15 posts - 2,866 through 2,880 (of 3,787 total)