[]I am glad you got this working for Leigh Ann Josh however minor server issues? <img src="/forum/images/graemlins/laugh.gif" alt="" /> [/]<br /><br />I never did truly get it to work. I finally gave up and cheated.<br /><br />I added the code for tbopen and tbclose into the pp-inc.php file and made them global variables (like {$Globals['tbopen']}) and then used the local global variables throughout.<br /><br />So I am using the tablewrappers without using the threads send header command or requiring main.inc.php as that seemed to freak it out. <img src="/forum/images/graemlins/crazy.gif" alt="" /><br /><br />Then I tweaked the photopost authentication to fetch the user's stylesheet (or default to the board's default) and then call the threads stylesheet.<br /><br />It ain't pretty. But it works! <img src="/forum/images/graemlins/grin.gif" alt="" /><br /><br />She wasn't planning on changnig the tbopen,tbclose templates too often. If so, the code would also need to be edited in the pp-inc.php file. But the stylesheets are still called from threads.