BP Local Avatars

설명

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

스크린샷

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

설치

  1. Unzip and then upload the ‘bp-local-avatars’ folder to the ‘/wp-content/plugins/’ directory

  2. 워드프레스의 ‘플러그인’ 메뉴에서 플러그인을 활성화하세요.

  3. Go to Settings -> Discussion and scroll down to ‘Default Avatar’. Select and Save the option called ‘BuddyPress Identicon (Generated and Stored Locally)’.

FAQ

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.

후기

2018년 April 28일
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!
2016년 December 26일
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.
2016년 September 3일
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?
모든 7 평가 읽기

기여자 & 개발자

“BP Local Avatars”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

자국어로 “BP Local Avatars”(을)를 번역하십시오.

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

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

변경이력

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

  • 초기 릴리즈