PluginProbe
Private groups / 2.5
Private groups v2.5
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.5, at bbp-private-groups.php

70 lines 2.6 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.5
8 Text Domain: bbp-private-groups
9 Author: Robin Wilson
10 Author URI: http://www.rewweb.co.uk
11 License: GPL2
12 */
13 /* Copyright 2013 PLUGIN_AUTHOR_NAME (email : wilsonrobine@btinternet.com)
14
15 This program is free software; you can redistribute it and/or modify
16 it under the terms of the GNU General Public License, version 2, as
17 published by the Free Software Foundation.
18
19 This program is distributed in the hope that it will be useful,
20 but WITHOUT ANY WARRANTY; without even the implied warranty of
21 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 GNU General Public License for more details.
23
24 You should have received a copy of the GNU General Public License
25 along with this program; if not, write to the Free Software
26 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
27
28
29
30 /*******************************************
31 * global variables
32 *******************************************/
33
34 // load the plugin options
35 $rpg_settingsf = get_option( 'rpg_settingsf' );
36 $rpg_settingsg = get_option( 'rpg_settingsg' );
37 $rpg_groups = get_option ( 'rpg_groups') ;
38 $rpg_roles = get_option ( 'rpg_roles') ;
39
40 if(!defined('PG_PLUGIN_DIR'))
41 define('PG_PLUGIN_DIR', dirname(__FILE__));
42
43 function myplugin_init() {
44 load_plugin_textdomain( 'bbp-private-groups', false, PG_PLUGIN_DIR . '/lang/' );
45 }
46 add_action('plugins_loaded', 'myplugin_init');
47
48
49 /*******************************************
50 * file includes
51 *******************************************/
52 include(PG_PLUGIN_DIR . '/includes/user-profile.php');
53 include(PG_PLUGIN_DIR . '/includes/meta-box.php');
54 include(PG_PLUGIN_DIR . '/includes/forum-filters.php');
55 include(PG_PLUGIN_DIR . '/includes/functions.php');
56 include(PG_PLUGIN_DIR . '/includes/user-view-post.php');
57 include(PG_PLUGIN_DIR . '/includes/pg_forum_widgets.php');
58 include(PG_PLUGIN_DIR . '/includes/settings.php');
59 include(PG_PLUGIN_DIR . '/includes/search.php');
60 include(PG_PLUGIN_DIR . '/includes/topics.php');
61 include(PG_PLUGIN_DIR . '/includes/replies.php');
62 include(PG_PLUGIN_DIR . '/includes/mark-as-read-filter.php');
63 include(PG_PLUGIN_DIR . '/includes/shortcodes.php');
64 include(PG_PLUGIN_DIR . '/includes/user_management.php');
65 include(PG_PLUGIN_DIR . '/includes/role_assignment.php');
66 include(PG_PLUGIN_DIR . '/includes/help.php');
67
68
69
70