# bbp-private-groups/1.6/bbp-private-groups.php

Private groups, version 1.6. 57 lines.

- Page: https://pluginprobe.com/plugins/bbp-private-groups/1.6/code/bbp-private-groups.php
- Raw: https://pluginprobe.com/plugins/bbp-private-groups/1.6/raw/bbp-private-groups.php
- Modified: 2014-05-23T06:37:30+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/bbp-private-groups/1.6/code/bbp-private-groups.php#L10-L20`.

```php
<?php

/*
Plugin Name: bbP private groups
Plugin URI: http://www.rewweb.co.uk/bbp-private-groups/
Description: This plugin adds private groups to the forums, allocating users to groups, and combinations of forums to those groups, creating multiple closed forums.
Version: 1.6
Author: Robin Wilson
Author URI: http://www.rewweb.co.uk
License: GPL2
*/
/*  Copyright 2013  PLUGIN_AUTHOR_NAME  (email : wilsonrobine@btinternet.com)

    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License, version 2, as 
    published by the Free Software Foundation.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program; if not, write to the Free Software
    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA

	

/*******************************************
* global variables
*******************************************/

// load the plugin options
$rpg_settingsf = get_option( 'rpg_settingsf' );
$rpg_settingsg = get_option( 'rpg_settingsg' );
$rpg_groups = get_option ( 'rpg_groups') ;

if(!defined('PG_PLUGIN_DIR'))
	define('PG_PLUGIN_DIR', dirname(__FILE__));


/*******************************************
* file includes 
*******************************************/
include(PG_PLUGIN_DIR . '/includes/user-profile.php');
include(PG_PLUGIN_DIR . '/includes/meta-box.php');
include(PG_PLUGIN_DIR . '/includes/forum-filters.php');
include(PG_PLUGIN_DIR . '/includes/functions.php');
include(PG_PLUGIN_DIR . '/includes/user-view-post.php');
include(PG_PLUGIN_DIR . '/includes/pg_forum_widgets.php');
include(PG_PLUGIN_DIR . '/includes/settings.php');
include(PG_PLUGIN_DIR . '/includes/search.php');
include(PG_PLUGIN_DIR . '/includes/topics.php');
include(PG_PLUGIN_DIR . '/includes/replies.php');
include(PG_PLUGIN_DIR . '/includes/mark-as-read-filter.php');


```
