Nice hack. *installed*
I add a template modification.
If you browse with inactive JavaScript-support you have to modify the SHOWTHREAD template second times respectively at two places.
So, search
Code:
<div><img class="inlineimg" src="$stylevar[imgdir_button]/printer.gif" alt="$vbphrase[show_printable_version]" vspace="1" /> <a href="printthread.php?$session[sessionurl]t=$threadid" accesskey="p">$vbphrase[show_printable_version]</a></div>
and add below
Code:
<div><img class="inlineimg" src="$stylevar[imgdir_button]/pdf.gif" alt="$vbphrase[download_pdf_version]" vspace="1" /> <a href="pdfthread.php?$session[sessionurl]t=$threadid">$vbphrase[download_pdf_version]</a></div>
It works fine in my forum. If you want .. test it ;-).
With regards,
Ben.