Title: Add New Default Avatar [Emrikol&#039;s Fork]
Author: Derrick Tennant
Published: <strong>30.08.2010</strong>
Last modified: 14.06.2016

---

Поиск плагинов

![](https://ps.w.org/add-new-default-avatar-emrikols-fork/assets/banner-772x250.
png?rev=1436554)

Этот плагин **не тестировался с последними 3 основными выпусками WordPress**. Скорее
всего, он уже не поддерживается и может быть несовместим с текущими версиями WordPress.

![](https://ps.w.org/add-new-default-avatar-emrikols-fork/assets/icon.svg?rev=1436554)

# Add New Default Avatar [Emrikol’s Fork]

 Автор: [Derrick Tennant](https://profiles.wordpress.org/emrikol/)

[Скачать](https://downloads.wordpress.org/plugin/add-new-default-avatar-emrikols-fork.3.0.0.zip)

 * [Детали](https://ru.wordpress.org/plugins/add-new-default-avatar-emrikols-fork/#description)
 * [Отзывы](https://ru.wordpress.org/plugins/add-new-default-avatar-emrikols-fork/#reviews)
 *  [Установка](https://ru.wordpress.org/plugins/add-new-default-avatar-emrikols-fork/#installation)
 * [Разработка](https://ru.wordpress.org/plugins/add-new-default-avatar-emrikols-fork/#developers)

 [Поддержка](https://wordpress.org/support/plugin/add-new-default-avatar-emrikols-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 plugin page showing a few added
avatars.⌉[

The plugin page showing a few added avatars.

[⌊The "Discussion" settings showing the available avatars.⌉⌊The "Discussion" settings
showing the available avatars.⌉[

The «Discussion» settings showing the available avatars.

[⌊twentysixteen theme showing the Hellow World post and comment with new avatar⌉⌊
twentysixteen theme showing the Hellow World post and comment with new avatar⌉[

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.

## Часто задаваемые вопросы

None Yet

## Отзывы

![](https://secure.gravatar.com/avatar/6c4fac4b43b605b281cf0c73c1366235c481a745da2d78e45ac09f06b8572e13?
s=60&d=retro&r=g)

### 󠀁[Do the job — Improvement for gender based avatar](https://wordpress.org/support/topic/do-the-job-improvement-for-gender-based-avatar/)󠁿

 [moxymore](https://profiles.wordpress.org/moxymore/) 03.09.2016 1 ответ

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 отзыв ](https://wordpress.org/support/plugin/add-new-default-avatar-emrikols-fork/reviews/)

## Участники и разработчики

«Add New Default Avatar [Emrikol's Fork]» — проект с открытым исходным кодом. В 
развитие плагина внесли свой вклад следующие участники:

Участники

 *   [ Derrick Tennant ](https://profiles.wordpress.org/emrikol/)

[Перевести «Add New Default Avatar [Emrikol's Fork]» на ваш язык.](https://translate.wordpress.org/projects/wp-plugins/add-new-default-avatar-emrikols-fork)

### Заинтересованы в разработке?

[Посмотрите код](https://plugins.trac.wordpress.org/browser/add-new-default-avatar-emrikols-fork/),
проверьте [SVN репозиторий](https://plugins.svn.wordpress.org/add-new-default-avatar-emrikols-fork/),
или подпишитесь на [журнал разработки](https://plugins.trac.wordpress.org/log/add-new-default-avatar-emrikols-fork/)
по [RSS](https://plugins.trac.wordpress.org/log/add-new-default-avatar-emrikols-fork/?limit=100&mode=stop_on_copy&format=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](http://www.honza.info/) 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

## Мета

 *  Версия **3.0.0**
 *  Обновление: **10 лет назад**
 *  Активных установок: **10+**
 *  Версия WordPress ** 4.5.2 или выше **
 *  Совместим вплоть до: **4.5.33**
 *  Язык
 * [English (US)](https://wordpress.org/plugins/add-new-default-avatar-emrikols-fork/)
 * Метки:
 * [avatars](https://ru.wordpress.org/plugins/tags/avatars/)[default avatar](https://ru.wordpress.org/plugins/tags/default-avatar/)
   [gravatar](https://ru.wordpress.org/plugins/tags/gravatar/)
 *  [Дополнительно](https://ru.wordpress.org/plugins/add-new-default-avatar-emrikols-fork/advanced/)

## Оценки

 5 из 5 звёзд.

 *  [  1 5-звездный отзыв     ](https://wordpress.org/support/plugin/add-new-default-avatar-emrikols-fork/reviews/?filter=5)
 *  [  0 4-звездный отзыв     ](https://wordpress.org/support/plugin/add-new-default-avatar-emrikols-fork/reviews/?filter=4)
 *  [  0 3-звездный отзыв     ](https://wordpress.org/support/plugin/add-new-default-avatar-emrikols-fork/reviews/?filter=3)
 *  [  0 2-звездный отзыв     ](https://wordpress.org/support/plugin/add-new-default-avatar-emrikols-fork/reviews/?filter=2)
 *  [  0 1-звездный отзыв     ](https://wordpress.org/support/plugin/add-new-default-avatar-emrikols-fork/reviews/?filter=1)

[Ваш отзыв](https://wordpress.org/support/plugin/add-new-default-avatar-emrikols-fork/reviews/#new-post)

[Посмотреть всеотзывы](https://wordpress.org/support/plugin/add-new-default-avatar-emrikols-fork/reviews/)

## Участники

 *   [ Derrick Tennant ](https://profiles.wordpress.org/emrikol/)

## Поддержка

Есть что сказать? Нужна помощь?

 [Перейти в форум поддержки](https://wordpress.org/support/plugin/add-new-default-avatar-emrikols-fork/)