I think it is newpost_attachmentbit
In that template it has:
PHP Code:
<div style="margin:2px">
<img class="inlineimg" src="$attach[imgpath]" alt="" border="0" />
<a href="attachment.php?$session[sessionurl]attachmentid=$attach[attachmentid]&stc=1&d=$attach[dateline]" target="_blank">$attach[filename]</a>
($attach[filesize])
</div>
Now this is probably mega wrong as I have not done much of this before, but does this look nearly right?
PHP Code:
<if condition="is_member_of($bbuserinfo, 2)">
and
<if condition="$attach['attachmentid'] == 41610">
<div style="margin:2px">
<img class="inlineimg" src="$attach[imgpath]" alt="" border="0" />
<a href="http://www.site.com/link">My Link</a>
($attach[filesize])
</div>
<else />
<div style="margin:2px">
<img class="inlineimg" src="$attach[imgpath]" alt="" border="0" />
<a href="attachment.php?$session[sessionurl]attachmentid=$attach[attachmentid]&stc=1&d=$attach[dateline]" target="_blank">$attach[filename]</a>
($attach[filesize])
</div>
</if>
</if>
I got that to save okay

But then it did not change anything on the page which had that attachment
Any ideas?
Edit: I found where it was making the changes, if I click edit thread, than I will see the changes made on that page, and they worked perfect ^^, but I need them to show on the page where attachments are shown in a thread.
I tried these templates so far:
newpost_attachmentbit
attachmentbit
newattachmentbit
postbit_attachment
None of those worked in the spot I am trying, any idea which template I should edit for that?