Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Plugins Area

    (@usersultra)

    Hello,

    We don’t have a API for the lite version.

    However, the following code should work well for you.

    global $xoouserultra;
    
    $pic_boder_type = 'rounded';
    $pic_size_type = 'fixed';
    
    $avatar = $xoouserultra->userpanel->get_user_pic( $user_id, 30, 'avatar', $pic_boder_type, $pic_size_type);
    
    echo $avatar;

    Let me know if that helps a few.

    Thread Starter Mauro

    (@mauriciodiaz10)

    Thanks. That worked. Great support!

    Plugin Contributor Plugins Area

    (@usersultra)

    You’re welcome Mauro.

    Please feel free to visit our forums if you have any further questions.

    http://usersultra.com/support/

    Kindly
    Frank

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘display avatar in custom theme’ is closed to new replies.