Support Forum » User Profile

Forum Replies Created

Viewing 15 posts - 496 through 510 (of 3,708 total)
  • Author
    Posts
  • in reply to: CSS/JS Not Enqueueing Properly? #17533
    Anh TranAnh Tran
    Keymaster

    Hi Daniel,

    I've just checked again with a fresh install. And it seems to work fine to me. Here is my video:

    https://www.loom.com/share/be5830bcdfdf4b8c9e985e343da00e9e

    Do you see any errors in the browser console? Is there any other plugin activated?

    Anh TranAnh Tran
    Keymaster

    Hi Mauro,

    I think I misunderstood your point. The improvement I made is for removing duplicated fields from the back end.

    I think in this case, you shouldn't add those email/password fields in the register form as it's already in the top of the form.

    Anh TranAnh Tran
    Keymaster

    I'm afraid there's no such option. Just wondering why would you want that?

    in reply to: Edit Frontend Submissions #17523
    Anh TranAnh Tran
    Keymaster

    Hi Nick,

    Yes, it's possible. Please see this tutorial for details:

    https://metabox.io/p1-add-guest-author-in-wordpress/

    It requires some coding, though. We're improving the plugin to make it easier for users.

    in reply to: Label placement besides Input? #17513
    Anh TranAnh Tran
    Keymaster

    Hi Rick,

    Label is always besides input. It's the default behavior and there's no options to change it. Perhaps I misunderstood. Can you give an example in MB Template vs MB Builder?

    in reply to: Convert ACF Fields to MetaBox? #17512
    Anh TranAnh Tran
    Keymaster

    Hi Rick, we have it on the plan but haven't done it yet. I've just pushed it to our team and will work on that in the next month.

    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.

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