Hey DZ,
Can you alter the code to store attachments of a post in a div labelled attachment_pid instead of like this:
html code:
<!-- start: postbit_attachment -->
<br />
<img src="images/attachtypes/page_text.png" alt=".txt File" border="0" /> <strong>Attachment:</strong> <a href="attachment.php?pid=998138" target="_blank">test.txt</a> (4 bytes)<br />
<span class="smalltext">This file has been downloaded 2 time(s).</span><br />
<!-- end: postbit_attachment -->
Thanks.
Guess this isn't needed as I found a work around thanks to andrey.