Change the way of embedding the forum
NeoID - July 30, 2008 - 13:12
| Project: | phpBBforum Integration module |
| Version: | 6.x-1.03 |
| Component: | User interface |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
Would it be possible to embed phpbb in the same way as Gallery2 is embedded by the gallery.module?
It's way better as the URL will not be cloaked and get a seamless-looking integration...
Demo: http://d6.drupalgallery.com/
(Page is horrible slow)

#1
i agree. at this moment the forum is embedded by iframe, which is not xhtml strict. when using object you won't be able to get arid of the ugly border the internet explorer is displaying. in my opinion it should be done by php include or similar way, which validates and is much faster anyways.
#2
ups, double post.
#3
i agree too. i think that iframe it's a bad option to embed the forum.
anyone knows how to do this?
thanks!
PD. Sorry for the double post.
#4
+1, Subscribing.
#5
I thought I would let you guys know that I actually have achieved what you are talking about on my site:
http://custombuttons2.com
However, it was quite difficult. It took making a custom theme for both phpBB3 and drupal. Both of which I simply altered other themes for my use (pluralism [drupal] and prosilver[phpBB]). I then used includes to get a custom made header and footer from the drupal side of my site. That header is a simple page node which my page.tpl.php is coded to know to only use only part of the page:
http://custombuttons2.com/header-only.html
http://custombuttons2.com/header-only-loggedout.html <-- named respectively
http://custombuttons2.com/footer-only.html <-- as you can see this page has no styling since it has no head tags and such
I used a url alias to make it look static.
Then I had to add some additional variables into my /forum/includes/functions.php to allow phpbb to know which header to load. The one for logged in users or logged out.
Then made another page in phpBB3 that simply loads all the stuff that goes into the head of the forum:
http://custombuttons2.com/forum/head.php <--looks blank, but look at source.
this gets included in page.tpl.php for styling reasons.
I can't begin to describe how to do everything I had to do. It was hellishly difficult and took a long time to complete, but the results were well worth it.
Please don't ask me to help you do this unless you have a strong background in php and other coding languages. That is unless your paying...
As for the developers of this module I would be glad to assist you in any way I can. Please let me know.
#6
I recently had a thought about this. What about trying to include the forum by file_get_contents() and then rewrite all links in there?
I don't know, if it would work or if the efficiency would be satisfying, but i think i'll give it a try and then report the result here.
#7
subscribing
#8
Dublicate of: http://drupal.org/node/275704
#9
I'm not disputing this is a duplicate (I'd expect this to be requested before), but certainly not of the linked issue; the linked issue is about automatically creating forum threads when creating Drupal content items. This one is about the way the forum is embedded into the Drupal site.
#10
I agree with eelkeblok.
#11
Please test phpbbforum 6.x-2.0-alpha1
http://drupal.org/node/275704#comment-1300550
#12
How much thought was given to embedding phpBB without actually having to patch it? I love you've gotten phpBB embedded into Drupal, I hate it needs to be patched to do it (but it may be inevitable). I would like to explore getting it to work without patching phpBB, but I would like to hear your thoughts on it.
#13
This thread has been silent for a couple of months now but I just have to agree with eelkeblok. Mass-patching phpBB is not elegant and this should be actively discussed.