WordPress.org

Nederlands (België)

  • Thema’s
  • Plugins
  • Nieuws
  • Over
  • Meetups
  • Vertaling
  • Contact
  • Download WordPress
Download WordPress
WordPress.org

Plugin Directory

Profile Picture

  • Dien een plugin in
  • Mijn favorieten
  • Login
  • Dien een plugin in
  • Mijn favorieten
  • Login

Deze plugin is niet getest met de laatste drie grote versies van WordPress. Mogelijk wordt het niet meer onderhouden of ondersteund. Er kunnen ook compatibiliteitsproblemen ontstaan wanneer het wordt gebruikt met recentere versies van WordPress.

Profile Picture

Door Arul Jayaraj
Download
  • Details
  • Beoordelingen
  • Installatie
  • Ontwikkeling
Ondersteuning

Beschrijving

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.

Schermafbeeldingen

  • Add profile image field in admin end.

  • After uploading and saving your selected image.

  • Show the same profile image feature in front end.

Installatie

  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.

Beoordelingen

Good idea

Christopher 3 september 2016 1 reactie
…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 ]
Lees alle 4 beoordelingen

Bijdragers & ontwikkelaars

“Profile Picture” is open source software. De volgende personen hebben bijgedragen aan deze plugin.

Bijdragers
  • Arul Jayaraj

Vertaal “Profile Picture” naar jouw taal.

Interesse in de ontwikkeling?

Bekijk de code, haal de SVN repository op, of abonneer je op het ontwikkellog via RSS.

Changelog

1.0

Beta Release

Meta

  • Versie 1.0
  • Laatst bijgewerkt: 9 jaar geleden
  • Actieve installaties: 80+
  • WordPress versie 3.0 of nieuwer
  • Getest t/m 4.5.32
  • Taal
    English (US)
  • Tags
    custom profile pictureprofile photoprofile pictureuser photouser profile picture
  • Geavanceerde weergave

Beoordelingen

4.3 van 5 sterren.
  • 1 5 ster beoordeling 5 sterren 1
  • 2 4 sterren beoordeling 4 sterren 2
  • 0 3 sterren beoordeling 3 sterren 0
  • 0 2 sterren beoordeling 2 sterren 0
  • 0 1 sterren beoordeling 1 ster 0

Mijn beoordeling toevoegen

Bekijk alle beoordelingen

Bijdragers

  • Arul Jayaraj

Ondersteuning

Iets te melden? Hulp nodig?

Het supportforum bekijken

  • Over
  • Nieuws
  • Hosting
  • Privacy
  • Showcase
  • Thema's
  • Plugins
  • Patronen
  • Leren
  • Ondersteuning
  • Ontwikkelaars
  • WordPress.tv ↗
  • Raak betrokken
  • Events
  • Doneer ↗
  • Five for the Future
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

Nederlands (België)

  • Bezoek ons X (voorheen Twitter) account
  • Bezoek onze Bluesky account
  • Bezoek ons Mastodon account
  • Bezoek onze Threads account
  • Onze Facebookpagina bezoeken
  • Bezoek onze Instagram account
  • Bezoek onze LinkedIn account
  • Bezoek onze TikTok account
  • Bezoek ons YouTube kanaal
  • Bezoek onze Tumblr account
Code is Poetry.