UserPro Forums
  • Create new topic
  • Forums
    • No replies topics
    • Newest topics
    • Forum statistics
  • Account
    • Lost password
    • Register
    • Login
  • Documentation
  • Back to main site

Community Forums

User To User Support Forum/Forums/Tutorials / Integrations / How-to/Fix avatar / profilepicture on View page

Fix avatar / profilepicture on View page

avatarfixPictureprofilepictureview
  • 4 years, 7 months ago AvatareNCode
    Participant

    This is a post to report a problem loading the avatar (profilepicture).
    Configuration:

    Userpro version 4.9.26
    Skin: elegant
    Layout: Default
    Pictures Fix: A/B
    Url enconding: On/Off
    Relative Url / Full URL
    User Permalink: Username / ID

    i can see/display the avatar on template memberlist v2, but when i try to see the “View profile” the avatar won’t load.

    To fix i replace line 75 on file /userpro/templates/view.php
    <?php echo get_avatar( $user_id, $profile_thumb_size ); ?>

    With the next:
    <img src="<?php echo $userpro->profile_photo_url($user_id); ?>" alt="profile-pic">

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.

Disclaimer

This forum is 100% free and USER to USER support only. Technical support staff doesn’t monitor this forum actively.

If you are a customer and want to get technical support from our staff please submit a technical support ticket here: UserPRO Technical Support

Recent Topics

  • Custom Badges AddOn Plugin here
  • Green Trust Cash APplication
  • How to use cash app without a bank account
  • Install Cash App on your Device [100%] by yourself | Step-by-Step Guide
  • Green Trust Cash Application

About forum

Here you can find help from UserPro plugin developers and other UserPro fellow users. Please be polite and ask your questions. NO SPAM!

Search Forums

Follow us

  • facebook
  • twitter
  • youtube
© Copyright UserPro