Support Forum
Support › MB User Profile › ✅Font end image upload input not showing › Reply To: Font end image upload input not showing
Hi Anh,
Do you have any advice for the issue below?
We have looked at editing the user permissions in the functions file, however, even as a new user you cannot see any input buttons.
Kind regards
Harrison
Hi Anh,
Sorry to come back to you on this, but I was wondering if you had any advice on this issue?
Kind regards
Harrison
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