Start a FREE 7 day trial! Get training videos and books, plus expert support:  

Drupal Tutorials and How-to Support Articles

Using Drupal's Advanced Forum Module

Drupal's core forum module has been around for a long, long time. It was first introduced back into Drupal 3 in 2001!

The forum module is fairly basic but it has proven reliable enough to handle some large sites such as https://drupal.org/forum. However, the module does lack many of the more advanced features that you'd expect to see in today's forums such as VBulletin and phpBB. 

If you want a more powerful forum in your Drupal site, we recommend Advanced Forum. The Advanced Forum module has many of the same features as VBulletin and phpBB, but it's also tightly integrated into Drupal.

In this tutorial, we'll show you through how to install, configure and use Advanced Forum.

media_1356908503541.png

Installing Advanced Forum

Install and enable the three modules required for Advance Forum to work.

  1. Advanced Forum: https://drupal.org/project/advanced_forum
  2. Views: https://drupal.org/project/views
  3. Chaos Tools: https://drupal.org/project/ctools

Configure Advanced Forum

The Advanced Forum module comes already configured but you can make changes.

  • Click on Configuration in the black admin menu bar.
  • Click on Advanced Forum in the Content Authoring box on the left side of the screen.
media_1356901799041.png

You'll now see the general settings area. 

These settings focus primarily on how the forums, forum topics, and comments are styled on the site. The Advanced Forum module comes prepackage with several theming options for your forum. Review the list of Advanced forum styles and choose one that you like or, if you are familiar with theming in Drupal, you can copy the tpl.php files and/or CSS from the module and paste it into your theme. Then, you can edit the files and CSS to meet your needs.

As you can see, one of the features the Advanced Forum module offers is the ability to use a content type other than default forum topic that comes with the Forum module. You can create your own forum topic content type. The other configuration settings under General settings address how your forum topics are styled. Review the brief explanation for each option to learn more about that option.

media_1356901865179.png

 Your next configuration opitons for breadcrumbs and the display of the comment quantity.

media_1356902137751.png

The last Advanced Forum configuration option allows you to include an image for your forum. By default, this feature will not work because the forum vocabulary does not have an image field by default. If you want an image for your forums, add the image field to the Forum vocabulary.

media_1356902250507.png

Other Settings

In addition to the settings discussed above, below are few others to consider.

Forums: The Forum module has some its own settings to consider. For instance, as you can see in the image above, the configuration options for Forum include adding containers and forums. By default, the Forum module comes with a General Discussion forum.

  1. Click on Structure > Forums
  2. Click on Add container to create another container. Look at the screen shot at the start of this tutorial. See the box labelled Forums. A container will create another box like that.
  3. Click on Add forum to create another forum. Forums are pages that group Forum topic posts.

Roles: If you want to restrict forum posts and discussions to a role other than Authenticated (or even anonymous if you are feeling adventuresome), add a forum role.

Permissions: There are at least three permissions to review and configure before opening our forum to the public.

  1. Comments
  2. User profile access
  3. Node - create/edit/delete content a forum topic to be exact.

media_1356908237231.png

Adding an Author Pane Block

Another nice feature you can add to your site is the Author pane provided by the Author Pane module. The module creates a block that you can enable to show on the Forum topic posts (as shown here).

  1. Download the Author pane module from https://drupal.org/project/author_pane
  2. Upload the module to your webserver and unpack it
  3. Enable the module
  4. Go to Structure > Blocks and click Configure next to the Author Pane block
  5. Check Forum topic under Node types to display on (assuming Forum topic is the content type you selected when configuring Advanced Forum module)
  6. Select a region under Region visibility settings (in other words, what section of the webpage do you want the block to appear)
  7. Save

Go see what it looks like by navigating to one of your Forum topic posts:

 
media_1356907320383.png
 

 

Start a FREE 7 day trial! Get training videos and books, plus expert support:  

License

All of our tutorials are published under the Creative Commons Attribution-NonCommercial license. This means:
  • You can re-use these tutorials.
  • You can modify these tutorials.
  • You must link back to our original tutorial.
  • You can't use these tutorials commercially.
Click here to read the full license.