Support MB User Profile Font end image upload input not showing Reply To: Font end image upload input not showing

#11005
H C WilliamsH C Williams
Participant

Hi Anh,

Thanks for the reply, I did see that post - we following to our functions.php:

function mb_allow_subscriber_uploads() {
    if ( is_admin() ) {
        return;
    }

// Replace 'subscriber' with the required role to update, can also be contributor.
$subscriber = get_role( 'subscriber' );
$subscriber->add_cap( 'upload_files' );

 $subscribers = get_role( 'customer' );
$subscribers->add_cap( 'upload_files' );

 $subscribered = get_role( 'administrator' );
$subscribered->add_cap( 'upload_files' );

}
add_action( 'init', 'mb_allow_subscriber_uploads' );

Sadly, this made no difference at all.

I not sure if the input buttons will be hidden if the user doesnt have permissions to upload - but we dont have them - just the labels.

Thank you again for your advice.

Kind regards

Harrison