Przejdź do treści
WordPress.org

Polska

  • Motywy
  • Wtyczki
  • Aktualności
  • Wsparcie
  • Informacje
  • Pomóż w tłumaczeniu
  • Kontakt
  • Pobierz WordPressa
Pobierz WordPressa
WordPress.org

Plugin Directory

Profile Picture

  • Prześlij wtyczkę
  • Moje ulubione
  • Zaloguj się
  • Prześlij wtyczkę
  • Moje ulubione
  • Zaloguj się

Wtyczka nie została przetestowana z trzema ostatnimi głównymi wydaniami WordPressa. Może nie być już utrzymywana lub obsługiwana, co może skutkować problemem ze zgodnością z nowszymi wersjami WordPressa.

Profile Picture

Autor: Arul Jayaraj
Pobierz
  • Szczegóły
  • Recenzje
  • Instalacja
  • Rozwój
Wsparcie

Opis

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.

Zrzuty ekranu

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.

Instalacja

  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.

Najczęściej zadawane pytania

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.

Recenzje

Good idea

Christopher 2016-09-03 1 odpowiedź
…but it didn't actually work on my website.

Cool plugin, Easy to use. Keep it up.

Vijay 2016-09-03
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 2016-09-03
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 ]
Przeczytaj 4 recenzje

Kontrybutorzy i deweloperzy

„Profile Picture” jest oprogramowaniem open source. Poniższe osoby miały wkład w rozwój wtyczki.

Zaangażowani
  • Arul Jayaraj

Przetłumacz wtyczkę “Profile Picture” na swój język.

Interesuje cię rozwój wtyczki?

Przeglądaj kod, sprawdź repozytorium SVN lub czytaj dziennik rozwoju przez RSS.

Rejestr zmian

1.0

Beta Release

Meta

  • Wersja 1.0
  • Ostatnia aktualizacja 10 lat temu
  • Włączone instalacje 80+
  • Wersja WordPressa 3.0 lub nowszej
  • Testowano do 4.5.33
  • Język
    English (US)
  • Tagi
    custom profile pictureprofile photoprofile pictureuser photouser profile picture
  • Widok zaawansowany

Oceny

4.3 na 5 gwiazdek.
  • 1 recenzja 5-gwiazdkowa 5 gwiazdek 1
  • 2 recenzje 4-gwiazdkowe 4 gwiazdki 2
  • 0 recenzji 3-gwiazdkowych 3 gwiazdki 0
  • 0 recenzji 2-gwiazdkowych 2 gwiazdki 0
  • 0 recenzji 1-gwiazdkowych 1 gwiazdka 0

Twoja opinia

Zobacz wszystkierecenzje.

Zaangażowani

  • Arul Jayaraj

Wsparcie

Masz coś do dodania? Potrzebujesz pomocy?

Zobacz forum wsparcia

  • O nas
  • Aktualności
  • Hosting
  • Prywatność
  • Prezentacja
  • Motywy
  • Wtyczki
  • Wzorce
  • Nauka
  • Pomoc techniczna
  • Programiści
  • WordPress.tv ↗
  • Zaangażuj się
  • Wydarzenia
  • Przekaż darowiznę ↗
  • Gadżety ↗
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

Polska

  • Odwiedź nasze konto X (dawniej Twitter)
  • Odwiedź nasze konto Bluesky
  • Odwiedź nasze konto na Mastodoncie
  • Odwiedź naszego Threadsa
  • Odwiedź naszego Facebooka
  • Odwiedź nasze konto na Instagramie
  • Odwiedź nasze konto na LinkedIn
  • Odwiedź naszego TikToka
  • Odwiedź nasz kanał YouTube
  • Odwiedź naszego Tumblra
Kod to poezja.
The WordPress® trademark is the intellectual property of the WordPress Foundation.