SOLVED.
Found the following in memberlist.php:
PHP Code:
if ($show['profilepiccol'] AND $userinfo['profilepic'])
{
$userinfo['profilepic'] = "<img src=\"image.php?u=$userinfo[userid]&type=profile&dateline=$userinfo[profilepicdateline]\" alt=\"\" title=\"$userinfo[username]'s picture\" border=\"0\" />";
}
else
{
$userinfo['profilepic'] = ' ';
}
So I changed my conditional to the following:
PHP Code:
<if condition="$show['profilepiccol'] AND exec_switch_bg()">
<td class="$bgclass">
<if condition="$userinfo['profilepic'] != ' '">
<img src="/forums/images/misc/pic.gif">
</if>
</td>
</if>
Works like a charm now.