Announcement

Collapse
No announcement yet.

Pull team members avatar into custom template

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Pull team members avatar into custom template

    I am constructing a team members/staff page and am wondering if there is a way I can pull a users avatar for a userID...? So, I know the UserID and Username, I want to be able to show the users avatar.

    Is this do-able?
    John

  • #2
    This code will work:

    Code:
    <img src="image.php?$session[sessionurl]u=$bbuserinfo[userid]" alt="" border="0" />
    ...although it doesn't contain the dateline for the avatar record, so you might have problems with browser caching. You can query the avatar record to get the dateline if you want.

    Comment


    • #3
      Cheers Jake...
      John

      Comment

      widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
      Working...
      X