Author cannot upload image and attach to his user profile

Support MB Frontend Submission Author cannot upload image and attach to his user profile

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #50032
    EddyPiVEddyPiV
    Participant

    When an author-role uploads an image to assign it to his own user-profile, there is the error 'Sorry, you are not allowed to attach files to this post.'
    He has the 'upload_files' capability, what more does he need for this action?

    #50033
    EddyPiVEddyPiV
    Participant

    Apparently the author is not trying to update his user profile but the current page.
    I used the shortcode [mb_frontend_form id='id' ......], I was expecting that that's the shortcode to be used for frontend submission, also for Show For = user.
    If that's not the case, what should I use instead?

    I also observed that I only see the fields, but not the labels. What am I missing? (Sure, the labels, but how to get them visible too)

    #50036
    PeterPeter
    Moderator

    Hello Eddy,

    Thanks for reaching out.

    The shortcode [mb_frontend_form] is used to submit the post (or post type) from the frontend. If you want to allow users to update their profile in the frontend, please use the shortcode [mb_user_profile_info]

    Please follow the documentation to get more info https://docs.metabox.io/extensions/mb-user-profile/

    #50037
    EddyPiVEddyPiV
    Participant

    Peter,

    I'll look into that. But shouldn't be the shortcode provided by MetaBox in the Field Groups list be different where Show For = User? Now it is a post type based shortcode that cannot be used for the user.

    Anyway, I'll look into this, thanks for now.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.