Zum Inhalt springen
WordPress.org

Deutsch

  • Themes
  • Plugins
  • News
  • Support
  • Über
    • Learn WordPress
    • Documentation (en)
    • Foren
    • Developers (en)
    • WordPress.tv
  • Meetups
  • Mitmachen
  • FAQ
  • Hol dir WordPress
Hol dir WordPress
WordPress.org

Plugin Directory

Profile Picture

  • Plugin einreichen
  • Meine Favoriten
  • Anmelden
  • Plugin einreichen
  • Meine Favoriten
  • Anmelden

Dieses Plugin ist nicht mit den jüngsten 3 Hauptversionen von WordPress getestet worden. Es wird möglicherweise nicht mehr gewartet oder unterstützt und kann Kompatibilitätsprobleme haben, wenn es mit neueren Versionen von WordPress verwendet wird.

Profile Picture

Von Arul Jayaraj
Herunterladen
  • Details
  • Rezensionen
  • Installation
  • Entwicklung
Support

Beschreibung

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.

Screenshots

  • Add profile image field in admin end.

  • After uploading and saving your selected image.

  • Show the same profile image feature in front end.

Installation

  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.

FAQ

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.

Rezensionen

Good idea

Christopher 3. September 2016 1 Antwort
…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 ]
Alle 4 Rezensionen lesen

Mitwirkende und Entwickler

„Profile Picture“ ist Open-Source-Software. Folgende Menschen haben an diesem Plugin mitgewirkt:

Mitwirkende
  • Arul Jayaraj

Übersetze „Profile Picture“ in deine Sprache.

Interessiert an der Entwicklung?

Durchstöbere den Code, sieh dir das SVN-Repository an oder abonniere das Entwicklungsprotokoll per RSS.

Änderungsprotokoll

1.0

Beta Release

Meta

  • Version 1.0
  • Zuletzt aktualisiert vor 10 Jahren
  • Aktive Installationen 80+
  • WordPress-Version 3.0 oder höher
  • Getestet bis 4.5.33
  • Sprache
    English (US)
  • Schlagwörter
    custom profile pictureprofile photoprofile pictureuser photouser profile picture
  • Erweiterte Ansicht

Bewertungen

4.3 von 5 Sternen.
  • 1 5-Sterne-Rezension 5 Sterne 1
  • 2 4-Sterne-Rezensionen 4 Sterne 2
  • 0 3-Sterne-Rezensionen 3 Sterne 0
  • 0 2-Sterne-Rezensionen 2 Sterne 0
  • 0 1-Sterne-Rezensionen 1 Stern 0

Your review

Alle Rezensionen anzeigen

Mitwirkende

  • Arul Jayaraj

Support

Möchtest du etwas mitteilen? Brauchst du Unterstützung?

Support-Forum anzeigen

  • Über
  • News
  • Hosting (engl.)
  • Datenschutz
  • Showcase (engl.)
  • Themes
  • Plugins
  • Vorlagen
  • Learn
  • Support
  • Entwicklung (engl.)
  • WordPress.tv ↗
  • Mitwirken (engl.)
  • Veranstaltungen
  • Spenden (engl.) ↗
  • Five for the Future (engl.)
  • WordPress.com ↗
  • Matt (engl.) ↗
  • bbPress (engl.) ↗
  • BuddyPress (engl.) ↗
WordPress.org
WordPress.org

Deutsch

  • Das X-Konto (früher Twitter) von WordPress.org besuchen
  • Das Bluesky-Konto von WordPress.org besuchen
  • Das Mastodon-Konto von WordPress.org besuchen
  • Das Threads-Konto von WordPress.org besuchen
  • Die Facebook-Seite von WordPress.org besuchen
  • Das Instagram-Konto von WordPress.org besuchen
  • Das LinkedIn-Konto von WordPress.org besuchen
  • Das TikTok-Konto von WordPress.org besuchen
  • Den YouTube-Kanal von WordPress.org besuchen
  • Das Tumblr-Konto von WordPress.org besuchen
Code ist Poesie.
The WordPress® trademark is the intellectual property of the WordPress Foundation.