Support Forum » User Profile

Forum Replies Created

Viewing 15 posts - 61 through 75 (of 3,708 total)
  • Author
    Posts
  • in reply to: Licence Management Bugs #40000
    Anh TranAnh Tran
    Keymaster

    Hi Aaron,

    I've just fixed the issue with can't set the limit to 0.

    I also tried to delete a license that you add with 0 limit and it worked for me. If you still see the issue, please let me know.

    Anh TranAnh Tran
    Keymaster

    Hi,

    I've just fixed it. Can you please try this fix? I'll release new version for Meta Box soon when it's confirmed.

    in reply to: MB Toolset Migration not working in "Post Reference" field #39987
    Anh TranAnh Tran
    Keymaster

    This is fixed and will be released in a few days.

    in reply to: How to validate for forbidden words? #39912
    Anh TranAnh Tran
    Keymaster

    Hi Eddy,

    In remote validation, all fields’s values are submitted to the server using their IDs. You can access to their values using $GET[‘field_id’]. And then perform your check with that value and return the result.

    The “field_id” is the same Id as you setup the field. If you need to validate many fields, you might want to loop through list of field IDs to get values and check. Something like:

    $field1_value = $GET[‘field1’];
    $field2_value = $GET[‘field2’];
    if ( strpos( $field1_value, ‘bad word’ ) !== false || strpos( $field2_value, ‘bad word’ ) !== false ) {
    echo ‘Please use good words’;
    return;
    }

    // Other checks if you need

    echo ‘true’;

    PS: type on my phone so just use the code as a starting point.

    in reply to: WYSIWYG Auto P Tags #39606
    Anh TranAnh Tran
    Keymaster

    Hi John,

    If you set the raw to false (which is default), then the data saved in the custom field is not applied with wpautop. So, you can just get it with

    $value = rwmb_meta( 'field_id' );
    echo $value; // no wpautop

    If you set the raw to true, then the data saved is always applied with wpautop, thus, you'll see the <p> tag on the front end.

    Anh TranAnh Tran
    Keymaster

    In addition, if you want to remove the locking UI (the lock icon), which helps preventing from unlock the block, you can add lock to the list of block supports, like this:

    <?php
    add_filter( 'rwmb_meta_boxes', function( $meta_boxes ) {
    	$meta_boxes[] = [
    		'title'           => 'Testimonial',
    		'id'              => 'testimonial',
    		'type'            => 'block',
    		'render_template' => __DIR__ . '/testimonial-template.php',
    		'supports'        => [
    			'lock' => false, // THIS
    		],
    		'fields'          => [
    			[
    				'type' => 'text',
    				'id'   => 'name',
    				'name' => 'Name',
    			],
    			[
    				'type' => 'textarea',
    				'id'   => 'content',
    				'name' => 'Content',
    			],
    			[
    				'type' => 'single_image',
    				'id'   => 'image',
    				'name' => 'Image',
    			],
    		],
    	];
    	return $meta_boxes;
    } );
    Anh TranAnh Tran
    Keymaster

    Hi Jacob,

    I've just tested locking a custom block created with MB Blocks and it works. Here is a sample code taken from the WP docs, that adds 2 blocks to the post default template and locks them from removing and moving (this is block-level locking).

    add_action( 'init', function () {
    	$post_type_object           = get_post_type_object( 'post' );
    	$post_type_object->template = [
    		[
    			'core/paragraph',
    			[
    				'placeholder' => 'Content goes here....',
    				'lock'        => [
    					'move'   => true,
    					'remove' => true,
    				],
    			],
    		],
    		[
    			'meta-box/testimonial',
    			[
    				'lock' => [
    					'remove' => true,
    					'move'   => true,
    				],
    			],
    		],
    	];
    } );

    And here is the screenshot:

    https://monosnap.com/direct/PWSTrtDMnvpYHhU1lxPHjNiZquXKYg

    (The code will work similarly when you register_post_type, here the post post type is registered, so I just get the post type object).

    in reply to: Metabox Admin menu does not appear after plugin activation #39265
    Anh TranAnh Tran
    Keymaster

    Hi Jose,

    I've merged 2 accounts into one, please check the downloads in My Account. If you still see problems, please let me know.

    in reply to: Metabox Admin menu does not appear after plugin activation #39257
    Anh TranAnh Tran
    Keymaster

    Hi Jose,

    Please give me a few days to merge 2 accounts. I’m currently in the hospital and can’t work.

    in reply to: Metabox Admin menu does not appear after plugin activation #39181
    Anh TranAnh Tran
    Keymaster

    That email is different from the account email that I’m seeing, which is adm**@ exceptional**.org. Please use this email to login and you’ll see all extensions.

    The problem might be that when you purchased the plugins, you entered a different email than your current account email, then the system thinks they’re different and two accounts are created.

    in reply to: Metabox Admin menu does not appear after plugin activation #39169
    Anh TranAnh Tran
    Keymaster

    What’s your account email? Is that the same as in your current profile?

    in reply to: Metabox Admin menu does not appear after plugin activation #39153
    Anh TranAnh Tran
    Keymaster

    Hi Jose,

    I've checked your account and see all downloads for extensions are available

    https://monosnap.com/direct/q3HgCgw725wcJoaYKuKKBggnUMCjGO

    Please go to https://metabox.io/my-account/ and check again.

    Thanks,
    Anh

    in reply to: PHP 8 Exposes Warning in Image Field file info #38924
    Anh TranAnh Tran
    Keymaster

    Thanks, Austin. It's fixed here.

    Anh TranAnh Tran
    Keymaster

    Hey guys,

    We've just tested the plugins with the latest version and the index works well for us. Here are some screenshots:

    Custom field settings with custom table: https://monosnap.com/direct/u8XtJOvmYvV6BSj3M20Y6g3BCY2szK

    FacetWP settings: https://monosnap.com/direct/qU8rsZkBqHrQRgt3HBu2UXFmmCAiYP

    After press Re-index, the data in the database is correct: https://monosnap.com/direct/qr6Zjt3p8dsCDrwb9rrs8xvB2Iz5zy

    in reply to: Cancel my licence and refound last payment #38756
    Anh TranAnh Tran
    Keymaster

    Hi Yesica,

    I've checked and found that your subscription was renewed on Sep 16, which is more than 30 days from now. In our refund policy, we're happy to issue refunds for you within 14 days. Unfortunately, this is out of the refund window, and all the payments were processed by out accounting department.

    Anyway, I've canceled your subscription, so you won't be renewed next year. You can cancel or deactivate the subscription anytime by visiting the link in the emails sent by FastSpring (as it handles all the payments for us).

    Best regards,
    Anh

Viewing 15 posts - 61 through 75 (of 3,708 total)