Contents
- 1 Activating the bbPress Addon
- 2 Automatically transfer bbPress user profile to Profile Builder user profile
- 3 Allow users to register and login via Profile Builder forms
- 4 Replace the “Edit” user page from bbPress with the extended “Edit Profile” form created with Profile Builder
- 5 Listing bbPress forum users with the User Listing module from Profile Builder
- 6 User Avatars added via Profile Builder will be visible in the bbPress forum
- 7 Content Restriction for bbPress forums
This add-on will allow you to fully integrate the popular forums plugin bbPress with Profile Builder.
You’ll be able to transfer bbPress user profile to Profile Builder user profile automatically. All forum user links will be automatically redirected to the extended user profiles created with Profile Builder.
Using this add-on you can replace the “Edit” user page from bbPress with the “Edit Profile” form created with Profile Builder.
Also, you can use the extended register forms created with Profile Builder (which can also contain custom user fields) to register users for your bbPress forum.
Activating the bbPress Addon
bbPress is an Advanced add-on, available with a Profile Builder Basic or Pro license only.
After purchasing a premium version of Profile Builder, you can check the following guide on how to install Profile Builder.
For bbPress add-on for Profile Builder to work as expected, you’ll also need to have the following plugins installed and activated on your site:
- bbPress
- Profile Builder Pro (to make use of the Advanced User Listing module)
Automatically transfer bbPress user profile to Profile Builder user profile
Once the add-on is installed and activated, under the Profile Builder menu item, you’ll notice a submenu item called “bbPress”. From here you can manage the bbPress add-on settings.
The first thing you can do is link the bbPress forum user profile to the extended user profiles created with Profile Builder’s User Listing module.
Basically you’ll be able to select which Single-User Listing to display instead of the default bbPress Profile tab information.
The Single-user listing template contains a default HTML template which includes user tags, that you can modify to fit your needs.
This way you can display all the user information (including custom fields added via Profile Builder) and customize the user Profile view for your bbPress forum.
Allow users to register and login via Profile Builder forms
The bbPress plugin comes with a list of shortcodes for handling user registration and login.
However, you can use the Profile Builder register form for adding users to the bbPress forum. This way you can setup a detailed form which includes custom fields and collect more detailed user information (which you can then display later).
You can make use of the following Profile Builder shortcodes:
- [wppb-login] – for displaying the front-end login form
- [wppb-register] – for displaying the register form and allow users to register for your forum
- [wppb-recover-password] – for displaying a password recovery form
The complete list of Profile Builder shortcodes can be found here.
When registering users for your forum via Profile Builder register form, make sure to also assign a certain role at registration.
You can do this using the shortcode parameter role, like below:
[wppb-register role='bbp_participant']
The default bbPress Roles are:
- Keymaster (slug: bbp_keymaster ) – Can create, edit and delete other users’ forums, topics and replies. Can manage Tags, and moderate a forum with the moderation tools. Has access to global forum settings, tools, and importer.
- Moderator (slug: bbp_moderator ) – Can create and edit forums. Can create, edit and delete other users’ topics and replies. Can manage Tags, and moderate a forum with the moderation tools.
- Participant (slug: bbp_participant )– Can create and edit their own topics and replies.
- Spectator (slug: bbp_spectator)– Can only read topics and replies.
If you’re using the Multiple Registration Forms from Profile Builder, you’ll have the option to set the user role directly from the form settings:
Replace the “Edit” user page from bbPress with the extended “Edit Profile” form created with Profile Builder
You can display the Edit Profile form created with Profile Builder under the “Edit” tab from bbPress user profile.
For this under bbPress add-on settings page, make sure to select which PB Edit Profile form should be displayed. By default it’s the standard one, outputted by the shortcode: [wppb-edit-profile]
If you have set Multiple Edit Profile Forms, you’ll have more options to pick from.
Now your front-end “Edit” tab from bbPress will display the detailed Edit Profile form created with Profile Builder.
Listing bbPress forum users with the User Listing module from Profile Builder
Using the User listing module available in Profile Builder Pro you can create a member directory of all your forum users.
The bbPress add-on adds 3 new user tags which you can use on both All User Listing as well as Single-User Listing:
- Forum Role:{{bbp_forum_role}} – for displaying the forum user role (e.g. “Participant”)
- Topics Started:{{bbp_topics_started}} – shows the number of topics the user has started
- Replies:{{bbp_replies_created}} – shows the number of replies the user has created
User Avatars added via Profile Builder will be visible in the bbPress forum
If you add an Avatar field via the Profile Builder Register form, it will automatically appear in the bbPress forum.
Get bbPress for Profile Builder Addon
Content Restriction for bbPress forums
If you have the bbPress add-on active, you can also restrict forums using the standard Content Restriction features from Profile Builder.
Profile Builder Pro
Create beautiful front-end registration and profile forms with custom fields. Setup member directories, custom redirects, cutomize user emails & more using the all in one user management plugin.
Unlock PRO Features