Ah, I just kinda wrote it without thinking. Yeah, I agree $bbuserinfo is a much better way to go about it. I think it would then be...
Code:
<if condition="$bbuserinfo['posts'] >= 10">
<tr>
<td class="$bgclass">
<img class="inlineimg" src="$stylevar[imgdir_attach]/$attachment[attachmentextension].gif" alt="<phrase 1="$attachment[attachmentextension]">$vbphrase[file_type_x]</phrase>" width="16" height="16" border="0" style="vertical-align:middle" /> <a href="attachment.php?$session[sessionurl]attachmentid=$attachment[attachmentid]&d=$attachment[dateline]" target="_blank">$attachment[filename]</a>
</td>
<td class="$bgclass">
$attachment[filesize]
</td>
<td class="$bgclass" align="center">
$attachment[counter]
</td>
</tr>
<else />
<tr>
<td class="$bgclass" colspan="3" align="center">You do not have enough posts to download attachments.</td>
</tr>
</if>