Restrict bbPress Forums by Default

Restricting All bbPress Forums

WooCommerce Membership Made Easy allows site administrators to restrict all bbPress Forums by default to certain user types/members. Free version of this plugin allows you to restrict each forum separately. If you want to restrict all existing forums and all new forums, you will have to edit each existing and new forum. However, this feature allows you specify the restrictions in single location and restrict all existing/new forums and by default.

  • Restrict all new bbPress Forums by default to selected user types.
  • Restrict all existing bbPress Forums by default to selected user types.

Configure Global bbPress Forum Restriction Settings

You can go to Woo Membership Made Easy -> Global Restrictions -> bbPress Forums Settings. First, you have to enable Global forums restrictions using Enable Global Forums Restrictions setting.

forums-3

Let’s look at the forums list in bbPress before any restrictions are applied.

forums-1

Now you can go to bbPress Forums Settings and use Visibility setting to control the visibility of your forum. By default, Visibility is set to Everyone. You can change the Visibility to Guests, Members or User Roles. When you set the visibility to Members or User Roles, forums in the earlier image will look like the following to guests.

forums-2

However, if you want to remove the restriction of certain foorum(s), you can go to the forum edit section and configure the visibility only for the forum.

Following screenshot previews how forums page is displayed when Global Forums Restriction is applied and one forum is set to visible to everyone.

forums-4

IF the user tries to access forum detail page of restricted forum and they don’t have the visibility, user will be redirected to the URL defined in Woo Membership Made Easy -> General Settings -> Post/Page Restriction Redirect URL setting.

[mpc_textblock content_width=”100″ font_color=”#ffffff” font_size=”22″ margin_divider=”true” mpc_tooltip__border_divider=”true” mpc_tooltip__padding_divider=”true” class=”wpexpert-wpro-ad-free-docs-static-text”]WooCommerce Membership Made Easy[/mpc_textblock][mpc_animated_text duration=”1000″ delay=”2650″ text_font_preset=”mpc_preset_17″ text_font_color=”#ffffff” text_font_align=”center” text=”Simple Setup|||Advanced Restriction Rules|||Membership & Private Page Management|||Priority Support” text_border_divider=”true” text_padding_divider=”true” disable_sides=”true” sides_font_preset=”mpc_preset_17″ sides_font_color=”#ffffff” sides_font_align=”center” border_divider=”true” padding_divider=”true” margin_divider=”true” class=”wpexpert-wpro-ad-free-docs-animated-text”][mpc_button preset=”mpc_preset_29″ url=”url:http%3A%2F%2Fbit.ly%2F2sssrw8|||” font_preset=”mpc_preset_20″ font_color=”#ffffff” font_size=”16″ font_transform=”uppercase” font_align=”center” title=”VIEW MORE” background_color=”#2bb3e7″ border_divider=”true” border_css=”border-top:2px;border-right:0px;border-bottom:2px;border-left:0px;border-color:#ffffff;border-style:solid;border-radius:0px;” padding_divider=”true” padding_css=”padding-top:12px;padding-right:32px;padding-bottom:12px;padding-left:32px;” margin_divider=”true” margin_css=”margin-top:11px;” hover_font_color=”#2bb3e7″ hover_background_color=”#ffffff” hover_background_effect=”expand-horizontal” hover_background_offset=”0″ hover_border_divider=”true” hover_border_css=”border-radius:0px;” mpc_tooltip__border_divider=”true” mpc_tooltip__padding_divider=”true” class=”wpexpert-wpro-ad-free-docs-button”]