Hi, on the profile page if the member has not rated any posts the section is just blank. I would like to add a condition that goes something like this:
Quote:
<ul class="list_no_decoration">
<if condition="MEMBER HAS RATED POSTS">
<if condition="$helpfulanswer[count]">
<li><span class="shade"><phrase 1="$prepared[username]" 2="$helpfulanswer[count]">$vbphrase[helpfulanswer_postsrated]</phrase></span></li>
</if>
<if condition="$helpfulposts[goodranks]">
<li><span class="shade"><phrase 1="$prepared[username]" 2="$helpfulposts[goodranks]" 3="$helpfulposts[totalranks]">$vbphrase[helpfulanswer_postshavebeen]</phrase></li>
</if>
</else>
<li><span class="shade"><phrase 1="$prepared[username]">$vbphrase[helpfulanswer_noratings]</phrase></span></li>
{I have already created the phrase for this}
</ul>
|
Is this possible? What conditional would I use, or would I have to add new code?