Support Forum » User Profile

Forum Replies Created

Viewing 15 posts - 226 through 240 (of 3,915 total)
  • Author
    Posts
  • in reply to: "Metabox Extensions that require update" keeps coming back #49673
    PeterPeter
    Moderator

    Hello Andreas,

    Thanks for reaching out.

    Perhaps the MySheetEditor plugin utilizes the Meta Box plugin as a library in its source code. I recommend contacting the MySheetEditor plugin support to get further assistance.

    in reply to: Reordering Field Groups and Fields on Settings Pages #49672
    PeterPeter
    Moderator

    Hello Jayron,

    You can re-order field groups (meta boxes) on the settings page and re-order subfields in a group field when editing a field group as well. Here are screen records
    https://imgur.com/pjWbOZH
    https://imgur.com/TOvkfKQ

    Let me know if it doesn't work on your end or if it isn't your requirements.

    PeterPeter
    Moderator

    Hello Sean,

    I check the code that you created to output field value in the frontend, and there are some basic issues:

    1. $group_id = "gbr_' . $abbr . '_group";

    wrong single quotes to get the group field ID. It should be $group_id = "gbr_" . $abbr . "_group";

    2.

    $img_type = $group[ $field_name ] ?? '';
    $image_id = $group[ 'single_mon_image' ] ?? 0;
    

    you get the group value with this code
    $group_value = rwmb_meta( $group_id, [ 'object_type' => '' ] );

    but get the subfield value from $group variable. It should be

    $img_type = $group_value[ $field_name ] ?? '';
    $image_id = $group_value[ 'single_mon_image' ] ?? 0;
    

    I hope that makes sense.

    PeterPeter
    Moderator

    Hello Sean,

    Thanks for reaching out.

    I'm checking the issue and I will get back to you as soon as I have more information.

    in reply to: trigger rwmb_after_save_post manually #49664
    PeterPeter
    Moderator

    Hello,

    Then I don't have any idea how to trigger an action hook when importing data directly to the database. You can contact TablePlus support and ask them for more information.

    Thanks.

    in reply to: Default values not applying for radio and number fields #49663
    PeterPeter
    Moderator

    Hello Kyle,

    Thanks for reaching out.

    I'm not able to reproduce the issue on my demo site. The default value of the radio and number field displayed correctly when I create a new post. Can you please try again with another site or a clean site and see if it helps?

    Here is my screen record https://drive.google.com/file/d/13SN2e1-TZvrz95IX_zNvZN8fPuISVs25/view?usp=sharing

    PeterPeter
    Moderator

    Hello,

    Thank you for your feedback.

    I can reproduce the issue on my site. The FSE doesn't work when using a Block editor field. I've escalated this issue to the development team to fix it as soon as possible.

    PeterPeter
    Moderator

    Hello Jayron,

    Please try this custom CSS code to increase the switch field size and let me know if it helps

    .rwmb-switch-label {
        --size: 30px;
    }
    in reply to: Add custom fields to WooCommerce Order #49655
    PeterPeter
    Moderator

    Hello,

    No, it isn't possible. Meta Box will create input fields in the admin area, the user can fill the fields with values and output values in the frontend. We don't support adding field value on the Cart or Checkout page in the frontend.

    Thanks.

    in reply to: trigger rwmb_after_save_post manually #49654
    PeterPeter
    Moderator

    Hello,

    I'm afraid that it isn't possible. The action hook rwmb_after_save_post will be triggered after the post is saved. If you want to update the field value with the post ID after importing data with WP All Import, you can try to use their hook to update field value:

    
    add_action( 'pmxi_saved_post', function ( $post_id ) {
        update_post_meta( $post_id, '_my_read_only_field', $post_id );
    } );
    

    or create an SQL query to update field value manually in the database.

    in reply to: Recaptcha Action - Multiple Forms On The Same Page #49650
    PeterPeter
    Moderator

    Hello,

    MB Frontend form doesn't support the recaptcha_action setting. If you want to use a hook to modify the form, please check the available hooks here https://docs.metabox.io/extensions/mb-frontend-submission/#hooks-1

    Thanks.

    in reply to: Time field value resetting to zero #49649
    PeterPeter
    Moderator

    Hello,

    I've escalated the issue to the development team to fix it as soon as possible. I will let you know when I have more information form the team.

    Thank you.

    in reply to: hide a read only field #49647
    PeterPeter
    Moderator

    Hello,

    Thanks for reaching out.

    There isn't an option to hide a field without using conditional logic. You can use the field hidden, following the documentation https://docs.metabox.io/fields/hidden/

    in reply to: Add custom fields to WooCommerce Order #49642
    PeterPeter
    Moderator

    Hello,

    Please use the option WordPress posts storage (legacy) for order on the settings page WooCommerce > Settings > Advanced > Features, instead of HPOS (High-performance order storage) and recheck the issue.

    Let me know how it goes.

    in reply to: Time field value resetting to zero #49639
    PeterPeter
    Moderator

    Hello,

    I use your code in my demo site and see that the time field doesn't display the format with second value (ss). Please remove this setting to make it displays the saved value.

    'timeFormat' => 'HH:mm:ss',

Viewing 15 posts - 226 through 240 (of 3,915 total)