Lewati ke konten
WordPress.org

Indonesia

  • Tema
  • Plugin
  • Berita
  • Bantuan
  • Tentang
  • Komunitas
  • Poliglot
  • Gunakan WordPress
Gunakan WordPress
WordPress.org

Plugin Directory

Profile Picture

  • Kirim plugin
  • Favorit saya
  • Login
  • Kirim plugin
  • Favorit saya
  • Login

Plugin ini belum teruji dangan 3 rilis besar WordPress. Kemungkinan tidak lagi dipelihara atau didukung, dan mungkin menghadapi masalah kompatibilitas bila digunakan dengan versi WordPress yang lebih baru.

Profile Picture

Oleh Arul Jayaraj
Unduh
  • Detail
  • Ulasan
  • Instalasi
  • Pengembangan
Bantuan

Deskripsi

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.

Tangkapan Layar

Add profile image field in admin end.

Add profile image field in admin end.

After uploading and saving your selected image.

After uploading and saving your selected image.

Show the same profile image feature in front end.

Show the same profile image feature in front end.

Instalasi

  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.

Tanya Jawab

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.

Ulasan

Good idea

Christopher 3 September 2016 1 balasan
…but it didn’t actually work on my website.

Cool plugin, Easy to use. Keep it up.

Vijay 3 September 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 September 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 ]
Baca semua 4 ulasan

Kontributor & Pengembang

“Profile Picture” adalah perangkat lunak open source. Berikut ini mereka yang sudah berkontribusi pada plugin ini.

Kontributor
  • Arul Jayaraj

Terjemahkan “Profile Picture” dalam bahasa Anda.

Tertarik mengembangkan?

Lihat kode, periksa repositori SVN , atau mendaftar ke log pengembangan melalui RSS.

Log Perubahan

1.0

Beta Release

Meta

  • Versi 1.0
  • Diperbarui 10 tahun yang lalu
  • Instalasi Aktif 80+
  • Versi WordPress 3.0 atau yang terbaru
  • Diuji hingga 4.5.33
  • Bahasa
    English (US)
  • Tag
    custom profile pictureprofile photoprofile pictureuser photouser profile picture
  • Tampilan lanjut

Rating

4.3 dari 5 bintang.
  • 1 ulasan 5-bintang 5 bintang 1
  • 2 ulasan 4-bintang 4 bintang 2
  • 0 ulasan 3-bintang 3 bintang 0
  • 0 ulasan 2-bintang 2 bintang 0
  • 0 ulasan 1-bintang 1 bintang 0

Your review

Lihat semua ulasan

Kontributor

  • Arul Jayaraj

Bantuan

Ada yang ingin dikatakan? Butuh bantuan?

Lihat forum bantuan

  • Tentang
  • Berita
  • Hosting
  • Privasi
  • Tampilan
  • Tema
  • Plugin
  • Pola
  • Belajar
  • Bantuan
  • Developer
  • WordPress.tv ↗
  • Terlibat
  • Kegiatan
  • Donasi ↗
  • Swag ↗
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

Indonesia

  • Kunjungi akun X (sebelumnya Twitter) kami
  • Visit our Bluesky account
  • Kunjungi akun Mastodon kami
  • Visit our Threads account
  • Kunjungi halaman Facebook kami
  • Kunjungi akun Instagram kami
  • Kunjungi akun LinkedIn kami
  • Visit our TikTok account
  • Kunjungi channel YouTube kami
  • Visit our Tumblr account
Kode adalah Puisi.
The WordPress® trademark is the intellectual property of the WordPress Foundation.