PDA

View Full Version : Thread ID in postbit?


Ian Cunningham
05-13-2002, 01:11 PM
Does anyone know how I can get the threadID in postbit? I need to modify the postbit to get a printthread button in there - but in every post?

Sparkz
05-13-2002, 02:15 PM
use $post[threadid].

So you'd insert something like <a href="printthread.php?threadid=$post[threadid]" target="_parent">Printable version</a>in your postbit

Ian Cunningham
05-13-2002, 02:19 PM
Thanks :D Works a treat!

A slightly more complicated question if anyone if up for it... how would I add page numbers into a postbit template? (or even better, a dropdown box with each posts title)?