Support Forum » User Profile

Forum Replies Created

Viewing 15 posts - 931 through 945 (of 3,915 total)
  • Author
    Posts
  • PeterPeter
    Moderator

    Hello Care Digital,

    I use that snippet on my site and deactivate Meta Box plugin but don't see the issue. Here is the screenshot https://imgur.com/Q7mfAm3

    Can you please share some screenshots of the issue on your site and let me know how to reproduce it?

    in reply to: ✅Team > Topic > Event in a View #47668
    PeterPeter
    Moderator

    Hello,

    If you use the variable, you should remove the curly brackets and single quote from the query arg:

    {% set topic_args = { 
    relationship: { id: 'relationship-team-to-topic', from: post.ID }, 
    nopaging: true, 
    post_type: 'topic', 
    orderby: post.topic_datetime | date( 'Y-m-d H:i' ), 
    order: 'ASC' } 
    %}
    
    in reply to: ✅Team > Topic > Event in a View #47666
    PeterPeter
    Moderator

    Hello,

    The relationship ID in the query args is wrong. This is the relationship settings:

    function your_prefix_function_name() {
        MB_Relationships_API::register( [
            'id'          => 'event-to-topic',

    this is the query args

    {% set topic_args = { relationship: { id: 'relationship-team-to-topic', from: post.ID }, nopaging: true, post_type: 'topic' } %}

    it should be event-to-topic, not relationship-team-to-topic. Where do you get this ID relationship-team-to-topic ?

    Here is the updated query args

    {% set topic_args = { relationship: { id: 'topic-to-team', to: post.ID }, nopaging: true, post_type: 'topic' } %}
    
    {% set event_args = { relationship: { id: 'event-to-topic', to: topic.ID }, nopaging: true, post_type: 'event' } %}

    Let me know if it helps.

    PeterPeter
    Moderator

    Hello,

    1. The lost password form is available in the login form. Please check this screenshot https://imgur.com/q8Wnp8Z

    2. If you use the builder, the placeholder option is available when you edit a text field, see this https://imgur.com/aGNe6Ba
    if you don't see this option, what is the field type that you are using?

    3. If you want to send the notification message, you can use the action hook rwmb_profile_after_process
    following the documentation https://docs.metabox.io/extensions/mb-user-profile/#rwmb_profile_after_process

    If you use the plugin Meta Box AIO, you can find the confirmation email template in
    /wp-content/plugins/meta-box-aio/vendor/meta-box/mb-user-profile/templates/confirmation-email.php
    https://imgur.com/aq5oxZJ

    Meta Box supports a basic style and appearance for forms and emails. If you want to have pretty elements, you need to use custom code to style it.

    4. Currently, Meta Box plugins don't support other capchas/anti-spam measures. There is a feature request to support hCaptcha in our backlog development and we will work on this for future updates.

    5. You can use the custom attribute pattern to set up a validation for the password field. Please follow the documentation
    https://docs.metabox.io/custom-attributes/
    https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/pattern

    however, if you want to customize the password field of the MB User Profile, you need to create some custom code to override the settings of the field which is created in the code, not in the builder.

    6. Currently, there isn't an option to approve or decline a user register submission. I will inform the development team to consider supporting this feature in future updates.

    7. Yes, it can work like that. You can create a field with the same ID, for example billing_company in a field group and add the field group ID to the user profile form so the user can update this field value in the frontend.

    in reply to: ✅Team > Topic > Event in a View #47663
    PeterPeter
    Moderator

    Hello,

    Can you please also share the settings of 2 relationships?
    - Team to Topic (team-to-topic)
    - Topic to Event (topic-to-event)

    I check this View code https://pastebin.com/f3WD9DXN
    but don't see any issue when outputting topic and event posts.

    PeterPeter
    Moderator

    Hello,

    There is no case smarter than another case. It just depends on your requirements when setting up your project
    - user field will be saved to the default WordPress table wp_postmeta and works like a normal custom field.
    - relationship data will be saved to a custom table wp_mb_relationships. You need to use a custom query to get the data.
    They are already noted in the documentation that I shared above.

    To output the data, you can add the code to the template file in the theme folder or use MB Views. For the advanced, you need to have knowledge about coding to create the code.

    in reply to: Where do I enter my icense key? #47661
    PeterPeter
    Moderator

    Hello Topher,

    Do you use a multisite environment? If yes, please visit the network area and visit the page settings.php?page=meta-box-updater to add the license key.
    If not, can you open the page wp-admin/admin.php?page=meta-box-updater manually?

    PeterPeter
    Moderator

    Hello,

    Here is the sample CSS code to style the submit button

    button.rwmb-button {
        width: 100%;
    }

    you can add it to the file style.css in the theme/child theme folder. See how it works https://imgur.com/rY2KIpM

    Note: we don't support customization code. If you are not able to complete it, we offer a customization service for an extra fee. Please contact us here https://metabox.io/contact/ for more details.

    in reply to: Issue with saving field value when block has a number field #47652
    PeterPeter
    Moderator

    Hello Cedric,

    Thanks for your feedback.

    Can you please share the code that you use to register the custom block and output the block data? I'm not able to reproduce the issue on my site. If you are using the builder, you can follow the documentation to export the field group to a JSON file
    https://docs.metabox.io/extensions/meta-box-builder/#export--import

    in reply to: ✅File uploads in cloneable groups in not showing in Rest #47651
    PeterPeter
    Moderator

    Hello Marcus,

    That is expected. The subfield value in a group saves only the raw value. It is the media file ID in this case.
    So it doesn't return meaningful value like when you use the field as a top field (outside of a group field). I suggest you create a custom route and use the function RWMB_File_Field::file_info( $image_id ) to get the file info and send it via Rest API.

    Following the documentation https://docs.metabox.io/extensions/meta-box-group/#sub-field-values

    in reply to: Preview from block list doesn't work ? #47650
    PeterPeter
    Moderator

    Hello Julien,

    Thank you for your feedback.

    There is an issue with the block preview and I've escalated this to the development team to fix it. I will get back to you when I have more information.

    PeterPeter
    Moderator

    Hello John,

    As I explained in this topic https://support.metabox.io/topic/how-to-make-centralized-my-account-page-with-custom-and-woocommerce-meta/

    you can use the user profile forms to have some custom registration, login, register forms based on the field group and custom fields on your site. You can add the form shortcodes to any page and show the form in the frontend. Following the documentation https://docs.metabox.io/extensions/mb-user-profile/

    PeterPeter
    Moderator

    Hello John,

    You can use the extension plugin MB User Profile to add a user profile form to a page and show a form to edit the user meta fields that are created by Meta Box plugin.
    Please follow the documentation https://docs.metabox.io/extensions/mb-user-profile/

    And it doesn't support including the WooCommerce user meta fields in the user profile form. They have a different way to register the user meta field.

    PeterPeter
    Moderator

    Hello John,

    The frontend form block doesn't support options to customize the form like the builder. If you want to change the style of the submit button or other elements, you can create some custom CSS code to change the style.

    Thanks.

    PeterPeter
    Moderator

    Hello John,

    You can use the user field or create a relationship between users and the post type to select more users per post. Then follow the documentation to output the user in the frontend with code.
    https://docs.metabox.io/fields/user/
    https://docs.metabox.io/extensions/mb-relationships/

Viewing 15 posts - 931 through 945 (of 3,915 total)