Drupal and phpbb integration

This post will guide you through a step by step tutorial to get phpbb enabled in your drupal site.

phpbb (http://drupal.org/project/phpbb)

This is a module that lets Drupal handle user- and session-management for phpBB 2.0.x, a popular forum / bulletin board system. The result is that users can be registered, maintained and login through Drupal.

The only drawback, if we can name it that way, is that phpbb is not embedded into the drupal page but is integrated so we do not get a generic look and feel.

Requirements

php 4.x or 5.x
mysql 3.x or 4.x
clean URLs in drupal
drupal 4.x or 5.x
phpbb 2.x

Steps to install and integrate

  • Enable clean urls in drupal: this requires the mod_rewrite module to be enabled in apache. On an ubuntu system this is done by:

cd /etc/apache2

Check if rewrite is already enabled.
apache2ctl -M

Enable the module
sudo a2enmod rewrite

Restart and force reload apache
sudo /etc/init.d/apache2 force-reload

  • In your drupal site, goto Administer->Site Configuration->Clean Urls->enable.
  • Enable the menu item called “phpbb”.

Once you click on the phpbb link, it takes you to the phpbb index page where configuration is done. Give the same admin details as present for the drupal and site and make phpbb use the same database drupal is using.

This entry was posted in computer, tutorials and tagged , . Bookmark the permalink.

4 Responses to Drupal and phpbb integration

  1. Emosselof says:

    Hello
    I’ve just registered at the forum. This is my first message.
    Please don’t become angry about me.
    Thank you.

  2. Santos says:

    Hi there,

    First of all, congractulations for this nice guide, great work!

    I have a question. May I do this Drupal+PHPBB integration using postgresSQL database? I have no choice, MySQL is not an option here and never will be available😦

    Hope hear from you son,

    tanks,
    Santos.

  3. divya says:

    Sure! Both drupal and phpbb work well with postgres, so it would definitely work!

  4. james says:

    nice tutorial.
    keep it up.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s