Support Forum ยป User Profile

Forum Replies Created

Viewing 15 posts - 2,026 through 2,040 (of 3,708 total)
  • Author
    Posts
  • in reply to: Apply specific post type media filters #10325
    Anh TranAnh Tran
    Keymaster

    Yes, you can do that with the filter, like this:

    add_filter( 'rwmb_media_add_string', function( $string ) {
        $screen = get_current_screen();
        return 'page' === $screen->post_type ? '+ New File' : $string;
    } );
    in reply to: Field file_upload change options #10324
    Anh TranAnh Tran
    Keymaster

    Hi, this can be done with CSS. Here is a trick to output quick CSS for the field without enqueuing new CSS file:

    <?php
    add_filter( 'rwmb_meta_boxes', function( $meta_boxes ) {
        $meta_boxes[] = [
            'title' => 'Test Meta Box',
            'fields' => [
                [
                    'type' => 'file_upload',
                    'id'   => 'test',
                    'name' => 'File Upload',
                    'after' => '<style>.rwmb-edit-media { display: none; }</style>'
                ]
            ],
        ];
        return $meta_boxes;
    } );
    in reply to: Install "Required" plugins #10323
    Anh TranAnh Tran
    Keymaster

    Hi Guy, I got it. I've just release version 1.5.2 of the Meta Box AIO with a fix for that. Please update!

    in reply to: Cannot receive the download link #10321
    Anh TranAnh Tran
    Keymaster

    Hi Steven,

    I've just resent the email with download link. Can you please check your inbox?

    in reply to: โœ…Type post field + clone + 2k posts #10318
    Anh TranAnh Tran
    Keymaster

    Hi Jackky,

    There is a workaround on this issue, made by fexy in this topic. Please take a look.

    Update: I've improved the clone feature for post field. No more extra queries for clones. Please update to the latest version 4.15.0.

    in reply to: โœ…Conditional Logic in Taxonomy "select_tree" #10306
    Anh TranAnh Tran
    Keymaster

    Hi Guy,

    The technical difficulty has stopped us from investigating time and effort on doing this feature :(. There's no solution for this yet.

    Anh TranAnh Tran
    Keymaster

    Hi,

    Each submitted post will have an unique post ID. You need to get that ID and set it in the post_id attribute of the mb_frontend_form shortcode. That will allows user to edit the info.

    There is a similar topic that you might be interested in.

    in reply to: Ability to unhook recommended plugins? #10304
    Anh TranAnh Tran
    Keymaster

    Hi Guy,

    Yes, you can do that. There's some snippets on the TGM Plugin Activation repo on Github.

    I think you can do that with the following code (untested):

    https://pastebin.com/N02tDwhz

    in reply to: Install "Required" plugins #10303
    Anh TranAnh Tran
    Keymaster

    Hi Guy,

    Do you mean in the Meta Box AIO?

    The plugin only requires the core Meta Box plugin. All other extensions are recommended. The text displays that correctly as shown in the following screenshot:

    https://imgur.elightup.com/GqW73Gi.png

    And in the list of plugins, it clearly states which one is required/recommended:

    https://imgur.elightup.com/4MNZdwY.png

    By the way, this UI is created by TGM Plugin Activation Class and the customization is quite limited.

    Anh TranAnh Tran
    Keymaster

    Hi Guy,

    What/How do you want to "white label" the welcome page?

    in reply to: Support for relationships? #10291
    Anh TranAnh Tran
    Keymaster

    Yes, it does. This is the screenshot of the output:

    screenshot

    in reply to: Meta box group clone fields became extremely slow!!! #10290
    Anh TranAnh Tran
    Keymaster

    Hello,

    The clone feature uses jQuery and when a clone event is fired, it loops through all the inputs, updating their indexes, values and name attribute. The more inputs, the longer the process take.

    I have improved the speed of cloning in this ticket. I'd suggest you reduce the number of inputs and use the wysiwyg field for some cases. Here is an interesting discussion about this.

    in reply to: โœ…Hide tab #10289
    Anh TranAnh Tran
    Keymaster

    I got it. I thought the tabs in the MB Tabs extension.

    Anyway, have you tried using this selector a[href*="tab-general"]?

    Regarding the CSS class for settings pages, yes, it's only available for fields.

    Anh TranAnh Tran
    Keymaster

    No, it's created for internal use. I'll add it to the docs right now.

    in reply to: language files update problem #10279
    Anh TranAnh Tran
    Keymaster

    All files in the plugins will be removed and replaced by the new files in the newer versions. So do not keep the language files in the plugin folder. Instead, you can:

    • Send me the translation files, so I can update the extensions with the new translations! That will help other people!
    • Or you can keep your translation locally in the wp-content/languages/plugins/PLUGIN-SLUG/ folder. WordPress will use the translation files in this folder if they're available. If you use the Loco Translate plugin to translate the plugins, it has option to save file to this folder.
Viewing 15 posts - 2,026 through 2,040 (of 3,708 total)