Sure! I have a profile using a shortcode so I was looking for a box using a shortcode as well. Here’s how I did it:
Instal Simple Local Avatars
Install this plugin https://www.ads-software.com/extend/plugins/php-code-for-posts/
Add a new shortcode and enter this code:
<?php get_header();
global $user_ID;
if ($user_ID) {
$user_info = get_userdata($user_ID);
$id = $user_info->ID;
}
?>
<?php if(isset($_POST['user_avatar_edit_submit']))
{
do_action('edit_user_profile_update', $id);
}
?>
<form id="your-profile" action="" method="post">
<?php
$myAv = new simple_local_avatars();
$myAv->edit_user_profile($user_info);
?>
<input type="submit" name="user_avatar_edit_submit" value="OK"/>
</form>
Copy and paste the shortcode onto a page and voilla! There’s your front-end avatar uploader!
I’m not using this anymore though. It’s not very elegant. I’m now using buddypress for its profiles, which intergrates nicely with S2 members.
Anyway, good luck!