Salta al contenuto
  • Accedi
  • Registrati
WordPress.org

Italia

  • Temi
  • Plugin
  • Notizie
  • Supporto
    • Documentazione
    • Forum
  • Info
  • Team
  • Community
  • Traduci
    • PTE status requests by Devs for Italian localization: the guidelines.
  • Learn WordPress
  • Openverse
  • Pattern
  • Scarica WordPress
Scarica WordPress

Directory dei plugin

  • Preferiti
  • Beta
  • Sviluppatori

Questo plugin non è stato testato con le ultime 3 versioni principali (major releases) di WordPress. Potrebbe non essere più mantenuto, o supportato, e potrebbe presentare problemi di compatibilità se utilizzato con versioni più recenti di WordPress.

Scarica

Profile Picture

Di Arul Jayaraj
  • Dettagli
  • Recensioni
  • Installazione
  • Sviluppo
Supporto

Descrizione

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.

Screenshot

  • Add profile image field in admin end.

  • After uploading and saving your selected image.

  • Show the same profile image feature in front end.

Installazione

  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.

Recensioni

Good idea

Christopher 3 Settembre 2016 1 risposta
...but it didn't actually work on my website.

Cool plugin, Easy to use. Keep it up.

Vijay 3 Settembre 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 Settembre 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 ]
Leggi tutte le recensioni di 4

Contributi e sviluppo

“Profile Picture” è un software open source. Le persone che hanno contribuito allo sviluppo di questo plugin sono indicate di seguito.

Collaboratori
  • Arul Jayaraj

Traduci “Profile Picture” nella tua lingua.

Ti interessa lo sviluppo?

Esplora il Codice segui il Repository SVN iscriviti al Log delle Modifiche. Puoi farlo tramite RSS con un lettore di feed.

Changelog (registro delle modifiche)

1.0

Beta Release

Meta

  • Versione del plugin: 1.0
  • Ultimo aggiornamento: 7 anni fa
  • Installazioni attive stimate: 100+
  • Richiede WordPress: 3.0 o superiore
  • Testato fino alla versione: 4.5.28
  • Lingua:
    English (US)
  • Tag:
    custom profile pictureprofile photoprofile pictureuser photouser profile picture
  • Visualizzazione avanzata

Valutazioni

Leggi tutto
  • 5 stelle 1
  • 4 stelle 2
  • 3 stelle 0
  • 2 stelle 0
  • 1 stella 0
Accedi per inviare una recensione.

Collaboratori

  • Arul Jayaraj

Supporto

Hai qualcosa da dire? Ti serve aiuto?

Chiedi nel forum di supporto

  • Chi siamo
  • News
  • Hosting
  • Donazioni
  • Swag
  • Documentazione
  • Sviluppo
  • Partecipa
  • Imparare
  • Vetrina
  • Plugin
  • Temi
  • Pattern
  • WordCamp
  • WordPress.TV
  • BuddyPress
  • bbPress
  • WordPress.com
  • Matt
  • Privacy
  • Public Code
WordPress.org
WordPress.org

Italia

  • Visita la nostra pagina Facebook
  • Visita il nostro account Twitter
  • Visita il nostro account Instagram
  • Visita il nostro account LinkedIn
Code is Poetry.