WordPress.org

Forums

User Avatar
Avatar not show in custom page (3 posts)

  1. purpleseo
    Member
    Posted 3 years ago #

    I made one custom page for users, but avatars not showing in page. They are showing in s2member widget which I installed. I just added only this shortcode [people-lists list=example-list] to the page. Is there any other way to fix this problem? What php code I have to add to the page? My code of template page is very simple:
    <?php
    /*
    Template Name: Account
    */
    ?>
    <?php get_header(); ?>
    <?php include('page-sidebar.php'); ?>
    <?php get_footer(); ?>

    My web site is http://valueslots.com . Thanks in advance!

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

  2. purpleseo
    Member
    Posted 3 years ago #

    Please somebody help me with this. The avatar area in custom page must look like this: http://valueslots.com/user.jpg

  3. purpleseo
    Member
    Posted 3 years ago #

    I added this code:

    <p id="user-avatar-display-image"><?php echo user_avatar_get_avatar($profile->ID, 150); ?></p>
    <b id="user-avatar-link" class="button-primary thickbox" href="<?php echo admin_url('admin-ajax.php'); ?>?action=user_avatar_add_photo&step=1&uid=<?php echo $profile->ID; ?>&TB_iframe=true&width=720&height=450" title="<?php _e('Upload and Crop an Image to be Displayed','user-avatar'); ?>" ><?php _e('Update Picture','user-avatar'); ?></b>

    b=a

    bur there is some problem with css and opening popup window.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • User Avatar
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.