WordPress.org

Català

  • Temes
  • Extensions
  • Notícies
  • Suport
  • Quant a
  • Patrons
  • Col·labora
  • Equip
  • Traduccions
  • Meetups
  • Aconseguiu el WordPress
Aconseguiu el WordPress
WordPress.org

Plugin Directory

Profile Picture

  • Envieu una extensió
  • Preferides
  • Entra
  • Envieu una extensió
  • Preferides
  • Entra

Aquesta extensió no s’ha provat en les darreres 3 versions majors del WordPress. Segurament no està mantinguda o suportada, i pot tenir problemes de compatibilitat quan s’usa en versions recents del WordPress.

Profile Picture

Per Arul Jayaraj
Baixa
  • Detalls
  • Ressenyes
  • Instal·lació
  • Desenvolupament
Suport

Descripció

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.

Captures

  • Add profile image field in admin end.

  • After uploading and saving your selected image.

  • Show the same profile image feature in front end.

Instal·lació

  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.

PMF

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.

Ressenyes

Good idea

Christopher 3 de setembre de 2016 1 resposta
…but it didn’t actually work on my website.

Cool plugin, Easy to use. Keep it up.

Vijay 3 de setembre de 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 de setembre de 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 ]
Llegiu totes les 4 ressenyes

Col·laboradors i desenvolupadors

«Profile Picture» és programari de codi obert. La següent gent ha col·laborat en aquesta extensió.

Col·laboradors
  • Arul Jayaraj

Traduïu «Profile Picture» a la vostra llengua.

Interessats en el desenvolupament?

Navegueu pel codi, baixeu-vos el repositori SVN, o subscriviu-vos al registre de desenvolupament per fisl de subscripció RSS.

Registre de canvis

1.0

Beta Release

Meta

  • Versió 1.0
  • Darrera actualització fa 10 anys
  • Instal·lacions actives 80+
  • Versió del WordPress 3.0 o posterior
  • Provada fins a 4.5.33
  • Idioma
    English (US)
  • Etiquetes
    custom profile pictureprofile photoprofile pictureuser photouser profile picture
  • Vista avançada

Valoracions

4.3 sobre 5 estrelles.
  • 1 valoració de 5 estrelles 5 estrelles 1
  • 2 valoracions de 4 estrelles 4 estrelles 2
  • 0 valoracions de 3 estrelles 3 estrelles 0
  • 0 valoracions de 2 estrelles 2 estrelles 0
  • 0 valoracions de 1 estrelles 1 estrella 0

Afegeix una ressenya

Visualitzeu totes les ressenyes

Col·laboradors

  • Arul Jayaraj

Suport

Teniu quelcom a dir? Necessiteu ajuda?

Visualitza els fòrums de suport

  • Quant a
  • Notícies
  • Allotjament
  • Privadesa
  • Aparador
  • Temes
  • Extensions
  • Patrons
  • Apreneu
  • Suport
  • Desenvolupadors
  • WordPress.tv ↗
  • Impliqueu-vos
  • Esdeveniments
  • Feu una donació ↗
  • Five for the Future
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

Català

  • Visiteu el nostre compte X (abans Twitter)
  • Visit our Bluesky account
  • Visiteu el nostre compte al Mastodon
  • Visit our Threads account
  • Visiteu la nostra pàgina al Facebook
  • Visiteu el nostre compte d'Instagram
  • Visiteu el nostre compte de LinkedIn
  • Visit our TikTok account
  • Visiteu el nostre canal al YouTube
  • Visit our Tumblr account
El codi és poesia.