Support Forum » User Profile

Forum Replies Created

Viewing 15 posts - 826 through 840 (of 3,702 total)
  • Author
    Posts
  • in reply to: Number field defaults to 0 instead of blank #15772
    Anh TranAnh Tran
    Keymaster

    Hi Ryan, thanks for your feedback. This bug is fixed here.

    in reply to: Trouble with license #15771
    Anh TranAnh Tran
    Keymaster

    Hi Doug, glad that you resolved this problem!

    Anh TranAnh Tran
    Keymaster

    Hi, which version of WordPress are you using? Since v5, WordPress has a mechanism that allows you to access the Dashboard if there's any error. Please try it first. The please go to Dashboard -> Updates and click "Check Now" button to refresh the updates.

    If bug still happens, please send me a temporary admin account. I'll check that for you.

    in reply to: Trouble with license #15755
    Anh TranAnh Tran
    Keymaster

    Hi,

    I guess you're using Meta Box Updater extension, aren't you? If that's the case, please remove it. You don't need it anymore, since the updater is bundled inside Meta Box.

    If you are not, then please take screenshot of the License page after you submit the license key and post here. I just want to see the status message. It will show if a license is valid, expired or invalid.

    in reply to: Trouble with license #15752
    Anh TranAnh Tran
    Keymaster

    Hi, what is the problem that you experienced? Can you provide more details?

    Also, please go to Dashboard > Updates and click "Check Again" button. That might refresh the updates.

    in reply to: Updating usermeta for a custom meta_key #15737
    Anh TranAnh Tran
    Keymaster

    Hi, can you try the taxonomy_advanced field? The taxonomy field will set post terms, which doesn't work for users.

    in reply to: Updating usermeta for a custom meta_key #15735
    Anh TranAnh Tran
    Keymaster

    Hi,

    Did you create a meta box with premium_categories field for the users?

    in reply to: Fields are not displayed in custom post type edit form #15731
    Anh TranAnh Tran
    Keymaster

    Hi,

    I see you miss the post_types parameter for the meta box. It should point to your custom post type:

    'post_types' => ['so_offer'],
    
    in reply to: Sanitization of Fields input #15730
    Anh TranAnh Tran
    Keymaster

    Hey guys,

    I finish the code for the sanitizer part.

    It works like this:

    • Sanitization is auto applied for all built-in types.
    • For custom field types, developers needs to implement their sanitization via sanitize_callback parameter. If no sanitize callback is provided, the field won't be sanitize. I do this to not break the websites at the moment. In the future, I might add default sanitization for all custom field types if sanitize_callback is not defined. At this stage, I think this is enough.
    • Developers can also bypass sanitization by setting 'sanitize_callback' => 'none' (if set to a callable, it will be used for sanitization).

    I'll merge the commits and release a new version for Meta Box next week.

    Thank you all for your feedback!

    in reply to: Custom block not saving #15729
    Anh TranAnh Tran
    Keymaster

    Hey Steven,

    I've just updated MB Blocks to 1.0.4 to address this issue. I have confirmed with Alex that it's working. Please update the extension.

    in reply to: Conditional logic fails on switch in 1.6.6 #15727
    Anh TranAnh Tran
    Keymaster

    Hey guys,

    Thanks for your feedback. Based on what FED offered, I think this patch is a little better. Can you please try replace the line 240 in the conditional-logic.js with this?

    if ( ! isGutenbergElement( logic[0] ) && ! dependentFieldSelector && $scope && $scope.hasClass( 'rwmb-group-clone' ) ) {
    

    I'll release a new version when it's confirmed. Thanks!

    in reply to: datetime field error #15726
    Anh TranAnh Tran
    Keymaster

    Hi, this bug is fixed here. New version of Meta Box will come next week.

    in reply to: Sanitization of Fields input #15719
    Anh TranAnh Tran
    Keymaster

    Hi David,

    Your feedback is great and that's exactly what I'm looking for. My reply above was just a discussion about your ideas.

    I'll consider your suggestions. Thanks.

    in reply to: Some field types are not displayed within the block #15718
    Anh TranAnh Tran
    Keymaster

    Hi, I've tested with your code and it works. Please see my video: https://www.loom.com/share/b104b120c7d64513a7b7a1e10f605949

    Please try clear the browser cache and try again. I guess some scripts are missing. Please check the console as well.

    in reply to: Meta not displaying in Live Preview or Front end #15717
    Anh TranAnh Tran
    Keymaster

    Hi,

    I found the problem. You're using a child theme, and in the register.php function that registers the block it refers to the parent theme folder:

    'render_template' => get_template_directory() . '/blocks/hero/template.php',
    'enqueue_style'   => get_template_directory_uri() . '/blocks/hero/style.css',

    It should change to:

    'render_template' => get_stylesheet_directory() . '/blocks/hero/template.php',
    'enqueue_style'   => get_stylesheet_directory_uri() . '/blocks/hero/style.css',

    I made the change in your site and it works.

Viewing 15 posts - 826 through 840 (of 3,702 total)