Support Forum » User Profile

Forum Replies Created

Viewing 15 posts - 1,306 through 1,320 (of 3,707 total)
  • Author
    Posts
  • in reply to: group_title from field incfrementing value #13742
    Anh TranAnh Tran
    Keymaster

    @Ale: I've just updated MB Group to version 1.3 which supports flexible group title like this:

    'group_title' => '{headline} {#}',

    Please try that and let me know if you find any bug.

    in reply to: Group title not showing #13741
    Anh TranAnh Tran
    Keymaster

    Hi Vladimir,

    Can you please clear browser cache and try again? I've just re-checked and it seems to be working for me.

    in reply to: Error with Image Advanced in Gutenberg #13725
    Anh TranAnh Tran
    Keymaster

    I've fixed this bug in this commit. You can download the dev version here. I'm optimizing the JS code and will release a new version soon.

    in reply to: How can I update the post instead of Insert #13706
    Anh TranAnh Tran
    Keymaster

    I got it. I think the hard part in this situation is detect if there's any existing post with the same title. I'm afraid I don't have any that code available.

    Once you get that post (with post ID), you can use update_post_meta function to manually update fields.

    Anh TranAnh Tran
    Keymaster

    Hi Camilo,

    I got it. So if you use the helper function rwmb_meta to get the value, you can use a filter to remove the extra zeros. This is the filter:

    apply_filters( 'rwmb_meta', $meta, $key, $args, $post_id );

    So you can do something like this:

    add_filter( 'rwmb_meta', function( $meta, $key, $args, $post_id ) {
        if ( 'your_field_id' === $key ) {
            $meta = your_function_remove_extra_zeros( $meta );
        }
        return $meta;
    }, 10, 4 );
    in reply to: Empty date field with save_format causes error #13704
    Anh TranAnh Tran
    Keymaster

    Hi Ryan, thanks a lot for your feedback. It's fixed in this commit.

    Anh TranAnh Tran
    Keymaster

    Hi Ryan, thanks a lot for your feedback. I've just fixed it in this commit.

    in reply to: How can I update the post instead of Insert #13681
    Anh TranAnh Tran
    Keymaster

    Hi Calpaq, how do you save posts? I mean do you run a code to save posts or use Meta Box plugins?

    If you need to hook after Meta Box save post data, you can just use 'rwmb_after_save_post' hook, or save_post (with priority > 10). And then use update_post_meta to update meta data to an existing post of your choice.

    in reply to: Meta Boxes options in Conditional Logic #13676
    Anh TranAnh Tran
    Keymaster

    Hi Mark,

    I've found that the AIO plugin loads the files quite late. I've just updated the plugin with a fix for that. Please upgrade.

    Anh TranAnh Tran
    Keymaster

    Hi Brian,

    Thanks a lot for your feedback about the Template extension. It was a typo mistake (duplicated "Version" text).

    I've fixed and updated Meta Box AIO. Please update.

    in reply to: Refund #13667
    Anh TranAnh Tran
    Keymaster

    Hi Toomas, sorry for the confusion.

    Where do I need to put this code exactly?

    Please put them directly below your code to register meta box. Or in the theme's functions.php file.

    What “location” in your code means? “Taxonomy_2” is the name of a custom taxonomy field?

    I should have mentioned you need to change the "location" to the name of the custom post type created by CPT-Onomies plugin (in your case, it's "books") and "taxonomy_2" - the ID of the taxonomy field (in your case, it's still "taxonomy_2").

    Please try again and see if it works.

    in reply to: Conflict with MB User Profile #13654
    Anh TranAnh Tran
    Keymaster

    Hi Ryan,

    I thought I fixed this bug in the BB Integrator extension. Can you try the individual plugin (not in the AIO package)?

    in reply to: Visible/hidden with id outside group #13653
    Anh TranAnh Tran
    Keymaster

    To me, it's more likely a bug. Since it still checks for the selector of dependent element. I'll check and fix that.

    in reply to: Pre-selecting terms in an taxonomy-advanced field #13652
    Anh TranAnh Tran
    Keymaster

    Hi Ryan,

    I've tested your code and found that the $meta needs to be an array. So you just need to change the line to:

    $meta = array_filter( array_unique( (array) $current_users_tags ) );

    I also created a video to demo that: http://recordit.co/AcdsXqaeIM. Please take a look.

    Anh TranAnh Tran
    Keymaster

    Hi Matthias,

    Did you activate the MB Term Meta extension? It's required to set relationships with terms.

Viewing 15 posts - 1,306 through 1,320 (of 3,707 total)