2011-10-05, 08:47 PM
I am setting up a forum for a gaming community. I want a "Recent threads" from one board (phpbb3) showing on the portal of the mybb board.
I am hosting both sites.
I have gotten the recent topics to show on a straight html page on the correct server, but when I create a template and add it to my portal it will not work.
In the php bit of the external recent topics page I have to link to a external page from the forum I want linked. As mybb is template driven I haven't found another way than to call this portal.php.
I pasted the code I had for the external working html into a new template, but when I place the template in portal it only shows the code.
It's easier to see waht I mean if you take a look at the page
http://exalted-swtor.com/forums/portal.php
Middle, below the normal Recent threads.
This is the code in my php file that sets what file to show the recent topics:
This works if I create a normal showthreads.html in my forums directory and call that one instead of portal.php.
Well, I really hope this is doable and look forward to getting any help available
I decided to do it simple and go for Iframes, but for some reason it's saying that my browser doesn't support Iframes. I'm running the latest firefox..?
I am hosting both sites.
I have gotten the recent topics to show on a straight html page on the correct server, but when I create a template and add it to my portal it will not work.
In the php bit of the external recent topics page I have to link to a external page from the forum I want linked. As mybb is template driven I haven't found another way than to call this portal.php.
I pasted the code I had for the external working html into a new template, but when I place the template in portal it only shows the code.
It's easier to see waht I mean if you take a look at the page
http://exalted-swtor.com/forums/portal.php
Middle, below the normal Recent threads.
This is the code in my php file that sets what file to show the recent topics:
page_header('External page');
$template->set_filenames(array(
'body' => '../../../../../exalted-swtor.com/forums/portal.php'
));
page_footer();
This works if I create a normal showthreads.html in my forums directory and call that one instead of portal.php.
Well, I really hope this is doable and look forward to getting any help available
I decided to do it simple and go for Iframes, but for some reason it's saying that my browser doesn't support Iframes. I'm running the latest firefox..?