The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
I'm trying to get the $userinfo[profilepicurl] or even $userinfo[field14] (which is a custom field asking the user for a URL of an image) to display in a template that I'm modifying but I'm not having any luck getting the image to display.
I tried using this bit of code that I got from hr3rdgen's user profile mod Code:
<if condition="$show['profilepic']">
<td valign="top" align="$stylevar[right]" rowspan="2">
<img src="$userinfo[profilepicurl]" $userinfo[profilepicsize] alt="<phrase 1="$userinfo[username]">$vbphrase[xs_picture]</phrase>" border="0" style="border:1px solid $stylevar[tborder_bgcolor]; border-top:none" />
</td>
<else />
<td valign="top" align="$stylevar[right]" rowspan="2">
<img src="$stylevar[imgdir_misc]/no_pic.jpg" alt="$userinfo[username]" border="0" style="border:1px solid $stylevar[tborder_bgcolor];" />
</td>
</if>
Any help would be greatly appreciated!! |
|
#2
|
|||
|
|||
|
I read that it may not be possible to use the profile pic in a different part of the forum, does this sound right?
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|