The following code displays the SAME avatar, author name, etc. for all rating/review entries. However, each entry is created by a different or unique author. Any thoughts?
{exp:rating:entries limit="10"}
{stars}{rating}{/stars}
<a href="/user/edit/{rating_author_id}">{screen_name}</a>
{exp:member:custom_profile_data member_id="{rating_author_id}"}
{if avatar}
{avatar_url}
{/if}
{/exp:member:custom_profile_data}
Date: {rating_date format="%m/%d/%y"}
Review: {review}
try this:
{exp:rating:entries limit="10"}
{stars}{rating}{/stars}
<a href="/user/edit/{rating_author_id}">{screen_name}</a>
{if rating_author_id!=0}
{exp:query sql="SELECT avatar_filename, avatar_width, avatar_height FROM au_members WHERE member_id = {rating_author_id}"}
{if avatar_filename !=""}
{avatar_url}{avatar_filename}
{if:else}
<img src="http://www.yoursite.com/themes/forum_themes/default/images/icon_profile.gif" alt="" />
{/if}
{/exp:query}
{if:else}
<img src="http://www.yoursite.com/themes/forum_themes/default/images/icon_profile.gif" alt="" />
{/if}
Date: {rating_date format="%m/%d/%y"}
Review: {review}
{/exp:rating:entries}
22.07.2008: update
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.