Support Forum » User Profile

Forum Replies Created

Viewing 15 posts - 1,411 through 1,425 (of 3,707 total)
  • Author
    Posts
  • in reply to: insert settings fields #13326
    Anh TranAnh Tran
    Keymaster

    Hi Mark,

    Did you get the shortcode [wpbb site:meta_box field='pboptions'] from another module (by copying and pasting to the custom layout? The field param doesn't accept #light-row-color or something similar, it's simply a field ID.

    Anyway, using this shortcode will return the whole image HTML tag. Only when using the connection in the background settings gives the image URL.

    We're working on improving the integration, to allow you to choose which attribute of the returned image to be used. Until then, I think it's not possible.

    in reply to: How to edit Email and Password #13325
    Anh TranAnh Tran
    Keymaster

    Yes, it's possible to auto-fill the current user email. See the updated script.

    Regarding edit user profile in the back end, this technique is meant for use for editing user profile in the front end only.

    Anh TranAnh Tran
    Keymaster

    Can you please give a screenshot on what you're trying to do? Is the event datetime a repeating group?

    in reply to: Trying to display all the possible connection to a post #13323
    Anh TranAnh Tran
    Keymaster

    Hi Vee Jay, I've tried the code and it works for me. Here is my video record: http://recordit.co/1e1j1PkNs5

    And here is the code I used to test: https://ghostbin.com/paste/kyufr

    in reply to: MB Group "std" is not showing up in settings page #13322
    Anh TranAnh Tran
    Keymaster

    Let's discuss there as it's very code-specific.

    in reply to: Select Metaboxs by Attribute Flag #13318
    Anh TranAnh Tran
    Keymaster

    Updated answer:

    Your code is the correct one. I'm adding docs for rwmb_get_registry here.

    in reply to: How to edit Email and Password #13300
    Anh TranAnh Tran
    Keymaster

    Hi guys,

    To edit user email, simply create a meta box (or a new field in an existing meta box) with id user_email. And then include the meta box into the shortcode. Here is the code I used to test.

    in reply to: Image/file field does not take validation #13299
    Anh TranAnh Tran
    Keymaster

    Hey guys,

    This is a bug and I've just fixed it on Github. It's available in the new version soon.

    in reply to: insert settings fields #13298
    Anh TranAnh Tran
    Keymaster

    Hi Mark,

    Can you please re-post the code for posts custom layout on ghostbin.com? Looks like this forum truncates the code.

    in reply to: Translating labels #13297
    Anh TranAnh Tran
    Keymaster

    Hi pza,

    Currently, all text in the builder are plain text. They're fixed and not translatable. I'd suggest exporting to code, and use Loco Translate plugin to translate the labels.

    in reply to: Custom Post Type and Custom Field Type Unaccessible #13296
    Anh TranAnh Tran
    Keymaster

    Hi Sean,

    Can you edit the post type again (under Meta Box > Post Types) and make sure all labels are filled?

    in reply to: Trying to display all the possible connection to a post #13295
    Anh TranAnh Tran
    Keymaster

    Hi Vee Jay,

    In MB_Relationships_API::each_connected, you set property different for each connection. So to get them all, use this code:

    while ( $my_query->have_posts() ) : $my_query->the_post();
    
        // Display connected pages
        foreach ( $post->connected_confs as $post ) : setup_postdata( $post );
            the_title();
        endforeach;
        wp_reset_postdata();
    
        foreach ( $post->connected_posts as $post ) : setup_postdata( $post );
            the_title();
        endforeach;
        wp_reset_postdata();
    
        foreach ( $post->connected_press_items as $post ) : setup_postdata( $post );
            the_title();
        endforeach;
    
        wp_reset_postdata();
    endwhile;
    in reply to: Button's std isn't displaying #13294
    Anh TranAnh Tran
    Keymaster

    Hi Axel,

    Sorry for late reply. We've just been through the Tet holiday.

    I've just check and could replicate the error. I'll provide a fix soon.

    Updated: I've fixed the bug. Waiting to merge the code in this topic, then I'll release new version.

    in reply to: Only auto populate neighborhood field if not empty #13293
    Anh TranAnh Tran
    Keymaster

    Thanks for your help!

    I've sent an invitation to you on Bitbucket, so you can have access to the repo and open a PR!

    Cheers!

    Anh TranAnh Tran
    Keymaster

    Hi Albert,

    I've just tested with the contact module and it works fine. Here is my video: http://recordit.co/hHSiVIlfQV. Can you please take a look?

    PS: In my test, I use MailTrap to catch all emails and Easy WP SMTP to setup SMTP.

Viewing 15 posts - 1,411 through 1,425 (of 3,707 total)