Alternative: new phpBB module

Events happening in the community are now at Drupal community events on www.drupal.org.
Xabi's picture

A module has been released that lets Drupal handle user- and session-management for phpBB 2.x. In practice it takes things from the Drupal database and updates the phpBB database each time a user logs in. The result is that users can be registered, maintained and login through Drupal.

See here for a demonstration and full instructions.

This module will be moved to Drupal 5.0 after phpBB 3 is released, or sooner if anyone else wants to make a version for Drupal 5.0 / phpBB 2.0.22.

Comments

For fresh install only?

Cross_and_Flame's picture

Reading through the module and demonstration, it seems it is only viable for a new installation of both?

Or am I missing something?

existing phpbb and new drupal

joestewart's picture

I took an existing phpbb site and integrated it into a new drupal (4.7) install. There was only about 45 users and about 700 posts. Working pretty well so far.

Joe

PhpBB 2.0.22 and Drupal 5.1

david_halliday's picture

How is the conversion to 5.1 going? I really want to move to a Drupal based site but can not easily move to PhpBB 3.0 so this port will be very useful not just as a stop gap but for all of us with highly customized themes that prevent us moving to PhpBB 3.0 any time soon (even if it was available.)

Thanks,

Dave.

My feelings haven't

Toe's picture

My feelings haven't changed...

http://groups.drupal.org/node/2095#comment-5910

I agree with Toe The module

pcs305@drupal.org's picture

I agree with Toe
The module is for Drupal 4.7.x waiting to go to 5 but not before phpBB 3.0?? hmmm
This option and options like these will always have you between a rock and a hard place.

It isn't only for 4.7

maartenvg's picture

I'm currently busy converting it to 5.x since I don't believe phpbb 3.0 will be available any time soon. In fact the conversion is more or less finished, I only need to test it thoroughly. BTW, i'm not the maintainer of the module, just someone who uses phpBB and wants to use Drupal as CMS while keeping phpBB.
The current phpbb module is no where near ready, it lacks very important features like importing users from or to phpbb. Also the dependance on the ability to use mod_rewrite is not a very nice solution to the problem of intercepting logins and such. But overall I do think it will be a solution for people who want to stick to their phpBB regardless of the state of the native forum-module.

I agree with most of the points Toe made and can see the beauty of a native forum, but if there isn't a decent alternative these forum bridges will remain necessary. In the future I would really love a native Drupal forum with the same ease of use and features as a dedicated forum would have.

I'd like to take a look at

kreynen's picture

I'd like to take a look at where the Drupal 5 version of phpbb is at. Can you PLEASE post it somewhere? If it's actually installable, I'd be more than happy to help test it.

Obviously everyone prefers a Drupal native solution that doesn't require stringing together a dozen modules, but that doesn't exist. Feature complete BBs are big projects. Until the group of rockstar developers with months of free time get together to write this, phpBB seems like a viable option for a feature complete BB. If more people were willing to contribute to the work maartenvg and arkepp are doing, this could be a solid module.

At some point you need to ask if the advantages of a Drupal native solution are worth the effort? Look TinyMCE. Why would we write a Drupal native WYSIWYG toolbar when the folks at Moxiecode already have a great one? Much like phpBB, their developer community extends beyond Drupal.

Actually I don't mind the modular nature of Drupal

hyper's picture

Actually I don't mind the modular nature of Drupal. For my most important forum I've used vBulletin then moved to it IP.Board. Now I'm planning our switch to Drupal and its native forum.

Drupal forums, right for everyone?

arkepp's picture

There's one thing that people forget, or choose to ignore: Drupal's built-in forums will never please everyone. I am quite happy with the way phpBB works. I am not saying that it is anywhere near perfect, but I am not sure that, even if you put 10 000 development hours into Drupal's forums, that I would prefer the feel of the end result over phpBB. It is very difficult to quantify what makes SMF more pleasant to use than phpBB, or vice versa. We can only hope that Drupal can do something better than reinvent the wheel, from the perspective of the user.

With regards to Toe's comments I question whether they are applicable, and wonder whether Toe has even looked at the module?:
1) With this module you can upgrade minor versions of both Drupal AND phpBB without worrying about the module. No code in phpBB or Drupal is changed. So you get the patches as quickly as everyone else, and I have in fact done this many times with phpBB. This should make you very happy?
2) I'm not sure whether you are discussing "Drupal's forum" or "forum that's integrated into it"? It is obviously true that an integration module will improve neither forum. The point of integration is that it will let you use whatever forum you want WITH the CMS you love.
3) "Nor does it do anything to promote Drupal". Maybe not. But I do run some of Norway's largest websites with Drupal at the core. I couldn't have done that if the built-in forums were my only option. Would Drupal have been better served if I had chosen something else? I doubt it.
4) "There's two types of bridges:..." Please have a look at http://mac1.no and http://linux1.no, create a user, try them out (same username will work on both pages). They're in Norwegian, but I am sure you can manage. How does your criticism apply to this module?

pcs305:
It is clearly stated that this module is not recommended for regular end-users, who should use the built-in forums instead? The reason I wrote that from day one, and the reason the installation remains a hurdle, is exactly because it will create a dependency that only skilled users can control.

I share the code in case it's of use to anyone else, or if anyone wants to turn it into something that actually is user friendly. I'd be happy to let others commit to CVS, or pass the torch if they convince me they're up to it. Porting it to phpBB3 would be more than enough to prove that point.

maartenvg:
I do agree strongly with Toe's 1st point (I disagree whether it applies in this case), which is why I make the integration as loose as possible. If you can figure out a nice way to achieve the same result, or change the URLs directly in phpBB, awesome. But so far I actually believe that the mod_rewrite technique is by far the most elegant aspect of this module. (Granted, there's not much there to brag about in the first place.)

The reason there are no import tools to go from phpBB to Drupal is that I manually merged a pnPhppBB and a nukePhpBB installation into a single Drupal-database. However, afaik there are other tools on Drupal.org for doing this, and those should live independently of this module anyway.

Cross_and_Flame:
It works with existing Drupal installations, but you have to get phpBB users into Drupal first.

ps. All this said: I do see DruBB as a distinctly different approach from the hack I have created. Therefore I don't think my module should be mentioned on your front page as much as it is now. DruBB is much more ambitious, and if you pull it off, I will gladly become one of your first adopters.

migrating existing drupal forums to phpbb

amnion's picture

Does anyone have a script that allows for this? I already have a sizeable drupal forum and enabling this doesn't make sense if I can't transfer over the stuff I already have. Looking at going from Drupal 5.7 to phpbb3.0.1

Would like to know too

maher's picture

Would like to keep my drupal site but move core forum to PHPBB3. The docs says

If you are starting with an existing Drupal installation you need to figure out a way to offset your users or have phpBB offset the users it automatically creates for search engines during installation.

I have no idea where and how to start. Don't know what "offset" means. And would this move my current drupal forum posts?

Thanks for your time and help.