Support Forum ยป User Profile

Forum Replies Created

Viewing 15 posts - 2,656 through 2,670 (of 3,707 total)
  • Author
    Posts
  • in reply to: โœ…save state and map field #6643
    Anh TranAnh Tran
    Keymaster

    Thanks for letting us know. We'll fix it soon.

    in reply to: Validation does not work when field is clonable #6624
    Anh TranAnh Tran
    Keymaster

    Hi,

    This problem is caused by the validation library. It checks by the ID attribute. When cloning, we change the ID (by appending _1, _2, etc.) and thus, break the validation. We'll try to find a solution soon.

    in reply to: โœ…[Request] Force number of clones #6623
    Anh TranAnh Tran
    Keymaster

    Hi,

    Yes, you can do that by specified the std value. This code will set the 3 inputs (clones):

    array(
        'type' => 'text',
        'id' => 'test',
        'clone' => true,
        'max_clone' => 3,
        'std' => array( '', '', '' ) // Default values for 3 clones
    )
    in reply to: MB Settings Page 1.3.1, Checkbox List #6572
    Anh TranAnh Tran
    Keymaster

    Hi zac, I've just fixed the bug with checkbox list. Please update the extension.

    in reply to: Heading as revision #6570
    Anh TranAnh Tran
    Keymaster

    Thank Troels for the bug and fix. We'll fix it now ๐Ÿ™‚

    Update: New version is available. Please update.

    Anh TranAnh Tran
    Keymaster

    Hi, I think you need to separate them into 2 meta boxes. In this situation, the logic is applied to only 1 CPT. It's better to separate them.

    You can put fields into a parameter to save your code, like this:

    $fields = array(); // Your fields for both meta boxes here
    $meta_boxes[] = array(
        'id' => 'first-id',
        'post_types' => 'page',
        'show' => array(),
        'fields' => $fields,
    );
    $meta_boxes[] = array(
        'id' => 'another-id',
        'post_types' => 'solution',
        'fields' => $fields,
    );
    in reply to: Image upload does not work with MB Frontend Submission #6560
    Anh TranAnh Tran
    Keymaster

    Hi,

    The problem with image upload in the frontend is permission. Users need to login and have the upload_files capability. WP doesn't allow anonymous user to browse the media library and upload there.

    So, I'd suggest you use the simple image field, which allows uploading images, or you need to add more capabilities to allow users to upload (users still need to login though).

    in reply to: Can I request a refund #6557
    Anh TranAnh Tran
    Keymaster

    Thanks a lot for your info. I will check and fix the errors. Looks like the AIO plugin caused it.

    in reply to: Can I request a refund #6534
    Anh TranAnh Tran
    Keymaster

    Hi,

    That's totally fine. There is a benefit to know coding to use the plugin and extensions better, but it's still doable if you just follow the instruction.

    The refund has been issued.

    By the way, can you please tell me about the 1st problem, when you just activated the plugins and see the white screen. Do you see any error? Is there any error logged?

    That can help us fix the bugs for others.

    Thanks
    Anh

    in reply to: MB Rest API Fields POST Method #6462
    Anh TranAnh Tran
    Keymaster

    Hi, POST works, actually.

    Here is the code that implements that.

    You can send data in json format (string) or an array in format (field_id => value).

    in reply to: โœ…Strange issue with tabs + columns #6444
    Anh TranAnh Tran
    Keymaster

    OK, great. We'll work on that.

    in reply to: Collapsible Attribute #6412
    Anh TranAnh Tran
    Keymaster

    I pushed a new version yesterday with an improvement for this. Please just update.

    Anh TranAnh Tran
    Keymaster

    Hi Matt, I just realized this bug some days ago and fixed it.

    Can you please try the latest version on Github and let me know if it works?

    Thanks.

    in reply to: โœ…Strange issue with tabs + columns #6403
    Anh TranAnh Tran
    Keymaster

    Thanks for your reply. I see 1 problem with the syntax above: what if we have multiple flex-item?

    Currently, we're working on an improved version of Columns, which supports syntax like this (similar to tabs):

    $meta_boxes[] = array(
        'title'      => 'Test Columns',
        'columns' => array(
            'column-1' => 4, // Short syntax
            'column-2' => array( 'size' => 8, 'class' => 'custom-class' ), // Advanced syntax
        ),
        'fields' => array(
            array(
                // ...
                'column' => 'column-1',
            ),
            array(
                // ...
                'column' => 'column-2',
            ),
        ),
    );

    I think this syntax makes thing easier to implement. I tried using nested syntax, but it requires to completely rewrite the plugin, which might break backward compatibility.

    I'll think more about the flex syntax. My goal is making it as simple as possible. Currently, I see it's kind of complicated.

    in reply to: โœ…Parse error in class-rwmb-group-field.php #6401
    Anh TranAnh Tran
    Keymaster

    Oops, I used the short array syntax, which is available for PHP >= 5.4. Just fixed it in 1.2.10.

    Thanks a lot for reporting!

Viewing 15 posts - 2,656 through 2,670 (of 3,707 total)