The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
vB Phrase for Avatar
Hey guys,
I'm in the process of remodelling some templates for a product. What I'm looking to do is in the reply feature on this product, I want the user's avatar to be displayed next to their name. I thought it was just $customavatar but that doesn't appear to be working. What code/phrase do I need to be able to pull their avatar into a reply bit on a product? This is the code I've made so far: PHP Code:
|
#2
|
||||
|
||||
You might want to do a search in the templates for the word "avatar" and see how it gets called in the various templates. For instance, here it is in MEMBERINFO (3.6.8):
HTML Code:
<td><img src="$userinfo[avatarurl]" $userinfo[avatarsize] alt="<phrase 1="$userinfo[username]">$vbphrase[xs_avatar]</phrase>" border="0" style="border:1px solid $stylevar[tborder_bgcolor]; border-top:none" /></td> HTML Code:
<td class="alt2"><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a></td> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|