PluginProbe
Private groups / 2.2
Private groups v2.2
trunk 1.5 1.6 1.7 1.8 1.8.1 1.9.1 1.9.2 2.0 2.0.1 2.2 2.3 2.4 2.5 2.5.2 2.5.3 2.5.4 2.5.5 2.5.6 3.0.1 3.0.2 3.0.3 3.0.4 3.0.5 3.0.6 All 116 releases
bbp-private-groups / bbp-private-groups.php

bbp-private-groups.php in Private groups 2.2, at bbp-private-groups.php

63 lines 2.4 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 /*
4 Plugin Name: bbP private groups
5 Plugin URI: http://www.rewweb.co.uk/bbp-private-groups/
6 Description: This plugin adds private groups to the forums, allocating users to groups, and combinations of forums to those groups, creating multiple closed forums.
7 Version: 2.2
8 Author: Robin Wilson
9 Author URI: http://www.rewweb.co.uk
10 License: GPL2
11 */
12 /* Copyright 2013 PLUGIN_AUTHOR_NAME (email : wilsonrobine@btinternet.com)
13
14 This program is free software; you can redistribute it and/or modify
15 it under the terms of the GNU General Public License, version 2, as
16 published by the Free Software Foundation.
17
18 This program is distributed in the hope that it will be useful,
19 but WITHOUT ANY WARRANTY; without even the implied warranty of
20 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 GNU General Public License for more details.
22
23 You should have received a copy of the GNU General Public License
24 along with this program; if not, write to the Free Software
25 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
26
27
28
29 /*******************************************
30 * global variables
31 *******************************************/
32
33 // load the plugin options
34 $rpg_settingsf = get_option( 'rpg_settingsf' );
35 $rpg_settingsg = get_option( 'rpg_settingsg' );
36 $rpg_groups = get_option ( 'rpg_groups') ;
37 $rpg_roles = get_option ( 'rpg_roles') ;
38
39 if(!defined('PG_PLUGIN_DIR'))
40 define('PG_PLUGIN_DIR', dirname(__FILE__));
41
42
43 /*******************************************
44 * file includes
45 *******************************************/
46 include(PG_PLUGIN_DIR . '/includes/user-profile.php');
47 include(PG_PLUGIN_DIR . '/includes/meta-box.php');
48 include(PG_PLUGIN_DIR . '/includes/forum-filters.php');
49 include(PG_PLUGIN_DIR . '/includes/functions.php');
50 include(PG_PLUGIN_DIR . '/includes/user-view-post.php');
51 include(PG_PLUGIN_DIR . '/includes/pg_forum_widgets.php');
52 include(PG_PLUGIN_DIR . '/includes/settings.php');
53 include(PG_PLUGIN_DIR . '/includes/search.php');
54 include(PG_PLUGIN_DIR . '/includes/topics.php');
55 include(PG_PLUGIN_DIR . '/includes/replies.php');
56 include(PG_PLUGIN_DIR . '/includes/mark-as-read-filter.php');
57 include(PG_PLUGIN_DIR . '/includes/shortcodes.php');
58 include(PG_PLUGIN_DIR . '/includes/user_management.php');
59 include(PG_PLUGIN_DIR . '/includes/role_assignment.php');
60 include(PG_PLUGIN_DIR . '/includes/help.php');
61
62
63