Announcement

Collapse
No announcement yet.

Profile Picture & URL Variables

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

  • Jake Bunce
    replied
    It looks like your avatar is corrupted. Does your avatar work at all? Anywhere?

    Leave a comment:


  • Dontom
    replied
    instead of diplaying the avatar I only get "http://www.rennrad-news.de/forum/image.php?u=2"

    --> Example: http://www.rennrad-news.de/forum/image.php?u=2

    Any idea?
    Thomas

    Leave a comment:


  • Jake Bunce
    replied
    For example, these URLs are for my avatar and profile picture:

    http://www.vbulletin.com/forum/image.php?u=2026

    http://www.vbulletin.com/forum/image...6&type=profile

    The URLs contain the user's userid.

    The userid of the currently logged in user is represented in the templates by this variable:

    Code:
    $bbuserinfo[userid]
    ...so you can use code like this to display the currently logged in user's profile pic in the templates:

    Code:
    <img src="image.php?$session[sessionurl]u=$bbuserinfo[userid]&type=profile" alt="" border="0" />
    That should work.

    Leave a comment:


  • Danieldude
    started a topic Profile Picture & URL Variables

    Profile Picture & URL Variables

    I was wondering what variable the profile picture and profile picture url users.

    Would it be "profilepic" for the profile picture and "profilepicurl" for the profile picture url? Thank you.

Related Topics

Collapse

Working...
X