WordPress.org

tiếng Việt

  • Giao diện
  • Plugin
  • Tin tức
    • Tài liệu hướng dẫn
    • Diễn đàn
  • Giới thiệu
  • Facebook #WPVN
  • Tải WordPress
Tải WordPress
WordPress.org

Plugin Directory

Profile Picture

  • Gửi một plugin
  • Yêu thích của tôi
  • Đăng nhập
  • Gửi một plugin
  • Yêu thích của tôi
  • Đăng nhập

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.

Profile Picture

Bởi Arul Jayaraj
Tải về
  • Chi tiết
  • Đánh giá
  • Cài đặt
  • Nhà phát triển
Hỗ trợ

Mô tả

Users can set his profile picture from admin end and as well as Front End.

Admin End it would come automatically based on the user role, who has upload_files capability, otherwise we need to assign capability to them.

In Front End when we use <?php do_action('edit_user_profile',$current_user); ?> on edit profile section, it would be placed on additonal user profile fields.

*Future Updates: Display current user images alone, short code and migrate withsocial media profile pictures.

Ảnh màn hình

  • Add profile image field in admin end.

  • After uploading and saving your selected image.

  • Show the same profile image feature in front end.

Cài đặt

  1. Upload profile-picture folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Go to Profile in admin end / Go to profile edit in front end

Note: If you want to add this feature to default scbscribers and contributors, Enable this action hook <?php add_action('admin_init', array($this,'allow_uploads_permission') ); ?> from the ProfilePicture class.

Hỏi đáp

Profile Picture upload permissions about users?

Currently, who has the capability of upload_files they can upload profile pictures.
Editors and Admins can upload and edit files.
Authors can only upload files.
Subscribers and Contributors cannot do either Need to enable add_action('admin_init', array($this,'allow_uploads_permission') ) in our class file.

How to show the profile image in frontend?

We can show our customized profile picture in front end whereever you want with registered image sizes. You may use wordpress get_avatar() function by default, else user our customized one it serves by your wish..

id_or_email (integer|string|object) (required ) You may pass user id, email or user object here.

width (integer) (optional) Width of the image.

height (integer) (optional) Width of the image.

alt (string) (optional) alt title of image tag.

Return Values It would return profile picture details as array or false on failure.

Đánh giá

Good idea

Christopher 3 Tháng 9, 2016 1 trả lời
…but it didn’t actually work on my website.

Cool plugin, Easy to use. Keep it up.

Vijay 3 Tháng 9, 2016
Hey! It is easy to use, nice guide for installation and usage. Keep it up.

A good thought that needs a little more tweak

wpmohan 3 Tháng 9, 2016
A good idea to handle user images within a wordpress site without having to painfully setup a Gravatar Profile. Expecting update to the current version with Image Priviliges to view & select only user’s own uploads in Media library. Keep Updating, Keep Coding! [ Signature moderated ]
Đọc tất cả 4 đánh giá

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

“Profile Picture” 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
  • Arul Jayaraj

Dịch “Profile Picture” sang ngôn ngữ của bạn.

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

Duyệt code, check out SVN repository, hoặc theo dõi nhật ký phát triển qua RSS.

Nhật ký thay đổi

1.0

Beta Release

Meta

  • Phiên bản 1.0
  • Cập nhật lần cuối 10 năm trước
  • Số lượt cài đặt 80+
  • Phiên bản WordPress 3.0 hoặc cao hơn
  • Đã kiểm tra lên đến 4.5.33
  • Ngôn ngữ
    English (US)
  • Thẻ
    custom profile pictureprofile photoprofile pictureuser photouser profile picture
  • Nâng cao

Đánh giá

4.3 trên 5 sao.
  • 1 5-star review 5 sao 1
  • 2 4-star reviews 4 sao 2
  • 0 3-star reviews 3 sao 0
  • 0 2-star reviews 2 sao 0
  • 0 1-star reviews 1 sao 0

Thêm đánh giá của bạn

Xem tất cả đánh giá

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

  • Arul Jayaraj

Hỗ trợ

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

Xem diễn đàn hỗ trợ

  • Giới thiệu
  • Tin tức
  • Lưu trữ
  • Quyền riêng tư
  • Trưng bày
  • Giao diện
  • Plugin
  • Mẫu khối
  • Học hỏi
  • Hỗ trợ
  • Nhà phát triển
  • WordPress.tv ↗
  • Tham gia
  • Sự kiện
  • Quyên góp ↗
  • Năm cho Tương lai
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

tiếng Việt

  • Truy cập tài khoản X (trước đây là Twitter) của chúng tôi
  • Visit our Bluesky account
  • Visit our Mastodon account
  • Visit our Threads account
  • Xem trang Facebook của chúng tôi
  • Truy cập tài khoản Instagram của chúng tôi
  • Truy cập tài khoản LinkedIn của chúng tôi
  • Visit our TikTok account
  • Truy cập kênh YouTube của chúng tôi
  • Visit our Tumblr account
Viết code như làm thơ.