Support Forum » User Profile

Forum Replies Created

Viewing 15 posts - 271 through 285 (of 3,704 total)
  • Author
    Posts
  • in reply to: Textarea and js #18469
    Anh TranAnh Tran
    Keymaster

    Hi Jackky, this issue relates to the sanitization mechanism. Please see this blog post for details and fix.

    Anh TranAnh Tran
    Keymaster

    Hi Johann,

    Thanks for your feedback. We'll check and fix the bug!

    in reply to: Frontend submission for woocommerce #18467
    Anh TranAnh Tran
    Keymaster

    Hi Sergio,

    We haven't had an extension for WooCommerce yet. For now, the MB Frontend Submission might work for WooCommerce (with simple fields like price), but we haven't tested it yet.

    in reply to: Password length #18466
    Anh TranAnh Tran
    Keymaster

    Hi, we've released a new version for MB User Profile 2 days ago addressing this bug. Please update.

    If you're using AIO (which hasn't released a new version yet), please set the password_strength="weak" in the login shortcode.

    in reply to: Textarea field no longer saving HTML #18465
    Anh TranAnh Tran
    Keymaster

    Hi FED,

    This is the sanitization mechanism. Please see this blog post for details and the fix.

    in reply to: Title of post is removed after updating the post #18464
    Anh TranAnh Tran
    Keymaster

    Hi netalys,

    You probably need to set attribute disabled or readonly for the title field. Please see this blog post to know how to create custom settings for post fields.

    in reply to: I am totally lost #18463
    Anh TranAnh Tran
    Keymaster

    Hi Jessica,

    Can you please check that if you choose to store custom fields in a custom table? Please go to Settings tab in the MB Builder (I guess you're using it), and scroll to bottom to see if the checkbox for custom table is checked.

    And do the fields show up on the back end?

    in reply to: Field conditional logic doesn't work with Gutenberg #18432
    Anh TranAnh Tran
    Keymaster

    Hi Yumiko,

    I found the problem. The post_type is not a Meta Box field, so using it the normal way doesn't work. You need to use outside conditions.

    Change your code to:

    add_filter( 'rwmb_meta_boxes', function ( $meta_boxes ) {
        $prefix = '';
    
        $meta_boxes[] = array (
            'title' => esc_html__( 'test', 'text-domain' ),
            'id' => 'test',
            'post_types' => array(
                0 => 'post',
                1 => 'page',
                2 => 'general',
            ),
            'context' => 'normal',
            'priority' => 'high',
            'fields' => array(
                array (
                    'id' => $prefix . 'post_mnfi92e2ko',
                    'type' => 'post',
                    'name' => esc_html__( 'Post', 'text-domain' ),
                    'post_type' => 'page',
                    'field_type' => 'select_advanced',
                    'class' => 'your-custom-class',
                ),
            ),
        );
    
        return $meta_boxes;
    } );
    

    Note that I added a your-custom-class to set a CSS class for your field. And then add the following code to your theme's functions.php file (or using a functionality/Code Snippet plugin):

    add_filter( 'rwmb_outside_conditions', function( $conditions ) {
        $conditions['.your-custom-class'] = [
            'visible' => ['post_type', 'page'],
        ];
        return $conditions;
    } );
    in reply to: add custom button to wsiwyg field #18430
    Anh TranAnh Tran
    Keymaster

    Hi,

    The wysiwyg editor uses wp_editor() function to render the editor. So it might use the same hooks as the default editor (I'm not 100% sure about that, this need to be checked and confirmed). You can try disable Gutenberg first, since tinyMCE in Gutenberg is heavily customized and hooks might not work.

    in reply to: [Feature request] Options to use native inputs #18428
    Anh TranAnh Tran
    Keymaster

    I see. For date, time fields, Meta Box uses its own field type. You probably need to create a custom field type to get rid of the overriding from the plugin.

    in reply to: Date Field doesn't save value correctly #18427
    Anh TranAnh Tran
    Keymaster

    Hi arkonisus,

    Thanks for your feedback. The year 2000 is interesting. I haven't experienced a similar issue. Let me check that and fix the bug.

    in reply to: Metabox AIO not available after last update #18426
    Anh TranAnh Tran
    Keymaster

    Hi Jefferson,

    Can you try re-downloading the plugin from your account page? I think there's some files missing or the download was broken.

    in reply to: How to filter post select field by metabox custom field? #18400
    Anh TranAnh Tran
    Keymaster

    Hi Rick,

    I think that can be done with some code. MB Builder couldn't help building complex queries.

    This is a pseudo code that can help you to start with:

    https://pastebin.com/hVnePVdN

    You might need to change the query to get the proper characters for you.

    in reply to: [Feature request] Options to use native inputs #18399
    Anh TranAnh Tran
    Keymaster

    Hi SIW, it's already supported.

    in reply to: Field conditional logic doesn't work with Gutenberg #18398
    Anh TranAnh Tran
    Keymaster

    Hi Yumiko,

    Thanks a lot for being our customer for years! I really appreciate that and your support!

    Regarding this issue: a problem here is you set the meta box to appear to only 2 post types post and general. So, when you set the conditional logic for post type = page, it can't work (because the meta box is not loaded for that post type). Can you please change the post_types parameter of the meta box to include page and try again? I've checked and seen that it supports post_type rule.

Viewing 15 posts - 271 through 285 (of 3,704 total)