This box code works with every installed PhotoPost somewhere. The only thing you need is access to the photopost.inc.php
The script connects to the Photopost database throught this file. Then select the photos and build the output. If this finished the script switch back the database connection to threads.
Thats why you have to edit the both database connetions in this script matching your settings.
Its pretty simple. No integration is needet. I run Photopost with a threads V6.5 integration on my production V6.5.5 Threads board. I setup on a other webpage threads V7 for testing and pull from the PP the pictures, works very well.
Just test it - its easy and should work on your system too.
An other point is a threads V7 integration and the pppanel script hack. I look forward into this. The integration must done by PP, thats complex but I will take a closer look to the pppanel script. Maybe I bring this to work.