Support Forum ยป User Profile

Forum Replies Created

Viewing 15 posts - 2,506 through 2,520 (of 3,707 total)
  • Author
    Posts
  • in reply to: Issue with complex form and columns #7939
    Anh TranAnh Tran
    Keymaster

    Hi,

    We've been working on this bug and completed rewrite the logic. Our tests run well. However, we want to test more before releasing. So @toddmckee can you please posts your code here for testing?

    in reply to: problems with parent page selection with post field. #7936
    Anh TranAnh Tran
    Keymaster

    Hi,

    I've found the bugs in both Meta Box and MB Frontend Submission. The new version for MB Frontend Submission has just been released. And the fix for Meta Box is available on Github, I will release new version soon.

    in reply to: Show posts in select_advanced dropdown ordered by name #7935
    Anh TranAnh Tran
    Keymaster

    I've tested again with a custom post type "Book" and it works for me:

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

    Here is my code:

    add_filter( 'rwmb_meta_boxes', 'your_prefix_post_demo' );
    function your_prefix_post_demo( $meta_boxes ) {
    	$meta_boxes[] = array(
    		'title'  => __( 'Post Field Demo', 'textdomain' ),
    		'post_types' => 'book',
    
    		'fields' => array(
    			array(
    				'name'        => __( 'Post', 'textdomain' ),
    				'id'          => 'post',
    				'type'        => 'post',
    				'post_type'   => array( 'book' ),
    				'field_type'  => 'select_advanced',
    				'placeholder' => __( 'Select an Item', 'textdomain' ),
    				'query_args'  => array(
    					'post_status'    => 'publish',
    					'posts_per_page' => - 1,
    					'order' => 'ASC',
    					'orderby' => 'name',
    				),
    			),
    		),
    	);
    	return $meta_boxes;
    }

    Do you run any plugin that modifies the query? Such as WPML?

    in reply to: Unique ID for nested group items? #7934
    Anh TranAnh Tran
    Keymaster

    Hi,

    The std is used to the field value. I think it's not the right element to use to create the statistics. Can you try using the hidden fields' IDs? They're dynamically changed when a new clone is created and unique.

    in reply to: Empty advanced fields in custom table #7923
    Anh TranAnh Tran
    Keymaster

    Hi Todd,

    Thanks for your feedback. It's actually a bug in the plugin. I've just released the new version. Please update and let me know if you still see it happens.

    Anh

    in reply to: Show posts in select_advanced dropdown ordered by name #7922
    Anh TranAnh Tran
    Keymaster

    Hi,

    I've just checked again and the query returns the correct order. Here is what I have:

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

    Do you run any code that hook to the query?

    in reply to: edit post link of current post #7921
    Anh TranAnh Tran
    Keymaster

    Hi,

    I've just updated the extension, added "current" value for "post_id" parameter.

    I also added dynamic population for shortcode params via query string and hooks. I think it's useful and you can use them somehow. Please refer to the documentation for more details.

    in reply to: Problem with Two Taxonomy Select Adv. #7920
    Anh TranAnh Tran
    Keymaster

    Hi,

    The taxonomy field doesn't save its value in the database. Instead, it assigns terms to posts. That's why you see both fields display the same value.

    To make it saves different values, please use taxonomy_advanced field.

    For more info, please see this docs.

    in reply to: problems with parent page selection with post field. #7906
    Anh TranAnh Tran
    Keymaster

    Hi,

    Can you please send me the test login via Contact form? I'll check it for you.

    Thanks
    Anh

    in reply to: WooCommerce Prdoucts Image Gallery With Metabox image Fields #7904
    Anh TranAnh Tran
    Keymaster

    Yes, it's possible. You need to:

    - Register a field with id _product_image_gallery
    - Filter to the value when saving to the database
    - Filter to the value when outputting the field

    This is the sample code. Please try.

    add_filter( 'rwmb_meta_boxes', function ( $meta_boxes ) {
    	$meta_boxes[] = [
    		'title'      => 'Save gallery as CSV',
    		'post_types' => 'product',
    		'fields'     => [
    			[
    				'type' => 'image_advanced',
    				'id'   => '_product_image_gallery',
    			],
    		],
    	];
    	return $meta_boxes;
    } );
    
    add_filter( 'rwmb__product_image_gallery_value', function ( $value ) {
    	$value = implode( ',', $value );
    	return $value;
    } );
    add_filter( 'rwmb__product_image_gallery_field_meta', function ( $meta ) {
    	if ( is_string( $meta ) ) {
    		$meta = explode( ',', $meta );
    	}
    	return $meta;
    } );
    in reply to: Issue with complex form and columns #7903
    Anh TranAnh Tran
    Keymaster

    Hi,

    Sorry for taking long. While working with this issue, we found that it's harder than we thought. We're trying to fix this. Hopefully early next week we can finish.

    Thanks for understanding.

    Anh TranAnh Tran
    Keymaster

    Thanks :). We'll try to do this as soon as we can.

    in reply to: need to add custom logo with a image field #7901
    Anh TranAnh Tran
    Keymaster

    Don't worry. We're working on this. It will be available when new version of Meta Box is released ๐Ÿ™‚

    Anh TranAnh Tran
    Keymaster

    Hi, sorry for this. We're updating the Builder extension. There are some options are added recently. We are also working on improving the code base for it as well. It takes some time. Please wait a little.

    Thanks
    Anh

    in reply to: submit form with ajax #7883
    Anh TranAnh Tran
    Keymaster

    Hi,

    At the moment, no. I will take a note on this and will do it later. Thanks for your suggestion!

Viewing 15 posts - 2,506 through 2,520 (of 3,707 total)