The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
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:
|
#2
|
|||
|
|||
![]()
Bump. Could use information on this. Google is helpless atm.
|
#3
|
||||
|
||||
![]()
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. |
#4
|
|||
|
|||
![]() Quote:
|
#5
|
|||
|
|||
![]()
Anyone?
|
#6
|
|||
|
|||
![]()
Guess this isn't possible?
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|