*

epoolroy

  • ****
  • 121 posts
Hello, anyone can help me? how can i configure just only admin can upload Profile_Picture for user? That mean user cannot upload that image but only admin can do that for user....  I want do this because some user Upload their Profile_Picture with some Nude/naked image... This very not good....How can i put a button upload at Admin panel for Edit User? Hope someone can help me and assist me how do that... Thank you

*

MB Themes

Re: How to configure only Admin can Upload profile_picture for user
« Reply #1 on: April 11, 2018, 08:42:21 AM »
@epoolroy
No plugin has such configuration.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

epoolroy

  • ****
  • 121 posts
Re: How to configure only Admin can Upload profile_picture for user
« Reply #2 on: April 11, 2018, 09:13:25 AM »
@epoolroy
No plugin has such configuration.
hurmmmm

*

epoolroy

  • ****
  • 121 posts
Re: How to configure only Admin can Upload profile_picture for user
« Reply #3 on: April 11, 2018, 09:26:17 AM »
Can you tell me how can i put this funtion from User profile to edit user for admin....
i get this code from user-profile.php

<?php if(function_exists('profile_picture_show')) { ?>
              <div class="row">
                <label class="picture"><span><?php _e('Avatar', 'stela'); ?></span></label>
                <a href="#" id="pict-update">
                  <?php profile_picture_show(null, null, 80); ?>
                </a>

                <a href="#" id="pict-update-secondary" class="btn btn-secondary"><?php _e('Update avatar', 'stela'); ?></a>
              </div>
            <?php } ?>

My question, how can i used this code in Admin dashboard for Edit User... how can i ADD HOOK To ADMIN ??what a code... please
Please see attach file below
« Last Edit: April 11, 2018, 09:28:58 AM by epoolroy »