zero477
11-16-2012, 09:34 PM
I have been studying the manual to try to learn how to use variables in templates.
I am trying get the user's avatar and profile pictures URLS when they log in ona a widget that I am creating.
I have called this without success:
{vb:raw userinfo.avatarurl}
{vb:raw bbuserinfo.avatarurl}
{vb:raw post.avatarurl}
in here:
<a class="avatar" href="{vb:link member, {vb:raw userinfo}}" title="{vb:rawphrase xs_avatar, {vb:raw userinfo.username}}">
<span class="avatarcontainer"><img src="{vb:raw bbuserinfo.avatarurl}" alt="SIRVE EL AVATAR" /></span>
</a>
Can someone guide me a little bit?
Vbulletin support team told me this:
The variable you use depends on the template you use it in. You also need to find out if the variable you want is even available for you to use. Help with any sort of customization is only given on vbulletin.org, the modification site. You should post over there for help and be sure that you tell them the template you are trying to put the code in.
I am trying get the user's avatar and profile pictures URLS when they log in ona a widget that I am creating.
I have called this without success:
{vb:raw userinfo.avatarurl}
{vb:raw bbuserinfo.avatarurl}
{vb:raw post.avatarurl}
in here:
<a class="avatar" href="{vb:link member, {vb:raw userinfo}}" title="{vb:rawphrase xs_avatar, {vb:raw userinfo.username}}">
<span class="avatarcontainer"><img src="{vb:raw bbuserinfo.avatarurl}" alt="SIRVE EL AVATAR" /></span>
</a>
Can someone guide me a little bit?
Vbulletin support team told me this:
The variable you use depends on the template you use it in. You also need to find out if the variable you want is even available for you to use. Help with any sort of customization is only given on vbulletin.org, the modification site. You should post over there for help and be sure that you tell them the template you are trying to put the code in.