Support Forum » User Profile

Forum Replies Created

Viewing 15 posts - 226 through 240 (of 3,708 total)
  • Author
    Posts
  • in reply to: Issue with Post field type and "select_advanced" #18693
    Anh TranAnh Tran
    Keymaster

    Hi John,

    Can you share the full code of the meta box and settings page to test? I can't replicate the bug on my end :(.

    in reply to: How to the video field for group type? #18692
    Anh TranAnh Tran
    Keymaster

    Hi Daniel,

    Currently, MB Views allows you to display videos one by one, e.g. not in a playlist. To do that, please select the video field from the inserter panel.

    To display all videos in a playlist, please use this Twig snippet below:

    {% set videos = mb.rwmb_meta( 'video_field_id', '', post.ID ) %}
    {% set video_ids = mb.implode( ',', mb.wp_list_pluck( videos, 'ID' ) ) %}
    {{ mb.wp_playlist_shortcode( {ids: video_ids, type: 'video'} ) }}
    in reply to: Open Street Map not updating the address field #18691
    Anh TranAnh Tran
    Keymaster

    Hi,

    When moving the marker on the map, only map location is updated. The address is not updated. This is the designed behavior.

    In addition, the “Find address” button below the map is NOT displayed at all. No JS conflicts/errors at all.

    Thanks for your feedback. We decided to remove the "Find address" button, since it's confusing to many users (the input with autocomplete already works and they don't understand the purpose of the button).

    in reply to: Alpha Channel in Background Field? #18690
    Anh TranAnh Tran
    Keymaster

    Hi William,

    I've just added support for alpha channel in the background field. It will be available in the next version.

    in reply to: jQuery Validate still validating fields that hidden #18669
    Anh TranAnh Tran
    Keymaster

    Hi Sofyan,

    Thanks a lot for your help! I've merged your PR!

    in reply to: storing javascript in text area #18666
    Anh TranAnh Tran
    Keymaster

    That's awesome! Thanks for sharing with other people!

    in reply to: Email confirmation before add user #18661
    Anh TranAnh Tran
    Keymaster

    Hi Han, unfortunately, we don't have that feature yet.

    in reply to: storing javascript in text area #18660
    Anh TranAnh Tran
    Keymaster

    Thanks a lot! I added a screenshot on that page, and also on field settings page.

    Anh TranAnh Tran
    Keymaster

    Hi,

    1) To display map for cities (one per city), you can use the rwmb_meta helper function. If you want to display all cities on a map, please see this tutorial.

    2) Unfortunately, FacetWP can't filter by maps. You should make it filter by other fields (cities, wards, etc.), and the map will be displayed accordingly.

    Anh TranAnh Tran
    Keymaster

    I got it. We forget that the returned value of the file_advanced field is an array! So we need to get only the first file ID.

    if ( isset( $file_attachment['attachment'] ) ) {
         $file_id = reset( $file_attachment['attachment']; // Get the first file only.
         $file_url = wp_get_attachment_url( $file_id );
          echo '<a href="' . $file_url . '" target="_blank">' . $file_name . '</a>';
    }
    in reply to: Error: Notice: Array to string conversion #18657
    Anh TranAnh Tran
    Keymaster

    Hi Sofyan,

    Thank you for your feedback. I've just fixed it.

    in reply to: Issue with Post field type and "select_advanced" #18655
    Anh TranAnh Tran
    Keymaster

    Hi John,

    We updated Meta Box last year to add Ajax support for object fields, to improve the performance on sites with thousands of posts.

    Can you try reinstalling Meta Box? And clear the browser cache before trying again? I think there might be something like missing files or caching of old JS files.

    Anh TranAnh Tran
    Keymaster

    If it outputs nothing, probably the file is already deleted from the WordPress admin (maybe someone has deleted the file in the Media Library). If that's the case, you can make a better check with this:

    if ( isset( $file_attachment['attachment'] ) && get_attached_file( $file_attachment['attachment'] ) ) {
         $file_url = wp_get_attachment_url( $file_attachment['attachment'] );
          echo '<a href="' . $file_url . '" target="_blank">' . $file_name . '</a>';
    }
    Anh TranAnh Tran
    Keymaster

    Hi Jeff,

    The MB Frontend Submission plugin allows users to post without requiring logging in. Please paste the shortcode in a page, and view it when you're logged out, you'll still be able to submit posts.

    In case you want to assign those posts to a specific author (by default, the author is admin), you can filter to change the post_author parameter.

    in reply to: storing javascript in text area #18621
    Anh TranAnh Tran
    Keymaster

    Hi Pieter,

    Thanks for your suggestion regarding the docs. I've just updated it here.

Viewing 15 posts - 226 through 240 (of 3,708 total)