You are not logged in. Please login or register.
Active topics Unanswered topics
Search options
But the links in my site works fine, it's the links inside PunBB that breaks when I include it.
hmm, it's like this.
In my index.php (located in root) I do "Include ("forum/index.php")"
But the links is still t.ex "search.php" when it should be "forum/search.php"
Hope you understand me
So.. You mean I should replace all links in PunBB with that code? Sounds like to much work for just being able to include it.
I don't get it to work, or maybe I misunderstod you. I'll provide some code, and maybe someone can tell me what i did wrong.
define('site_root','http://location.com/');
if (isset($_GET['act'])) $PAGE = $_GET['act'];
include (site_root."forum/index.php");
Greatful for all help.
/Rickard
Hello,
I have a existing layout with 1 "menu div" and 1 "main div", with a simple php script that inlcude the pages into "main".
I would like to do the same thing with PunBB, the problem is that if I include it the same way as the other pages (serverside), all links get broken (punBB is located in the folder /forum).
I have temporarly fixed this by including the forum with <object>, but now the problem is that I can't get <object> to resize after it's content in "height". Nor can I do this with Iframe.
I'm greatful for all tips.
Thank you in advance.
/Rickard
Posts found: 4