이 플러그인은 최근 3개의 주요 워드프레스 출시와 시험 되지 않았습니다. 워드프레스의 좀 더 최근 버전으로 이용할 때 더 이상 관리되지 않고 지원되지 않고 호환성 문제가 있을 수 있습니다.

Add New Default Avatar [Emrikol's Fork]

설명

I’d been manually adding custom default avatars in functions.php for a while, and it was always a hassle to edit it to change them. I decided to see if there was a plugin available to do the job, and stumbled upon “Add New Default Avatar” here: https://wordpress.org/extend/plugins/add-new-default-avatar/
It was nice, but it was missing some features such as the ability to manage avatars, upload images, and automatically resize thumbnails. So I made a few modifications 🙂

Features:

  • Saves current default avatar before activating and restores it when deactivated
  • Upload images using AJAX directly from the plugin page
  • Ability to remove unneeded custom default avatars from the default avatar list

스크린샷

  • The plugin page showing a few added avatars.

  • The "Discussion" settings showing the available avatars.

  • twentysixteen theme showing the Hellow World post and comment with new avatar

설치

Extract the zip file and just drop the contents in the wp-content/plugins/ directory of your WordPress installation and then activate the Plugin from Plugins page.

FAQ

None Yet

후기

2016년 September 3일
Hi, Effective plugin, thank you. I have found a piece of code which seems to set a default avatar based on the gender : Male / Female. Do you think you are able to adapt this code with your plugin? add_filter( 'bp_core_fetch_avatar_no_grav', '__return_true' ); function myavatar_add_default_avatar( $url ) { global $bp; $gender = xprofile_get_field_data('Gender', bp_get_member_user_id()); if ($gender == "Male") { return $img_url = SECU.'thefashionhero.com/wp-content/uploads/male_avatar.png'; } else { return $img_url = SECU.'thefashionhero.com/wp-content/uploads/female_avatar.png'; } } add_filter( 'bp_core_mysteryman_src', 'myavatar_add_default_avatar' ); add_filter( 'bp_core_default_avatar_user', 'myavatar_add_default_avatar' );
모든 1 평가 읽기

기여자 & 개발자

“Add New Default Avatar [Emrikol's Fork]”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

자국어로 “Add New Default Avatar [Emrikol's Fork]”(을)를 번역하십시오.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록RSS로 구독하십시오.

변경이력

3.0.0

THIS UPDATE WILL BREAK YOUR CURRENT CUSTOM AVATARS
It’s been five years since the last update, and I finally took another look at this plugin. Unfortunately it was full of security holes and coding standard issues. Things have come a long way since the last version. There aren’t any more known security issues, and it’s unlikely that I’ll update this plugin again unless any new issues arise.

  • Major refactoring to remove security vulnerabilities and poor coding standards

2.0.1

  • Small bug. I left a WB_DEBUG on 🙁

2.0.0.1

  • Fixed small problem in readme.txt

2.0

  • Upgraded to latest TimThumb, 2.8.10
  • Fixed “wp_enqueue_script/wp_enqueue_style was called incorrectly” bug.
  • A bit late, but thanks to Honza for letting me know about a bad CSS bug that killed the bullets on all li tags. Fixed.
  • Cleaned up a lot of code, moved some actions to only admin area

1.0.1

  • Upgrade to the more secure TimThumb 2.8

1.0

  • Initial Release