WordPress.org

Ready to get started?Download WordPress

Forums

Profile Builder - front-end user registration, login and edit profile
Show Logged in User Profile with Avatar in Sidebar? (2 posts)

  1. Raaj
    Member
    Posted 1 year 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?

    http://wordpress.org/extend/plugins/profile-builder/

  2. barinagabriel
    Member
    Plugin Author

    Posted 1 year 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 );

    Gabriel

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.