Support Forum ยป User Profile

Forum Replies Created

Viewing 15 posts - 3,301 through 3,315 (of 3,704 total)
  • Author
    Posts
  • in reply to: Select ads extra *option #2888
    Anh TranAnh Tran
    Keymaster

    Hi Maxell,

    1. The empty option was created for select2 library and is required for the placeholder. Are you using simple select field?

    2. Probably check if it's empty is a better way:

    $meta = rwmb_meta( 'field_id' );
    if ( ! empty( $meta ) ) {
        // Output something
    }
    in reply to: WP 4.5 Error - Urgent #2887
    Anh TranAnh Tran
    Keymaster

    Which version of Meta Box are you using? Is there any chance that you upgrade to 4.8.5?

    in reply to: Validation issue #2880
    Anh TranAnh Tran
    Keymaster

    I mean in previous reply the validation works only with non-cloneable fields :(. I think in this case you can use custom attributes for phone fields ("pattern" to be exact). For more info, please read this docs:

    https://metabox.io/docs/custom-attributes-for-inputs/

    Here is the info for HTML pattern attribute:

    http://webdesign.tutsplus.com/tutorials/html5-form-validation-with-the-pattern-attribute--cms-25145

    in reply to: Validation issue #2876
    Anh TranAnh Tran
    Keymaster

    I see. The reason is phone field is cloneable and each cloned field will have different ID (the HTML ID attribute that outputed). When click Add more button, we will get inputs with ID phone, phone_1, phone_2, ... While the validation module uses input's ID to validate, it actually works with only the first field.

    in reply to: Columns break color picker #2875
    Anh TranAnh Tran
    Keymaster

    Thank you very much for the fix. It's added to the plugin here: https://github.com/rilwis/meta-box/commit/fdcbb4ffa7f50182e51c060de54b96d540593b48

    in reply to: Nested Group Meta not working #2874
    Anh TranAnh Tran
    Keymaster

    Hi @brightcreations, the clone of sub-fields is buggy inside a group. We're working on this to fix. Please give us some time.

    in reply to: Validation issue #2861
    Anh TranAnh Tran
    Keymaster

    Can you please post your code?

    in reply to: Metabox and multilangual plugin #2853
    Anh TranAnh Tran
    Keymaster

    I'm not sure about qTranslate as I don't use it. Just saw its screenshot and I *think* it might work with tabs and conditional logic extensions. In the frontend, you need to do some PHP work to check the current language and get the correct fields.

    WMPL is compatible with Meta Box. Several premium themes use both WPML and Meta Box without any issue. Meta Box is also supported by WPML team, so this is a good option.

    in reply to: License Question #2849
    Anh TranAnh Tran
    Keymaster

    Hi @karissademi,

    You can use the extensions in your products, both free and commercial. However, you can't just publish them on Github. It's more ethical than licensing.

    in reply to: Datepicker not appearing in admin #2848
    Anh TranAnh Tran
    Keymaster

    Hmm, it's a bug. It should show empty box instead of 1/1/1970.

    While waiting for the fix, I think you can try set std to time() to make it shows today's date.

    in reply to: Best way to integrate into a multisite setup #2844
    Anh TranAnh Tran
    Keymaster

    Hi @Joe,

    I think the best way is using code to register post types and meta boxes. Then you can use a version control system like Git to manage your code and deploy to your server. It's much easier and saves you a lot of time if you want to manage multiple websites (even not in a multisite network).

    In case of multisite network, I think you can make a must-use plugin to register post types and meta boxes. That way you don't need to activate on all sites in the network.

    I think the builder is not very useful here as it requires user input, meaning you have to click-type-click many times to add meta boxes for sites (even with import/export feature). Even though, it's useful if you want to add "extra" meta box for a specific site.

    in reply to: Datepicker not appearing in admin #2843
    Anh TranAnh Tran
    Keymaster

    Just found 1 thing: the post_types parameter should be lowercase, similar to slug. Can you try changing its value to event?

    in reply to: Datepicker not appearing in admin #2837
    Anh TranAnh Tran
    Keymaster

    Hi @chillifish, is there any JavaScript error in the console?

    in reply to: MB Custom Post Type Plugin #2823
    Anh TranAnh Tran
    Keymaster

    Hi @skynet, I've just tested steps 1) and 2) and after refresh permalink, it works. Can you try refreshing permalink (just go to Settings > Reading and click Save changes)?

    Anh TranAnh Tran
    Keymaster

    Could you please try the latest version of Meta Box on Github? I've just tested the Group extension with 1 file_advanced field (max_file_uploads = 1) and it looks fine to me.

Viewing 15 posts - 3,301 through 3,315 (of 3,704 total)