Support Forum » User Profile

Forum Replies Created

Viewing 15 posts - 241 through 255 (of 3,708 total)
  • Author
    Posts
  • in reply to: Login Password Strenght #18620
    Anh TranAnh Tran
    Keymaster

    Hi Han,
    In the Registration form, I have set the password_strength="medium" but it doesn't change the password_strenth in Login form into "strong". Please check your Login form shortcode to see if it has its own password_strength. Thank you.

    in reply to: Publish in WordPress.org #18613
    Anh TranAnh Tran
    Keymaster

    Hi,

    Unfortunately, it's not allowed. You can use our premiums for your premium plugins, but not for free/public plugins because that equals to giving our premium plugins for free. We have written that clearly in our FAQ.

    You can, however, making a plugin that requires MB Blocks to work (without bundling/including it). So, when users use your plugin, they're required to install MB Blocks separately to work.

    in reply to: Login Password Strenght #18607
    Anh TranAnh Tran
    Keymaster

    Hi Han,

    Let us check the bug and will get back to you soon.

    in reply to: Google Maps - problem. I thinks it's a bug. #18606
    Anh TranAnh Tran
    Keymaster

    Hi Donald,

    Can you open the browser console and see if there's any error there? I guess there's some JS issue that prevent the field from saving the value (as the map is reset to the default location, the value is obviously not saved). And because it's not saved, the Views can't render it.

    in reply to: storing javascript in text area #18605
    Anh TranAnh Tran
    Keymaster

    Hi,

    I've tested and seen that the HTML data is stored correctly, and outputted correctly. Please see my video:

    https://www.loom.com/share/9a597fe6bee64a6da559123dc84f4993

    Maybe what you want is executing the script, not outputting its URL? Is that the script tag or a tag?

    in reply to: Post title and post content fields #18603
    Anh TranAnh Tran
    Keymaster

    Hy Ryan, thanks for your feedback. Let me see if we can remove that part from the plugin. For now, it's best to use default WP fields.

    in reply to: Remove Password Field #18602
    Anh TranAnh Tran
    Keymaster

    Hi Han,

    Unfortunately, we don't have that functionality yet.

    Anh TranAnh Tran
    Keymaster

    Hi Donald,

    You might want to take a look at the data structure of mb_relationships table, which is quite simple and easy to understand. It has 5 columns:

    • ID: connection ID (auto increment)
    • from: the ID of the "from" object
    • to: the ID of the "to" object
    • type: the connection type (ID)
    • order_from: the order for the "from" side
    • order_to: the order for the "to" side

    And based on that, you can prepare the data accordingly.

    When inserting into the database manually, you can omit the order_from and order_to for simplicity.

    Anh TranAnh Tran
    Keymaster

    Hi Mauro,

    I tried your code and didn't see any problem with wpautop. Please see my video:

    https://www.loom.com/share/22373c8a9cf74fc18bbd401ca2b56ff0

    Maybe I'm missing something.

    Anh TranAnh Tran
    Keymaster

    Hi,

    The function you use get_attached_file is not correct. It returns the file path instead of array, see the docs.

    To get the file URL, you can use wp_get_attachment_url file.

    if ( isset( $file_attachment['attachment'] ) ) {
         $file_url = wp_get_attachment_url( $file_attachment['attachment'] );
          echo '<a href="' . $file_url . '" target="_blank">' . $file_name . '</a>';
    }
    in reply to: TypeError: logics is undefined #18597
    Anh TranAnh Tran
    Keymaster

    Can you post the code on pastebin.com? The forum auto strips all unwanted characters.

    in reply to: TypeError: logics is undefined #18576
    Anh TranAnh Tran
    Keymaster

    Can you please post the code of your meta box?

    Anh TranAnh Tran
    Keymaster

    Hi,

    The BB shortcode for image fields will render full image tag and I think it's not possible to used within HTML module.

    In that case, you can use our shortcode rwmb_meta, like this:

    <img src="[rwmb_meta id='field_id' size='full' attribute='url']">
    

    The shortcode allows you to get a specific attribute of the returned value (which is an array).

    PS: Please use the latest version of Meta Box on Github. There was a bug in getting URL of single image, that I've just fixed.

    in reply to: Get the POST ID when defining a metabox #18574
    Anh TranAnh Tran
    Keymaster

    Hi,

    You can get the post ID with the following code:

    $post_id = null;
    if ( isset( $_GET['post'] ) ) {
        $post_id = intval( $_GET['post'] );
    } elseif ( isset( $_POST['post_ID'] ) ) {
        $post_id = intval( $_POST['post_ID'] );
    }
    in reply to: User Posts Dashboard #18573
    Anh TranAnh Tran
    Keymaster

    Hi,

    The dashboard shortcode has an attribute to specify the edit page. And it will get the post type from the edit page, and then show all posts belong to that post type.

    If you want to set a specific post type, please edit the shortcode in the edit page and set the post type explicitly there. By default, it's "post".

Viewing 15 posts - 241 through 255 (of 3,708 total)