I use drupal 6.12 and install phpbb 3.0.4 inside the drupal installation..
How do i integrate it?

Moreover i want to open the forum (phpbb3) in a new window from the primary Link..

Help..

ThanX..

Comments

aitala’s picture

Use http://drupal.org/project/phpbbforum or http://drupal.org/project/phpbb .

I have the latter working but make sure you get the D6 version from one of the threads on http://groups.drupal.org/phpbb
This thread actually - http://groups.drupal.org/node/12949

Eric

__________
Eric Aitala - ema13@psu.edu
Penn State

224b8605113373e086cb27708ff301ba18ce394db1996e7e22928e4555e0d20b1b6cecc7f67c9bd9e536cb915779c485

amad’s picture

Thanks.... will test it ..

but which one is more stable....

phpbbforum-6.x-2.0-beta2.tar or phpbb_drupal6..

aitala’s picture

Well I don't really know since I have never been able to get phpbbforum to work. Its install instructions are not the best.
The phpbb Drupal module works OK - I have occasional login issues, but nothing serious.

Eric

__________
Eric Aitala - ema13@psu.edu
Penn State

224b8605113373e086cb27708ff301ba18ce394db1996e7e22928e4555e0d20b1b6cecc7f67c9bd9e536cb915779c485

amad’s picture

phpbb installed but how to configure..

It does not show up in the Site configuration.. help

aitala’s picture

The link to the instructions is on the project page - http://drupal.org/project/phpbb.

You need to go to... http://drupal.i1media.no/drupal+phpbb The Install for the D6 version is the same for the D5 version.

Eric

__________
Eric Aitala - ema13@psu.edu
Penn State

224b8605113373e086cb27708ff301ba18ce394db1996e7e22928e4555e0d20b1b6cecc7f67c9bd9e536cb915779c485

lbuduen’s picture

Hi Eric, do you happen to know where the install instructions are now, 'cause the link you posted is no longer working and I really need to integrate drupal and phpbb, thx in advance, please help me up

aitala’s picture

Actually I don't think I have the instructions from the web site anywhere... and there are not any in the source code...

I can look when I get home..

E

__________
Eric Aitala - ema13@psu.edu
Penn State

224b8605113373e086cb27708ff301ba18ce394db1996e7e22928e4555e0d20b1b6cecc7f67c9bd9e536cb915779c485

chillz’s picture

Hi Eric, thanks for posting the links to the Drupal 6.x version of the module. I also did not have any success with the phpbbforum module after several hours of plugging away. Maybe it was due to testing things out on a Windows box and using different databases for the two platforms :).

I am a bit curious regarding the following statement from your post:

I have occasional login issues, but nothing serious

What exactly to you mean by this? And do you do you address these issues?

aitala’s picture

Well, here is what happens...

As a regular user - I am logged into the Drupal site. I go to the phpBB forum, but I am not logged in there. To fix this, I click the 'Log in' link in phpBB. It shows a white screen. But if I hit the browser's back button, I return to the Forums and am magically logged in.

As a admin for phpBB I am logged into Drupal. I go to the Forum and am logged in there. I attempt to access the Admin Control Panel. Its says I am not logged in and to re-auth. It never takes. The only solution I have found is, on the initial rejection, is to return to Drupal and change my password. I usually 'change' the password to the current password. I can then access the ACP.

Eric

__________
Eric Aitala - ema13@psu.edu
Penn State

224b8605113373e086cb27708ff301ba18ce394db1996e7e22928e4555e0d20b1b6cecc7f67c9bd9e536cb915779c485

chillz’s picture

Cheers for the info Eric m8. I truly am impressed with your level of tolerance for what appears to be a real pain in the you know where :). I tried the Drupal 6.x version of the module with phpBB 3.0.5 but I simply could not log into the forum whether attempting through a drupal-side log in or directly. The only thing that worked was the admin bypass. I am not a fan of giving up on a challenge but I think I will sit this one out for a bit since I am only doing this to re-famililarise myself with Drupal. In the meantime, I will focus on Drupal's core forum and the advance forum module. I reckon when I need the power of phpBB3 along with a CMS I will stick with Joomla! :). I use RokBridge which is bi-directionaly and is a doddle to install and configure and works perfectly. Additionally there is JFusion which facilitates cross-platform integration and I have read good reviews about Mehdi's bridge.

