[]I am glad you got this working for Leigh Ann Josh however minor server issues?
[/]
I never did
truly get it to work. I finally gave up and cheated.
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.
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.
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.
It ain't pretty. But it works!
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.