![]() |
Display avatar on postbit when no avatar selected.
HI
I know there was a hack on vb.org to show an avatar for when people didn't have one selected. This would show an avatar on the postbit. Anyone know how to do this on vB 3.0? Thanks! |
1 Attachment(s)
In postbit_userinfo template
find Code:
<if condition="$post[avatar]"><br />$post[avatar]<br /></if> Code:
<if condition="$post[avatar]"><br />$post[avatar]<else /><img src="http://path/to/your/images/noavatar.gif" border="0" hspace="4" vspace="4" alt="No avatar selected" /><br /></if> It works with me anyway |
1 Attachment(s)
I found the noavatar.gif :)
|
Cool! I'm going to add this to my VB3 setup. :)
|
Quote:
|
thanks is lol :D
|
ooo me likies
|
i want to help no avatar VBB 3.0 Gamma, please help
|
can't find the template mentioned. I'm on vb 3.0.3
|
Talking about dragging up the dead,
in the postbit or postbit legacy template, same bit of code./ |
Found 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]</ and in postbit legacy: Code:
<if condition="$show['avatar']"> |
Same problem here, which "template" do i must edit?
|
postbit - if your avatar and other info runs across the top of a person's post.
postbit legacy if the avatar and other info runs to the left side of a person's post. |
All times are GMT. The time now is 08:00 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:
|