As I promised previously after installed LiewCF.com Forum, here I describe how to integrate PunBB forum into WordPress. The softwares used are WordPress 1.2.2 and PunBB 1.2.4. The same method probably works for later version, too.
Rip the header and footer code of your WordPress template. Remember to remove any WordPress template tags from the code, also the CSS stylesheet links of your template. Here I use _HEADER_ as template header code, _FOOTER_ as template footer code and _CSS_ as template css stylesheet links.
- Edit main.tpl (remember to make a backup first) that sit in
- Plug in your template header(_HEADER_) and footer(_FOOTER_) code into main.tpl. It will looks something like this: