WordPress.org

한국어

  • 테마
  • 플러그인
  • 소식
    • 문서
    • 포럼
  • About
    • 워드프레스 6.8
    • 워드프레스와 40% 웹을 위한 여정
    • 워드프레스 번역 핸드북
  • 워드프레스 받기
워드프레스 받기
WordPress.org

Plugin Directory

User Profile Picture

  • 플러그인 제출하기
  • 내 즐겨찾기
  • 로그인
  • 플러그인 제출하기
  • 내 즐겨찾기
  • 로그인

User Profile Picture

작성자: Cozmoslabs
다운로드
  • 세부사항
  • 평가
  • 설치
  • 개발
지원

설명

User Profile Picture is no longer under active development, but will continue to work as is. We have integrated the current functionality in Profile Builder where it will actively be maintained, and we recommend migrating to it.

Set or remove a custom profile image for a user using the standard WordPress media upload tool.

View Documentation and Examples

Users must have the ability to upload images (typically author role or greater). You can use the plugin Profile Builder to allow other roles (e.g. subscribers) the ability to upload images.

A template tag is supplied for outputting to a theme and the option to override a user’s default avatar is also available.

Documentation and Feedback

See the documentation on GitHub.

Please Rate the Plugin.

스크린샷

  • Profile page options.
  • Media upload dialog.
  • Gutenberg settings back-end
  • Gutenberg profile front-end

블록

이 플러그인은 2(을)를 제공합니다.

  • User Profile Legacy
  • User Profile

설치

  1. Upload metronet-profile-picture folder to the /wp-content/plugins/ directory
  2. 워드프레스의 ‘플러그인’ 메뉴에서 플러그인을 활성화하세요.
  3. Place <?php mt_profile_img() ?> in your templates (arguments and usage are below)

Arguments:

/**
* mt_profile_img
*
* Adds a profile image
*
@param $user_id INT - The user ID for the user to retrieve the image for
@ param $args mixed
    size - string || array (see get_the_post_thumbnail)
    attr - string || array (see get_the_post_thumbnail)
    echo - bool (true or false) - whether to echo the image or return it
*/

Example Usage:

<?php
//Assuming $post is in scope
if (function_exists ( 'mt_profile_img' ) ) {
    $author_id=$post->post_author;
    mt_profile_img( $author_id, array(
        'size' => 'thumbnail',
        'attr' => array( 'alt' => 'Alternative Text' ),
        'echo' => true )
    );
}
?>

Since 2.2.0, you can add a profile author box using function mt_author_box.

<?php
mt_author_box( $post->post_author, array(
    'theme'              => 'tabbed',
    'profileAvatarShape' => 'round',
    'showWebsite'        => true,
    'website'            => 'https://www.ronalfy.com',
    'showSocialMedia'    => true,
    'socialMediaOptions' => 'brand',
    'socialWordPress'    => 'https://profiles.wordpress.org/ronalfy',
    'socialFacebook'     => 'https://facebook.com/mindefusement',
) );

View the code on GitHub.

The REST API is currently supported for versions of WordPress 4.4 and up.

FAQ

How do you set a user profile image?

  1. Visit the profile page you would like to edit.
  2. Click on the profile picture to add, edit, or remove the profile picture.

What role does a user have to be to set a profile image?

Author or greater.

How do I create specific thumbnail sizes?

As of 1.5, three image sizes are created: profile_24, profile_48, and profile_96. You are not limited to these sizes, however.

Does the plugin work with Multisite?

Yes, but you’ll have to set a new profile image per site. This is currently a limitation of the way the plugin stores its data. Ideas to overcome this are welcome.

후기

Good plugin

vignesh3894 2024년 8월 18일
easy to use

Very nice

ethersav 2024년 5월 15일
Very nice plugin! Thank you!

Just amazing!!!

dallinchase 2024년 4월 24일
Solves a silly problem so well! It allows you to set a custom avatar in WP simply and cleanly. I would give this 10 stars if I could!

love this plugin

EleanorR Greenawalt 2022년 9월 10일
I like this plugin so much! very user friendly

profile photo is a must

doncomputing 2022년 7월 11일
How do I make sure that the profile photo is must for the registration process?

Working perfectly

djrandypanama 2022년 1월 15일
The plugin works perfect
모든 59 평가 읽기

기여자 & 개발자

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

기여자
  • Cozmoslabs
  • Ronald Huereca
  • Alaa Alsalehi

“User Profile Picture”(이)가 14 개 언어로 번역되었습니다. 기여해 주셔서 번역자님께 감사드립니다.

자국어로 “User Profile Picture”(을)를 번역하세요.

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

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

변경이력

