Support Forum » User Profile

Forum Replies Created

Viewing 15 posts - 3,151 through 3,165 (of 3,787 total)
  • Author
    Posts
  • in reply to: How to get the ID of the "to" object ? #40799
    PeterPeter
    Moderator

    Hello,

    If the view template is assigned to the Publication post type, and you want to display a list of 3d-flip-book posts, you can use the direction from.

    {% set args = {
    post_type: '3d-flip-book',
    relationship: { id: 'publicationtoflip', from: post.ID }
    }
    in reply to: post title #40798
    PeterPeter
    Moderator

    Hello,

    Just the first block of code for the "Green Care Form" page as I mentioned above.

    add_filter( 'rwmb_frontend_post_title', function( $field ) {
        if ( is_page( "Green Care Form" ) ) {
            $field['required'] = true;
            $field['name'] = 'Name of Green Care organisation';
        }
    
        return $field; // here
    } );
    in reply to: post title #40792
    PeterPeter
    Moderator

    Hello,

    I see the code snippet in the topic https://support.metabox.io/topic/user-dashboard-displaying-the-right-form/?swcfpc=1

    As the suggestion, please move the return statement outside of the condition if statement and check the title again.

    add_filter( 'rwmb_frontend_post_title', function( $field ) {
    if ( is_page( "Green Care Form" ) ) {
    $field['required'] = true;
    $field['name'] = 'Name of Green Care organisation';
    }
    return $field;
    } );
    PeterPeter
    Moderator

    Hello,

    I've tested this issue on my demo site without WPML.
    - site language: Spanish
    - user language: English
    the "add media" button displays in the English language. Can you please recheck this on your site?

    in reply to: Custom Fields Are Not Visible #40790
    PeterPeter
    Moderator

    Hello,

    I've imported the field group to my local site, assigned it to a post type and the field group displays as well when editing the post. Can you please ask other admins if it is moved to the sidebar?

    If not, please share your site credentials to this contact form https://metabox.io/contact/, I will take a closer look.

    PeterPeter
    Moderator

    Hello,

    It is mostly related to the post type slug. You can access the database, table wp_posts check the column post_type if it matches the slug in Meta Box > Post Types > Edit the post type.

    in reply to: Configure admin columns #40788
    PeterPeter
    Moderator

    Hello,

    You have the Agency Ultimate Bundle license so you just need to install and activate one plugin Meta Box AIO to use all premium extensions. Please read more here https://docs.metabox.io/extensions/meta-box-aio/

    Please share some screenshots in Meta Box > License and when you add a custom field in the field group.

    in reply to: Invalid form submission #40780
    PeterPeter
    Moderator

    This is a conflict issue with another plugin. Deactivate all plugins except Meta Box and MB AIO to resolve this.

    PeterPeter
    Moderator

    Hello Andy,

    Meta Box supports a field to select posts of a CPT but it does not support displaying the feature image in the selection like that.
    https://docs.metabox.io/fields/post/

    If you are familiar with coding, you can create your own field type by following the documentation https://docs.metabox.io/creating-new-field-types/

    in reply to: Using Fluent Forms to create user profiles #40778
    PeterPeter
    Moderator

    Hello,

    It could be Fluent Forms is not compatible with MB User Profile. Please contact their support to get further assistance. Thanks.

    in reply to: Custom Fields Are Not Visible #40777
    PeterPeter
    Moderator

    Hello,

    The fourth field group could be hidden by a conditional logic or advanced location rule. Can you please recheck this? If you don't find that, please export the field group to a JSON file and share it here. I will import it to my local site and take a look.

    in reply to: WYSIWYG Editor Text mode has issues #40775
    PeterPeter
    Moderator

    Hello Alexandre,

    Can you please create a new topic with the details of the issue? I will help you to check that. Thanks.

    in reply to: ℹ️Metabox Relationship Query Args #40774
    PeterPeter
    Moderator

    Hello,

    You can follow the documentation below to add the query args in the builder but some PHP functions are not supported adding in the builder like strtotime(), date()
    https://docs.metabox.io/extensions/meta-box-builder/#dot-notation

    PeterPeter
    Moderator

    Hello,

    I will inform the development team to consider supporting this feature for the relationship selection. Thanks.

    Additionally, you can use the field type checkbox_list to select more posts. For example:

    MB_Relationships_API::register( [
        'id'   => 'job-to-post',
        'from' => [
            'object_type'  => 'post',
            'post_type'    => 'my-job',    
            'field' => [
                'field_type' => 'select'
            ]    
        ],
        'to'   => [
            'object_type'  => 'post',
            'post_type'    => 'post',
            'field' => [
                'field_type' => 'checkbox_list'
            ]
        ],
    ] );
    }

    Please read more on the documentation https://docs.metabox.io/extensions/mb-relationships/#using-code
    https://docs.metabox.io/fields/post/

    in reply to: MB Views doesn't show data in front #40771
    PeterPeter
    Moderator

    Hello,

    Thanks, I see that issue. The custom fields are associated with the post type ticket so if you use the shortcode or assign the view template to a single page, the code post.ticket will return nothing because there is no field value ticket associated with the page.

    To display a custom field associated with a post on a page, you can use the helper function rwmb_meta() and pass the post ID to the third parameter to get the field value.

    For example:

    {% set tickets = mb.rwmb_meta( 'ticket', '', 123 ) %}
    {% for clone in tickets %}
    ...

    where 123 is the ticket post ID.

    Please read more on the documentation
    https://docs.metabox.io/functions/rwmb-meta/
    https://docs.metabox.io/extensions/mb-views/#running-php-functions

Viewing 15 posts - 3,151 through 3,165 (of 3,787 total)