2. set path to photopost.inc.php in the custompalbox and also in the end of that pal box down the bottom set the threads database call as there is a known issue with switching between databases in the sidebar. You must set this or you will get errors
Where is the sidebar???
Where is the custompalbox???