Thanks again for the information.

aitala’s picture

Well, the log in issues only happen sporadically... so its not a really big issue.

I am running D6 with phpBB 3.0.4 . I started with the 3.0.2(?) version of phpBB but there have been two security updates which I installed with no problems. I have even installed phpBB add-ons and not had any real issues.

Eric

__________
Eric Aitala - ema13@psu.edu
Penn State

224b8605113373e086cb27708ff301ba18ce394db1996e7e22928e4555e0d20b1b6cecc7f67c9bd9e536cb915779c485

chillz’s picture

Ahhhh, its good to know that your phpBB3 updates went smoothly. Incidentally, have you tested the module with phpBB3 on a separate database? Maybe that's the source of my problems :). According to the module's author, using the same database for Drupal and phpBB3 was the recommended path. However, he also indicated that there was nothing stopping a user opting for the separate database route. I felt I would keep things clutter free as possible by using two DB's. The first order of business get this 2 DB setup to work was to edit the configuration.php file by changing this:

$db_prefix = 'phpbb_'; to $db_prefix = 'phpbb3_drupal.phpbb_'; where "phpbb3_drupal" is the name of my phpBB3 database. Apparently, this was not quite enough render the configuration fully functional. If you or others have been able to successfully implement the 2 DB system, then I will be extremely grateful for some insights :). I will also be glad if the module developer can offer some advice on this.

Anyway, I have decided to make things a bit easier by switching to my Linux box and opting for the single DB solution :). When I get this setup to work, I will then tackle the 2 DB option since in my view standalone platforms perform optimally when installed in their own individual database.

Cheers

aitala’s picture

I have the Drupal tables and phpBB tables in the same DB. I figures it was easier..

Eric

__________
Eric Aitala - ema13@psu.edu
Penn State

224b8605113373e086cb27708ff301ba18ce394db1996e7e22928e4555e0d20b1b6cecc7f67c9bd9e536cb915779c485

chillz’s picture

Yup its definitely less of a hassle. I have completed the 1 DB setup on my Linux box and the initial signs are good. There are a few little (login) quirks.

1. When I created a new user in Drupal, this was immediately reflected in phpBB via the "Our newest member" notice under the "Statistics" section at the bottom of the screen. However, the initial attempt to log into Drupal as that user simply reload the front page and there was no login confirmation. On the other hand, I was able to log into the forums and upon returning to Drupal, I simply refreshed the page and the user was confirmed as logged in.

2. A subsequent attempt to log in via phpBB resulted in a re-direction to the Drupal login page. The logging attempt on this page was successful however.

3. On the phpBB site, the test user's username appears in red (instead of blue) suggesting Administrator status, however the user's profile says "Registered Users".

As I indicated earlier, these are just initial observations. I have yet to modify the phpBB3 files as outlined in the instructions. Hopefully most or all of these issues will be rectified when the alterations are made.

aitala’s picture

#3 is a known bug in phpBB 3.0.2(?). It gets fixed in one of the updates.

Eric

__________
Eric Aitala - ema13@psu.edu
Penn State

224b8605113373e086cb27708ff301ba18ce394db1996e7e22928e4555e0d20b1b6cecc7f67c9bd9e536cb915779c485

chillz’s picture

Hmmm that's a bit odd. I have been using phpBB3 for while and have not encountered this before, besides I am using version 3.0.5 the current latest stable. Anyway as long as the users don't have Admin privileges that's fine. Actually, it can be viewed as a security feature as the identities of the admins will be concealed :).

Edit: I think its a module bug. Have a link at this post http://groups.drupal.org/node/9657 taken from the thread containing the module's download.

According to that post any subsequent usernames created following the installation of phpBB and the modules are assigned the colour code of the previously created user. Since the first user is the Forum Administrator whose username is colour-coded red, then that colour is applied to all other subsequently created usernames. There is a some sort of work-around. Since most newly created users will be assigned to the "Registered Users" group initially, the trick is to register a new user immediately following the completion of the phpBB installation. That way, when registrations are disabled (as recommended in the module's installation instructions) and new users are created via drupal, their usernames will adopt the appropriate colour code (blue) in in phpBB.

amad’s picture

..