Title: Private groups
Author: Robin W
Published: <strong>2014年5月16日</strong>
Last modified: 2025年12月5日

---

プラグインを検索

![](https://s.w.org/plugins/geopattern-icon/bbp-private-groups.svg)

# Private groups

 作者: [Robin W](https://profiles.wordpress.org/robin-w/)

[ダウンロード](https://downloads.wordpress.org/plugin/bbp-private-groups.3.9.7.zip)

 * [詳細](https://ja.wordpress.org/plugins/bbp-private-groups/#description)
 * [レビュー](https://ja.wordpress.org/plugins/bbp-private-groups/#reviews)
 *  [インストール](https://ja.wordpress.org/plugins/bbp-private-groups/#installation)
 * [開発](https://ja.wordpress.org/plugins/bbp-private-groups/#developers)

 [サポート](https://wordpress.org/support/plugin/bbp-private-groups/)

## 説明

BBPress フォーラムプラグインのアドオン – プライベートフォーラムグループを作成します

This Plugin creates unlimited private forum groups.

Forums are then allocated to one or more groups, and users allocated to one or more
groups.

これにより何が達成されるか
 無制限のプライベートグループ 各ユーザーは1または複数
のグループに設定し、各フォーラムには任意またはすべてのグループを関連付けるができ
ます。 任意の数のパブリックフォーラムと任意の数のグループフォーラムを組み合わせた
もの。 グループフォーラムは個別に公開または非公開に設定できます。 フォーラムのタイトル
と説明 (トピックや返信は除く) をグループ以外のユーザーに表示するように設定できる
ため、ユーザーはフォーラムの存在は確認できても、フォーラムにアクセスすることはでき
ません。 グループ以外のユーザーのサインアップまたは情報のリダイレクトを許可するよう
に別のページを設定できます。 トピックの権限 トピックの権限は、ユーザーがさまざま
なフォーラムに対して異なる権限を必要とするサイト向けに設計されています。 たとえば、
ユーザーが1つのフォーラムに投稿しながら別のフォーラムの表示のみができる、または1
つのフォーラムでトピックの開始のみ、または別のフォーラムのトピックに返信のみができる
機能などです。

例

So if
 User a belongs to group 1 User b belongs to group 2 User c belongs to group
3

and
 Forum x is set to allow group 2 Forum y is set to allow group 2 and group 3
Forum z is set to allow group 1 and group 3

それから
 ユーザー a はフォーラム z のみにアクセスできます ユーザー b はフォーラム
x とフォーラム y にアクセスできます ユーザー c はフォーラム y とフォーラム z にアクセス
できます

制限事項 / 警告

ウィジェット (bbpress) フォーラムリスト、(bbpress) 最近の返信、および (bbpress) 
最近のトピックは、すべてのフォーラムのトピックの見出しと作成者名が表示されるため、
使用しないでください。 代わりに、(プライベートグループ) フォーラムリスト、(プライベート
グループ) 最近の返信、および (プライベートグループ) 最近のトピックと呼ばれる代替
ウィジェットが利用可能です

BBpress 2.5.3 以降で動作します

## スクリーンショット

 * [[
 * フォーラム設定画面のサンプル
 * [[
 * ユーザーをグループに設定する

## インストール

本プラグインのインストール:

 1. ダッシュボード > プラグイン > 新規追加に移動します
 2. 「プライベートグループ」を検索
 3. クリックして、インストール
 4. そしてアクティブ化します
 5. 設定に移動し、必要に応じてセットアップします。

**設定**

「ダッシュボード > 設定 > プライベートグループ」 に移動します。

4つの設定タブと2つの管理タグがあります。

_**フォーラムの公開設定タブ**_

このタブでは、フォーラムの公開設定を設定できます。

デフォルトでは、フォーラムにグループを設定している場合、これらは許可ユーザーのみ
に表示します。 (ただし、(新しいフォーラムユーザーを引き付けるために) フォーラムの
存在はユーザーに見せたいが、コンテンツは見せたくない場合があります。

たとえば、料理サイトには、ケーキに関するレシピやアドバイスを交換するケーキグループ
があるとします。参加者が投稿できるようになる前にサインアップしてもらいたいと思う
かもしれませんが、フォーラムの存在を知らなければ、参加することはありません。

そのため、フォーラム (およびオプションで説明 – 以下のタブを参照) をリストすること
で、ユーザーはフォーラムの存在を確認でき、フォーラムまたは鮮度リンクをクリックすると、
希望する URL または WordPress ページに移動できます。 通常、これはサインアップページ
または「アクセスできない」ページです。たとえば、ページは次のように言うかもしれま
せん

申し訳ありませんが、このエリアを閲覧するには会員になる必要があります。参加するに
はここをクリックしてください。必要に応じてログインしてください – [bbp-login]

このタブでは、グループ以外のメンバーがインデックス内のフォーラムを閲覧できるかどうか(
アクセスは不可) を設定できます。フォーラムを公開に設定している場合、ログインしてい
ないユーザーとログインしているユーザーの両方にこれを表示します。フォーラムをプライベート
に設定している場合、ログインしているユーザーのみがこれらのフォーラムの存在を確認
できます。これにより、さまざまなグループに対してどのフォーラムを表示するかについて、
非常に詳細なアプローチが得られます。

可視性が設定されている場合は、リダイレクトのオプションと、表示される鮮度メッセージ
のオプションがあります。

_**一般設定**_

一般設定では、トピックと返信数を非表示にしたり、サブフォーラムの説明を表示したり、
フォーラムの表示から「プライベート」プレフィックスを削除したりすることができます。

_**グループ名の設定**_

ここでは覚えやすいように、グループに「わかりやすい」名前を設定します。 これらの名前
は制限の動作には影響しません。どのような名前を付けても、グループ1はグループ1のまま
です。

**フォーラムを設定するには**

制限付きフォーラムごとに

 1. 「ダッシュボード > フォーラム」に移動し、制限したいフォーラムを選択します。
 2. テキストの下に「フォーラムグループ」というボックスを表示します。このフォーラムへ
    のアクセスを許可するグループを選択します。
 3. カスタムのエラーメッセージが必要な場合は、ここで設定できます。

** ウィジェットの設定**

BBPress のトピックと返信ウィジェットには、この段階でもすべてのトピックと返信のタイトル
などを表示します。トピック / 返信を選択している場合はエラーメッセージを表示します
が、タイトルと作成者は表示されるため、恥ずかしいかもしれません。

そのため、これらの件名を人々に見せたくない可能性が高いため、適切なコンテンツのみ
を表示するためにこれをフィルタリングする3つの新しいウィジェットをプラグインに追加
しました。

ダッシュボード > 外観 > ウィジェットに移動します

 1. (プライベートグループ) で始まり、トピック、返信、トピックリストをカバーする3つの
    新しいウィジェットを表示します。
 2. 標準の bbPress トピック、返信、またはフォーラムリストウィジェットを使用している
    場合は、これらをサイドバーから削除し、(プライベートグループ) ウィジェットに置き換える
    必要があります。

_**管理情報**_
 このタブには、グループ、グループに割り当てられているフォーラム、
および各グループのユーザー数をリストします。

_**ユーザー管理**_
 このタブでは、グループ間で (およびグループ間で) ユーザーを一括
変更でき、ユーザー編集により複数のグループの割り当てが可能です。

_**ユーザー権限にグループを割り当てる**_
 このタブでは、メンバーシッププラグイン
などを使用している人が、WordPress またはカスタムユーザー権限に対してグループを割り当てる
ことができます。

フォーラムを設定するには

制限付きフォーラムごとに
 1. 「ダッシュボード > フォーラム」に移動し、制限したい
フォーラムを選択します。 2.テキストの下に「フォーラムグループ」というボックスを表示
します。このフォーラムへのアクセスを許可するグループを選択します。

ウィジェットを設定

BBPress のトピックと返信ウィジェットには、この段階でもすべてのトピックと返信のタイトル
などを表示します。トピック / 返信を選択している場合は、エラーメッセージを表示します(
下記を参照)。

ただし、これらの件名を他の人に見せたくない可能性があるため、適切なコンテンツのみ
を表示するためにこれをフィルタリングするプラグインが追加した2つのウィジェットがあり
ます。

ダッシュボード > 外観 > ウィジェットに移動します
 1.(プライベートグループ) で始まり、
トピック、返信、フォーラムリストをカバーする3つの新しいウィジェットを表示します。
2.標準の bbPress トピック、返信、またはフォーラムリストウィジェットを使用している
場合は、これらをサイドバーから削除し「プライベートグループ」ウィジェットに置き換える
必要があります。

ショートコード

すべてのグループまたはグループごとにユーザーをリストするショートコード

[list-pg-users ] すべてのグループとそのユーザーをリストします。

[list-pg-users group=$group] シングルのグループ名のユーザーをリストします。例: [
list-pg-users group=’developers’]

## 評価

![](https://secure.gravatar.com/avatar/563f76506b74c2e2ff9849bcb0354df642b117ff82b35b69eae9abfcacb5fbf7?
s=60&d=retro&r=g)

### 󠀁[Granular, well explained, works like a charm](https://wordpress.org/support/topic/granular-well-explained-works-like-a-charm/)󠁿

 [smoothkeyboard62](https://profiles.wordpress.org/smoothkeyboard62/) 2024年8月30
日

Exactly what I needed. A simple, yet powerful solution. Very well documented inside
the Settings area.

![](https://secure.gravatar.com/avatar/57c935b65085867a404a26e28c6f1f92108f91349a40e805ed8a61b23e1ec338?
s=60&d=retro&r=g)

### 󠀁[Wonderful Plugin](https://wordpress.org/support/topic/wonderful-plugin-760/)󠁿

 [olesuper8](https://profiles.wordpress.org/olesuper8/) 2023年6月7日

Just works wonderfully, I’m really impressed.

![](https://secure.gravatar.com/avatar/3f981604ef376c966b82dda241ffa2b30ab9243349b447e7384c9af24248cac2?
s=60&d=retro&r=g)

### 󠀁[Very impressed](https://wordpress.org/support/topic/very-impressed-130/)󠁿

 [acrspf](https://profiles.wordpress.org/acrspf/) 2023年6月6日

While testing, I was already impressed with the functionality, then had a minor 
bug issue and it was fixed within 24 hours with a few emails. Now that’s superb 
support 🙂 Super plugin that works great and helped with some real headaches. The
interface is intuitive and powerful without being complex. This allows the sort 
of finer grained permissions that Wordpress should incorporate in the first place.-
Andy from the US

![](https://secure.gravatar.com/avatar/31913a005bcdf645b649728ffbfc12284fcd7ee296116d34c6018246da05dfbb?
s=60&d=retro&r=g)

### 󠀁[Confusing](https://wordpress.org/support/topic/confusing-36/)󠁿

 [mllapan](https://profiles.wordpress.org/mllapan/) 2022年12月24日

This plugin unfortunately is a total mess.We need a simple plugin that let us make
bbPress private.Such a plugin is for advanced things, but even like that it is very
confusing.Forum Visibility tab.This tab allows you to set forum visibility.By default
where the forum has groups set, then these are only visible to authorised users.
However you may want users to see that forums exist (to attract new forum users),
but not to see content.I am like: “What?”I did not create any groups of anything
as I know.Movies don’t start from the end, or the middle but from the beginning,
and so should tutorials.

![](https://secure.gravatar.com/avatar/807225c3ea3b68a06bf38e9eeb36b47654652b4ba16c8f1148036daa3e649d0b?
s=60&d=retro&r=g)

### 󠀁[Great bbPress plugin !](https://wordpress.org/support/topic/great-bbpress-plugin-2/)󠁿

 [DeepBlue](https://profiles.wordpress.org/deepblue5/) 2022年12月20日

Works great as intended A great addition to a bbPress forum easy to install & configure

![](https://secure.gravatar.com/avatar/b386455620084633756983fc57b321d21ecfcba3a1be005259e7fd0fc9c5fce6?
s=60&d=retro&r=g)

### 󠀁[Dig into it and have a nice solution](https://wordpress.org/support/topic/dig-into-it-and-have-a-nice-solution/)󠁿

 [Dani](https://profiles.wordpress.org/daniw42/) 2022年11月12日

The plugin comes with quite a few settings, but once you get a little familiar with
it, it works well and you can control bbPress very well!

 [ 49件のレビューをすべて表示 ](https://wordpress.org/support/plugin/bbp-private-groups/reviews/)

## 貢献者と開発者

Private groups はオープンソースソフトウェアです。以下の人々がこのプラグインに貢献
しています。

貢献者

 *   [ Robin W ](https://profiles.wordpress.org/robin-w/)

[“Private groups” をあなたの言語に翻訳しましょう。](https://translate.wordpress.org/projects/wp-plugins/bbp-private-groups)

### 開発に興味がありますか ?

[コードを閲覧](https://plugins.trac.wordpress.org/browser/bbp-private-groups/)する
か、[SVN リポジトリ](https://plugins.svn.wordpress.org/bbp-private-groups/)をチェック
するか、[開発ログ](https://plugins.trac.wordpress.org/log/bbp-private-groups/)を
[RSS](https://plugins.trac.wordpress.org/log/bbp-private-groups/?limit=100&mode=stop_on_copy&format=rss)
で購読してみてください。

## 変更履歴

3.9.7 Amendment for topic subscriptions to correctly show topics a user is subscribed
to.

3.9.6 Amendments to the processing of topics and replies in profiles to prevent 
issues for large sites

3.9.5 minor change to a link to ensure it correctly runs if site is in a sub directory

3.9.4 minor change to allow redirect to be filterable

3.9.3 fix for metabox undefined variable

3.9.2 amended tested up to value

3.9.1 !empty 引数を追加するように function.php の権限テストの強制を修正し (184 行
目と 194 行目)、プライベートグループを設定しているユーザーのみを検索するように disable_groups
を修正します (38 行目)。

3.9.0 allow for nil groups under php 8.0 to prevent fatal count error

3.8.9 Hide forums in menus if visibility switched off

3.8.8 revised filter for bsp-display-topic-index to deal with situation where forum
= not used

3.8.6 ユーザービューフォーラムチェックを修正しました。 フォーラムにグループが設定
されていない場合、投稿が非表示または非公開であっても、private_groups_can_user_view_post
関数は $can_view を true に設定しました。 この関数は、グループが設定されていない
場合にユーザーがフォーラムの閲覧を許可されているかどうかを確認し、$can_view を正しく
設定するようになりました。

3.8.5 amended filter for style pack pg_display_forum_query_filter to allow for forum
visibility

3.8.4 wordpress 5.5 tested version

3.8.3 Correction to 3.8.2 to fix loading order

3.8.2 bbpress 2.6.x に合わせてフォーラムの説明を改訂、2.5.x および 2.6.x バージョン
に対応するためにサブフォーラムフィルターを改訂、multipgaed フィルターと日付フィルター
を考慮するために bbp_filter を修正

3.8.1 change to forum desciption and last activity to cater for sub forums

3.8.0 minor chnage to meta-box to prevent non critical error if non logged in empty

3.7.9 improved plugin information layout

3.7.8 Admin warning limited to display 10 times

3.7.8 Admin warning added for bbpress 2.6 users

3.7.7 filter added to private_groups_list_forums

3.7.6 bug fix to 3.7.5 to ensure save when topic permissions not set

3.7.5 prevent settings being lost on bulk forum update

3.7.4 User managament changed to display the no.users in the selection

3.7.3 minor change to private_groups_get_permitted_subforums to correctly pass $
args

3.7.2 minor change to prevent php version 5 errors

3.7.1 minor change to ensure ‘no group set’ users show correctly in user management
tab

3.7.0 Updated fr. pot and files

3.6.9 minor change to forum private groups metabox to correctly display if no groups
set up

3.6.8 checkall for user management added

3.6.7 Action hooks added to user management to allow for custom columns. Add groups
to roles improved to allow for multiple roles

3.6.6 Warning if using bbpress notify added. Fix for max(): Array must contain at
least one element where own topics set by no topics yet

3.6.5 fix for post_id error in pg_check_profile where topic is supersticky, but 
no other topics in forum

3.6.4 added filter to ensure at the backend moderators only see their own forum 
topics and replies

3.6.3 Improvements to freshness display for ‘access own topic’ users.

3.6.2 amended functions and topic_filters to prevent topics being seen for ‘access
own topic’ users.

3.6.1 未リリースバージョン

3.6.0 amended forum metabox to better display non-logged in options, added filter
for rss2 feed single item

3.5.9 added ability where anonymous posting allowed to set forum permissions for
anon users as per group settings

3.5.8 added ability to show a forum to non-logged in users when topic permissions
activated. Fixed forum dropdown list when topic permissions not set

3.5.7 remove space from start of pg_forum_widgets.php

3.5.6 Amendment to pg replies widget to correctly set args[‘after’]

3.5.5 amendments to $allowed_forums to set to -1 if null. amendment to pg forums
list widget to correctly set args[‘before’]

3.5.4 correction to forum visibility if freshness message set

3.5.3 corrected to fix headers sent message

3.5.2 temporary revert to 3.5.1

3.5.1 Amended topic permissions to add Create/Edit/view OWN Topics to allow for 
say a help desk private forum

3.5.0 Amended meta-box.php to only fire on forum changes

3.4.9 assign groups on login filtered at add_action level to prevent errors

3.4.8 disable_groups added, forum ID added to forum lists in dashboard, groups added
to forum lists in dashboard

3.4.7 addition to assign groups to roles to assign on every visit.

3.4.6 minor fix to pg latest activity widget to show latest reply if no author shown

3.4.5 added improved subscription filtering to remove subscriptions if as a result
of group changes user can no longer see forum or topics from that forum

3.4.4 improved styling capability on pg activity widget

3.4.3 improved styling capability on pg activity widget

3.4.2 further corection to PF forums widget for forum lists

3.4.1 further corection to PF forums widget for forum lists

3.4.0 minor correction to role_assignment and Settings to correct undefined index

3.3.9 correction to PF forums widget for forum lists

3.3.8 correction to user-profile.php for current user when being amended by admin

3.3.7 Additional functioinality to PF forums widget to allow for forum visibility

3.3.6 Added ability for programmers to add and delete groups

3.3.5 Change to forum and activity widget to improve output order and consistency.
Revised rpg_get_forum_last_active_id function

3.3.4 Improved code for 3.3.3 functionality

3.3.3 add parameters to add_filter(‘bbp_get_forum_freshness_link’) to allow for 
direct filtering

3.3.2 correction to fix user avatar where a category or forum has sub forums, some
of which the user is not permitted to see

3.3.1 correction to fix topic/reply counts where a category or forum has sub forums,
some of which the user is not permitted to see

3.3.0 correction to prevent freshness for a sub forum being incorrectly displayed
on a category

3.2.10 correction to prevent reply form being shown on closed topics

3.2.9 minor correction to forum-filter

3.2.8 correction to ensure that user favorites displays filtered favorites

3.2.7 correction to text domain for meta-box.php and plugin-info.php

3.2.6 minor big fix valuecheck in functions.php

3.2.5 user-profile.php をマイナー修正して、未定義のインデックス行 73 を削除し、トピック
権限で設定されていない場合に valuecheck = 0 になるように関数をマイナー修正し、タブ
の順序を変更し、追加のヘルプ テキストを追加しました。

3.2.4 Role filter added to user management

3.2.3 Correction to Topic Permissions for certain themes

3.2.2 Topic Permissions tab added

3.2.0 Plugin information tab added

3.1.9 add filter to allow bbp-style-pack widgets to work with private groups

3.1.8 fix undefined error in meta-box.php, add shortcodes plugin to work with private
groups, add filter to allow for which capability can access the settings page

3.1.7 add filter to allow bbp-style-pack shortcodes to work with private groups

3.1.6 Tidy-up of error in 3.1.5

3.1.5 Multilanguage version for change in 3.1.4 !

3.1.4 added function to functions.php for ‘Private:’ removal in widgets

3.1.3 correct registration and login to allow for varying table prefixes

3.1.2 addition of wp_link_query filter to prevent unallowed topic titles being displayed
during link action in topic and reply forms

3.1.1 Correction to latest activity widget to prevent fatal error (parse settings)

3.1.0 Forums widget amended to allow multiple forums

3.0.9 latest activity widget amended to allow multiple forums

3.0.8 Additional shortcodes added to replace bbp single forum, topics and replies
shortcodes
 Line 21 added to replies.php to set null for $allowed_posts

3.0.7 fix issue with forum visibility forum-filters.php lines 28 & 119
 corrected
unitinitilased offset in forum-filters.php line 256 and functions.php line 235

3.0.6 minor undefined index errors fixed in settings pages

3.0.5 minor undefined index errors fixed in forum-filters.php

3.0.4 post__in no allowed_posts 配列が空白の場合にアクティビティを表示するウィジェット
の問題を修正
 pg_forum_widgets.php に国際化が追加されました 他のプラグインとの互換性
を確保するために、user-view-post.php の is_keymaster($user_id) 行 48 に $user_id
を追加しました

3.0.3 fix issue with 404’s showing in functions file

3.0.2 fix foreach error in functions line 300

3.0.1 fix issue with assign groups to roles, and add login assignation to plugin
role_assignment.php functions.php, change replies.php to set $limit in all cases

2.5.6 軽微な構文エラーを修正するために forum_filters.php および topic.php を変更

https://wordpress.org/support/topic/couple-of-warnings-in-latest-version?replies
=6 and https://wordpress.org/support/topic/bbp_list_forums-filter-bug?replies=2

2.5.5 add latest activity widget, corrected sub-forum display and added column option

2.5.4 remove author link filter as not required

2.5.3 検索ページネーションを修正

2.5.2 correction to moderator role to prevent moderators seeing other private forums

2.5.1 minor error fix for ‘remove private prefix’ casuing illegal offset

2.5 updated to allow internationalization

2.4 Correction to management information user count

2.3 軽微な修正

2.2 Multiple groups for users added

2.1 Optional assign users to roles added to settings

2.0.1 list user shortcode added
 User Management (bulk change of users) added Management
information – list of forums added

1.9.2 Fix for array error on forum visibility
 improved filter for topic subscriptions

1.9.1 Fix for moderator role in group views

1.9 fix to forum subscription display in profile

1.8.1 bug fix for search function returning incorrect data when allowed posts was
nil

1.8 bug fix where forum is top level forum
 topic/reply/forum types implemented 
throughout

1.7 モデレーターは、すべてのフォーラムまたはそのグループのフォーラム (およびオープン
フォーラム) のみをモデレートするように設定できるようになりました。
 パフォーマンス
を高速化するためのトピックフィルタリングの改善 すべてのフォーラムで非常に重要なトピック
が表示されるようにする

1.6 Shortcode [bbp-topic-form] now only shows allowed forums

1.5 Amended to have unlimited groups

1.4.1 compatibility with ‘mark as read’ plugin

1.3 topics and replies paging fixed

1.2 Author and replies issues fixed

1.1 軽微な変更

1.0 バージョン 1

## メタ

 *  バージョン **3.9.7**
 *  最終更新日 **4か月前**
 *  有効インストール数 **1,000+**
 *  検証済み最新バージョン: **6.9.4**
 *  言語
 * [English (US)](https://wordpress.org/plugins/bbp-private-groups/)
 * タグ
 * [bbp](https://ja.wordpress.org/plugins/tags/bbp/)[bbPress](https://ja.wordpress.org/plugins/tags/bbpress/)
   [forum](https://ja.wordpress.org/plugins/tags/forum/)[groups](https://ja.wordpress.org/plugins/tags/groups/)
   [private](https://ja.wordpress.org/plugins/tags/private/)
 *  [詳細を表示](https://ja.wordpress.org/plugins/bbp-private-groups/advanced/)

## 評価

 5つ星中4.9つ星

 *  [  46 5-星レビュー     ](https://wordpress.org/support/plugin/bbp-private-groups/reviews/?filter=5)
 *  [  0 4-星レビュー     ](https://wordpress.org/support/plugin/bbp-private-groups/reviews/?filter=4)
 *  [  3 3-星レビュー     ](https://wordpress.org/support/plugin/bbp-private-groups/reviews/?filter=3)
 *  [  0 2-星レビュー     ](https://wordpress.org/support/plugin/bbp-private-groups/reviews/?filter=2)
 *  [  0 1-星レビュー     ](https://wordpress.org/support/plugin/bbp-private-groups/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/bbp-private-groups/reviews/#new-post)

[すべてのレビューを見る](https://wordpress.org/support/plugin/bbp-private-groups/reviews/)

## 貢献者

 *   [ Robin W ](https://profiles.wordpress.org/robin-w/)

## サポート

意見や質問がありますか ?

 [サポートフォーラムを表示](https://wordpress.org/support/plugin/bbp-private-groups/)

## 寄付

このプラグインが今後も改善できるよう応援しませんか ?

 [ このプラグインに寄付 ](http://www.rewweb.co.uk/donate)