Support Forum ยป User Profile

Forum Replies Created

Viewing 15 posts - 2,836 through 2,850 (of 3,707 total)
  • Author
    Posts
  • Anh TranAnh Tran
    Keymaster

    Hi @tgarda,

    That's true. The errors are handled by the JS of plupload. The error messages are sent to JS via the file wp-includes/script-loader.php and then used in wp-includes/js/plupload/wp-plupload.js (line 327). I haven't found any PHP hook or how to add a custom error while uploading.

    Anh TranAnh Tran
    Keymaster

    The menu_order is used by WP_Query which has effect only when you use a custom query.

    Because the rwmb_meta function only returns the values stored in the post meta, it doesn't use the WP_Query and thus doesn't have the menu_order affected. However, after you change the post order, IF you edit the post and save the post meta again, then the new values might have the new order affected.

    In general, if you want to make sure it always work, you should use a custom query like this:

    $posts_array = rwmb_meta( '_posts_select' );
    $query = new WP_Query( array(
        'post_type' => 'post',
        'orderby' => 'menu_order',
        'order' => 'ASC',
        'post__in' => $posts_array,
    ) );
    if ( $query->have_posts() ) {
        while ( $query->have_posts() ) : $query->the_post();
            // Do something
        endwhile;
    }
    in reply to: Text limit in Metaboxes #5198
    Anh TranAnh Tran
    Keymaster

    Hi, thanks for letting me know. The problem is the PHP function I used doesn't work with the multi-bytes languages. I've just fixed it and updated the plugin, please update.

    in reply to: Multiple Selecet field values are not saved #5189
    Anh TranAnh Tran
    Keymaster

    Ah, I got it. Unfortunately, this is the limitation of the plugin when working in the modal mode. WordPress limits how fields are outputted and saved. We also can't enqueue JavaScript for it as well. So, please just use the simple fields there.

    in reply to: Multiple Selecet field values are not saved #5182
    Anh TranAnh Tran
    Keymaster

    Can you post the code you use? It seems to work for me ๐Ÿ™

    in reply to: Get Image Attachment ID #5171
    Anh TranAnh Tran
    Keymaster

    Yes, the array of info contains a parameter ID for the image ID.

    Anh TranAnh Tran
    Keymaster

    Hi, thanks for reporting. It's actually a bug in the plugin. I've just fixed it in version 1.0.5. Please update.

    in reply to: โœ…add more issues - not working #5169
    Anh TranAnh Tran
    Keymaster

    Hi Alois,

    Can you please re-try it again? I couldn't replicate it. The + Add More works for me.

    In case it still happens, please verify all the fields, make sure them have unique ID (even in the sub-groups). Also try to deactivate all other plugins to see if there's any JS conflicts.

    Let me know if it still happens.

    Anh TranAnh Tran
    Keymaster

    Hi,

    Can you send me the code you use? I tried to replicate the bug but I couldn't. It works fine to me.

    in reply to: โœ…Speed of Cloning #5147
    Anh TranAnh Tran
    Keymaster

    Hi,

    Thank you very much for asking. The problem is the jQuery working on DOM elements. You can help us by giving us a testing code to register meta boxes and probably some help on working with jQuery & DOM elements.

    in reply to: max_status dosen't work #5146
    Anh TranAnh Tran
    Keymaster

    Thanks for letting me know. I've just fixed it on Github. New version will be released soon: https://github.com/rilwis/meta-box

    in reply to: Radio button with image #5136
    Anh TranAnh Tran
    Keymaster

    Hi, you can use image_select field. It's very similar to radio field. This is the demo code:

    https://github.com/rilwis/meta-box/blob/master/demo/image-select.php

    in reply to: Metas for Attachment Post Type #5135
    Anh TranAnh Tran
    Keymaster

    Sorry, I missed a check for WPML which causes the Fatal error. Please try again.

    in reply to: Metas for Attachment Post Type #5128
    Anh TranAnh Tran
    Keymaster

    Hi again,

    I was able to do this! You need to download the development version on Github to have this feature: https://github.com/rilwis/meta-box

    To enable a meta box for media modal, you need to set:

    'post_types' => 'attachment',
    'media_modal' => true,

    to the meta box parameters.

    Take a look at the demo here: https://github.com/rilwis/meta-box/blob/master/demo/media-modal.php

    in reply to: Front End Forms #5126
    Anh TranAnh Tran
    Keymaster

    I'm afraid I can't tell the timeline for now :(. I will work on that until the end of next month and hopefully can resolve it.

Viewing 15 posts - 2,836 through 2,850 (of 3,707 total)