WordPress.org

Ready to get started?Download WordPress

Forums

Active Directory Thumbnails
[resolved] How to use the variable (2 posts)

  1. jds6467@hotmail.com
    Member
    Posted 1 year ago #

    hello, I am new to wordpress so I apologize for this post. I was able install and configure the Plugin and sync my photos from the Active Directory attibute. What I don't know is how to make the photos show up as my users Avatar. I am guessing I need to replace some code somewhere with the adt_user_photo_url somewhere in the wordpress but I wasn't sure where that was. Can you provide me some direction?

    Thanks!

    http://wordpress.org/extend/plugins/active-directory-thumbnails/

  2. Omar Mir
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,

    So that variable refers to the theme files not the avatar itself. Wherever you have the avatar showing in your template, use:

    <?php echo $user->adt_user_photo_url ?>

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.