View Full Version : variable for small avatars
zascok
08-05-2012, 10:39 AM
I give up. Please advise. What is the vb: variable to show small avatars ? The ones that being shown in @steam
Sarteck
08-05-2012, 10:51 AM
vb: variable? @steam?
Do you mean the URL for the avatar thumbnails?
zascok
08-05-2012, 11:38 AM
yes please. It has to be something like
vb:raw post.avatarurl but I can't figure it out :(
@stream= Activity Stream :)
Lynne
08-05-2012, 04:17 PM
You mean what is the variable in the template? Here is the relevant code from the template activitystream_forum_thread
<vb:if condition="$userinfo['showavatar']">
<div class="avatar">
<img src="{vb:raw userinfo.avatarurl}" alt="{vb:rawphrase xs_avatar, {vb:raw userinfo.username}}" />
</div>
</vb:if>
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.