WordPress.org

Ready to get started?Download WordPress

Forums

User Avatar
Code in front end does not work. Help needed?? (5 posts)

  1. secretsau
    Member
    Posted 1 year ago #

    Hi,

    I have the following code in the front end of my site, while users/members are logged in:

    <a href="<?php echo admin_url('admin-ajax.php'); ?>?action=user_avatar_add_photo&step=1&uid=<?php echo $current_user->ID; ?>?iframe=true&width=520&height=350" title="Upload and Crop an Image to be Displayed" target="_blank">Update Picture</a>

    However it comes up with errors. Could someone please tell me what I am doing wrong ?

    Thanks

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

  2. Florence
    Member
    Posted 1 year ago #

    Did you figure it out yet?

  3. Florence
    Member
    Posted 1 year ago #

    Never mind, I figured it out!

  4. Belv3dere
    Member
    Posted 1 year ago #

    Florence,

    can you help me how i can run that on my frontpage?

  5. Florence
    Member
    Posted 1 year ago #

    Yes. I posted a tutorial here http://wordpress.org/support/topic/plugin-user-avatar-avatar-shortcode-for-page?replies=7#post-3691079. Let me know if you need anything else.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.