Avatar Plugin

The avatar plugin show the profile picture upload button on Register page, Profile page, and admin user page. user can upload thir picture while register.

Please edit your user-profile.php add a name attribute on form tag ex:

name="profile"for picture validation.

Want to Required avatar?

Edit avatar_plugin/index.php line 100, 109 uncomment those lines.

What the plugin does?

The avatar plugin show the profile picture upload button on Register page, Profile page, and admin user page. user can upload thir picture while register.

How to use

Use this code to show the picture of user

  • Get picture of item user :
  • Get picture of logged user :
  • Get picture of public profile user :

About

  • Plugin Name: Avatar Plugin
  • Version : 1.0.0
  • Author : Media.Dmj
  • Website : vithudu.com

Other Downloads

Directory Business theme | Employer-green Job theme | Cardealer Car theme | Property Realestate theme | Papay Genaral theme

1 Reviews
Write a review

Good plugin but there is a bug
By blist, March 22, 2017
Useful plugin but there is a bug. When you update user info in the oc admin backend without updating the avatar the current avatar no longer displays. I figured out that your plugin calls the function insertAvatar() on user update action even though user does not have a new image file in the avatar field. So I added this in the function:

if($ext){ .....move uploaded file [removed] } So it makes sure there is a file to work with.

I hope that helps someone.

Thanks for the plugin by the way.


Lev
  • 1

    prilavo1 month ago

    Спасибо за предоставленый бесплатно плагин.Куда в фа...
    Спасибо за предоставленый бесплатно плагин.Куда в файле user-profile.php нужно вставить

    You may also like