2.6.3

  • Released 2024-07-18
  • Migrated functionality to Profile Builder plugin where it will be actively maintained. You can keep the current plugin as is or migrate to Profile Builder to receive future updates.

2.6.2

  • Released 2024-06-20
  • Security improvements

2.6.1

  • Released 2023-09-28
  • Fixed php warning.

2.6.0

  • Released 2021-06-25
  • Fixed a security flaw where a user can change others profile picture.

2.5.0

  • Released 2021-02-18
  • Medium level (6.5) security fix. Please update as soon as possible.
  • Cleaned up REST user data so only pertitent information is returned to prevent user data leakage to roles with the upload_files capability.

2.4.0

  • Released 2020-11-17
  • Fixing REST issues.
  • Cleaning up dist scripts.
  • General code cleanup.

2.3.11

  • Released 2020-02-29
  • Added option to disable image sizes.

2.3.10

  • Released 2019-12-29
  • Added new hook for add-on capability.

2.3.9

  • Released 2019-12-06
  • Removing adverts for User Profile Picture Enhanced.

2.3.8

  • Released 2019-10-30
  • Removing top-level navigation.

2.3.7

  • Released 2019-10-23
  • Fixing options not being saved properly.

2.3.6

  • Released 2019-10-09
  • Updating compatibility with WordPress 5.3
  • Fixing JavaScript error in WordPress 5.3

2.3.5

  • Released 2019-09-17
  • Added option in Gutenberg block to customize the View Posts and View Website text.

2.3.2

  • Released 2019-07-14
  • Adding more filters for third-party plugin integration.

2.3.0

  • Released 2019-07-06
  • Gutenberg blocks are now in the User Profile Picture category.
  • New filters for add-on extensibility
  • Added Options page so you can disable the Gutenberg blocks if you so desire.
  • Bug fix: Adding user display name to post title when User Profile Picture creates the user page.

2.2.8

  • Released 2019-06-11
  • New REST API endpoint for changing profile pictures.

2.2.7

  • Released 2019-06-11
  • Fixing permissions in REST API

2.2.6

  • Released 2019-06-10
  • Fixing permissions in REST API

2.2.5

  • Released 2019-06-02
  • Code cleanup.
  • Leaner Gutenberg JavaScript.
  • Gutenberg improvements.
  • Security improvements.

2.2.0

  • Released 2019-05-12
  • Added template tags for displaying an author box

2.1.3

  • Released 2019-02-16
  • Added filter to get users in Gutenberg besides author

2.1.2

  • Released 2019-01-26
  • Resolving PHP notice for dirname

2.1.1

  • Released 2018-12-20
  • Adding white posts theme to the tabbed view block
  • Fixing clearing for the tabbed view block

2.1.0

  • Released 2018-12-19
  • Old block deprecated, but still supported
  • New block added with more control over appearance and includes themes.

2.0.2

  • Released 2018-11-20
  • Gutenberg fixes with alignment (center, right) on the front end.
  • Gutenberg fixes with the toggle boxes defaulting back to nothing.

2.0.1

  • Released 2018-11-20
  • Fixing PHP 5.2 incompatibility
  • Fixing Gutenberg block when there is no profile picture present on the front-end
  • Updating translations file

2.0.0

  • Released 2018-11-19
  • Added Gutenberg block for easy outputting to posts
  • Tested with WordPress 5.0

1.5.5

  • Released 2018-08-19
  • Enhancement: Loading image now shows between states for better UX
  • Enhancement: Plugin attempts to override the default WordPress avatar in the User Profile page
  • Enhancement: Plugin attempts to override the admin bar avatars if the users match
  • Enhancement: Added Click to Edit bar to make it more obvious what to do with the profile picture
  • Refactor: Plugin now uses wp_send_json instead of json_encode for more compatibility

1.5.1

  • Released 2018-07-12
  • Fixed a condition where a featured image was shown for the author instead of a blank gravatar

1.5.0

  • Released 2018-07-11
  • Support for AMP avatar has been added
  • Two REST API endpoints have been added to facilitate better programatic avatar selection

1.4.3

  • Released 2016-09-24
  • Bug fix: Post featured image is being shown as user’s profile picture when no avatar is selected.

1.4.1

  • Released 2016-08-30 (Props @Monter)
  • Fix select states in image modal

1.4.0

  • Released 2016-08-29 (props kelderic)
  • Bug fix: CSS Fixes to the trashcan icon and image placeholders
  • Bug fix: Modal window was set to the wrong settings
  • Enhancement: Avatar override is now the default option

1.3.1

  • Released 2016-04-02
  • Fixing thumbnail calls that could potential be inadvertently filtered and cause the profile picture to provide an erroneous callback. Props @Monter.

1.3.0

  • Released 2016-03-28
  • Adding REST API endpoint

