Support Forum » User Profile

Forum Replies Created

Viewing 15 posts - 181 through 195 (of 3,708 total)
  • Author
    Posts
  • in reply to: Refund #20936
    Anh TranAnh Tran
    Keymaster

    Hi Mats,

    No problem. I've sent you the refund.

    If you need the plugins in the future, you're always welcomed here.

    Anh

    in reply to: Switch Composer to semantic versioning #20774
    Anh TranAnh Tran
    Keymaster

    Hi,

    Thanks for your suggestion. We understand the benefits of using semantic versions with Composer and it's in our list of TODOs. Currently, it relates to our CI/CD to auto deploy plugin versions to the server and also the license management, so we couldn't make big changes for now. But we'll investigate more on that and will try to do.

    in reply to: Custom Field that works with MB_Relationships API #20652
    Anh TranAnh Tran
    Keymaster

    Just added 2 hooks for add and delete action:

    do_action( 'mb_relationships_add', $from, $to, $type, $order_from, $order_to );
    do_action( 'mb_relationships_delete', $from, $to, $type );
    in reply to: Custom Field that works with MB_Relationships API #20629
    Anh TranAnh Tran
    Keymaster

    Hi Didou,

    To hide meta boxes, I think CSS probably is the fastest way. You can also hook to rwmb_meta_boxes or WP's add_meta_boxes hook to remove them but I think it requires more code.

    Regarding the action hooks, I can add them for you. But do you want to make a contribution on Github? So I can add a credit for you as a thanks!

    in reply to: Custom Field that works with MB_Relationships API #20617
    Anh TranAnh Tran
    Keymaster

    Hi,

    I think there's a way to prevent the MB Relationships from saving to the database using the save_field parameter for field settings (I haven't tested it yet). This param tells Meta Box to not save field value to the DB. So, you can try it by specify it explicitly in the field param of the relationship.

    add_action( 'mb_relationships_init', function () {
        MB_Relationships_API::register( [
            'id'   => 'class_present_to_student',
            'from' => [
                'post_type' => 'class',
                'field' => [
                    'save_field' => false,
                ],
            ],
            'to'   => [
                'post_type' => 'student',
                'field' => [
                    'save_field' => false,
                ],
            ],
        ] );
    } );
    in reply to: Refund Request #20421
    Anh TranAnh Tran
    Keymaster

    Hi Suraj,

    Would you mind sharing with us what are your needs? Maybe we can help you use the MB Group extension to complete the task.

    in reply to: no twig tags rendering #20361
    Anh TranAnh Tran
    Keymaster

    Hi Michael,

    Can you please share the screenshot of the view(s) screen? I think there is something that we miss in the discussion that might cause the error.

    Thanks,
    Anh

    in reply to: Meta Box builder not working after update #20275
    Anh TranAnh Tran
    Keymaster

    Hey guys, it's just the browser cache problem. Please use Ctrl-F5 or clear the browser cache and refresh again.

    Anh TranAnh Tran
    Keymaster

    Thanks for your feedback. I've just fixed it and will release a new version soon.

    Anh TranAnh Tran
    Keymaster

    Hi,

    I commented on the PR. Let's keep discussing over there for better reference of the code.

    Thanks for your help!

    in reply to: Hide custom fields except for specific term #19939
    Anh TranAnh Tran
    Keymaster

    Hi Steve,

    It's best to use MB Include Exclude.

    in reply to: Unable to download Meta Box AIO (Version 1.11.8) #19743
    Anh TranAnh Tran
    Keymaster

    Please try again. There was a small problem with your account which we've fixed.

    in reply to: Retrieving data right after saving #19595
    Anh TranAnh Tran
    Keymaster

    Hi Dave,

    It might relate to how rwmb_meta work with custom tables. We implemented a cache layer for the custom table storage, the code is in the inc/class-rwmb-table-storage.php, which is like this:

    public function get( $object_id, $meta_key, $args = false ) {
        if ( is_array( $args ) ) {
            $single = ! empty( $args['single'] );
        } else {
            $single = (bool) $args;
        }
        $default = $single ? '' : array();
    
        $row = MB_Custom_Table_Cache::get( $object_id, $this->table );
    
        return ! isset( $row[ $meta_key ] ) ? $default : maybe_unserialize( $row[ $meta_key ] );
    }

    In this case, as you already use $wpdb to update data, I'd suggest using it to get data to avoid the caching problem.

    in reply to: Backup & Restore not working with Composer loading #19579
    Anh TranAnh Tran
    Keymaster

    Strange, I see it's similar to my setup. I can think only about the downloaded version via Composer. Can you check the files in the vendor folder to see if they're the same as in the individual plugin?

    in reply to: Backup & Restore not working with Composer loading #19552
    Anh TranAnh Tran
    Keymaster

    Hi Joe,

    I've just set up a simple test plugin with nothing than just Meta Box + MB Settings Page and I see the backup & restore field works properly. Please see my video for details:

    https://www.loom.com/share/e4c5122a25fd47ad8f6a364bbac779f0

Viewing 15 posts - 181 through 195 (of 3,708 total)