Integrate PunBB forum into Wordpress
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.
Preparation:
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.
Step-by-step:
- Edit main.tpl (remember to make a backup first) that sit in
http://www.YOUR_PATH/forum/include/template
directory. - Plug in your template header(_HEADER_) and footer(_FOOTER_) code into main.tpl. It will looks something like this:
[html]
< !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
_FOOTER_