WordPress Questions and Answers (CMA) - Extras - BuddyPress Integration


BuddyPress Integration

Back to User Guides

WordPress Questions and Answers integrates with the BuddyPress plugin, specifically the groups feature. BuddyPress will display questions from the forum by users that login with their BP profile.


BuddyPress user's profile

In the user's profile, the "Questions" tab from the WordPress Questions and Answers will show all user's questions:

Forum plugin integration with BuddyPress - Discussion Forum Plugin for WordPress
Forum plugin integration with BuddyPress

How to create a forum for a BuddyPress user group

You can also associate a BP user group with a specific CMA category. The chosen CMA category becomes a forum for this group where the users can create topics (questions) and post answers.

Don't forget to enable User Groups in the BuddyPress Settings:

Enabling User Groups in the BuddyPress Settings - WordPress Question and Answer Plugin
Enabling User Groups in the BuddyPress Settings

How to Associate an Existing BP Group with a CMA Category

  1. Go to your BP group front-end page and click the Manage tab on the navigation bar.
  2. Open the Questions managing tab.
  3. Choose "Related CM Answers category" (you need to create some CMA categories first).
  4. Press Save changes.
Associating an existing BuddyPress group with a forum category - WordPress Forum Plugin
Associating an existing BuddyPress group with a forum category

Now the Questions tab will be visible on the navigation bar for this BP group:

Displaying the 'Questions' tab in the BuddyPress profile - WordPress Discussion Forum
Displaying the 'Questions' tab in the BuddyPress profile

BuddyPress Integration Settings

Under the plugin settings Appearance tab → Miscellaneous section you can find settings to control the shortcode used in the BP integration. You can use the parameters in the shortcodes to add or change the appearance of the CMA widget inside BP.

  • Shortcode attributes for BuddyPress Group - If you assigned a BP Group to a CMA category, you can adjust the shortcode which is used to display the CMA questions' list. Example parameters: formontop=0 limit=10 sort=hottest form=1 navbar=0
  • Restrict group questions for the users which are not in BuddyPress Group - Locks users out of the content if they don't belong to the group.
  • The message for restricted question content - The field accepts HTML.
  • User's profile custom URL - instead using CMA default user's profile page enter a custom URL template to the BuddyPress profile: /members/%s/profile/

    Forum plugin and BuddyPress Integration Settings - WordPress Q and A Plugin
    Forum plugin and BuddyPress Integration Settings

More information about the WordPress Questions and Answers plugin

Other WordPress products can be found at CreativeMinds WordPress Store

Let us know how we can Improve this Product Documentation Page

To open a Support Ticket visit our support center
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.