Support Forum » User Profile

Forum Replies Created

Viewing 15 posts - 3,286 through 3,300 (of 3,787 total)
  • Author
    Posts
  • PeterPeter
    Moderator

    Hello,

    Can you please try to deactivate all plugins except Meta Box, MB AIO and switch to a standard theme of WordPress then recheck this issue? The width of the input box can be affected by the style of the theme or a plugin on your site.

    in reply to: Add Image To Advanced Select Option #40453
    PeterPeter
    Moderator

    Hello,

    Thanks, I understand that you need to display the saved value when editing the post. I already said you need to use the selected attribute of the <option> tag to display the saved value first instead of Low value. You can read more on this topic https://wordpress.stackexchange.com/questions/105471/how-to-mark-an-option-as-selected

    For example:

    <?php 
        if( $meta == 'High' ) {
            $select = 'selected';
        }
     ?>
    <select id="alert_type">
        <option value="Low" data-img_src="/wp-content/uploads/2022/12/Low.png">Low</option>
        <option value="High" <?php echo $select ?> data-img_src="/wp-content/uploads/2022/12/High.png">High</option>
        <option value="Usage" <?php echo $select ?> data-img_src="/wp-content/uploads/2022/12/Usage.png">Usage</option>
        <option value="Non-Usage" data-img_src="/wp-content/uploads/2022/12/NonUsage.png">Non-Usage</option>
    </select>

    Then you can select High and Usage value to see how it works.

    Please note that, supporting customization code is beyond our scope of support, you can read more here https://support.metabox.io/topic/support-policy/.
    If it still does not work, you can request a customization service by submitting here https://metabox.io/contact/

    in reply to: Problems with columns when displaying taxonomies #40452
    PeterPeter
    Moderator

    Hello,

    Can you please share the code that registers the custom table also? The code above is used to register the custom fields.
    Please read more on the documentation https://docs.metabox.io/extensions/mb-custom-table/#using-custom-tables-with-code

    in reply to: Required field is stored empty #40451
    PeterPeter
    Moderator

    Hello there,

    I see the issue when the post is still saved but the field title is empty, I can also reproduce it on my local site. But I do not see the issue with core/button and core/media-text like your screenshot.

    If you remove the MB block, does the issue persist?

    in reply to: Use Profile field is not displaying (email) #40450
    PeterPeter
    Moderator

    Hello Sam,

    The field ID is user_email which is the default field ID of WordPress and the custom field created by Meta Box does not work in the admin area so you will not see anything output with Beaver Builder.

    You can try to change the field ID to another one like my_user_email, add the value for the field and recheck this issue.

    Please read more about the default field IDs here https://docs.metabox.io/extensions/mb-user-profile/#default-fields

    in reply to: Licence Management Bugs #40448
    PeterPeter
    Moderator

    Hello Julie,

    If you have a license issue, please contact us here https://metabox.io/contact/
    our support team will help you to fix it.

    PeterPeter
    Moderator

    Hello Sam,

    I see you are using the number field and it might not work correctly. Please use the text field and check this feature again.

    in reply to: MetaBox equivalent to `the_content` filter #40440
    PeterPeter
    Moderator

    Hello Brandon,

    Thanks for sharing the solution.

    I see it is the correct way to filter the field value when outputting with the helper function rwmb_meta(). Refer to the documentation https://docs.metabox.io/filters/rwmb-meta/

    PeterPeter
    Moderator

    Hello Sam,

    This option is available when you use the text field and it works correctly on my demo site in both backend and frontend (shortcode). Can you please share some screenshots of the issue on your site and share the site URL? I will help you to check the issue.

    in reply to: Malware Warnings #40436
    PeterPeter
    Moderator

    Hello,

    I've informed the development team to check this issue and I will get back to you when I have some information.

    in reply to: Limit number of choices - Checkbox list field #40435
    PeterPeter
    Moderator

    Hello Ben,

    There is no option/feature to limit the number of boxes checked. It could be a feature request for this field. Meanwhile, you need to create some custom JavaScript code to do that.

    in reply to: Problems with columns when displaying taxonomies #40434
    PeterPeter
    Moderator

    Hello there,

    Looking at your screenshot, I see the column Labels display one field value as well. So it could be an issue with other posts and other field values. Can you please share a screen record after you edit the second post and save the changes?
    Also, please share the code that creates the custom fields and custom table on your site. If you are using the builder, please refer to the documentation https://docs.metabox.io/extensions/meta-box-builder/#getting-php-code

    PeterPeter
    Moderator

    Hello,

    Currently, Meta Box does not support adding custom fields to the product data section of WooCommerce. You can try to use a third-party plugin to do that and also output the option on the frontend.

    in reply to: Gutenberg Block with Relation does not work anymore #40432
    PeterPeter
    Moderator

    Hello,

    If you view the block in the admin area, please remove this line in your code

    $post_id = get_the_ID();

    If you view the block in the frontend, you can keep it.

    If it still does not work, please share your site credentials (should be a staging site so I can make some tests there) to the contact form https://metabox.io/contact/, and let me know where I can find your code. I will take a closer look.

    in reply to: Get all MB field of a custom post type #40431
    PeterPeter
    Moderator

    Hello,

    If you are using the custom table, each custom field is a column and all field values of a post are saved to one row. So you can try to use an SQL query to get all field values associated with a post based on the provided post ID.

    For example: "SELECT * FROM your_table WHERE ID = { $post_id }"

    Please refer to the documentation https://docs.metabox.io/extensions/mb-custom-table/#query-posts-with-wp_query

Viewing 15 posts - 3,286 through 3,300 (of 3,787 total)