Support Forum » User Profile

Forum Replies Created

Viewing 15 posts - 706 through 720 (of 3,958 total)
  • Author
    Posts
  • in reply to: Save multiple posts at once #16432
    Anh TranAnh Tran
    Keymaster

    Hi Jeremy,

    If each event is a post, then you probably don't need MB Group. Creating fields for events and saving them in the custom table is straight-forward. But that doesn't help you adding events fast.

    I'm thinking about creating a custom page for entering data...

    in reply to: Add custom fields search filters #16414
    Anh TranAnh Tran
    Keymaster

    Hi Eliodata,

    At the moment, to quick find the users, I'd suggest using MB Admin Columns extension. It doesn't support search for custom fields, though.

    in reply to: File upload not working #16413
    Anh TranAnh Tran
    Keymaster

    Hi, this bug was fixed here. Please try it.

    Anh TranAnh Tran
    Keymaster

    Hi,

    You should transform the data from the REST response. Here is the example:

    $data = your_function_to_get_data_from_REST();
    $file = $data['file'];
    $folder = str_replace( basename( $file ), '', $file );
    $sizes = $data['sizes'];
    foreach ( $sizes as &$size ) {
        $size['file'] = $folder . $size['file'];
    }
    var_dump( $sizes ); // Now you have folder in your URL
    in reply to: CPT + Taxonomy Planning Question #16411
    Anh TranAnh Tran
    Keymaster

    Hi Nick,

    If testimonials are not dynamic, e.g. you don't change them too much, or you don't allow users to submit, then I think the fastest/easiest way is making testimonials a custom field (repeatable group) for sales reps CPT.

    If they're dynamic, then I think setting up testimonials as a CPT is the right way. You can setup a relationship for sales reps and testimonials or just a post field. Both ways work and have little difference other than performance when your data grows.

    Either way, you might want to write a shortcode to get the testimonials to enter in a text module in Themer. Or you can use Toolbox to do it.

    in reply to: Display edit user form on front end #16410
    Anh TranAnh Tran
    Keymaster

    Hi Eliodata,

    To edit default user fields, please create a meta box that has the same fields as WordPress's. Then add it to the shortcode. For details, please see the docs:

    https://docs.metabox.io/extensions/mb-user-profile/#edit-default-fields

    in reply to: MB Group Clone Shortcode #16409
    Anh TranAnh Tran
    Keymaster

    Nothing special, if you want to select a post/page, then post field is a little better. Otherwise, a normal select_advanced is better.

    in reply to: Problem with Meta Box For Yoast SEO #16400
    Anh TranAnh Tran
    Keymaster

    Hi Alessandro, I've just fixed it in the version 1.3.5 of the MB Yoast SEO Integration. Please update the extension. The update for AIO will come a little later.

    in reply to: MB Term Meta Data not saving #16399
    Anh TranAnh Tran
    Keymaster

    I've just re-checked the problem and couldn't replicate it. It seems to be working fine to me. I recorded a video here:

    https://www.loom.com/share/966b9111ffe644278595fc7674e00ac6

    Please check if you have something different on your site.

    in reply to: Import users from csv file #16365
    Anh TranAnh Tran
    Keymaster

    Hi Eliodata,

    Please try this plugin: https://wordpress.org/plugins/wp-ultimate-csv-importer/. It supports importing user data. It works with simple fields from Meta Box (text, select, textarea, etc.), not complex fields like groups.

    in reply to: MB Group Clone Shortcode #16364
    Anh TranAnh Tran
    Keymaster

    Hi Brian,

    Then you can add the code to the meta box like this: https://pastebin.com/ernuJrQ1

    And output it like this: https://pastebin.com/jzkpXYjH

    in reply to: Relationship field performance #16363
    Anh TranAnh Tran
    Keymaster

    Hi, it's merged into the master branch, and is available in the Meta Box 5.2. Please just update and you'll have it.

    in reply to: Unable to update any custom metas/fields #16362
    Anh TranAnh Tran
    Keymaster

    Hi Ben,

    Please follow these steps:

    • Update MB Builder to the latest version.
    • Refresh the admin area, and then verify if the mbb_version is available in the wp_options table. If yes, then the database upgrade works.
    • Try editing the fields again.
    in reply to: Different CPT fields showing in my CPT #16346
    Anh TranAnh Tran
    Keymaster

    Hi John,

    The code above is the code exported from MB Builder, isn't it? It's the code for the seamless meta box that we see in the video, which is correct.

    What I meant is maybe there's some code that registers another meta box with the title "Team Members" (id "team-members") somewhere. So, please try to do search through your theme/plugin to see if you or someone did that before.

    in reply to: MB Group Clone Shortcode #16344
    Anh TranAnh Tran
    Keymaster

    Hi Brian,

    Is the booking URL the same for all tour dates? Is that for you to select a page? If yes, then the code to outputting it is quite simple:

    <?php
    $page_id = rwmb_meta( 'booking_page' );
    ?>
    <a href="<?php the_permalink( $page_id ) ?>">Book Now</a>
Viewing 15 posts - 706 through 720 (of 3,958 total)