1.2.7

  • Updated 2015-08-20 for WP 4.3 compatibility
  • Released 2015-06-10
  • Bug fix: warning message saying missing argument for avatar_override

1.2.5

  • Released 2015-06-06
  • Bug fix: get_avatar override now accepts custom classes.
  • Added mpp_avatar_classes filter to get_avatar override to allow global class overrides/additions.

1.2.3

  • Released 2015-05-20
  • Revised post type initialization to make sure post type is completely hidden.
  • Refactored function mt_profile_img to use a different API call so that output isn’t inadvertently filtered.
  • Added new filter, mpp_thumbnail_html, to filter output.

1.2.2

  • Released 2015-04-16
  • Added compatibility to Advanced Custom Fields.
  • Added increased capabilities check to Ajax calls.
  • Ensuring WordPress 4.2 compatibility.

1.2.1

  • Released 2015-03-03
  • Fixed internationalization errors.
  • Added Spanish translation.

1.2.0

  • Released 2014-12-07
  • Reducing clutter in the interface. Removed text option to upload. Added default image if no profile image is available. Added option to remove the profile image.
  • Fixed internationalization bug in the JavaScript.

1.1.0

  • Released 2014-11-11
  • Added the ability to remove profile images (aside from deleting the image).
  • Added better internationalization capabilities.
  • Added compatibility with Theme My Login.

1.0.23

  • Released 2014-10-20
  • Added a new filter to allow the “Override Avatar” interface to be hidden (and turned on my default).

1.0.22

  • Released 2014-09-02
  • Added minor update to additional user meta for easier querying (props Solinx)

1.0.21

  • Released 2013-09-09
  • Fixed avatar override on options discussion page.

1.0.20

  • Released 2013-05-13
  • Added a filter for turning on “Override Avatar” by default.

1.0.19

  • Added support for 2.0.x version of Post Thumbnail Editor

1.0.18

  • Added basic multisite support

1.0.16

  • Fixed a bug where only the profile image interface was showing for only authors and not editors and administrators.

1.0.15

  • Built-in support for Post Thumbnail Editor
  • Better integration with the new WP 3.5 media uploader
  • Various bug fixes.

1.0.10

  • Usability enhancements.
  • Stripping out useless code.
  • Updating documentation

1.0.9

  • Adding support for the new 3.5 media uploader.

1.0.3

  • Bug fix: Avatar classes in the comment section

1.0.2

  • Bug fix: Error being shown in comment section

1.0.1

  • Bug fix: Not able to “uncheck” Override Avatar.
  • Bug fix: Deleting profile image and not reverting to normal avatar.

1.0.0

  • Initial release.

기초

  • 버전 2.6.3
  • 최근 업데이트: 12개월 전
  • 활성화된 설치 50,000+
  • 워드프레스 버전 4.6 또는 그 이상
  • 다음까지 시험됨: 6.6.2
  • PHP 버전 5.6 또는 그 이상
  • 언어

    Albanian, Czech, Dutch, English (Canada), English (US), French (France), German, Italian, Japanese, Persian, Russian, Spanish (Chile), Spanish (Spain), Spanish (Venezuela), 그리고 Swedish.

    자국어로 번역하기

  • 태그:
    avatarblocksgravataruser profileusers
  • 고급 보기

평점

별 5점 만점에 4.6점.
  • 52 5-별점 후기 별 5개 52
  • 0 4-별점 후기 별 4개 0
  • 3 3-별점 후기 별 3개 3
  • 1 2-별점 후기 별 2개 1
  • 3 1-별점 후기 별 1개 3

리뷰 추가하기

모든 리뷰 보기

기여자

  • Cozmoslabs
  • Ronald Huereca
  • Alaa Alsalehi

지원

할 말 있으신가요? 도움이 필요하신가요?

지원 포럼 보기

기부

이 플러그인이 발전하도록 도우시겠습니까?

이 플러그인에 기부하기

  • 소개
  • 뉴스
  • 호스팅
  • 프라이버시
  • 쇼케이스
  • 테마
  • 플러그인
  • 패턴
  • 알아보기
  • 지원
  • 개발자 도구
  • WordPress.tv ↗
  • 참여하기
  • 이벤트
  • 기부하기 ↗
  • 미래를 위한 5가지
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

한국어

  • X(이전 트위터) 계정 방문하기
  • 블루스카이 계정 방문하기
  • 마스토돈 계정 방문하기
  • 스레드 계정 방문하기
  • 페이스북 페이지 방문하기
  • 인스타그램 계정 방문하기
  • LinkedIn 계정 방문하기
  • 틱톡 계정 방문하기
  • 유튜브 채널 방문하기
  • 텀블러 계정 방문하기
코드는 詩다