![]() |
Display Avatar or Profile Picture in Widget
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: Quote:
|
Bump. Could use information on this. Google is helpless atm.
|
Hi deltahawk,
Widget - so is this in the CMS? Or is it a forum block on the sidebar? What template is this located in? I think you just need to add a plugin to the relevant hook, and get those variables registered. We can do this with a little more info about the template, code, etc. |
Quote:
|
Anyone?
|
Guess this isn't possible?
|
All times are GMT. The time now is 09:06 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|