Support Forum » User Profile

Forum Replies Created

Viewing 15 posts - 271 through 285 (of 4,839 total)
  • Author
    Posts
  • in reply to: List Innerblocks from parent block inside render_template #38188
    Long NguyenLong Nguyen
    Moderator

    Hi Nick,

    Currently, MB Blocks does not support getting a list of inner blocks or getting the inner block values. I will inform the development team to consider supporting this case in future updates.

    in reply to: not saving to custom table with two custom field groups #38187
    Long NguyenLong Nguyen
    Moderator

    Hi,

    Thanks for your feedback.

    Our development team is working on this issue, hopefully it will be fixed soon.

    in reply to: Ajax Form Submission - auto scrolling to the top of the page #38183
    Long NguyenLong Nguyen
    Moderator

    Hi Nick,

    I don't see that issue on my demo site. If the review form does not pass the validation, the browser will jump to the validation message.

    in reply to: iOS media browser scrolls to top of page when closing #38178
    Long NguyenLong Nguyen
    Moderator

    Hi Glen,

    Did you check the issue with the Featured Image option of WordPress?

    in reply to: How to change Registration heading #38177
    Long NguyenLong Nguyen
    Moderator

    Hi,

    There is no option to change the heading of the default fields, but you can follow this documentation to know how to override the default fields with your own fields https://docs.metabox.io/extensions/mb-user-profile/#edit-default-fields

    in reply to: Custom field blank in backend - present in frontend #38176
    Long NguyenLong Nguyen
    Moderator

    Hi,

    It looks like you are using the sanitization callback to add dots or commas to the number value and save it to the database. Then the field value is not a number, it will be a string/text and in the backend, the value will not display in the field appearance.

    Please use the field text to format the number value in both backend and frontend. Or use the custom field type multimask that is created by an expert Meta Box user https://github.com/badabingbreda/field-text-multimask

    Long NguyenLong Nguyen
    Moderator

    Hi,

    Can you please try to deactivate all plugins except Meta Box, MB extensions and switch to the standard theme of WordPress (Twenty TwentyTwo) and recheck this issue? I do not see that issue on my demo site.

    in reply to: iOS media browser scrolls to top of page when closing #38170
    Long NguyenLong Nguyen
    Moderator

    Hi Glen,

    Thanks for your feedback.

    This issue comes from the WordPress core itself, Meta Box just uses the media popup of WordPress to upload/select the media files so you can see it happens with MB custom fields.

    In this case, I recommend creating a bug report in WordPress Trac https://core.trac.wordpress.org/
    or create a topic on the WordPress support forum https://wordpress.org/support/forum/how-to-and-troubleshooting/

    in reply to: Restaurant form reservation with payment #38169
    Long NguyenLong Nguyen
    Moderator

    Hi Pierre,

    Thanks for reaching out.

    Currently, Meta Box does not support a frontend form that integrates with the checkout page or payment gateways of WooCommerce. I will inform the development team to consider supporting this feature in future updates.

    in reply to: Getting file link #38167
    Long NguyenLong Nguyen
    Moderator

    Hi,

    Ok, here is the sample code to output the file URL

    add_shortcode( 'uploaded_paper_link', function () {
        $id = get_queried_object_id();
        $uploaded_files = rwmb_meta( 'academicpdf', '', $id );
        $output = '';
        foreach ( $uploaded_files as $uploaded_file ) {
            $output .= $uploaded_file['url'] . '<br>';
        }
        return $output;
    });

    Let me know how if it helped.

    in reply to: 'Staging' is Being Counted Against the Number of Licenses #38166
    Long NguyenLong Nguyen
    Moderator

    Hi,

    Thanks for your feedback.

    The development team is working on this issue, I will get back to you later.

    in reply to: Link is an array #38161
    Long NguyenLong Nguyen
    Moderator

    Hi,

    Please share your site credentials via the contact form again https://metabox.io/contact/, I will help you to investigate the issue.

    in reply to: Getting file link #38160
    Long NguyenLong Nguyen
    Moderator

    Hi Yasmine,

    Can you please share the code that creates the field pdf? Is it a subfield in a cloneable group?

    in reply to: Button Field: Open "Add New" post in modal window #38159
    Long NguyenLong Nguyen
    Moderator

    Hi,

    Thanks for your feedback.

    Currently, MB Relationships does not support an option to open a modal popup and add a new post on this popup. I will inform the development team to explore the possibility.

    in reply to: Checkbox Custom Style #38152
    Long NguyenLong Nguyen
    Moderator

    Hi,

    You can use the filter rwmb_{$field_id}_wrapper_html to add some HTML code to the field appearance. For example

    add_filter( 'rwmb_checkbox_0eihjeboovwn_outer_html', function( $outer_html, $field, $value ) {
        $outer_html = $field['before'] . "<div class='{$field['class']}'>{$outer_html} - Some Text Here</div>" . $field['after'];
        return $outer_html;
    }, 10, 3 );

    Read more on the documentation https://docs.metabox.io/filters/rwmb-wrapper-html/

    Or check the admin area before adding the description for the field. For example:

    function your_prefix_function_name( $meta_boxes ) {
        $desc = '';
        if( !is_admin() ) {
            $desc = 'Field description';
        }
        
        $meta_boxes[] = [
            'title'  => __( 'My Custom Fields', 'your-text-domain' ),
            'id'     => 'my-custom-fields',
            'fields' => [
                [
                    'name' => __( 'Checkbox', 'your-text-domain' ),
                    'id'   => 'checkbox_0eihjeboovwn',
                    'type' => 'checkbox',
                    'desc' => $desc
                ],
            ],
        ];
        return $meta_boxes;
    }
Viewing 15 posts - 271 through 285 (of 4,839 total)