Support Forum » User Profile

Forum Replies Created

Viewing 15 posts - 2,836 through 2,850 (of 3,915 total)
  • Author
    Posts
  • in reply to: ✅Regex remove everything after @ (including @) #42092
    PeterPeter
    Moderator

    Hello Sam,

    Meta Box does not support adding the JS code to the field settings to adjust the input value like that. You can use the validation to validate the display name input when creating/updating the user profile. Refer to the documentation https://docs.metabox.io/validation/

    in reply to: Inserting Images via the Beaver Shortcode #42088
    PeterPeter
    Moderator

    Hello,

    With the single_image field, there are some supported return values: title, caption, alt, description.

    [wpbb post:meta_box field='single_image_id' display='title']

    in reply to: ✅Custom Taxonomy Block not respecting orderby #42087
    PeterPeter
    Moderator

    Hello,

    There isn't a way to pass the args manually when registering custom taxonomy with Meta Box UI. Also, I don't see the orderby in the list of accepted args when registering the custom taxonomy with code, please check the documentation
    https://developer.wordpress.org/reference/functions/register_taxonomy/

    in reply to: BUG in field group and WYSIWYG on page. #42084
    PeterPeter
    Moderator

    Hello Smith,

    Thanks for your feedback.

    There is an issue with the WYSIWYG field and our development team is working on this issue. Hopefully, it will be fixed soon. For now, please use the Text tab to add the value to the field and save the post.

    in reply to: Inserting Images via the Beaver Shortcode #42083
    PeterPeter
    Moderator

    Hello Chris,

    Now you can use the Beaver shortcode to display the single image URL
    [wpbb post:meta_box field='single_image']

    or display a list of images if using the shortcode to display image_advanced field

    [wpbb post:meta_box field='image_advanced']

    PeterPeter
    Moderator

    Hello,

    It's not an issue of Meta Box and needs some custom code to query the product variation so it is beyond our scope of support. If you are not able to complete the task, please contact us here https://metabox.io/contact/
    Our development team will help you with an extra fee.

    in reply to: ✅Conditional Logic AND Disabling a field #42075
    PeterPeter
    Moderator

    Hello,

    MB Conditional Logic only supports showing/hiding a field based on a condition. It does not support disabling a field. If you are familiar with coding, you can create some custom JS code to disable a field, refer to this topic https://stackoverflow.com/questions/5963099/how-do-i-disable-form-fields-using-css

    PeterPeter
    Moderator

    Hello,

    1. Thanks, I will inform the development team to consider supporting an option to set the data type manually in the builder.

    1A. Yes, the code is the step to create the custom table. You will need to link the custom fields to the table. In the builder, you need to enable option "Save data in a custom table" and add the table name to the option below, and don't enable option "Create table automatically", screenshot https://monosnap.com/file/z8Zg1W3PfLoLFFGR2ihvibBdqnnAhb

    3. You can follow the documentation https://docs.metabox.io/functions/rwmb-meta/
    to get the post meta (field value) based on the post ID. For example:

    $post_ids = rwmb_meta( 'where_to_buy' ); 
    
    foreach ($post_ids as $post_id) {
        echo rwmb_meta( 'vendor_url', '', $post_id ); 
    }

    3A. I'm not sure what is the search you want to use but it needs to have some custom code to create an SQL query in the database and it's beyond the scope support of Meta Box. Meta Box supports inputting values in the backend and outputting the value in the frontend.

    3B. Thanks for your feedback. I will inform our development team to improve the documentation and UI for easier to use.

    Final: What is the selector or field type you are mentioning? Do you mean the default select field of Object type and Post type when creating the relationship?

    in reply to: ✅Custom Taxonomy Block not respecting orderby #42071
    PeterPeter
    Moderator

    Hello Brandon,

    The custom taxonomy block is not created by Meta Box, it is the standard feature of WordPress. You can register a custom taxonomy with coding and enable show_in_rest to use the taxonomy block.

    in reply to: Cannot get any settings page values #42066
    PeterPeter
    Moderator

    Hello,

    Can you please share the generated PHP code from the field group that is assigned to the setting page? You can also use the WordPress function get_option() to get a setting page value.

    Your two functions get_mini_cta_value() and get_hero_status() look getting the field value associated with a post, not a setting page. Please read more in the documentation https://docs.metabox.io/extensions/mb-settings-page/#settings-fields

    PeterPeter
    Moderator

    Hello Scott,

    I do not see that issue on my site. Can you please take a screen record of steps you do on your site? Also, let me know which version of Meta Box and Meta Box extensions you are using.

    in reply to: mbfs_keys in options table #42040
    PeterPeter
    Moderator

    Hello,

    Each post submitted in the frontend submission form will have a unique key, stored in the option name mbfs_keys. Each key will store all information of the form settings.

    I hope that makes sense.

    PeterPeter
    Moderator

    Hello,

    1. If you are using the builder to create custom fields and custom table, we have a note for this case, the data type is TEXT to compatible with the most of field data: https://docs.metabox.io/extensions/mb-custom-table/#getting-started

    If you select the option Create table automatically, the plugin will attempt to create the table for you. Once it's done, you'll see the custom table in your database, which has columns that match your custom field IDs, each column per field ID. To make the data compatible with the field data, the plugin uses data type TEXT for all columns.

    2. The custom table created by Meta Box will have one ID column which is the post ID and the other columns are the field IDs. The column name must be matched with the field ID if you use the existing custom table. Read more in the documentation https://docs.metabox.io/extensions/mb-custom-table/#notes

    3. The relationship value is saved to a custom table wp_mb_relationships, you can create a relationship between post and page then check the data in that table.
    Also, the relationship does not work with the custom model created by the custom table https://docs.metabox.io/extensions/mb-custom-table/#custom-models

    4. I'm not sure if the custom table can work with WP All Import, you can follow this topic https://wordpress.org/support/topic/import-custom-fields-into-custom-table/
    or contact them to get further information.
    You can export and import the custom table by using PHPMyAdmin, I think it is easier to do.

    5. Bricks builder maintains compatibility with Meta Box, if you have any questions with Bricks, please contact them to get further information. Please read more here https://docs.metabox.io/compatibility/

    in reply to: Create a Delete Post link on Custom Post #42031
    PeterPeter
    Moderator

    Hello,

    You can try to change the Capability Type of the CPT to Post or Page and recheck this issue. If the user can delete the post, there should be an issue with the capability of the user.

    Or you can follow this article to delete a post https://www.isitwp.com/delete-post-from-front-end/

    in reply to: ✅Set Post Status #42023
    PeterPeter
    Moderator

    Hello,

    You can create a select field with options post statuses, then use the function wp_update_post() to update the post status after submitting a post on the frontend. Refer to this topic https://support.metabox.io/topic/controlling-post-status-in-front-end-dashboard/?swcfpc=1

Viewing 15 posts - 2,836 through 2,850 (of 3,915 total)