Changeset 778080
- Timestamp:
- 09/25/2013 04:02:00 AM (13 years ago)
- Location:
- private-community-for-bp-lite
- Files:
-
- 6 added
- 2 edited
-
tags/3.9 (added)
-
tags/3.9/gpl.txt (added)
-
tags/3.9/loader.php (added)
-
tags/3.9/private-community-for-bp-lite.php (added)
-
tags/3.9/readme.txt (added)
-
trunk/loader.php (modified) (2 diffs)
-
trunk/private-community-for-bp-lite.php (added)
-
trunk/readme.txt (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
private-community-for-bp-lite/trunk/loader.php
r775344 r778080 1 1 <?php 2 2 /* 3 Plugin Name: Private Community For BP 3 Plugin Name: Private Community For BP Lite 4 4 Plugin URI: http://wordpress.org/plugins/private-community-for-bp-lite 5 5 Description: Makes BP pages private and only accessable to logged in users with the exception 6 6 of the posts/pages you set in Dashboard/Settings/PrivateCommunityBP. 7 7 Blocks RSS feeds to logged out visitors. 8 Version: 3. 88 Version: 3.9 9 9 Requires at least: 3.2.1 10 10 Tested up to: 3.6.1 … … 15 15 16 16 /*** Make sure BuddyPress is loaded ********************************/ 17 function private_community_for_bp_ bp_check() {17 function private_community_for_bp_lite_bp_check() { 18 18 if ( !class_exists( 'BuddyPress' ) ) { 19 add_action( 'admin_notices', 'private_community_for_bp_ install_buddypress_notice' );19 add_action( 'admin_notices', 'private_community_for_bp_lite_install_buddypress_notice' ); 20 20 } 21 21 } 22 add_action('plugins_loaded', 'private_community_for_bp_ bp_check', 999);22 add_action('plugins_loaded', 'private_community_for_bp_lite_bp_check', 999); 23 23 24 function private_community_for_bp_ install_buddypress_notice() {24 function private_community_for_bp_lite_install_buddypress_notice() { 25 25 echo '<div id="message" class="error fade"><p style="line-height: 150%">'; 26 _e('<strong>Private Community For BP </strong></a> requires the BuddyPress plugin to work. Please <a href="http://buddypress.org/download">install BuddyPress</a> first, or <a href="plugins.php">deactivate Private Community For BP</a>.');26 _e('<strong>Private Community For BP Lite</strong></a> requires the BuddyPress plugin to work. Please <a href="http://buddypress.org/download">install BuddyPress</a> first, or <a href="plugins.php">deactivate Private Community For BP Lite</a>.'); 27 27 echo '</p></div>'; 28 28 } 29 29 30 function private_community_for_bp_ init() {31 require( dirname( __FILE__ ) . '/private-community-for-bp .php' );30 function private_community_for_bp_lite_init() { 31 require( dirname( __FILE__ ) . '/private-community-for-bp-lite.php' ); 32 32 } 33 add_action( 'bp_include', 'private_community_for_bp_ init' );33 add_action( 'bp_include', 'private_community_for_bp_lite_init' ); 34 34 ?> -
private-community-for-bp-lite/trunk/readme.txt
r775344 r778080 1 === Private Community For BP ===1 === Private Community For BP Lite === 2 2 Contributors: bphelp 3 3 Tags: buddypress, bbpress, private community, privacy … … 5 5 Tested up to: 3.6.1 6 6 License: GNU/GPL 2 7 Stable tag: 3. 87 Stable tag: 3.9 8 8 9 9 Makes BP pages private and only accessable to logged in users with the … … 28 28 == Screenshots == 29 29 30 1. Private Community For BP settings page30 1. Private Community For BP Lite settings page 31 31 32 32 == Frequently Asked Questions == … … 72 72 == Changelog == 73 73 74 = 3.9 = 75 Renamed to Private Community For BP Lite for naming convention purposes 76 74 77 = 3.8 = 75 78 Fixed potential redeclare function call if using one of my other plugins … … 105 108 == Upgrade Notice == 106 109 110 = 3.9 = 111 Renamed to Private Community For BP Lite for naming convention purposes 112 107 113 = 3.8 = 108 114 Fixed potential redeclare function call if using one of my other plugins
Note: See TracChangeset
for help on using the changeset viewer.