Placing portal on example.com with forum on subdomain
Posted: 8. January 2015 09:56
Your Portal Version: 2.1.0-RC1
Your phpBB Type: Standard phpBB3
MODs installed: No
Your knowledge: Basic Knowledge
Boardlink: Locally hosted
PHP Version: 5.5.9-1ubuntu4.5
MySQL Version: 5.5.40
What have you done before the problem was there?
Not applicable.
What have you already tryed to solve the problem?
Not applicable.
Description and Message
In a previous version of Board3 Portal for PHPBB 3.0.x, I was able to successfully modify portal.php to have my portal display as the main index page at "www.example.com", whereas my forum was located at "forum.example.com". Due to the release of PHPBB 3.1.2, I went ahead and upgraded my forum with fresh files, (including completely removing the old version of Board3 Portal). I'm attempting to get my setup the same again, however with the code structure now different in the new version of Board3 Portal, I'm not able to do this properly.
Essentially the idea is to have my portal appear as the main page at "www.example.com", while the forum is located at "forum.example.com". I'm assuming this would be done through app.php, however I cannot get it to point several of the paths to the correct directories if I set the PHPBB path from "./" to "./forum/". Any ideas on how I can accomplish this? Any assistance would be very much appreciated.
Note: The "example.com" domain was used here as an example due to my forum being developed on a local machine that cannot be accessed via URL at this time. Any issues with domain names I can correct later in my code.
Your phpBB Type: Standard phpBB3
MODs installed: No
Your knowledge: Basic Knowledge
Boardlink: Locally hosted
PHP Version: 5.5.9-1ubuntu4.5
MySQL Version: 5.5.40
What have you done before the problem was there?
Not applicable.
What have you already tryed to solve the problem?
Not applicable.
Description and Message
In a previous version of Board3 Portal for PHPBB 3.0.x, I was able to successfully modify portal.php to have my portal display as the main index page at "www.example.com", whereas my forum was located at "forum.example.com". Due to the release of PHPBB 3.1.2, I went ahead and upgraded my forum with fresh files, (including completely removing the old version of Board3 Portal). I'm attempting to get my setup the same again, however with the code structure now different in the new version of Board3 Portal, I'm not able to do this properly.
Essentially the idea is to have my portal appear as the main page at "www.example.com", while the forum is located at "forum.example.com". I'm assuming this would be done through app.php, however I cannot get it to point several of the paths to the correct directories if I set the PHPBB path from "./" to "./forum/". Any ideas on how I can accomplish this? Any assistance would be very much appreciated.
Note: The "example.com" domain was used here as an example due to my forum being developed on a local machine that cannot be accessed via URL at this time. Any issues with domain names I can correct later in my code.