Using the Xenforo header and footer with my own PHP files


We have a PHP file we would like to do a simple include() on within the container of a Xenforo page.

Basically, I would like our PHP page to be included so that the Xenforo header and footer is around it and is accessible from our

What is the simplest way to do this?

I have already seen the tutorial here ( but it describes a method to do an include on a sidebar widget only.