Support Forum » User Profile

Forum Replies Created

Viewing 15 posts - 766 through 780 (of 3,702 total)
  • Author
    Posts
  • Anh TranAnh Tran
    Keymaster

    Hi,

    I think you need to track the 'initial save' or 'update' with a custom option, like this:

    add_action( 'mb_settings_page_load', function() {
        $is_updated = get_option( 'your_custom_option' );
        if ( ! $is_updated ) {
            do_your_work();
            update_option( 'your_custom_option', 1 );
        }
    }, 20 );
    in reply to: Custom CSS class on meta box #16051
    Anh TranAnh Tran
    Keymaster

    Hi Ryan,

    It's not a bug. It's different implementations by WordPress in different areas. I think I'll add an extra param for the meta box for you to add custom CSS class easier. Please wait.

    in reply to: Relationship field performance #16050
    Anh TranAnh Tran
    Keymaster

    Hi,

    I almost finish it. You can track the progress here: https://github.com/wpmetabox/meta-box/commits/ajax-post.

    What I've done so far:

    • Make it possible to use ajax for post field (which is used in relationships plugin) by adding 'ajax' => true to the field.
    • Make pagination works in case you don't want to request all posts at once (via posts_per_page param in the query_args)
    • Cache the ajax requests

    I'm working on clone. If everything goes well, I can give you an example by the end of today.

    Anh TranAnh Tran
    Keymaster

    It's done. Please check your account.

    Anh TranAnh Tran
    Keymaster

    Hi Swami,

    I'm working on some issues and when they're done, I'll update the plugin.

    Regarding "Activate License" links, they won't appear if you provide updates for the plugins (e.g., they're on the latest versions). It's kind of impossible to detect a plugin is installed via TGMPA or the normal way, because when it's installed, it's just a normal plugin.

    I'd suggest you update the theme when a new version of plugins is released, so your users will get the most recent updates of the plugins.

    Or you can just bundled the Meta Box extensions directly in your custom plugin. In this case, the notification won't show anymore.

    in reply to: Menu Icon #16011
    Anh TranAnh Tran
    Keymaster

    Hi Christine,

    Sorry for the delay. I've just fixed this bug and released a new version on wordpress.org. Please update. The AIO will come later.

    in reply to: How To Make wysiwyg editor Character limit 5000 #16009
    Anh TranAnh Tran
    Keymaster

    Please see the link I posted above. It has some code that you can use to limit the number of characters in a tinymce editor (wysiwyg field). You'll need some coding, though.

    in reply to: Lifetime Bundle #16008
    Anh TranAnh Tran
    Keymaster

    Hi dwcouch,

    Looking at the message, I think the problem is the Meta Box Updater. Please remove it and try again. The updater is not used anymore, it's merged into Meta Box 5.1 already and it's safe to remove it.

    Anh TranAnh Tran
    Keymaster

    Hi, can you check if the email you used in the recent purchase is the same as your account email? We use emails to identify license expiry time. If you use 2 emails, then the system thinks there are 2 accounts.

    If that's the case, please just tell me the email you used recently, and I'll change it to your account's email. Then you'll see the renewal in your account page.

    in reply to: Metabox group wysiwyg #16002
    Anh TranAnh Tran
    Keymaster

    Hi,

    The file field requires extra code to handle the file uploads. What do you need from wysiwyg field?

    in reply to: Dot notation for MB Geolocation "type" #16001
    Anh TranAnh Tran
    Keymaster

    Hi pza,

    Please set as follows:

    • geo.types.0 = (cities)
    • geo.types.1 = establishment
    Anh TranAnh Tran
    Keymaster

    Hi Swami, I've done this in this commit. Please try it.

    in reply to: Relationship field performance #15991
    Anh TranAnh Tran
    Keymaster

    I read the news, too. Thanks for sharing.

    in reply to: Uncaught TypeError: Cannot read property 'type' of undefined #15990
    Anh TranAnh Tran
    Keymaster

    Hi fexy,

    Your JS code is different from mine. Mine is:

    $title = $group.find( '> .rwmb-group-title-wrapper > .rwmb-group-title, > .rwmb-input > .rwmb-group-title-wrapper > .rwmb-group-title' ),
    

    So, I guess there's some caching issue here. Please cleane the browser cache and try again.

    in reply to: mb_blocks_preview event not firing #15989
    Anh TranAnh Tran
    Keymaster

    Hi SG,

    The reason for this behavior is that the script should not be triggered when document ready. It should be triggered using a custom event: mb_blocks_preview/block_name. For details, please see the docs:

    https://docs.metabox.io/extensions/mb-blocks/#enqueue_script

Viewing 15 posts - 766 through 780 (of 3,702 total)