window._wpemojiSettings = {"baseUrl":"https:\/\/s.w.org\/images\/core\/emoji\/12.0.0-1\/72x72\/","ext":".png","svgUrl":"https:\/\/s.w.org\/images\/core\/emoji\/12.0.0-1\/svg\/","svgExt":".svg","source":{"concatemoji":"https:\/\/wpbrilliance.com\/wp-includes\/js\/wp-emoji-release.min.js?ver=5.4.1"}}; /*! This file is auto-generated */ !function(e,a,t){var r,n,o,i,p=a.createElement("canvas"),s=p.getContext&&p.getContext("2d");function c(e,t){var a=String.fromCharCode;s.clearRect(0,0,p.width,p.height),s.fillText(a.apply(this,e),0,0);var r=p.toDataURL();return s.clearRect(0,0,p.width,p.height),s.fillText(a.apply(this,t),0,0),r===p.toDataURL()}function l(e){if(!s||!s.fillText)return!1;switch(s.textBaseline="top",s.font="600 32px Arial",e){case"flag":return!c([127987,65039,8205,9895,65039],[127987,65039,8203,9895,65039])&&(!c([55356,56826,55356,56819],[55356,56826,8203,55356,56819])&&!c([55356,57332,56128,56423,56128,56418,56128,56421,56128,56430,56128,56423,56128,56447],[55356,57332,8203,56128,56423,8203,56128,56418,8203,56128,56421,8203,56128,56430,8203,56128,56423,8203,56128,56447]));case"emoji":return!c([55357,56424,55356,57342,8205,55358,56605,8205,55357,56424,55356,57340],[55357,56424,55356,57342,8203,55358,56605,8203,55357,56424,55356,57340])}return!1}function d(e){var t=a.createElement("script");t.src=e,t.defer=t.type="text/javascript",a.getElementsByTagName("head")[0].appendChild(t)}for(i=Array("flag","emoji"),t.supports={everything:!0,everythingExceptFlag:!0},o=0;o
Dec 30, 2019
33 Views
0

How to Add a Forum in WordPress with bbPress

Written by

Bulletin boards and forums are good old reliable tools to build online communities. While there are plenty of open-source forum software, integrating a third-party forum with WordPress can be a mess. That’s where bbPress comes in. In this article, we will show you how to easily add a forum in WordPress with bbPress. What is bbPress? bbPress is a forum software built the WordPress way. It runs on top of WordPress, which is the best website builder in the world. Just like WordPress, bbPress is extensible, and you can install add-on plugins to add more functionality to your forums. It is also very…

Bulletin boards and forums are good old reliable tools to build online communities.

While there are plenty of open-source forum software, integrating a third-party forum with WordPress can be a mess. That’s where bbPress comes in.

In this article, we will show you how to easily add a forum in WordPress with bbPress.

Adding a forum in WordPress using bbPress

What is bbPress?

bbPress is a forum software built the WordPress way. It runs on top of WordPress, which is the best website builder in the world.

Just like WordPress, bbPress is extensible, and you can install add-on plugins to add more functionality to your forums. It is also very light-weight and faster than other popular open-source forum software.

What You Need to Make an Online Forum with bbPress?

If you already have a WordPress website where you want to add a forum, then you can skip this section. On the other hand, if you are just getting started then continue reading.

First, you’ll need to sign up for a web hosting account. This is where you will store all the files for your online forum.

You’ll also need a domain name. This will be your website’s address on the internet and what users will type in their browsers to find your online forum.

Normally, website hosting costs $7.99 per month and domain name would cost you around $14.99 per year.

This is a lot of money if you are just getting started.

Luckily, Bluehost has agreed to offer WPBeginner users a discount on hosting with a free domain name. Basically, you’ll be able to get started for just $2.75 per month.

→ Click Here to Claim This Exclusive Bluehost Offer ←

Bluehost is one of the biggest WordPress hosting companies in the world and an officially recommended WordPress hosting provider.

Once you have signed up for hosting, you can follow our guide on how to make a website for complete installation instructions.

After setting up WordPress, you will be ready to install bbPress and start your own online community.

How to Install bbPress

bbPress is available as a WordPress plugin. You can install it like you would install any WordPress plugin.

Simply log in to your WordPress admin area and go to Plugins » Add New . Search for bbPress and then select bbPress from results.

Install and activate the plugin. Upon activation, you will see the welcome screen for bbPress.

Welcome to bbPress

Creating a Forum with bbPress in WordPress

Once installed, bbPress adds Forums, Topics and Replies menu items in your WordPress admin.

Add new forum

First, you need to click on Forums » Add New link from the menu. This will take you to a screen similar to the WordPress post edit area.

Provide a title for your forum and enter a little description of it. Then press the publish button.

Forum title and description

You can create as many forums as you need for different discussions and topics.

Displaying bbPress Forum in the Front End of WordPress

Now that you have created a few forums, it is time to display those forums on the front end of your WordPress website.

Create a new WordPress page. Give this page a title, like Forum, Community, Support Forums, etc.

After that, simply paste the following shortcode in your page:

[bbp-forum-index]

Don’t forget to click on the publish button to save your changes and make your forum page visible on your website.

You can now visit the page in a web browser to see a preview of your forums.

Forums page preview

Next, you need to help users find the forum on your website. To do that, let’s put a link to your forum page on top navigation menu.

Go to Appearance » Menus and add the forum page to your navigation menu.

Add forum link to navigation menu

Users can now access the forum index page by clicking on the link in the main menu.

Integrating bbPress with your WordPress Theme

In most cases, you would probably want to open your forum for new registrations. To do that, you need to open your website for registrations.

Simply go to Settings » General, and check the box next to “Any one can register” to allow registrations on your website.

Open your forum for user registration

Don’t forget to click on the save changes button to store your settings.

Now that your website is open for registration, the first thing that your forum participants would look for is a registration page.

Let’s make one.

Simply create a WordPress page, and give it a title, e.g. Register. Add shortcode [bbp-register] and publish the page.

Making aa bbPress registration page

You can now preview this page. It will show a user registration form to all non-logged in users.

Another page your users would need is the lost password recovery page. This is where they will be recover their lost passwords.

Create another WordPress page and give it a title e.g. Lost Password. After that, add this shortcode [bbp-lost-pass] and publish the page.

Lost password page

Finally, you need to add a login form to your website so that forum users can easily login from anywhere on your website.

bbPress comes with a handful of widgets and one of them is a login form widget.

Go to Appearance » Widgets and simply drag and drop Login Widget to your sidebar or any other widget area.

You will be asked to provide the URLs for the registration and lost password pages you created earlier. After entering them you need to click on the Save button to store your widget settings.

Login widget settings

Now a login form with links to registration and lost password recovery pages will appear in your sidebar. Logged in users would see their usernames and a logout link instead of the form.

Login form preview

Managing bbPress Forum Settings

Unlike other popular forum software, bbPress has a very simplified configuration page. To manage settings for your bbPress forums, go to Settings » Forums page.

Forum settings page

The default options on this page would work for most forum websites. We’ll take a look at all of them, just in case you want to change anything.

The first option you would see here is to ‘Automatically give registered visitors the participant forum role’. You can select a user role or uncheck the option to manually assign user roles to each user when they register.

The next option adds a 10-second delay between subsequent forum posts to prevent forum flooding and spam. You can increase or decrease the delay period here.

The Editing option allows users to edit their forum posts 5 minutes after they publish them. You can uncheck this option but that would prevent your users from correcting spelling errors or edit their posts if they missed something.

After that, you’ll find the forum features section. From here, you can turn forum features on and off.

Add remove forum features

Below that, you’ll see forum display features. From here, you can select a bbPress template, number of posts and topics to display on forum pages and inside the forum RSS feed.

Forum display settings

Finally, you’ll see options to select URL slugs for different sections and forum pages. Slugs are the SEO friendly URL names used by WordPress.

Change forum URL slugs

The default URL slugs are meaningful and SEO friendly out of the box but if you need to change them, then you can do so here.

Don’t forget to click on the ‘Save changes’ button to store your forum settings.

User Roles in bbPress

WordPress comes with its own user role management system which allows you to assign users roles with different permissions.

bbPress extends the WordPress user roles by adding its own five pre-defined user roles with different capabilities.

1. Keymaster – The website owner or the WordPress administrator is automatically assigned the Keymaster role when they install bbPress. A Keymaster can delete and create forums, can create, edit, delete all posts, topics, forums.

2. Moderators – Users with moderator user role have access to moderation tools, which they can use to moderate forums, topics, and posts.

3. Participants – This is the default user role, participants can create and edit their own topics and posts, they can favorite and subscribe to topics.

4. Spectators – Spectators have a read-only access to public forums, topics, and posts.

5. Blocked – When a user is blocked all their capabilities are blocked. They can still read publicly viewable topics and posts, but can not participate in the forums.

Extending and Promoting Your bbPress Forum

Now that your bbPress forum is all set up and running. It is time to learn how to extend and promote it.

Let’s start with the appearance first. bbPress works with any WordPress theme and themes can also add custom styles to bbPress.

All top WordPress themes come with custom bbPress styles to make your forum look beautiful.

For more choices, see our pick of the best WordPress themes for bbPress.

Next, you would want to add new features to your forum so that you can quickly get new members and grow your online community.

The following are some of the plugins that will help you grow your online forum much quickly.

1. RafflePress

RafflePress

RafflePress allows you to create viral giveaways and contests in WordPress. These interactive contests and giveaways are a sure-fire way to instantly get a ton of new users to your online forum.

See our guide on how to create a viral giveaway contest for more information.

2. MemberPress

MemberPress

MemberPress is the best WordPress membership plugin. It allows you to make money online from your forum by adding subscription layers to your online community.

For more information, take a look at our guide on how to make a membership website.

3. MonsterInsights

MonsterInsights

Want to know which forum topics and discussions are more popular on your website? MonsterInsights helps you easily track all your website traffic using Google Analytics.

4. WPForms

WPForms

WPForms is the best WordPress contact form plugin. It allows you to easily create beautiful forms for your website. You can also use it to create custom login page, user registration page, or to add surveys and polls to your bbPress forum.

We hope that this article helped you learn how to add a forum in WordPress and how to install and configure bbPress. You may also want to see our complete WordPress SEO guide to help you get even more traffic.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

The post How to Add a Forum in WordPress with bbPress appeared first on WPBeginner.

Article Categories:
Tutorials

Leave a Reply

Your email address will not be published. Required fields are marked *

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc a odio nec justo rutrum faucibus.
$20
Buy Now