WordPress.org

Galego

  • Temas
  • Plugins
  • Novas
  • Acerca de
  • Padróns
  • Colabora
  • Equipo
  • Meetups
  • Contacto
  • Homenaxes
  • Consigue WordPress
Consigue WordPress
WordPress.org

Plugin Directory

Profile Picture

  • Enviar un plugin
  • Os meus favoritos
  • Iniciar sesión
  • Enviar un plugin
  • Os meus favoritos
  • Iniciar sesión

Este plugin non se actualizou en máis de 2 anos. É posible que xa non sexa compatible ou mantido por ninguén, ou podes ter problemas de compatibilidade cando se usa con novas versións de WordPress.

Profile Picture

Por Arul Jayaraj
Descargar
  • Detalles
  • Valoracións
  • Instalación
  • Desenvolvemento
Soporte

Descrición

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.

Capturas

  • Add profile image field in admin end.

  • After uploading and saving your selected image.

  • Show the same profile image feature in front end.

Instalación

  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.

Preguntas frecuentes

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.

Comentarios

Good idea

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

Cool plugin, Easy to use. Keep it up.

Vijay 3 de Setembro, 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 Setembro, 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 ]
Ler todas as 4 opinións

Colaboradores e desenvolvedores

“Profile Picture” é un software de código aberto. As seguintes persoas colaboraron con este plugin.

Colaboradores
  • Arul Jayaraj

Traduce “Profile Picture” ao teu idioma.

Interesado no desenvolvemento?

Revisa o código, bota unha ollada aorepositorio SVN, ou subscríbete ao log de desenvolvemento por RSS.

Rexistro de cambios

1.0

Beta Release

Meta

  • Versión 1.0
  • Última actualización Fai 9 anos
  • Instalacións activas 90+
  • Versión de WordPress 3.0 ou superior
  • Probado ata 4.5.32
  • Idioma
    English (US)
  • Etiquetas
    custom profile pictureprofile photoprofile pictureuser photouser profile picture
  • Vista avanzada

Valoracións

4.3 de 5 estrelas
  • Valoración de 1 5 estrela 5 estrelas 1
  • Valoración de 2 4 estrelas 4 estrelas 2
  • Valoración de 0 3 estrelas 3 estrelas 0
  • Valoración de 0 2 estrelas 2 estrelas 0
  • Valoración de 0 1 estrelas 1 estrela 0

Engadir a miña recensión

Ver todas as valoracións

Colaboradores

  • Arul Jayaraj

Soporte

Tes algo que dicir? Necesitas axuda?

Ver o foro de soporte

  • Acerca de
  • Novas
  • Aloxamento
  • Privacidade
  • Escaparate
  • Temas
  • Plugins
  • Padróns
  • Aprender
  • Soporte
  • Desenvolvedores
  • WordPress.TV ↗
  • Involúcrate
  • Eventos
  • Doar ↗
  • Five for the Future
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

Galego

  • Visita la cuenta de X (anteriormente Twitter)
  • Visit our Bluesky account
  • Visita a nosa conta de Mastodon
  • Visit our Threads account
  • Visita a nosa páxina de Facebook
  • Visita a nosa conta de Instagram
  • Visita a nosa conta de LinkedIn
  • Visit our TikTok account
  • Visita a nosa canle de YouTube
  • Visit our Tumblr account
O código é poesía.