bradthor
01-19-2016, 11:57 AM
How to change the profile picture on the vBulletin memberinfo page to the users avatar more specifically how do I modify the following code to display the users avatar instead of the users profile picture
<vb:if condition="$prepared['profilepicurl']">
<a class="avatar" href="{vb:link member, {vb:raw prepared}}" title="{vb:rawphrase xs_picture, {vb:raw prepared.username}}">
<span class="avatarcontainer"><img src="{vb:raw prepared.profilepicurl}" alt="" /></span>
</a>
<vb:else />
<a class="avatar" href="{vb:link member, {vb:raw userinfo}}" title="{vb:rawphrase xs_picture, {vb:raw userinfo.username}}">
<span class="avatarcontainer"><img src="{vb:stylevar imgdir_misc}/unknown.gif" alt="" /></span>
</a>
</vb:if>
thank you in advance wise yoda
<vb:if condition="$prepared['profilepicurl']">
<a class="avatar" href="{vb:link member, {vb:raw prepared}}" title="{vb:rawphrase xs_picture, {vb:raw prepared.username}}">
<span class="avatarcontainer"><img src="{vb:raw prepared.profilepicurl}" alt="" /></span>
</a>
<vb:else />
<a class="avatar" href="{vb:link member, {vb:raw userinfo}}" title="{vb:rawphrase xs_picture, {vb:raw userinfo.username}}">
<span class="avatarcontainer"><img src="{vb:stylevar imgdir_misc}/unknown.gif" alt="" /></span>
</a>
</vb:if>
thank you in advance wise yoda