Support Forum ยป User Profile

Forum Replies Created

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

    Hi John,

    Just want to let you know that the admin columns is done. There's no need to use the Admin Columns extension, everything is built-in the Relationships plugin. Please update and check the docs for how to use it.

    Cheers,
    Anh

    Anh TranAnh Tran
    Keymaster

    Done. I also made some improvements for the look and feel as well. Any feedback is welcomed!

    in reply to: Metabox AIO updates #9990
    Anh TranAnh Tran
    Keymaster

    Hi, the Meta Box AIO should be updated instantly after individual extension update. It just requires to do that manually and I forgot to do that yesterday. I'll do it now. Sorry ๐Ÿ™

    in reply to: โœ…Suggestions #9988
    Anh TranAnh Tran
    Keymaster

    Hi Dave,

    Thanks a lot for your suggestion. I really appreciate that. Let me put that in the dev plan ๐Ÿ™‚

    FYI: You can save and display date in 2 different formats: https://docs.metabox.io/using-two-date-formats/

    in reply to: Best Storage Strategy for Performance and Scalability? #9980
    Anh TranAnh Tran
    Keymaster

    Yes, that's true.

    Using flat-table helps you query against the value quicky, in case you want to access the data directly from SQL or via PHPMyAdmin. And when writing PHP code, you don't need to parse the array to get the value. This is also the standard way to store value. The serialized array is the special way WordPress uses to handle for its arrays.

    in reply to: Time Picker Bug? #9977
    Anh TranAnh Tran
    Keymaster

    Oops, let me check that. Thanks!

    in reply to: โœ…Label Placement #9976
    Anh TranAnh Tran
    Keymaster

    Hi Dave,

    In columns, the labels are moved to the top of fields, because if you have 3-4 columns, the layout looks weird and like broken. However, you can change the position with some custom CSS. Please just inspect the element and adjust the CSS.

    And yes, the group is divided by 12.

    in reply to: Best way to Bundle MetaBox.io? #9975
    Anh TranAnh Tran
    Keymaster

    Mauro, I really appreciate your feedback!

    I've just created a "full" composer.json file, so you can just grab it and remove what you don't need:

    https://github.com/wpmetabox/library/blob/master/composer/composer.json

    I'm trying to do what you say for the settings panel. I have an idea of building that based on Composer. Another option is improving the Meta Box AIO to support all free plugins. Either way, there's some work to do ๐Ÿ™‚

    in reply to: Custom Post Type menu within another Custom Post Type? #9973
    Anh TranAnh Tran
    Keymaster

    Hi Mauro,

    I've just updated the MB Custom Post Type on Github to support moving the CPT to be a sub-menu of another existing menu. Please try it and let me know how it goes. The new version will be available on wordpress.org soon.

    https://github.com/wpmetabox/mb-custom-post-type/

    Updated: New version has been released. Please update and let me know what you think ๐Ÿ™‚

    Anh TranAnh Tran
    Keymaster

    Hi,

    Thanks for asking this question. I've received this question several times after the integration with Beaver Builder. The answer is yes, I'll make an integration with Elementor. Probably after a month. There are some small things I need to improve in the plugins first. After that, I'll come back to Elementor and hopefully will get it done quickly.

    in reply to: required fields #9966
    Anh TranAnh Tran
    Keymaster

    Yes, your last snippet will work.

    I just wander why do you need to update a custom user meta? Doesn't it belong to a Meta Box? If it does, the Meta Box can handle all the saving. In case you want to add custom meta, beyond the scope of Meta Box, yes, it makes sense.

    in reply to: Best way to Bundle MetaBox.io? #9958
    Anh TranAnh Tran
    Keymaster

    Hey guys,

    To use Composer with free plugins on wordpress.org (where MB Rest API & MB Relationships are hosted), please use https://wpackagist.org/. It allows you to bundle any plugins for Composer.

    Updated: I've just written a guide on doing that. See it here:

    https://metabox.io/how-to-use-composer-to-install-meta-box-extensions-from-wordpress-org/

    It has a video tutorial in case you prefer watching!

    @Dave: Thanks for your suggestion. That's what we talked about on Facebook :). I really appreciate that. We talked about making a customizer, where users can select what they want and it will generate a package for that. Yes, I guess it's possible and it's on my plan. What you say about the AIO is true and let me try if I can bundle free plugins inside that.

    in reply to: required fields #9938
    Anh TranAnh Tran
    Keymaster

    Ah, if you want to keep the email field, then in the 2nd snippet, it's available in the $data, so you should keep it (e.g. don't assign it to a completely new array).

    The 2nd snippet should be:

    add_filter( 'rwmb_profile_insert_user_data', function ( $data, $config ) {
        // User strpos because the $config also contains default register form.
        if ( false === strpos( $config['id'], 'user-account' ) ) {
            return $data;
        }
        // Custom data for user.
        $data['user_login'] = 'my_user3';
        $data['user_pass']  = 'my_user_pass';
        return $data;
    }, 10, 2 );
    in reply to: โœ…edit profile #9937
    Anh TranAnh Tran
    Keymaster

    Hi,

    #1: Did you include the ID of the meta box?

    #2: Yes, the shortcode mb_user_profile_info has an attribute id for user ID. Please just use it.

    in reply to: Custom Table: new data not saved, old data not migrated #9936
    Anh TranAnh Tran
    Keymaster

    No, the data is where it is. Only new entries are saved in the custom table. You can write a custom script to migrate if you want.

Viewing 15 posts - 2,101 through 2,115 (of 3,708 total)