Title: BP Local Avatars
Author: shanebp
Published: <strong>25 Tháng 2, 2015</strong>
Last modified: 17 Tháng 4, 2026

---

Tìm kiếm plugin

Plugin này **chưa được cập nhật với 3 phiên bản mới nhất của WordPress**. Nó có 
thể không được hỗ trợ và bảo trì, và có thể xung đột với các phiên bản WordPress
mới nhất.

![](https://s.w.org/plugins/geopattern-icon/bp-local-avatars.svg)

# BP Local Avatars

 Bởi [shanebp](https://profiles.wordpress.org/shanebp/)

[Tải về](https://downloads.wordpress.org/plugin/bp-local-avatars.3.0.zip)

 * [Chi tiết](https://vi.wordpress.org/plugins/bp-local-avatars/#description)
 * [Đánh giá](https://vi.wordpress.org/plugins/bp-local-avatars/#reviews)
 *  [Cài đặt](https://vi.wordpress.org/plugins/bp-local-avatars/#installation)
 * [Nhà phát triển](https://vi.wordpress.org/plugins/bp-local-avatars/#developers)

 [Hỗ trợ](https://wordpress.org/support/plugin/bp-local-avatars/)

## Mô tả

BP Local Avatars is a BuddyPress plugin.

Do you have members or groups on your BuddyPress site who do not have an Avatar?

And you do not want to show the generic default avatar? Or maybe you do not want
each page view to include a lot of calls to gravatar.com to load avatars?

 * This plugin will create a Gravatar Identicon avatar, thumb and full versions,
   for any user who does not already have an Avatar, and save it locally.
 * Supports user creation, user registration, user login, and Bulk Generation for
   user and groups.
 * Uses the existing BuddyPress avatar directory structure.
 * Conforms to the defined sizes for BuddyPress thumb and full avatars.
 * Users can still upload an avatar via their profile.
 * Groups can still upload an avatar via Group > Manage > Photo.

Usage:

 1. Provides an option in wp-admin under:
     Settings -> Discussion > Default Avatar 
    > BuddyPress Identicon (Generated and Stored Locally).
 2. Select and Save. Otherwise this plugin will not do anything.
 3. After saving, you will see a link to ‘Bulk Generate’ avatars for all users and 
    groups who do not have a local avatar. If a user already has their own Gravatar,
    it will save it locally.

For more BuddyPress plugins, please visit [PhiloPress](https://www.philopress.com/)

## Ảnh màn hình

[⌊Shows the new Default Avatar option and Bulk Generation link in Settings > Discussion
> Avatars⌉⌊Shows the new Default Avatar option and Bulk Generation link in Settings
> Discussion > Avatars⌉[

Shows the new Default Avatar option and Bulk Generation link in Settings > Discussion
> Avatars

## Cài đặt

 1. Unzip and then upload the ‘bp-local-avatars’ folder to the ‘/wp-content/plugins/’
    directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Go to Settings -> Discussion and scroll down to ‘Default Avatar’. Select and Save
    the option called ‘BuddyPress Identicon (Generated and Stored Locally)’.

## Hỏi đáp

### Does it support Monsterid and Wavatar?

Yes, but it defaults to Identicon.
 You can change the type of avatar created by
adjusting the calls in ‘public function create()’

### Are there any server requirements?

Just this: requires that ‘allow_url_fopen’ is set to true. Which is the default 
setting on most servers.

## Đánh giá

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

### 󠀁[Main Gravatar photo has gone](https://wordpress.org/support/topic/main-gravatar-photo-has-gone/)󠁿

 [Thorsten 🙂](https://profiles.wordpress.org/per4mance/) 28 Tháng 4, 2018

Hi, After generating local save for all gravatars, the main gravatar has gone. Only
smaller gravatars are still there but the main and biggest photo (150 x 150px) has
changed to the grey buddypress person. Users who did not used gravater had no issue.
What a pitty!

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

### 󠀁[Works great!](https://wordpress.org/support/topic/works-great-3414/)󠁿

 [tamarama](https://profiles.wordpress.org/tamarama/) 26 Tháng 12, 2016

Like all products from Shane and the Philopress team, the plugin works great, and
thanks to their friendly support they are a pleasure to work with. 5/5. I rely on
several of Philopress' products to run my Buddypress-powered community site.

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

### 󠀁[Great](https://wordpress.org/support/topic/great-4493/)󠁿

 [joshuajao](https://profiles.wordpress.org/joshuajao/) 3 Tháng 9, 2016

Tried a lot local avatar for buddypress, this is the only one works for me. Really
good plugin and solved my problem. Since Gravatar is blocked from my country, My
site can't running avatar without this plugin.Huge thanks again. The only thing 
I wish you can improve is the avatar on post comment for people who are not logged
in. Currently it is not working. Is it possible to make this working?

 [ Đọc tất cả 7 đánh giá ](https://wordpress.org/support/plugin/bp-local-avatars/reviews/)

## Người đóng góp & Lập trình viên

“BP Local Avatars” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.

Những người đóng góp

 *   [ shanebp ](https://profiles.wordpress.org/shanebp/)
 *   [ BuddyDev ](https://profiles.wordpress.org/buddydev/)
 *   [ Brajesh Singh ](https://profiles.wordpress.org/sbrajesh/)

[Dịch “BP Local Avatars” sang ngôn ngữ của bạn.](https://translate.wordpress.org/projects/wp-plugins/bp-local-avatars)

### Muốn tham gia phát triển?

[Duyệt code](https://plugins.trac.wordpress.org/browser/bp-local-avatars/), check
out [SVN repository](https://plugins.svn.wordpress.org/bp-local-avatars/), hoặc 
theo dõi [nhật ký phát triển](https://plugins.trac.wordpress.org/log/bp-local-avatars/)
qua [RSS](https://plugins.trac.wordpress.org/log/bp-local-avatars/?limit=100&mode=stop_on_copy&format=rss).

## Nhật ký thay đổi

#### 3.0

Tested with WP 5.4
 Now generates avatars if a dir exists but is empty

#### 2.2

Bug that caused broken avatars on comments by anonymous users – Fixed

#### 2.1

Tested with WP 4.7 and BP 2.7.2

#### 2.0

Updated call to gravatar.com to conform with new request format.

#### 1.9

Tested in WP 4.3

#### 1.8

Add admin notice after avatars are generated

#### 1.7

Tweak for icon in Settings > Discussion > Default Avatar option

#### 1.6

Tested with WP 4.2, adds check for BP, on deactivation will reset default avatar
to Mystery

#### 1.5

Added support for Group avatars

#### 1.4

Tested with WP 4.1.1

#### 1.2

 * remove global

#### 1.1

 * readme spelling

#### 1.0

 * Initial release

## Meta

 *  Phiên bản **3.0**
 *  Cập nhật lần cuối **7 tháng trước**
 *  Số lượt cài đặt **100+**
 *  Phiên bản WordPress ** 4.0 hoặc cao hơn **
 *  Đã kiểm tra lên đến **6.8.12**
 *  Ngôn ngữ
 * [English (US)](https://wordpress.org/plugins/bp-local-avatars/)
 *  [Nâng cao](https://vi.wordpress.org/plugins/bp-local-avatars/advanced/)

## Đánh giá

 4.1 trên 5 sao.

 *  [  5 5-star reviews     ](https://wordpress.org/support/plugin/bp-local-avatars/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/bp-local-avatars/reviews/?filter=4)
 *  [  1 3-star review     ](https://wordpress.org/support/plugin/bp-local-avatars/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/bp-local-avatars/reviews/?filter=2)
 *  [  1 1-star review     ](https://wordpress.org/support/plugin/bp-local-avatars/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/bp-local-avatars/reviews/#new-post)

[Xem tất cả đánh giá](https://wordpress.org/support/plugin/bp-local-avatars/reviews/)

## Những người đóng góp

 *   [ shanebp ](https://profiles.wordpress.org/shanebp/)
 *   [ BuddyDev ](https://profiles.wordpress.org/buddydev/)
 *   [ Brajesh Singh ](https://profiles.wordpress.org/sbrajesh/)

## Hỗ trợ

Có điều gì muốn nói? cần giúp đỡ?

 [Xem diễn đàn hỗ trợ](https://wordpress.org/support/plugin/bp-local-avatars/)

## Ủng hộ

Bạn có muốn hỗ trợ vào sự phát triển của plugin này?

 [ Ủng hộ plugin này ](https://www.philopress.com/donate/)