Good idea. I don't know why I didn't think of this before
1 2006-07-10 14:38
Re: Would this work? (5 replies, posted in PunBB 1.2 modifications, plugins and integrations)
2 2006-06-26 13:44
Re: Would this work? (5 replies, posted in PunBB 1.2 modifications, plugins and integrations)
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.
3 2006-06-25 18:17
Re: Would this work? (5 replies, posted in PunBB 1.2 modifications, plugins and integrations)
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?
4 2006-06-24 15:30
Topic: Would this work? (5 replies, posted in PunBB 1.2 modifications, plugins and integrations)
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
Thanks!