Oh ok well okay there is lots of info stored in various variables, so I'll list them and you can just pick and choose as you need.
Okay you need to have
Code:
<if condition="$show['attachments']">
there. You can add on other bits of code using AND after the ] but before the " as I have done.
$bbuserinfo[userid] = the user's id. if $bbuserinfo[userid] exists, it means they are logged in
$bbuserinfo[posts] stores the number of posts
$bbuserinfo[usergroupid] stores the usergroup of the member.
So for example,
Code:
<if condition="$show['attachments'] AND $bbuserinfo['posts'] > '50'">
will only show the attachments if the user has over 50 posts. (This method is slightly easier to understand and change than the usergroup method)
Code:
<if condition="$show['attachments'] AND $bbuserinfo['usergroupid'] == '6'">
will only show attachments to administrators (group 6).
Code:
<if condition="$show['attachments'] AND $bbuserinfo['usergroupid'] != '6'">
will only show attachments to those who
aren't administrators. Not a practical example I know but useful if you want to exclude just one group.
If you specify exactly who you want to see attachments, I can create exact code for you. (If you want to mix and match the rules dependant on forum then although possible, that's much messier and beyond my personal range.)