Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Quesssssschin.
#1
Anybody know how to embed a forum in a table of a site? For example, on QBColony, the menus and stuff stay the same, but I want the PHPBB forum to appear in the little space where all the content appears. Thanks.
Reply
#2
Try using an IFRAME.
I'd knock on wood, but my desk is particle board.
Reply
#3
The "prototype" (heheheh) for iframe:
Code:
<iframe src="/forum/index.php" width="50%" height="10%">
f only life let you press CTRL-Z.
--------------------------------------
Freebasic is like QB, except it doesn't suck.
Reply
#4
Nah, no iframe. I want the whole thing embedded into the table cell...
Reply
#5
Nope. Not to my knowledge anyways.
I'd knock on wood, but my desk is particle board.
Reply
#6
I don't know about phpBB specifically, but you can do something like this:

Code:
<html>
<head><title>Test</title></head>
<body>
<table width="100%" height="100%">
<tr><td width="20%" valign="top">Blah blah blah</td><td>
<?php
require("forum.php");
?>
</td></tr></table>
</body>
</html>
(If "forum.php" is supposed to be it's own page, you'll get double html, head, and body tags. IE seems to handle this ok, but it's probably not good practice. Better to modify your forum script so it doesn't output these.)
Reply
#7
Just out of curiosity....Why would you want to do it anyway?
Reply
#8
I tried that too sometime ago, but you have to change the all the links in phpBB if you use table cell. An iframe would work I guess.
url=http://www.copy-pasta.com]CopyPasta[/url] - FilePasta
Reply
#9
But it would mean too much modifications i guess =P.
Reply
#10
Yeah, you're right. The links would be screwed. :normal:
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)