Support Forum » User Profile

Forum Replies Created

Viewing 15 posts - 2,251 through 2,265 (of 3,958 total)
  • Author
    Posts
  • in reply to: User registration #9244
    Anh TranAnh Tran
    Keymaster

    Hello,

    The job is almost done. We're fixing some final bugs before releasing new version. Hopefully done before the end of the week.

    in reply to: How to style front end submission form #9230
    Anh TranAnh Tran
    Keymaster

    Hi,

    The plugin outputs the HTML with custom CSS classes. You can filter to the output of each field to add Bootstrap classes if you want, but that will be a huge work. See the filters here:

    https://docs.metabox.io/filters/

    I'd suggest you write some custom CSS for the fields. Please inspect the fields' output and add CSS for them. The plugin already output some basic CSS to make them work, and you only have to write CSS to make them fit your design.

    in reply to: Mime-types url validation #9229
    Anh TranAnh Tran
    Keymaster

    Hi Kasia,

    If you want to verify mime-type, it's best to write a custom validation rule for entered URL.

    I created an example for checking with MP4 file:

    https://pastebin.com/ScH6CDvQ

    For writing custom validation rule, please see this:

    https://jqueryvalidation.org/jQuery.validator.addMethod/

    in reply to: How it's work with page.php? #9228
    Anh TranAnh Tran
    Keymaster

    Hi,

    To show a meta box for pages only, please just set 'post_types' => 'page'. You don't need to use any extension for this.

    Anh TranAnh Tran
    Keymaster

    Hello,

    When do you call this statement add_filter( 'mb_settings_pages', 'prefix_options_page' );? Do you call it directly from the main plugin's file?

    The filter mb_settings_pages must be called before admin_menu action, which is used to add admin menu. That action fires quite early, before admin_init, so if you call it inside a hook, it might not work as expected.

    in reply to: Group Items Don't Close #9226
    Anh TranAnh Tran
    Keymaster

    Hi,

    Which version of the Group extension are you using? I remember I fixed this bug a while ago. Please try updating to the latest version.

    in reply to: Defining custom validation methods #9225
    Anh TranAnh Tran
    Keymaster

    Glad that you have resolved it.

    The jQuery validation plugin is enqueued only when there's any validation rule. And because it's outputted in the admin footer, your script need to be outputted after that. I'd suggest using hook admin_print_footer_scripts with high priority to output it. Do not use admin_footer as it fires before admin_print_footer_scripts, which is used to output enqueued JS.

    in reply to: Metabox Multiple Dependency #9214
    Anh TranAnh Tran
    Keymaster

    Hello,

    Please use MB Conditional Logic for this purpose. The extension allows you to show/hide a field based on other fields' values.

    Anh TranAnh Tran
    Keymaster

    Thanks for your feedback. Let me try to fix it.

    in reply to: Reordering Images Bug #9199
    Anh TranAnh Tran
    Keymaster

    Hello,

    Are all images to loaded before reordering? It's required to load all images before reordering them.

    in reply to: Defining custom validation methods #9198
    Anh TranAnh Tran
    Keymaster

    Hello,

    I've just tested and the custom validation rule works. I think the problem might be the way you enqueue your script (that contains custom rule). Somehow, it's enqueued before jQuery or jQuery validation script is output.

    In my test, I use wp_footer hook with priority 9999 to enqueue the JS, so it's always after jQuery and jQuery validation. Please try and let me know how it goes.

    in reply to: Language translations #9196
    Anh TranAnh Tran
    Keymaster

    Yes, Github is a great place for collaboration. I've just created the repo at:

    https://github.com/wpmetabox/mb-multilingual

    And to find your posts, click on your avatar or nick name (on the left of any reply), you'll be taken to forum profile page, where you can see all your topics and replies.

    in reply to: MB Builder *Required* validation option? #9189
    Anh TranAnh Tran
    Keymaster

    FYI, the latest version of MB Builder have "Required" checkbox. Please update it.

    in reply to: Mime-types url validation #9181
    Anh TranAnh Tran
    Keymaster

    Hi Kasia,

    Which field type are you using? How do you setup the validation?

    in reply to: With this plugin active, meta values don't save #9180
    Anh TranAnh Tran
    Keymaster

    Great that you have resolved this! If you still see any problem, please let me know!

Viewing 15 posts - 2,251 through 2,265 (of 3,958 total)