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.1
  • My account issue fixed in 1.0.1

Other Downloads

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

5 Reviews
Write a review

Get picture of public profile user :
By jfranc, August 15, 2017
I figured out the third one
3 - Get picture of public profile user :
> Go to file: [removed]
> Add provided source in line 53 (can be different for everyone).



<?php echo show_avatar(osc_user_id()); ?>
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

    prilavo7 months ago

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

    Ursaru ...6 months ago

    not function
    not function

    max6 months ago

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

    max6 months ago

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

    Media DMJ AUTHOR5 months ago

    Willfix on next update

    E5 months 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 AUTHOR5 months 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()); >>

    E5 months 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 AUTHOR5 months ago

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

    E5 months ago

    Ok, i posted the question on the forum, we'll see what happens.
    Ok, i posted the question on the forum, we'll see what happens.

    ANON2 months ago

    This plugin can not be translated completely, some translation lines are missing. But I fixed thi...
    This plugin can not be translated completely, some translation lines are missing. But I fixed this.

    The problem is that checking the extension and file size DOES NOT WORK! Users can upload any file, of any size. This should be urgently corrected, but unfortunately my skills for this are not enough.

    The author of the plugin, please answer me!

    Media DMJ AUTHOR2 months ago

    the plugin only upload png and jpg formate please see the help page.

    ANON1 month ago

    Maybe I can record and send to you video, with this problem? It's really bug, because I'm not modify php files and your plagin work in my project "just from the box"

    jfranc2 months ago

    I figured out the third one 3 - Get picture of public profile user : > Go to file: user-public...
    I figured out the third one
    3 - Get picture of public profile user :
    > Go to file: user-public-profile.php
    > Add provided source in line 53 (can be different for everyone).



    <?php echo show_avatar(osc_user_id()); ?>

    jfranc2 months ago

    How can I translate this plugin from En to Fr?
    How can I translate this plugin from En to Fr?

    You may also like