Support Forum » User Profile

Forum Replies Created

Viewing 15 posts - 2,161 through 2,175 (of 3,708 total)
  • Author
    Posts
  • Anh TranAnh Tran
    Keymaster

    Hello,

    This can be done with custom JavaScript. Here is the pseudo-code:

    First step: enqueue your JS file:

    add_action( 'rwmb_enqueue_scripts', function() {
        wp_enqueue_script( 'your-js-id', 'url-to-your-js', ['jquery'], '', true );
    } );

    And in your JS file:

    jQuery(function(){
        var $start = $( '#start_date' ),
            $end = $( '#end_date' );
        $start.datepicker( {
            onSelect: function( dateText ) {
                $end.val( dateText );
            }
        } );
    });
    Anh TranAnh Tran
    Keymaster

    Hello,

    To make the plugins work together, the key for user meta fields must be exactly the same. I remember Gravity Forms automatically creates key for fields which includes some numbers (the number 7 in your screenshot). I'll check more with GF. In the meantime, can you check if you can change the key for fields? It must be case-sensitive.

    in reply to: Forgotten test code on line 30 #9590
    Anh TranAnh Tran
    Keymaster

    Strange. Let me check the update system again. Thanks for letting me know.

    in reply to: Custom table save error #9576
    Anh TranAnh Tran
    Keymaster

    Hi, I've just fixed the bug in the version 1.1.3. Please update and let me know how it goes.

    in reply to: WP All Import/Export Add-on #9575
    Anh TranAnh Tran
    Keymaster

    Hi Jason,

    Yes, it's on the roadmap. We faced a heavy workload in the past few months, so we couldn't work on this feature. I'll try to get back to this as soon as I can.

    in reply to: Custom table save error #9564
    Anh TranAnh Tran
    Keymaster

    Hello, I got what you meant. Let me debug it.

    in reply to: MB Revisions in combination with MB Custom Table #9562
    Anh TranAnh Tran
    Keymaster

    Hello,

    The latest version 1.1.0 supports for MB Custom Table extension. Please update.

    Thanks.

    in reply to: Forgotten test code on line 30 #9561
    Anh TranAnh Tran
    Keymaster

    Sorry, I've just updated the extension and Meta Box AIO. Please update them.

    Thanks.

    in reply to: User registration #9552
    Anh TranAnh Tran
    Keymaster

    FYI, I've just completed the extension. Please get it here: https://metabox.io/plugins/mb-user-profile/

    in reply to: Custom table save error #9547
    Anh TranAnh Tran
    Keymaster

    Hello, can you give me the code to test? This seems to be a weird situation.

    in reply to: Problem with image advanced style #9534
    Anh TranAnh Tran
    Keymaster

    Hello,

    Is the field image_advanced? Do you have any custom CSS that might affect that? It seems not to happen on my side.

    in reply to: User registration #9529
    Anh TranAnh Tran
    Keymaster

    I faced some issues that took me so long to refactor the code. I promise to release this within 3 days. Please wait.

    in reply to: Date picker when cloned adds data when it shouldn't #9516
    Anh TranAnh Tran
    Keymaster

    Hello,

    When the timestamp is set to true, the date/datetime field will store values as an array in a group. This array contains 2 elements:

    • timestamp: the Unix timestampt
    • formatted: the formatted (user-entered) value

    This is a difference between a single date/datetime field, which stores only timestamp value.

    So, when you get the value from this field, please check both values.

    Here is the video that demonstrates how the data is saved:

    https://imgur.com/a/wHVSOWT

    in reply to: MB Frontend Submission #9515
    Anh TranAnh Tran
    Keymaster

    Hi, I've added your CPT "work" and it works. Here is the video:

    https://imgur.com/a/tsq8wNE

    in reply to: Hide Metabox Field on Custom Frontend Form #9514
    Anh TranAnh Tran
    Keymaster

    I see. Can you try CSS approach, like this:

    array(
        'name'  => 'Website Screenshot URL:',
        'desc'  => '',
        'id'    => $prefix . 'website_screenshot',
        'type'  => 'text',
        'class' => 'hidden',
    ),

    And in the Customizer > CSS and add this:

    .hidden { display: none; }

Viewing 15 posts - 2,161 through 2,175 (of 3,708 total)