I like the printer friendly ability vbhome lite offers, I know its barely related to your hack and if you dont want to support it thats fine, but heres my question:
How can I use the printarticle feature to make printer friendly versions of articles in my normal forum?
I have it all set up to use the printarticle.php page, but apparently the current code can only read the first article from the thread and I need to be able to pull up any individual article instead.
Here is the original code:
Code:
<a href="$bburl/printarticle.php?s=$session[sessionhash]&threadid=$article[threadid]" target="_blank"><img src="{imageshome}/articleprint.gif" alt="Printer Friendly version" class="imgbordermiddle" /></a>
That can be found in "home_articlebit"
That works fine, the problem being if you use that same code on the normal page it just pulls the first article from that thread. I tried tinkering with it, substituting postid for threadid, etc, but I think the actual printarticle.php file needs a tweak to allow it to work and I just dont know enough php yet to make that tweak.
Any suggestions?