Support Forum » User Profile

Forum Replies Created

Viewing 15 posts - 496 through 510 (of 3,702 total)
  • Author
    Posts
  • in reply to: custom meta field for custom Taxonomies #17495
    Anh TranAnh Tran
    Keymaster

    Hi zhenglc,

    Comment meta is now supported in version 1.4.0. Please update. If you're using AIO, please wait, we'll update it in a few days.

    Anh TranAnh Tran
    Keymaster

    Hi,

    What was your email when you bought it?

    I meant the email address that you used to buy the plugins, not the email content. Looks like you have updated your email in your account, so the system doesn't recognize your license. Please just send me your old email and I'll take a look.

    Anh TranAnh Tran
    Keymaster

    Hey guys,

    I've just released a new version of MB User Profile with support for all of your requests:

    1. Added a new parameter email_as_username for the register shortcode, now you just need to add email_as_username='true' to your shortcode to let users use their email for usernames.
    2. No duplicated fields are displayed in the WP admin area anymore. Feel free to add WP fields such as first_name, last_name, etc.
    3. For custom avatar, please just use the image field and set 'max_file_uploads' => 1. Users won't be able to add more files.
    4. Messages are displayed properly now.

    If you have any feedback, please let me know.

    in reply to: Creating Gutenberg sidebar panels #17488
    Anh TranAnh Tran
    Keymaster

    Hi,

    This topic is about blocks, so I thought you're talking about it.

    What you want is moving the meta boxes to the sidebar. That can be done with the same parameter 'context' => 'side' for meta boxes. See this docs.

    Previously, Gutenberg moves all the meta boxes to the "after content" position, which is what you're seeing. It probably changed its behavior to accept side context. I've updated the Builder to reflect the change, so you can see the option within the Builder.

    in reply to: Creating Gutenberg sidebar panels #17480
    Anh TranAnh Tran
    Keymaster

    Hi,

    Regarding the meta boxes aside, it's already supported by MB Blocks. All you need to do is set the 'context' => 'side' for the block. Here is the docs for that:

    https://docs.metabox.io/extensions/mb-blocks/#context

    If you use MB Builder to create blocks, there's an option to set it as well:

    https://prnt.sc/q94hge

    in reply to: gallery not saved as intended #17456
    Anh TranAnh Tran
    Keymaster

    How did you create the gallery? Did you use group for that?

    In this case, I think all you need is just using the image_advanced field.

    Anh TranAnh Tran
    Keymaster

    Hi Daniel,

    I tried to format the “to” date in dependence of the from date field. Therefore I used the “minDate” option from the date picker options and hoped that I could get and set the date from the “from” field as a new date in the value field.

    I think this can be done only with custom JavaScript.

    Here are some steps that I'm thinking:

    First, add the following code to functions.php file, this code enqueues a custom JS file:

    add_action( 'rwmb_enqueue_scripts', function() {
        wp_enqueue_script( 'custom-code', get_template_directory_uri() . '/custom.js', ['jquery'], '', true );
    } );

    Second, create a file custom.js and put it in your theme. And put the following code in that file:

    $from = $( '#from' );
    $to = $( '#to' );
    $from.on( 'change', function() {
        $to.datepicker( "option", "minDate", $from.val() );
    } );

    Here I assume your fields has ID from and to. You might want to change it to something else if you have different IDs.

    in reply to: Cannot get rwmb_get_object_fields to work for setting object #17416
    Anh TranAnh Tran
    Keymaster

    Hi,

    Thanks a lot for your feedback! There was a bug with that function for settings page. I've just fixed it. Now you can use this code:

    $fields = rwmb_get_object_fields( 'settings-page-id', 'setting' );
    

    Just note that the 1st item should be settings page ID, not option name.

    in reply to: Group data in custom table not printed via shortcode #17415
    Anh TranAnh Tran
    Keymaster

    Hi Neal,

    Please see this video: https://www.loom.com/share/600b5473ebc343fdaaf440717af7088a

    I made a demo based on your code and it works.

    Anh TranAnh Tran
    Keymaster

    Hi, did you activate both AIO and MB Builder? If so, please remove the individual MB Builder. AIO already includes it and you just need to activate it in Meta Box > Extensions.

    in reply to: Minor tweak to responsive css #17412
    Anh TranAnh Tran
    Keymaster

    Hi Will,

    Thanks for your help. It's added to the new version which has just been released.

    in reply to: Delete Not Working #17410
    Anh TranAnh Tran
    Keymaster

    Good idea. I think another option like "force_delete" will work on this. I'll implement it in the next version.

    Anh TranAnh Tran
    Keymaster

    Hi Terran,

    Can you send me the code of the meta box that has problem with the conditional logic? The latest update of MB Frontend Submission doesn't have anything to do with the output of fields. It's quite strange that it breaks conditional logic.

    Anh TranAnh Tran
    Keymaster

    Probably that's right. If there is no plugins in My Account page, the update system will think that's an invalid license key. Have you purchased any premium plugin? What was your email when you bought it?

    in reply to: picture tag disappear after udating to 5.2.3 #17407
    Anh TranAnh Tran
    Keymaster

    Hi Huy,

    Probably this is the sanitization problem. Please see this blog post for details:

    https://metabox.io/meta-box-510/

Viewing 15 posts - 496 through 510 (of 3,702 total)