Good idea. I don't know why I didn't think of this before lol

so that I wouldnt need to change the urls that punbb generates. I just want to catch requests to any page on my forum and include it within the template of the rest of my site.

Hmmm no replies, perhaps I am not making sense.

Say a user requests: http://site/forum/viewtopic.php?id=12140

Could I work out which page is being requested (easily using mod_Rewrite), then include that page (viewtopic.php in this case) in a div on my site? does PunBB use any strange exit()'s or anything like that which would stop the rest of the page being generated?

I have an idea about how I might integrate PunBB with my site. I was thinking of having punbb in ./forum/, and then using mod_rewrite like this:

RewriteRule ^forum/(.*) /forum.php?pg=$1

Obviously I would need to use a RewriteCond to make sure it only matches .php files.

And basically forum.php would include the requested url in a div in my site, so that the page is always within the content area of my site (at the moment, the white area). I would rather not use an iframe as I think they are very ugly.

Or is there a better way of doing this which I have completely missed?

Hope someone can give some input smile

Thanks!