OG User Roles: Disallow public posts

Last updated on
30 April 2025

You can prevent public posts in OG settings by eliminating the "Audience" checkbox. But, if you do that, then none of your groups will be permitted to make public posts. And, as long as the "Public" box is available, a user can make his post public.

What is needed is a way to override the OG settings and disallow Public posts on a per-group basis. So, if a user intentionally or inadvertently clicks the "Public" box, the post will return an error.

As of OG User Roles version 2.8, on the "Edit" page of your groups you will now see an option:

Disallow public posts in this group.

This option allows you to prevent any Public posts from this group. That is, no post made in this group may have the Public box checked. In addition, if OG Forums is installed and this is a group Forum topic post, then the forum group selected in the Forums pull-down menu on the edit form must match this group, or the post will be rejected.

To implement this restriction, you must place a check in the Do not allow public posts in this group? checkbox.

Help improve this page

Page status: Not set

You can: