Support Forum » User Profile

Forum Replies Created

Viewing 15 posts - 286 through 300 (of 3,708 total)
  • Author
    Posts
  • in reply to: Metabox AIO not available after last update #18426
    Anh TranAnh Tran
    Keymaster

    Hi Jefferson,

    Can you try re-downloading the plugin from your account page? I think there's some files missing or the download was broken.

    in reply to: How to filter post select field by metabox custom field? #18400
    Anh TranAnh Tran
    Keymaster

    Hi Rick,

    I think that can be done with some code. MB Builder couldn't help building complex queries.

    This is a pseudo code that can help you to start with:

    https://pastebin.com/hVnePVdN

    You might need to change the query to get the proper characters for you.

    in reply to: [Feature request] Options to use native inputs #18399
    Anh TranAnh Tran
    Keymaster

    Hi SIW, it's already supported.

    in reply to: Field conditional logic doesn't work with Gutenberg #18398
    Anh TranAnh Tran
    Keymaster

    Hi Yumiko,

    Thanks a lot for being our customer for years! I really appreciate that and your support!

    Regarding this issue: a problem here is you set the meta box to appear to only 2 post types post and general. So, when you set the conditional logic for post type = page, it can't work (because the meta box is not loaded for that post type). Can you please change the post_types parameter of the meta box to include page and try again? I've checked and seen that it supports post_type rule.

    Anh TranAnh Tran
    Keymaster

    Hi Calpaq,

    In the latest version of the plugin, we added a check for permission, that only users with proper capability can edit posts. You can see it with this code:

    private function user_can_edit() {
        if ( empty( $this->config['post_id'] ) ) {
            return true;
        }
        if ( ! is_user_logged_in() ) {
            return false;
        }
        $post = get_post( $this->config['post_id'] );
        return $post && ( $post->post_author == get_current_user_id() || current_user_can( 'edit_post', $post->ID ) );
    }

    That means only logged in users which either is the post author or have edit post permission can edit that post. If you allows non-logged in users to edit post, they can simply put any post ID in the URL and thus, can edit any post/page of your site.

    in reply to: Add a custom field on woocommerce cart #18396
    Anh TranAnh Tran
    Keymaster

    Hi Jon,

    Did you mean creating a custom field "name" for products? If yes, then simply create a meta box with one text field for the product post type. Please see this guide to start.

    in reply to: No validation in Ajax front-end submission #18395
    Anh TranAnh Tran
    Keymaster

    Hi, thanks for your feedback. Basically, you should not use both the "required" checkbox in the builder (which uses browser validation) and the validation required rule (which uses a JS library to check). I'll check the error and submission and see if there's any bug with that.

    in reply to: How many clones #18394
    Anh TranAnh Tran
    Keymaster

    Hi James,

    I think you can do that by using JS to count the rwmb-clone elements. Or if you use PHP, you can get via count( $field_value ) (as the value of a cloneable field is an array).

    in reply to: You are not allowed to edit this post. #18393
    Anh TranAnh Tran
    Keymaster

    Hi boethius, you're right about the capability name. It should be edit_others_posts.

    The plugin checks if user can edit the current post with this code:

    current_user_can( 'edit_post', $post->ID )
    

    Can you please try a plugin like Members/User Roles Editor to make sure that roles can edit posts?

    in reply to: registration ? #18375
    Anh TranAnh Tran
    Keymaster

    Hi Kathrin,

    I'm afraid I'm not very clear about your question. Can you please provide more details?

    in reply to: Field conditional logic doesn't work with Gutenberg #18374
    Anh TranAnh Tran
    Keymaster

    Hi Yumikom,

    I see you set a condition to show a field based on post_type. Unfortunately, the plugin doesn't support that kind of condition. You can change the visibility of a field or a meta box based on a value of another field or another input.

    Anh TranAnh Tran
    Keymaster

    Hi,

    Thanks for the clarification. I think it can be done with custom JS code. Basically, you need to listen for changes in inputs and enable/disable the readonly attribute of fields.

    in reply to: Invoice #18372
    Anh TranAnh Tran
    Keymaster

    HI Nicola,

    The VAT amount is automatically collected by the payment gateway (Gumroad in this case).

    Can you please send me the total amount, so I can generate an invoice for you?

    in reply to: MB Relationships - Connection Metadata? #18355
    Anh TranAnh Tran
    Keymaster

    Hi rfors,

    Thanks for your message. Unfortunately, we haven't finished this feature yet. We'll let you know when it's done.

    in reply to: image_upload field select files not working on iphone #18354
    Anh TranAnh Tran
    Keymaster

    Hi, let us check that. Thanks for reporting.

Viewing 15 posts - 286 through 300 (of 3,708 total)