Support » Plugin: Active Directory Thumbnails » [Plugin: Active Directory Thumbnails] How to use the variable

  • Resolved jds6467@hotmail.com

    (@jds6467hotmailcom)


    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/

Viewing 1 replies (of 1 total)
  • Plugin Author Omar Mir

    (@mirwindsor-omar)

    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 ?>

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Active Directory Thumbnails] How to use the variable’ is closed to new replies.