Support Forum » User Profile

Forum Replies Created

Viewing 15 posts - 1,936 through 1,950 (of 3,839 total)
  • Author
    Posts
  • in reply to: Unable to save in Bricks Builder after updating to 1.24.1 #44487
    PeterPeter
    Moderator

    Guys, we've released a new version of the plugin MB Revision 1.3.7. Please try to install and activate this single plugin on your site and use the Bricks builder again. You can activate it while activating Meta Box AIO.

    Let me know how it goes.

    in reply to: Last class added not working on front-end in Bricks Builder #44486
    PeterPeter
    Moderator

    Hello,

    If you don't use the extension MB Revision, please navigate to Meta Box > Extensions > Disable this extension and check the issue again.

    in reply to: Where is the data saved? #44485
    PeterPeter
    Moderator

    Hello Jayron,

    What is the data that you want to know? The field value or field settings?
    The field value (AKA post meta) is saved to the table wp_postmeta. The field settings are registered on page load and they are not saved to the database if you use the code to register the fields.

    PeterPeter
    Moderator

    Hello Bomes,

    It is difficult to remove the callback by using PHP code. An easy way is to use the CSS code to hide the meta box heading, for example:

    .rwmb-meta-box[data-object-type=user] h2 {
        display: none;
    }
    PeterPeter
    Moderator

    Hello Gerhard,

    You can try to pass a specific post ID and user ID to the MB Relationship API and see if it works:

    function create_team_member_profile($user_id) {
        ...
        // Check if Meta Box Relationships API is available and establish the relationship
        if ( function_exists('MB_Relationships_API') ) {
            // Correctly use the API to add the relationship from 'Team' post to 'User'
            MB_Relationships_API::add( 123, 456, 'team-member-user' );
        }
    }

    If not, I think the callback function is executed before Meta Box and MB extensions are initialized or the relationship ID isn't correct.

    in reply to: custom field data does not show, but is in the database #44482
    PeterPeter
    Moderator

    Hello,

    should the field name not have updated the database automatically?
    No. After creating the fields in the builder or registering with code, it helps you to show the field appearance on loading, there isn't any value in the database. You need to add something to the field and save the post to save the field value to the database.

    what do I need to edit in the database to get the fields back?
    You will need to use some custom code to update the field ID in the database. Please read more in this topic https://support.metabox.io/topic/update_post_meta-for-cloneable-group-fields/
    If you cannot complete the task, you can contact us here https://metabox.io/contact/
    We offer a customization service with an extra fee.

    in reply to: Not Showing on Front End? #44466
    PeterPeter
    Moderator

    Hello Andrew,

    If the block content shows the admin area, it should show in the frontend properly. You can try to deactivate all plugins except Meta Box, MB extension plugins, switch to a standard theme of WordPress and check this issue gain.

    If it persists, please share the template.php file content here, I will help you to check the issue.

    PeterPeter
    Moderator

    Hello,

    In the screen record, I only see the field settings query_terms_img, nothing more. So I don't understand the issue. Please share the code that registers the custom fields (both field groups) and screen record of the issue again.

    Thanks for your patience.

    in reply to: custom field data does not show, but is in the database #44464
    PeterPeter
    Moderator

    Hello,

    I understand the issue. The field ID in the builder is product_description but in the database, it is product_description:, notice the colon character :.
    I correct the field ID in the database and it shows when editing the post as well. Screenshot https://imgur.com/a/AzX9x0v

    in reply to: Uncaught TypeError: RWMB_Clone #44460
    PeterPeter
    Moderator

    Hello,

    Please share your site credentials via this contact form https://metabox.io/contact/
    I will take a look.

    in reply to: custom field data does not show, but is in the database #44459
    PeterPeter
    Moderator

    Hello,

    Please share your site credentials via this contact form https://metabox.io/contact/
    I will take a look.

    in reply to: Relationships search functionality #44454
    PeterPeter
    Moderator

    Hello,

    Currently, the relationship extension doesn't support an option or a filter hook to adjust the search result and display items. I will inform the development team to explore the possibility.

    Thank you.

    PeterPeter
    Moderator

    Hello,

    Meta Box functions are executed at init hook with priority 20. If you use a code editor plugin, you can try to run the snippet at the init hook with a priority later than 20 and recheck the issue.
    Otherwise, please contact that plugin support to get further assistance.

    in reply to: Single Field for Lat, Long #44452
    PeterPeter
    Moderator

    Hello,

    Please export your field group to a JSON file and share it here. I will check it on my demo site. Following the documentation https://docs.metabox.io/extensions/meta-box-builder/

    in reply to: Single Field for Lat, Long #44445
    PeterPeter
    Moderator

    Hello,

    No, you should create a separate text field with the ID address_xxx to retrieve the suggestions address for the map. Here ist the sample code:

    'fields' => [
        [
            'name' => __( 'Address', 'your-text-domain' ),
            'id'   => $prefix . 'address',
            'type' => 'text',
        ],
        [
            'name' => __( 'Lat', 'your-text-domain' ),
            'id'   => $prefix . 'lat',
            'type' => 'text',
        ],
        [
            'name' => __( 'Lng', 'your-text-domain' ),
            'id'   => $prefix . 'lng',
            'type' => 'text',
        ],
        [
            'name'          => __( 'Map', 'your-text-domain' ),
            'id'            => $prefix . 'map_v0mlzrv141',
            'type'          => 'map',
            'api_key'       => 'xxx',
            'address_field' => 'address',
        ],
    ]
Viewing 15 posts - 1,936 through 1,950 (of 3,839 total)