The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Question on Blog
Is there a way I can change the image on the recent blog posts to show the person's avatar instead of the profile picture?
--------------- Added [DATE]1289188902[/DATE] at [TIME]1289188902[/TIME] --------------- Got it. Here is what I did for those interested. Find in blog_entry template: Code:
<vb:if condition="$show['profilepic']"> <img src="{vb:raw blog.profilepicurl}" width="{vb:stylevar vbblog_bloglist_avatar_width}" alt="{vb:rawphrase xs_profilepic, {vb:raw blog.postedby_username}}" /> <vb:elseif condition="$show['avatar']" /> <img src="{vb:raw blog.avatarurl}" width="{vb:stylevar vbblog_bloglist_avatar_width}" alt="{vb:rawphrase xs_avatar, {vb:raw blog.postedby_username}}" /> <vb:else /> <img src="{vb:stylevar imgdir_misc}/unknown.gif" width="{vb:stylevar vbblog_bloglist_avatar_width}" alt="" /> </vb:if> Code:
<vb:if condition="$show['avatar']"> <img src="{vb:raw blog.avatarurl}" width="{vb:stylevar vbblog_bloglist_avatar_width}" alt="{vb:rawphrase xs_avatar, {vb:raw blog.postedby_username}}" /> <vb:else /> <img src="{vb:stylevar imgdir_misc}/unknown.gif" width="{vb:stylevar vbblog_bloglist_avatar_width}" alt="" /> </vb:if> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|