How can I change it so that only Admin can see the new link ?
edit:
Okay, found out.
Please add this to the manual as optional step:
PHP Code:
<if condition="$attachment['counter'] > 0"><if condition="is_member_of($bbuserinfo, 6, 7, 9)"> - <a href="#" onclick="whodownloaded($attachment[attachmentid]); return false;">$vbphrase[psiwd_who_downloaded]</a></if></if>
instead of
PHP Code:
<if condition="$attachment['counter'] > 0"> - <a href="#" onclick="whodownloaded($attachment[attachmentid]); return false;">$vbphrase[psiwd_who_downloaded]</a></if>
Just instead of
the Number of the Usergroups you want to use.
You can also use less or more groups, not restricted