WordPress.org

Ready to get started?Download WordPress

Forums

User Avatar
How to use this plugin in other admin page (12 posts)

  1. TC.K
    Member
    Posted 2 years ago #

    Hi,
    I am developing a custom user profile plugin for my own use.
    I like to know if there any chance for me to apply this plugin into my own plugin? Including all the upload, deleting and editing features?

    http://wordpress.org/extend/plugins/user-avatar/

  2. TC.K
    Member
    Posted 2 years ago #

    Okay, I manage to make it work, but not entirely 100%. The only thing that doesn't work is the remove avatar feature.

    Here is my code.

    Any advice, please.

  3. nicolaelvin
    Member
    Posted 1 year ago #

    hey, did you manage to get it working? As far as I can tell all that needs fixing now is the remove button and the lightbox.

  4. Florence
    Member
    Posted 1 year ago #

    How can I make this work within a page?

  5. Florence
    Member
    Posted 1 year ago #

    Never mind, I figured it out!

  6. begetolo
    Member
    Posted 1 year ago #

    @Florence. Please let us know how.... TIA

  7. begetolo
    Member
    Posted 1 year ago #

    @Florence Never mind, I just saw what you did. A simple link to the dashboard and let users change their profile picture there. Not what i was looking for.

  8. Florence
    Member
    Posted 1 year ago #

  9. begetolo
    Member
    Posted 1 year ago #

    Ok. thanks, but that is an other plugin. I like 'User Avatar' and 'simple local avatar' not so much....

  10. Florence
    Member
    Posted 1 year ago #

    You can edit the template to give it any look you want.

  11. TC.K
    Member
    Posted 1 year ago #

    After months I posted this thread, seem people still interested for this solution. So I will show how I did my own hacks to make this work in my plugin. What's more, I can use this even in my front page.

    There are 3 steps to make this work.
    1. user avartar markup.
    2. Ajax response
    3. javascript for the ajax.

    Here is what I did. Look at the comment to get more understanding on how does it work.

    This isn't the perfect solution though, if someone have a better solution please do share it here.

    Hope this helps.

  12. AWN
    Member
    Posted 1 year ago #

    Hello dears,
    I also need a short code of this plugin for my custom profile page.
    Any direction?

    However I have copied the source html code of the photo from wp-admin/profile.php to my custom page, but it doesn't work properly

    Appreciated in advance
    My website is http://www.islampage.org

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic