• Hello, how to make simple local avatars working with WP User Frontend? I tried to replace in wpuf-editprofile.php line:

    <?php do_action( ‘show_user_profile’, $profileuser ); ?>

    to:

    <div id=”userProfile_container”>
    <div id=”userProfile_avatar”>
    <?php echo get_avatar( $userdata->ID, 90 );?>
    </div>
    <div id=”userProfile_controls”>
    <span>Update your avatar (.jpg, .png, .gif)</span>

    <input type=”hidden” id=”_simple_local_avatar_nonce” name=”_simple_local_avatar_nonce” value=”263d2a8f8d” />
    <input type=”file” name=”simple-local-avatar” id=”simple-local-avatar” />

    </div>
    </div>
    But there is no result, after upload avatar is set to default one. Anyone can help?

    https://www.ads-software.com/plugins/wp-user-frontend/

  • The topic ‘avatars wont load from frontend!’ is closed to new replies.