User registration & user profile - Profile Builder
Show Logged in User Profile with Avatar in Sidebar? (2 posts)

  1. Raaj
    Posted 3 years ago #

    Is there an example or link I can follow an example from, where I can show the users logged in Avatar, name? And how can I integrate Facebook login into profile builder and use that info to build into Profile Builder, including their Profile photo on Facebook or Twitter?


  2. barinagabriel
    Plugin Contributor

    Posted 3 years ago #

    Hello Raj,

    unfortunately Simple Facebook Connect plugin isn't compatible with Profile Builder.

    Regarding your first question, you can use the following functions to return the gravatar (I assume you are using the free version, so there is no avatar): http://codex.wordpress.org/Function_Reference/get_avatar

    and http://codex.wordpress.org/Function_Reference/get_user_meta to return the name:

    $user_id = 9;
    $key = 'last_name';
    $single = true;
    echo $user_last = get_user_meta( $user_id, $key, $single );


Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic


No tags yet.