doob
03-28-2014, 12:49 AM
I'm trying to add the users profile picture to some templates, for instance USERCP.
I'm not sure if I'm using the wrong variable name or this requires a php edit, or both.
I've tried <img src="$bbuserinfo[profile_picture]">
and also tried the following other variables (none of which worked to display the users profile picture).
<img src="$bbuserinfo[profileurl]"
<img src="$bbuserinfo[pofilepicurl]"
<img src="$bbuserinfo[profilepic]"
--------------- Added 1395975971 at 1395975971 ---------------
Nevermind. Found the solution:
<img src="image.php?u=$bbuserinfo[userid]&type=profile" />
I'm not sure if I'm using the wrong variable name or this requires a php edit, or both.
I've tried <img src="$bbuserinfo[profile_picture]">
and also tried the following other variables (none of which worked to display the users profile picture).
<img src="$bbuserinfo[profileurl]"
<img src="$bbuserinfo[pofilepicurl]"
<img src="$bbuserinfo[profilepic]"
--------------- Added 1395975971 at 1395975971 ---------------
Nevermind. Found the solution:
<img src="image.php?u=$bbuserinfo[userid]&type=profile" />