WOW! spent the better part of the last few days trying to get phpbb and other discussion boards to work with my site. I now know what I need to do but am uncertain of how to go about it.
Phpbb and other discussion boards are for the most part designed to run as a stand alone and not to be intergated into a site dynamically (www.mysite.com/index.php?page=forum).
My problem is that something like phpbb uses a lot of hard coded url's so if you go through and change them you can get at least partial functionallity. The problem I ran into was that if I made sure that every link was called from the forum directory by placing a forum/ in front of all the links (losts of work) sometimes the link would be read as forum/forum/link.php and it, obviously, would not be dynamically included in my sites "main content area".
What I am think I need is something that will act as a go between.
First, I am thinking that all the files in the www.mysite.com/forum directory and it's subdirectories should be put into an array.
Second, I need to have every link and image link that is called by phpbb examined against the array and using the array make sure all the files are called from the correct directory.
And Third, have each link replaced by a dynamic include (www.mysite.com/index.php?page=forum_topic) that calls the file from the correct directory and have all the image links replaced by with the correct path to that image.
One note about phpbb that I think will make this task easier is that none of the files are called directly all of the links are called like "link.$phpEx" with the $phpEx defined in a separate file that is included a the start of all the files that need it. Hence if the $phpEx = "" then I just need "link." to call the dynamic include.
I am going to try and start this but I only have a basic understanding of were to start I am hoping that you all can help with some good tips and suggestions.
P.S. hope you all don't mind if every couple of days, if needed, I bump up this post, to keep suggestions flowing. 🙂