Support Forum » User Profile

Forum Replies Created

Viewing 15 posts - 2,071 through 2,085 (of 3,702 total)
  • Author
    Posts
  • Anh TranAnh Tran
    Keymaster

    You should add that filter to your functions.php file, something like this:

    add_filter( 'the_content', function( $content ) {
        if ( is_single() ) {
            $content .= do_shortcode( '[text-blocks id="showfields"]' );
        }
        return $content;
    } );
    in reply to: edit profile #10078
    Anh TranAnh Tran
    Keymaster

    Ah, I got it. Email and password are required to manually entered to update profile info. Perhaps only password is required, email should be auto filled. What do you think?

    Anh TranAnh Tran
    Keymaster

    Hi,

    I've just tried to set similar to you, and it works for me. Let me show you a video:

    https://imgur.com/a/BPQ85f1

    I also tested with tabs and it still works. Can you try again with just 2 fields?

    in reply to: Ooops! No Api Key Found even if it's there #10061
    Anh TranAnh Tran
    Keymaster

    Hi Mauro,

    I'll update the Builder and Geolocation extensions to make the API key part easier.

    One question, I can show the address I type on the map, and the pin is placed in the correct location.

    Updating the pin in the map regarding the address is out of scope of the Geolocation. It autopopulates the address parts only. The map is handled by the map field.

    If I place the red pin elsewhere can I have it populate the address using the position of the pin instead?

    I'm afraid there is no reverse process. Only one way from address to location.

    in reply to: edit profile #10060
    Anh TranAnh Tran
    Keymaster

    Hi, is the email/password issue resolved by your code in this topic?

    Anh TranAnh Tran
    Keymaster

    Hello, I've just tried your code and it works. Did you see any error in the console?

    Anh TranAnh Tran
    Keymaster

    Hello, please try this:

    Field: just use c_country
    Operator: contains. The value of a checkbox list is always an array. So it should "contains" your selection.
    Value: the value of "Australia" that you set in the Options list of the c_country field.

    Please try and let me know how it goes.

    in reply to: Can't Update/Publish #10057
    Anh TranAnh Tran
    Keymaster

    Hi Jose, is there any plugin that you installed on your site? Can you install this plugin and post the result here?

    in reply to: admin columns and custom table plugins #10056
    Anh TranAnh Tran
    Keymaster

    Hi Garenor,

    The Admin Columns extensions works partly with the custom table. It can show the data from custom table, but not sorting or searching. I'll update it to support custom table.

    in reply to: Columns randomly nesting within them selves #10055
    Anh TranAnh Tran
    Keymaster

    Hi David, can you post the code that register meta boxes with columns? So I can debug it?

    Anh TranAnh Tran
    Keymaster

    Hello, the last question can be done with the_content filter. Please see the docs and example here.

    in reply to: How can I hide form #10052
    Anh TranAnh Tran
    Keymaster

    Hi Calpaq, I got it. I think in this case, it's better to use some conditional check in your template. Something like this:

    if ( your_is_cart_empty() ) {
        echo 'Please go back and add some items';
    } else {
        echo do_shortcode( '[mb_frontend_form id="meta-box-id"]' );
    }

    It's much easier than filter the form or change the fields inside.

    in reply to: Getting Field Value #10041
    Anh TranAnh Tran
    Keymaster

    Very nice snippet, David. I've added it to the Library on Github :).

    Anh TranAnh Tran
    Keymaster

    Hello,

    My developer is still working on this bug. Looks like the Builder extension doesn't export the value correctly. We'll let you know when it's fixed.

    Anh TranAnh Tran
    Keymaster

    Hi,

    I'm quite confused about the slug. WordPress doesn't use it to store custom fields for posts. WordPress use a combination of (post ID, meta key, meta value) in the DB. That's the post ID that Meta Box is using.

    Anyway, if there's anything involved with "slug", then it's not supported by Meta Box :(. So a custom migration script is required, I guess.

Viewing 15 posts - 2,071 through 2,085 (of 3,702 total)