Plugin Directory

Changeset 916054


Ignore:
Timestamp:
05/17/2014 10:19:50 AM (12 years ago)
Author:
megainfo
Message:

Update to 1.3.2

Location:
buddypress-activity-privacy/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • buddypress-activity-privacy/trunk/history.txt

    r916052 r916054  
    9595- Fix "new post" activities dropdown privacy as profile activites privacy.
    9696
    97 Version 1.3.2 (Mai 17, 2014)
     97Version 1.3.2 (May 17, 2014)
    9898--------------------------------------------------------------
    9999- Fix issues when Buddypress Follow is activate
  • buddypress-activity-privacy/trunk/loader.php

    r896735 r916054  
    33Plugin Name: BuddyPress Activity Privacy
    44Plugin URI:
    5 Description: BP Activity Privacy add the ability for members to choose who can read his activity before it posted !
    6 Version: 1.3.1
     5Description: Add the ability for members to choose who can read/see his activities and media files.
     6Version: 1.3.2
    77Requires at least:  WP 3.4, BuddyPress 1.5
    8 Tested up to: BuddyPress 1.5, 2.0
     8Tested up to: BuddyPress 2.0.1
    99License: GNU General Public License 2.0 (GPL) http://www.gnu.org/licenses/gpl.html
    1010Author: Meg@Info
     
    1919
    2020/*************************************************************************************************************
    21  --- BuddyPress Activity Privacy 1.3.1 ---
     21 --- BuddyPress Activity Privacy 1.3.2 ---
    2222 *************************************************************************************************************/
    2323
     
    2727// Define a constant that will hold the current version number of the component
    2828// This can be useful if you need to run update scripts or do compatibility checks in the future
    29 define( 'BP_ACTIVITY_PRIVACY_VERSION', '1.3.1' );
     29define( 'BP_ACTIVITY_PRIVACY_VERSION', '1.3.2' );
    3030
    3131// Define a constant that we can use to construct file paths throughout the component
     
    6565add_action( 'plugins_loaded', 'bp_activity_privacy_load_textdomain' );
    6666
    67 
    68 function bp_activity_check_config() {
     67/**
     68 * Check the config for multisite
     69 */
     70function bp_activity_privacy_check_config() {
    6971    global $bp;
    7072
     
    134136    // Because our loader file uses BP_Component, it requires BP 1.5 or greater.
    135137    //if ( version_compare( BP_VERSION, '1.3', '>' ) )
    136     if ( bp_activity_check_config() )
     138    if ( bp_activity_privacy_check_config() )
    137139        require( dirname( __FILE__ ) . '/includes/bp-activity-privacy-loader.php' );
    138140}
     
    141143/* Put setup procedures to be run when the plugin is activated in the following function */
    142144function bp_activity_privacy_activate() {
    143     global $bp;
    144 
    145     include_once( ABSPATH . 'wp-admin/includes/plugin.php' );
    146     if ( !is_plugin_active( 'buddypress/bp-loader.php' ) ) {
    147         //deactivate_plugins( basename( __FILE__ ) ); // Deactivate this plugin
     145    // check if buddypress is active
     146    if ( ! defined( 'BP_VERSION' ) ) {
    148147        die( _e( 'You cannot enable BuddyPress Activity Privacy because <strong>BuddyPress</strong> is not active. Please install and activate BuddyPress before trying to activate Buddypress Activity Privacy again.' , 'bp-activity-privacy' ) );
    149148    }
  • buddypress-activity-privacy/trunk/readme.txt

    r896735 r916054  
    33Tags: buddypress,activity,privacy,visibility,stream,private,public,only me,admins only,friends, followers,vie privée,confidentialité
    44Requires at least: WordPress 3.4, BuddyPress 1.5
    5 Tested up to: WordPress 3.9 / BuddyPress 2.0
    6 Stable tag: 1.3.1
     5Tested up to: WordPress 3.9 / BuddyPress 2.0.1
     6Stable tag: 1.3.2
    77
    88
     
    1111BuddyPress Activity Privacy plugin add a privacy level to activity stream component.
    1212
    13 The plugin add the ability for members to choose who can read his activity before it posted (Anyone, Logged In Users, My Friends, Admins Only, Only me, My Friends in Group , Group Members ...etc).
     13The plugin add the ability for members to choose who can read his activity (Anyone, Logged In Users, My Friends, Admins Only, Only me, My Friends in Group , Group Members ...etc).
    1414
    1515
    16 What's news In Buddypress Activity Privacy 1.3.x ?
     16= What's news In Buddypress Activity Privacy 1.3.x ? =
     17
     18- **Integration with Buddypress Media plugin** (https://wordpress.org/plugins/buddypress-media/).
     19
     20  Make sure to :
     21    * Set the privacy settings to **OFF** in rtMedia settings.
     22    * A new select-box (Privacy) is added to Edit Media form under Description Textarea.
     23
    1724- The plugin work now on multi site Netowork.
    1825- A New privacy level (@mentioned only). When a member choose this privacy level, only mentioned members (and admin of course) can see the activity.
     
    2431
    2532- Admin Option Area, Admin can update Enable/Disable privacy level, Sort the privacy levels and change the default privacy level.
    26 
    2733
    2834
     
    7076== Changelog ==
    7177
     78= 1.3.2 =
     79- Fix issues when Buddypress Follow is activate.
     80- Fix visibility of "Last update" activity on member header and members loop.
     81- Beta Integration with buddypress-media plugin (rtMedia for WordPress, BuddyPress and bbPress).
     82- add .POT file for translation.
     83
    7284= 1.3.1 =
    7385- Work on Multisite Network.
     
    7688= 1.3 =
    7789- Fix localization loading.
    78 - Fix integration with Followers plugin
     90- Fix integration with Followers plugin.
    7991
    8092= 1.2.2 =
Note: See TracChangeset for help on using the changeset viewer.