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

Other Downloads

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

4 Reviews
Write a review

not working
By Blerim Krosi, May 10, 2017
not working on my site: [removed]
Very bad
By Zagrans, April 28, 2017
Sad boy
Useless the image disappears at every update
By max, April 24, 2017
Bad advertising to the author! him Could stabilize this plugin thanks
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

    prilavo2 months ago

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

    Ursaru ...1 month ago

    not function
    not function

    max28 days ago

    Why if I update profile Avatar disappears? thank you
    Why if I update profile
    Avatar disappears?
    thank you

    max28 days ago

    Why if I update profile Avatar disappears? thanks
    Why if I update profile
    Avatar disappears?
    thanks

    Media DMJ AUTHOR24 days ago

    Willfix on next update

    E4 days ago

    Hi, Is this plugin still working AND being supported? If so, please answer the following questi...
    Hi,

    Is this plugin still working AND being supported? If so, please answer the following questions clearly and specifically:

    I have installed the plugin, the best I got working is able to upload a picture during registration.

    1. How do you add profile picture to the public profile?
    2. How do you add profile picture to item page?

    The instructions are hard to follow from the Help section:

    The first instruction said "Please edit your user-profile.php add a name attribute on form tag ex:

    Media DMJ AUTHOR4 days ago

    Get picture of item user :<?php echo show_avatar(osc_item_user_id()); ?>
    Get picture of logged user :<?php echo show_avatar(osc_logged_user_id()); ?>
    Get picture of public profile user :<?php echo show_avatar(osc_user_id()); >>

    E3 days ago

    It appeared that my 1st question did not entirely fit in to the question box. I'll keep it shorte...
    It appeared that my 1st question did not entirely fit in to the question box. I'll keep it shorter to fit in.
    Where exactly do you put the following codes?
    Get picture of item user :<?php echo show_avatar(osc_item_user_id()); ?>
    Get picture of logged user :<?php echo show_avatar(osc_logged_user_id()); ?>
    Get picture of public profile user :<?php echo show_avatar(osc_user_id()); >>

    Which file, which line, which section - for each of the code above?
    If software is supported still, please provide answers that will make it work. Thank you.

    Media DMJ AUTHOR3 days ago

    If you want support help. Please describe your questions on forums.osclass.org

    You may also like