The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Giving members without an Avatar a default Avatar?
How would one do this?
|
#2
|
|||
|
|||
While not as simple as in IPB, a default avatar can be specified as a template condition. Instead of re-explaining it here, Jake does a nice job over at vBulletin.com.
|
#3
|
|||
|
|||
I figured it out. Just add an <else /> phrase after it tries to find the avatar.
|
#4
|
|||
|
|||
Cool - after I replied, I looked at Jake's post and realized there was a bit of an omission. To make it look right, you'd need to find this in postbit:
Code:
<if condition="$show['avatar']"><td class="alt2"><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$avatarurl" alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a></td></if> Code:
<if condition="$show['avatar']"><td class="alt2"><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$avatarurl" alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a></td><else /><td class="alt2"><img src="Your Avatar URL" alt="No Avatar" border="0" /></a></td></if> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|