I could still use some help on this, if anyone is so inclined.
Here's the code I'd like to use in the memberlist_resultsbit template:
PHP Code:
<if condition="$show['profilepiccol'] AND exec_switch_bg()">
<td class="$bgclass">
<if condition="$userinfo[profilepic]<>NULL">
<img src="/forums/images/misc/pic.gif">
</if>
</td>
</if>
But the interior (nested) conditional isn't correct. I'd like to display the icon only if a profile picture is actually present, and display nothing (an empty table cell) if the user has NOT uploaded a profile pic.
My problem is contained entirely within the phrase:
<if condition="$userinfo[profilepic]<>NULL">
Can anyone help me correct this one little part? That's all I need for this to work as desired.
Thanks,
Bill