I am looking to integrate Xenforos header and footer around my script found in its own directory. I have Xenforo installed on the base level and want to include the header and footer in my advertise directory. I attempted to use the Kotomi generic method but it didn't load anything. That method works fine if you are in the base directory (though it isn't needed). I know this can be done somehow. Photopost is integrated with Xenforo so there has to be a set of files I can't find that makes this possible.