Closed Beee4life closed 3 years ago
Sure, I'll make this filterable in the next release when I get time.
Also a custom upload directory would be awesome... i think that's even more important. with 2000+ members i don't want the avatars in between the site's normal uploads.
The prefix is only a temp solution to filter avatars better but if it's a custom dir, there's not much need for it imo.
Agreed, thanks more useful and practical.
Will take a look at it via http://wordpress.stackexchange.com/questions/67763/how-to-change-upload-directory-in-wp-handle-upload when I have time.
Hey @jaredatch was just looking through old issues, when I came across this. Has been open for 2 years already... Any plans on reviving/updating the plugin ? Would like to keep on using it...
Dropped this plugin... so topic is moot.
I prefer to have the $userdisplayname prefixed with avatar instead of suffixed. I hardcoded it myself by changing line 446 from
$name = $base_name = sanitize_file_name( $user->display_name . '_avatar' );
to$name = $base_name = 'avatar_' . sanitize_file_name( $user->display_name );
but like to see an option for it which is update proof.