Version Description
See: http://codex.buddypress.org/releases/version-1-7-1/
Download this release
Release Info
Developer | boonebgorges |
Plugin | BuddyPress |
Version | 1.7.1 |
Comparing to | |
See all releases |
Code changes from version 1.7 to 1.7.1
- bp-activity/bp-activity-notifications.php +12 -3
- bp-core/bp-core-actions.php +0 -1
- bp-core/bp-core-adminbar.php +6 -15
- bp-core/bp-core-avatars.php +9 -4
- bp-core/bp-core-template.php +2 -2
- bp-core/bp-core-widgets.php +3 -3
- bp-friends/bp-friends-notifications.php +8 -2
- bp-groups/bp-groups-admin.php +45 -42
- bp-groups/bp-groups-notifications.php +16 -4
- bp-groups/bp-groups-widgets.php +1 -1
- bp-languages/buddypress.pot +88 -88
- bp-loader.php +2 -2
- bp-messages/bp-messages-notifications.php +4 -1
- bp-templates/bp-legacy/buddypress/activity/entry.php +2 -2
- bp-themes/bp-default/_inc/global.js +2 -2
- bp-themes/bp-default/rtl.css +1 -1
- bp-themes/bp-default/style.css +1 -1
- bp-xprofile/admin/js/admin.js +1 -1
- bp-xprofile/admin/js/admin.min.js +1 -1
- readme.txt +5 -2
bp-activity/bp-activity-notifications.php
CHANGED
@@ -95,7 +95,10 @@ To view and respond to the message, log in and visit: %3$s
|
|
95 |
', 'buddypress' ), $poster_name, $content, $message_link );
|
96 |
}
|
97 |
|
98 |
-
|
|
|
|
|
|
|
99 |
|
100 |
/* Send the message */
|
101 |
$to = apply_filters( 'bp_activity_at_message_notification_to', $to );
|
@@ -170,7 +173,10 @@ To view your original update and all comments, log in and visit: %3$s
|
|
170 |
---------------------
|
171 |
', 'buddypress' ), $poster_name, $content, $thread_link );
|
172 |
|
173 |
-
|
|
|
|
|
|
|
174 |
|
175 |
/* Send the message */
|
176 |
$to = apply_filters( 'bp_activity_new_comment_notification_to', $to );
|
@@ -215,7 +221,10 @@ To view the original activity, your comment and all replies, log in and visit: %
|
|
215 |
---------------------
|
216 |
', 'buddypress' ), $poster_name, $content, $thread_link );
|
217 |
|
218 |
-
|
|
|
|
|
|
|
219 |
|
220 |
/* Send the message */
|
221 |
$to = apply_filters( 'bp_activity_new_comment_notification_comment_author_to', $to );
|
95 |
', 'buddypress' ), $poster_name, $content, $message_link );
|
96 |
}
|
97 |
|
98 |
+
// Only show the disable notifications line if the settings component is enabled
|
99 |
+
if ( bp_is_active( 'settings' ) ) {
|
100 |
+
$message .= sprintf( __( 'To disable these notifications please log in and go to: %s', 'buddypress' ), $settings_link );
|
101 |
+
}
|
102 |
|
103 |
/* Send the message */
|
104 |
$to = apply_filters( 'bp_activity_at_message_notification_to', $to );
|
173 |
---------------------
|
174 |
', 'buddypress' ), $poster_name, $content, $thread_link );
|
175 |
|
176 |
+
// Only show the disable notifications line if the settings component is enabled
|
177 |
+
if ( bp_is_active( 'settings' ) ) {
|
178 |
+
$message .= sprintf( __( 'To disable these notifications please log in and go to: %s', 'buddypress' ), $settings_link );
|
179 |
+
}
|
180 |
|
181 |
/* Send the message */
|
182 |
$to = apply_filters( 'bp_activity_new_comment_notification_to', $to );
|
221 |
---------------------
|
222 |
', 'buddypress' ), $poster_name, $content, $thread_link );
|
223 |
|
224 |
+
// Only show the disable notifications line if the settings component is enabled
|
225 |
+
if ( bp_is_active( 'settings' ) ) {
|
226 |
+
$message .= sprintf( __( 'To disable these notifications please log in and go to: %s', 'buddypress' ), $settings_link );
|
227 |
+
}
|
228 |
|
229 |
/* Send the message */
|
230 |
$to = apply_filters( 'bp_activity_new_comment_notification_comment_author_to', $to );
|
bp-core/bp-core-actions.php
CHANGED
@@ -66,7 +66,6 @@ add_action( 'bp_init', 'bp_core_set_uri_globals', 2 );
|
|
66 |
add_action( 'bp_init', 'bp_setup_globals', 4 );
|
67 |
add_action( 'bp_init', 'bp_setup_nav', 6 );
|
68 |
add_action( 'bp_init', 'bp_setup_title', 8 );
|
69 |
-
add_action( 'bp_init', 'bp_core_load_admin_bar', 10 );
|
70 |
add_action( 'bp_init', 'bp_core_load_admin_bar_css', 12 );
|
71 |
|
72 |
/**
|
66 |
add_action( 'bp_init', 'bp_setup_globals', 4 );
|
67 |
add_action( 'bp_init', 'bp_setup_nav', 6 );
|
68 |
add_action( 'bp_init', 'bp_setup_title', 8 );
|
|
|
69 |
add_action( 'bp_init', 'bp_core_load_admin_bar_css', 12 );
|
70 |
|
71 |
/**
|
bp-core/bp-core-adminbar.php
CHANGED
@@ -62,23 +62,13 @@ add_action( 'admin_bar_menu', 'bp_admin_bar_my_account_root', 100 );
|
|
62 |
* @uses add_action() To hook 'bp_core_admin_bar' to 'admin_footer'
|
63 |
*/
|
64 |
function bp_core_load_admin_bar() {
|
65 |
-
|
66 |
-
|
67 |
-
// Don't show if Toolbar is disabled for non-logged in users
|
68 |
-
if ( (int) bp_get_option( 'hide-loggedout-adminbar' ) && ! is_user_logged_in() )
|
69 |
-
return;
|
70 |
-
|
71 |
-
// Show the WordPress Toolbar
|
72 |
-
if ( bp_use_wp_admin_bar() && $wp_version >= 3.1 ) {
|
73 |
-
|
74 |
-
// Respect user's Toolbar display preferences
|
75 |
-
if ( is_user_logged_in() && ( bp_get_admin_bar_pref( 'front', bp_loggedin_user_id() ) || bp_get_admin_bar_pref( 'admin', bp_loggedin_user_id() ) ) )
|
76 |
-
return;
|
77 |
-
|
78 |
show_admin_bar( true );
|
|
|
79 |
|
80 |
-
// Hide the WordPress Toolbar
|
81 |
-
|
82 |
|
83 |
// Keep the WP Toolbar from loading
|
84 |
show_admin_bar( false );
|
@@ -95,6 +85,7 @@ function bp_core_load_admin_bar() {
|
|
95 |
add_action( 'admin_footer', 'bp_core_admin_bar' );
|
96 |
}
|
97 |
}
|
|
|
98 |
|
99 |
/**
|
100 |
* Handle the Toolbar CSS
|
62 |
* @uses add_action() To hook 'bp_core_admin_bar' to 'admin_footer'
|
63 |
*/
|
64 |
function bp_core_load_admin_bar() {
|
65 |
+
// Show the Toolbar for logged out users
|
66 |
+
if ( ! is_user_logged_in() && (int) bp_get_option( 'hide-loggedout-adminbar' ) != 1 ) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
67 |
show_admin_bar( true );
|
68 |
+
}
|
69 |
|
70 |
+
// Hide the WordPress Toolbar and show the BuddyBar
|
71 |
+
if ( ! bp_use_wp_admin_bar() ) {
|
72 |
|
73 |
// Keep the WP Toolbar from loading
|
74 |
show_admin_bar( false );
|
85 |
add_action( 'admin_footer', 'bp_core_admin_bar' );
|
86 |
}
|
87 |
}
|
88 |
+
add_action( 'init', 'bp_core_load_admin_bar', 9 );
|
89 |
|
90 |
/**
|
91 |
* Handle the Toolbar CSS
|
bp-core/bp-core-avatars.php
CHANGED
@@ -848,11 +848,16 @@ function bp_core_avatar_url() {
|
|
848 |
if ( defined( 'BP_AVATAR_URL' ) ) {
|
849 |
$baseurl = BP_AVATAR_URL;
|
850 |
} else {
|
|
|
|
|
|
|
|
|
|
|
851 |
// Get upload directory information from current site
|
852 |
$upload_dir = wp_upload_dir();
|
853 |
|
854 |
// Directory does not exist and cannot be created
|
855 |
-
if ( !empty( $upload_dir['error'] ) ) {
|
856 |
$baseurl = '';
|
857 |
|
858 |
} else {
|
@@ -862,10 +867,10 @@ function bp_core_avatar_url() {
|
|
862 |
if ( is_ssl() )
|
863 |
$baseurl = str_replace( 'http://', 'https://', $baseurl );
|
864 |
|
865 |
-
// If multisite, and current blog does not match root blog, make adjustments
|
866 |
-
if ( is_multisite() && bp_get_root_blog_id() != get_current_blog_id() )
|
867 |
-
$baseurl = trailingslashit( get_blog_option( bp_get_root_blog_id(), 'home' ) ) . get_blog_option( bp_get_root_blog_id(), 'upload_path' );
|
868 |
}
|
|
|
|
|
|
|
869 |
}
|
870 |
|
871 |
// Stash in $bp for later use
|
848 |
if ( defined( 'BP_AVATAR_URL' ) ) {
|
849 |
$baseurl = BP_AVATAR_URL;
|
850 |
} else {
|
851 |
+
// If multisite, and we're not on the BP root blog, switch to it
|
852 |
+
if ( is_multisite() ) {
|
853 |
+
switch_to_blog( bp_get_root_blog_id() );
|
854 |
+
}
|
855 |
+
|
856 |
// Get upload directory information from current site
|
857 |
$upload_dir = wp_upload_dir();
|
858 |
|
859 |
// Directory does not exist and cannot be created
|
860 |
+
if ( ! empty( $upload_dir['error'] ) ) {
|
861 |
$baseurl = '';
|
862 |
|
863 |
} else {
|
867 |
if ( is_ssl() )
|
868 |
$baseurl = str_replace( 'http://', 'https://', $baseurl );
|
869 |
|
|
|
|
|
|
|
870 |
}
|
871 |
+
|
872 |
+
// Will bail if not switched
|
873 |
+
restore_current_blog();
|
874 |
}
|
875 |
|
876 |
// Stash in $bp for later use
|
bp-core/bp-core-template.php
CHANGED
@@ -1188,7 +1188,7 @@ function bp_is_my_profile() {
|
|
1188 |
}
|
1189 |
|
1190 |
function bp_is_user() {
|
1191 |
-
if ( bp_displayed_user_id()
|
1192 |
return true;
|
1193 |
|
1194 |
return false;
|
@@ -1760,7 +1760,7 @@ function bp_the_body_class() {
|
|
1760 |
/** is_buddypress *****************************************************/
|
1761 |
|
1762 |
// Add BuddyPress class if we are within a BuddyPress page
|
1763 |
-
if ( !
|
1764 |
$bp_classes[] = 'buddypress';
|
1765 |
}
|
1766 |
|
1188 |
}
|
1189 |
|
1190 |
function bp_is_user() {
|
1191 |
+
if ( bp_displayed_user_id() )
|
1192 |
return true;
|
1193 |
|
1194 |
return false;
|
1760 |
/** is_buddypress *****************************************************/
|
1761 |
|
1762 |
// Add BuddyPress class if we are within a BuddyPress page
|
1763 |
+
if ( ! bp_is_blog_page() ) {
|
1764 |
$bp_classes[] = 'buddypress';
|
1765 |
}
|
1766 |
|
bp-core/bp-core-widgets.php
CHANGED
@@ -17,7 +17,7 @@ class BP_Core_Members_Widget extends WP_Widget {
|
|
17 |
function __construct() {
|
18 |
$widget_ops = array(
|
19 |
'description' => __( 'A dynamic list of recently active, popular, and newest members', 'buddypress' ),
|
20 |
-
'classname' => 'buddypress',
|
21 |
);
|
22 |
parent::__construct( false, $name = _x( '(BuddyPress) Members', 'widget name', 'buddypress' ), $widget_ops );
|
23 |
|
@@ -148,7 +148,7 @@ class BP_Core_Whos_Online_Widget extends WP_Widget {
|
|
148 |
function __construct() {
|
149 |
$widget_ops = array(
|
150 |
'description' => __( 'Avatars of users who are currently online', 'buddypress' ),
|
151 |
-
'classname' => 'buddypress',
|
152 |
);
|
153 |
parent::__construct( false, $name = _x( "(BuddyPress) Who's Online", 'widget name', 'buddypress' ), $widget_ops );
|
154 |
}
|
@@ -215,7 +215,7 @@ class BP_Core_Recently_Active_Widget extends WP_Widget {
|
|
215 |
function __construct() {
|
216 |
$widget_ops = array(
|
217 |
'description' => __( 'Avatars of recently active members', 'buddypress' ),
|
218 |
-
'classname' => 'buddypress',
|
219 |
);
|
220 |
parent::__construct( false, $name = _x( '(BuddyPress) Recently Active Members', 'widget name', 'buddypress' ), $widget_ops );
|
221 |
}
|
17 |
function __construct() {
|
18 |
$widget_ops = array(
|
19 |
'description' => __( 'A dynamic list of recently active, popular, and newest members', 'buddypress' ),
|
20 |
+
'classname' => 'widget_bp_core_members_widget buddypress',
|
21 |
);
|
22 |
parent::__construct( false, $name = _x( '(BuddyPress) Members', 'widget name', 'buddypress' ), $widget_ops );
|
23 |
|
148 |
function __construct() {
|
149 |
$widget_ops = array(
|
150 |
'description' => __( 'Avatars of users who are currently online', 'buddypress' ),
|
151 |
+
'classname' => 'widget_bp_core_whos_online_widget buddypress',
|
152 |
);
|
153 |
parent::__construct( false, $name = _x( "(BuddyPress) Who's Online", 'widget name', 'buddypress' ), $widget_ops );
|
154 |
}
|
215 |
function __construct() {
|
216 |
$widget_ops = array(
|
217 |
'description' => __( 'Avatars of recently active members', 'buddypress' ),
|
218 |
+
'classname' => 'widget_bp_core_recently_active_widget buddypress',
|
219 |
);
|
220 |
parent::__construct( false, $name = _x( '(BuddyPress) Recently Active Members', 'widget name', 'buddypress' ), $widget_ops );
|
221 |
}
|
bp-friends/bp-friends-notifications.php
CHANGED
@@ -39,7 +39,10 @@ To view %3$s\'s profile: %4$s
|
|
39 |
---------------------
|
40 |
', 'buddypress' ), $initiator_name, $all_requests_link, $initiator_name, $initiator_link );
|
41 |
|
42 |
-
|
|
|
|
|
|
|
43 |
|
44 |
/* Send the message */
|
45 |
$to = apply_filters( 'friends_notification_new_request_to', $to );
|
@@ -74,7 +77,10 @@ To view %2$s\'s profile: %3$s
|
|
74 |
---------------------
|
75 |
', 'buddypress' ), $friend_name, $friend_name, $friend_link );
|
76 |
|
77 |
-
|
|
|
|
|
|
|
78 |
|
79 |
/* Send the message */
|
80 |
$to = apply_filters( 'friends_notification_accepted_request_to', $to );
|
39 |
---------------------
|
40 |
', 'buddypress' ), $initiator_name, $all_requests_link, $initiator_name, $initiator_link );
|
41 |
|
42 |
+
// Only show the disable notifications line if the settings component is enabled
|
43 |
+
if ( bp_is_active( 'settings' ) ) {
|
44 |
+
$message .= sprintf( __( 'To disable these notifications please log in and go to: %s', 'buddypress' ), $settings_link );
|
45 |
+
}
|
46 |
|
47 |
/* Send the message */
|
48 |
$to = apply_filters( 'friends_notification_new_request_to', $to );
|
77 |
---------------------
|
78 |
', 'buddypress' ), $friend_name, $friend_name, $friend_link );
|
79 |
|
80 |
+
// Only show the disable notifications line if the settings component is enabled
|
81 |
+
if ( bp_is_active( 'settings' ) ) {
|
82 |
+
$message .= sprintf( __( 'To disable these notifications please log in and go to: %s', 'buddypress' ), $settings_link );
|
83 |
+
}
|
84 |
|
85 |
/* Send the message */
|
86 |
$to = apply_filters( 'friends_notification_accepted_request_to', $to );
|
bp-groups/bp-groups-admin.php
CHANGED
@@ -259,66 +259,69 @@ function bp_groups_admin_load() {
|
|
259 |
}
|
260 |
|
261 |
if ( ! $admin_count ) {
|
|
|
262 |
$redirect_to = add_query_arg( 'no_admins', 1, $redirect_to );
|
263 |
-
|
264 |
-
}
|
265 |
|
266 |
-
|
267 |
-
foreach ( (array) $_POST['bp-groups-role'] as $user_id => $new_role ) {
|
268 |
|
269 |
-
|
|
|
270 |
|
271 |
-
|
272 |
|
273 |
-
|
274 |
-
case 'mod' :
|
275 |
-
// Admin to mod is a demotion. Demote to
|
276 |
-
// member, then fall through
|
277 |
-
if ( 'admin' == $existing_role ) {
|
278 |
-
groups_demote_member( $user_id, $group_id );
|
279 |
-
}
|
280 |
|
281 |
-
|
282 |
-
|
283 |
-
|
284 |
-
|
285 |
-
|
286 |
-
|
|
|
287 |
|
288 |
-
|
289 |
-
|
290 |
-
|
|
|
|
|
|
|
291 |
|
292 |
-
|
|
|
|
|
293 |
|
294 |
-
|
295 |
|
296 |
-
|
297 |
-
$result = groups_demote_member( $user_id, $group_id );
|
298 |
-
} else if ( 'banned' == $existing_role ) {
|
299 |
-
$result = groups_unban_member( $user_id, $group_id );
|
300 |
-
}
|
301 |
|
302 |
-
|
|
|
|
|
|
|
|
|
303 |
|
304 |
-
|
305 |
|
306 |
-
|
307 |
|
308 |
-
|
309 |
|
310 |
-
|
311 |
|
312 |
-
|
313 |
|
314 |
-
|
315 |
-
|
|
|
|
|
316 |
|
317 |
-
|
318 |
-
|
319 |
-
|
320 |
-
|
321 |
-
|
|
|
322 |
}
|
323 |
}
|
324 |
}
|
259 |
}
|
260 |
|
261 |
if ( ! $admin_count ) {
|
262 |
+
|
263 |
$redirect_to = add_query_arg( 'no_admins', 1, $redirect_to );
|
264 |
+
$error = $group_id;
|
|
|
265 |
|
266 |
+
} else {
|
|
|
267 |
|
268 |
+
// Process only those users who have had their roles changed
|
269 |
+
foreach ( (array) $_POST['bp-groups-role'] as $user_id => $new_role ) {
|
270 |
|
271 |
+
$existing_role = isset( $_POST['bp-groups-existing-role'][$user_id] ) ? $_POST['bp-groups-existing-role'][$user_id] : '';
|
272 |
|
273 |
+
if ( $existing_role != $new_role ) {
|
|
|
|
|
|
|
|
|
|
|
|
|
274 |
|
275 |
+
switch ( $new_role ) {
|
276 |
+
case 'mod' :
|
277 |
+
// Admin to mod is a demotion. Demote to
|
278 |
+
// member, then fall through
|
279 |
+
if ( 'admin' == $existing_role ) {
|
280 |
+
groups_demote_member( $user_id, $group_id );
|
281 |
+
}
|
282 |
|
283 |
+
case 'admin' :
|
284 |
+
// If the user was banned, we must
|
285 |
+
// unban first
|
286 |
+
if ( 'banned' == $existing_role ) {
|
287 |
+
groups_unban_member( $user_id, $group_id );
|
288 |
+
}
|
289 |
|
290 |
+
// At this point, each existing_role
|
291 |
+
// is a member, so promote
|
292 |
+
$result = groups_promote_member( $user_id, $group_id, $new_role );
|
293 |
|
294 |
+
break;
|
295 |
|
296 |
+
case 'member' :
|
|
|
|
|
|
|
|
|
297 |
|
298 |
+
if ( 'admin' == $existing_role || 'mod' == $existing_role ) {
|
299 |
+
$result = groups_demote_member( $user_id, $group_id );
|
300 |
+
} else if ( 'banned' == $existing_role ) {
|
301 |
+
$result = groups_unban_member( $user_id, $group_id );
|
302 |
+
}
|
303 |
|
304 |
+
break;
|
305 |
|
306 |
+
case 'banned' :
|
307 |
|
308 |
+
$result = groups_ban_member( $user_id, $group_id );
|
309 |
|
310 |
+
break;
|
311 |
|
312 |
+
case 'remove' :
|
313 |
|
314 |
+
$result = groups_remove_member( $user_id, $group_id );
|
315 |
+
|
316 |
+
break;
|
317 |
+
}
|
318 |
|
319 |
+
// Store the success or failure
|
320 |
+
if ( $result ) {
|
321 |
+
$success_modified[] = $user_id;
|
322 |
+
} else {
|
323 |
+
$error_modified[] = $user_id;
|
324 |
+
}
|
325 |
}
|
326 |
}
|
327 |
}
|
bp-groups/bp-groups-notifications.php
CHANGED
@@ -87,7 +87,10 @@ To view %4$s\'s profile: %5$s
|
|
87 |
---------------------
|
88 |
', 'buddypress' ), $requesting_user_name, $group->name, $group_requests, $requesting_user_name, $profile_link );
|
89 |
|
90 |
-
|
|
|
|
|
|
|
91 |
|
92 |
/* Send the message */
|
93 |
$to = apply_filters( 'groups_notification_new_membership_request_to', $to );
|
@@ -142,7 +145,10 @@ To submit another request please log in and visit: %2$s
|
|
142 |
', 'buddypress' ), $group->name, $group_link );
|
143 |
}
|
144 |
|
145 |
-
|
|
|
|
|
|
|
146 |
|
147 |
/* Send the message */
|
148 |
$to = apply_filters( 'groups_notification_membership_request_completed_to', $to );
|
@@ -187,7 +193,10 @@ To view the group please visit: %3$s
|
|
187 |
---------------------
|
188 |
', 'buddypress' ), $promoted_to, $group->name, $group_link );
|
189 |
|
190 |
-
|
|
|
|
|
|
|
191 |
|
192 |
/* Send the message */
|
193 |
$to = apply_filters( 'groups_notification_promoted_member_to', $to );
|
@@ -240,7 +249,10 @@ To view %5$s\'s profile visit: %6$s
|
|
240 |
---------------------
|
241 |
', 'buddypress' ), $inviter_name, $group->name, $invites_link, $group_link, $inviter_name, $inviter_link );
|
242 |
|
243 |
-
|
|
|
|
|
|
|
244 |
|
245 |
/* Send the message */
|
246 |
$to = apply_filters( 'groups_notification_group_invites_to', $to );
|
87 |
---------------------
|
88 |
', 'buddypress' ), $requesting_user_name, $group->name, $group_requests, $requesting_user_name, $profile_link );
|
89 |
|
90 |
+
// Only show the disable notifications line if the settings component is enabled
|
91 |
+
if ( bp_is_active( 'settings' ) ) {
|
92 |
+
$message .= sprintf( __( 'To disable these notifications please log in and go to: %s', 'buddypress' ), $settings_link );
|
93 |
+
}
|
94 |
|
95 |
/* Send the message */
|
96 |
$to = apply_filters( 'groups_notification_new_membership_request_to', $to );
|
145 |
', 'buddypress' ), $group->name, $group_link );
|
146 |
}
|
147 |
|
148 |
+
// Only show the disable notifications line if the settings component is enabled
|
149 |
+
if ( bp_is_active( 'settings' ) ) {
|
150 |
+
$message .= sprintf( __( 'To disable these notifications please log in and go to: %s', 'buddypress' ), $settings_link );
|
151 |
+
}
|
152 |
|
153 |
/* Send the message */
|
154 |
$to = apply_filters( 'groups_notification_membership_request_completed_to', $to );
|
193 |
---------------------
|
194 |
', 'buddypress' ), $promoted_to, $group->name, $group_link );
|
195 |
|
196 |
+
// Only show the disable notifications line if the settings component is enabled
|
197 |
+
if ( bp_is_active( 'settings' ) ) {
|
198 |
+
$message .= sprintf( __( 'To disable these notifications please log in and go to: %s', 'buddypress' ), $settings_link );
|
199 |
+
}
|
200 |
|
201 |
/* Send the message */
|
202 |
$to = apply_filters( 'groups_notification_promoted_member_to', $to );
|
249 |
---------------------
|
250 |
', 'buddypress' ), $inviter_name, $group->name, $invites_link, $group_link, $inviter_name, $inviter_link );
|
251 |
|
252 |
+
// Only show the disable notifications line if the settings component is enabled
|
253 |
+
if ( bp_is_active( 'settings' ) ) {
|
254 |
+
$message .= sprintf( __( 'To disable these notifications please log in and go to: %s', 'buddypress' ), $settings_link );
|
255 |
+
}
|
256 |
|
257 |
/* Send the message */
|
258 |
$to = apply_filters( 'groups_notification_group_invites_to', $to );
|
bp-groups/bp-groups-widgets.php
CHANGED
@@ -26,7 +26,7 @@ class BP_Groups_Widget extends WP_Widget {
|
|
26 |
function __construct() {
|
27 |
$widget_ops = array(
|
28 |
'description' => __( 'A dynamic list of recently active, popular, and newest groups', 'buddypress' ),
|
29 |
-
'classname' => 'buddypress',
|
30 |
);
|
31 |
parent::__construct( false, _x( '(BuddyPress) Groups', 'widget name', 'buddypress' ), $widget_ops );
|
32 |
|
26 |
function __construct() {
|
27 |
$widget_ops = array(
|
28 |
'description' => __( 'A dynamic list of recently active, popular, and newest groups', 'buddypress' ),
|
29 |
+
'classname' => 'widget_bp_groups_widget buddypress',
|
30 |
);
|
31 |
parent::__construct( false, _x( '(BuddyPress) Groups', 'widget name', 'buddypress' ), $widget_ops );
|
32 |
|
bp-languages/buddypress.pot
CHANGED
@@ -4,7 +4,7 @@ msgid ""
|
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: BuddyPress \n"
|
6 |
"Report-Msgid-Bugs-To: http://wppolyglots.wordpress.com\n"
|
7 |
-
"POT-Creation-Date: 2013-04-
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=UTF-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
@@ -247,7 +247,7 @@ msgid "Submitted on: <strong>%1$s</strong>"
|
|
247 |
msgstr ""
|
248 |
|
249 |
#: bp-activity/bp-activity-admin.php:665 bp-activity/bp-activity-admin.php:1281
|
250 |
-
#: bp-forums/bp-forums-template.php:1270 bp-groups/bp-groups-admin.php:
|
251 |
#: bp-themes/bp-default/functions.php:507 bp-xprofile/bp-xprofile-admin.php:456
|
252 |
#: bp-xprofile/bp-xprofile-loader.php:185
|
253 |
#: bp-xprofile/bp-xprofile-loader.php:245
|
@@ -322,7 +322,7 @@ msgstr ""
|
|
322 |
msgid "Activity related to ID #%s"
|
323 |
msgstr ""
|
324 |
|
325 |
-
#: bp-activity/bp-activity-admin.php:856 bp-groups/bp-groups-admin.php:
|
326 |
msgid "Search results for “%s”"
|
327 |
msgstr ""
|
328 |
|
@@ -334,7 +334,7 @@ msgstr ""
|
|
334 |
msgid "Reply to Activity"
|
335 |
msgstr ""
|
336 |
|
337 |
-
#: bp-activity/bp-activity-admin.php:884 bp-groups/bp-groups-admin.php:
|
338 |
#: bp-templates/bp-legacy/buddypress/activity/entry.php:102
|
339 |
#: bp-templates/bp-legacy/buddypress/forums/index.php:116
|
340 |
#: bp-themes/bp-default/forums/index.php:134
|
@@ -355,7 +355,7 @@ msgstr ""
|
|
355 |
msgid "No activities found."
|
356 |
msgstr ""
|
357 |
|
358 |
-
#: bp-activity/bp-activity-admin.php:1133 bp-groups/bp-groups-admin.php:
|
359 |
#: bp-messages/bp-messages-template.php:434
|
360 |
msgid "All"
|
361 |
msgstr ""
|
@@ -374,7 +374,7 @@ msgid "Not Spam"
|
|
374 |
msgstr ""
|
375 |
|
376 |
#: bp-activity/bp-activity-admin.php:1151
|
377 |
-
#: bp-activity/bp-activity-admin.php:1291 bp-groups/bp-groups-admin.php:
|
378 |
msgid "Delete Permanently"
|
379 |
msgstr ""
|
380 |
|
@@ -550,7 +550,7 @@ msgstr ""
|
|
550 |
#: bp-groups/bp-groups-activity.php:143 bp-groups/bp-groups-activity.php:179
|
551 |
#: bp-groups/bp-groups-activity.php:215 bp-groups/bp-groups-activity.php:251
|
552 |
#: bp-groups/bp-groups-admin.php:35 bp-groups/bp-groups-admin.php:36
|
553 |
-
#: bp-groups/bp-groups-admin.php:
|
554 |
#: bp-groups/bp-groups-screens.php:893 bp-groups/bp-groups-screens.php:999
|
555 |
#: bp-groups/bp-groups-screens.php:1001 bp-groups/bp-groups-screens.php:1037
|
556 |
#: bp-groups/bp-groups-screens.php:1039 bp-groups/bp-groups-widgets.php:48
|
@@ -618,25 +618,25 @@ msgid ""
|
|
618 |
"---------------------\n"
|
619 |
msgstr ""
|
620 |
|
621 |
-
#: bp-activity/bp-activity-notifications.php:
|
622 |
-
#: bp-activity/bp-activity-notifications.php:
|
623 |
-
#: bp-activity/bp-activity-notifications.php:
|
624 |
-
#: bp-friends/bp-friends-notifications.php:
|
625 |
-
#: bp-friends/bp-friends-notifications.php:
|
626 |
#: bp-groups/bp-groups-notifications.php:42
|
627 |
-
#: bp-groups/bp-groups-notifications.php:
|
628 |
-
#: bp-groups/bp-groups-notifications.php:
|
629 |
-
#: bp-groups/bp-groups-notifications.php:
|
630 |
-
#: bp-groups/bp-groups-notifications.php:
|
631 |
-
#: bp-messages/bp-messages-notifications.php:
|
632 |
msgid "To disable these notifications please log in and go to: %s"
|
633 |
msgstr ""
|
634 |
|
635 |
-
#: bp-activity/bp-activity-notifications.php:
|
636 |
msgid "%s replied to one of your updates"
|
637 |
msgstr ""
|
638 |
|
639 |
-
#: bp-activity/bp-activity-notifications.php:
|
640 |
msgid ""
|
641 |
"%1$s replied to one of your updates:\n"
|
642 |
"\n"
|
@@ -647,11 +647,11 @@ msgid ""
|
|
647 |
"---------------------\n"
|
648 |
msgstr ""
|
649 |
|
650 |
-
#: bp-activity/bp-activity-notifications.php:
|
651 |
msgid "%s replied to one of your comments"
|
652 |
msgstr ""
|
653 |
|
654 |
-
#: bp-activity/bp-activity-notifications.php:
|
655 |
msgid ""
|
656 |
"%1$s replied to one of your comments:\n"
|
657 |
"\n"
|
@@ -720,7 +720,7 @@ msgstr ""
|
|
720 |
msgid "Group logo"
|
721 |
msgstr ""
|
722 |
|
723 |
-
#: bp-activity/bp-activity-template.php:1090 bp-groups/bp-groups-admin.php:
|
724 |
#: bp-groups/bp-groups-template.php:494
|
725 |
msgid "Group logo of %s"
|
726 |
msgstr ""
|
@@ -734,8 +734,8 @@ msgid "View Discussion"
|
|
734 |
msgstr ""
|
735 |
|
736 |
#: bp-activity/bp-activity-template.php:2167
|
737 |
-
#: bp-forums/bp-forums-template.php:1271 bp-groups/bp-groups-admin.php:
|
738 |
-
#: bp-groups/bp-groups-admin.php:
|
739 |
#: bp-templates/bp-legacy/buddypress/activity/comment.php:43
|
740 |
#: bp-templates/bp-legacy/buddypress/members/single/messages/messages-loop.php:51
|
741 |
#: bp-templates/bp-legacy/buddypress/members/single/messages/single.php:24
|
@@ -1530,7 +1530,7 @@ msgid "BuddyPress’s powerful features help your users connect and collabor
|
|
1530 |
msgstr ""
|
1531 |
|
1532 |
#: bp-core/bp-core-admin.php:408 bp-core/bp-core-template.php:243
|
1533 |
-
#: bp-core/bp-core-widgets.php:111 bp-groups/bp-groups-admin.php:
|
1534 |
#: bp-groups/bp-groups-template.php:1454 bp-members/bp-members-loader.php:24
|
1535 |
#: bp-members/bp-members-screens.php:327
|
1536 |
#: bp-templates/bp-legacy/buddypress/groups/single/admin.php:231
|
@@ -1729,7 +1729,7 @@ msgstr ""
|
|
1729 |
msgid "Log Out"
|
1730 |
msgstr ""
|
1731 |
|
1732 |
-
#: bp-core/bp-core-buddybar.php:569 bp-groups/bp-groups-admin.php:
|
1733 |
msgid "Visit"
|
1734 |
msgstr ""
|
1735 |
|
@@ -2479,7 +2479,7 @@ msgid "%d friends accepted your friendship requests"
|
|
2479 |
msgstr ""
|
2480 |
|
2481 |
#: bp-friends/bp-friends-activity.php:89
|
2482 |
-
#: bp-friends/bp-friends-notifications.php:
|
2483 |
msgid "%s accepted your friendship request"
|
2484 |
msgstr ""
|
2485 |
|
@@ -2544,7 +2544,7 @@ msgid ""
|
|
2544 |
"---------------------\n"
|
2545 |
msgstr ""
|
2546 |
|
2547 |
-
#: bp-friends/bp-friends-notifications.php:
|
2548 |
msgid ""
|
2549 |
"%1$s accepted your friend request.\n"
|
2550 |
"\n"
|
@@ -2826,74 +2826,74 @@ msgstr ""
|
|
2826 |
msgid "Start typing a username to add a new member."
|
2827 |
msgstr ""
|
2828 |
|
2829 |
-
#: bp-groups/bp-groups-admin.php:
|
2830 |
msgid "You cannot remove all administrators from a group."
|
2831 |
msgstr ""
|
2832 |
|
2833 |
-
#: bp-groups/bp-groups-admin.php:
|
2834 |
msgid "An error occurred when trying to update your group details."
|
2835 |
msgstr ""
|
2836 |
|
2837 |
-
#: bp-groups/bp-groups-admin.php:
|
2838 |
msgid "The group has been updated successfully."
|
2839 |
msgstr ""
|
2840 |
|
2841 |
-
#: bp-groups/bp-groups-admin.php:
|
2842 |
msgid "The following users could not be added to the group: <em>%s</em>"
|
2843 |
msgstr ""
|
2844 |
|
2845 |
-
#: bp-groups/bp-groups-admin.php:
|
2846 |
msgid "The following users were successfully added to the group: <em>%s</em>"
|
2847 |
msgstr ""
|
2848 |
|
2849 |
-
#: bp-groups/bp-groups-admin.php:
|
2850 |
msgid "An error occurred when trying to modify the following members: <em>%s</em>"
|
2851 |
msgstr ""
|
2852 |
|
2853 |
-
#: bp-groups/bp-groups-admin.php:
|
2854 |
msgid "The following members were successfully modified: <em>%s</em>"
|
2855 |
msgstr ""
|
2856 |
|
2857 |
-
#: bp-groups/bp-groups-admin.php:
|
2858 |
#: bp-xprofile/bp-xprofile-admin.php:114
|
2859 |
msgid "Edit Group"
|
2860 |
msgstr ""
|
2861 |
|
2862 |
-
#: bp-groups/bp-groups-admin.php:
|
2863 |
msgid "Add New"
|
2864 |
msgstr ""
|
2865 |
|
2866 |
-
#: bp-groups/bp-groups-admin.php:
|
2867 |
msgid "Name and Description"
|
2868 |
msgstr ""
|
2869 |
|
2870 |
-
#: bp-groups/bp-groups-admin.php:
|
2871 |
msgid "No group found with this ID. <a href=\"%s\">Go back and try again</a>."
|
2872 |
msgstr ""
|
2873 |
|
2874 |
-
#: bp-groups/bp-groups-admin.php:
|
2875 |
msgid "Delete Groups"
|
2876 |
msgstr ""
|
2877 |
|
2878 |
-
#: bp-groups/bp-groups-admin.php:
|
2879 |
msgid "You are about to delete the following groups:"
|
2880 |
msgstr ""
|
2881 |
|
2882 |
-
#: bp-groups/bp-groups-admin.php:
|
2883 |
msgid "This action cannot be undone."
|
2884 |
msgstr ""
|
2885 |
|
2886 |
-
#: bp-groups/bp-groups-admin.php:
|
2887 |
msgid "%s group has been permanently deleted."
|
2888 |
msgid_plural "%s groups have been permanently deleted."
|
2889 |
msgstr[0] ""
|
2890 |
msgstr[1] ""
|
2891 |
|
2892 |
-
#: bp-groups/bp-groups-admin.php:
|
2893 |
msgid "Search all Groups"
|
2894 |
msgstr ""
|
2895 |
|
2896 |
-
#: bp-groups/bp-groups-admin.php:
|
2897 |
#: bp-templates/bp-legacy/buddypress/groups/create.php:112
|
2898 |
#: bp-templates/bp-legacy/buddypress/groups/single/admin.php:47
|
2899 |
#: bp-themes/bp-default/groups/create.php:119
|
@@ -2901,29 +2901,29 @@ msgstr ""
|
|
2901 |
msgid "Enable discussion forum"
|
2902 |
msgstr ""
|
2903 |
|
2904 |
-
#: bp-groups/bp-groups-admin.php:
|
2905 |
msgid "Privacy"
|
2906 |
msgstr ""
|
2907 |
|
2908 |
-
#: bp-groups/bp-groups-admin.php:
|
2909 |
#: bp-groups/bp-groups-template.php:625
|
2910 |
msgid "Public"
|
2911 |
msgstr ""
|
2912 |
|
2913 |
-
#: bp-groups/bp-groups-admin.php:
|
2914 |
#: bp-groups/bp-groups-template.php:627
|
2915 |
msgid "Private"
|
2916 |
msgstr ""
|
2917 |
|
2918 |
-
#: bp-groups/bp-groups-admin.php:
|
2919 |
msgid "Hidden"
|
2920 |
msgstr ""
|
2921 |
|
2922 |
-
#: bp-groups/bp-groups-admin.php:
|
2923 |
msgid "Who can invite others to this group?"
|
2924 |
msgstr ""
|
2925 |
|
2926 |
-
#: bp-groups/bp-groups-admin.php:
|
2927 |
#: bp-templates/bp-legacy/buddypress/groups/create.php:89
|
2928 |
#: bp-templates/bp-legacy/buddypress/groups/single/admin.php:99
|
2929 |
#: bp-themes/bp-default/groups/create.php:96
|
@@ -2931,7 +2931,7 @@ msgstr ""
|
|
2931 |
msgid "All group members"
|
2932 |
msgstr ""
|
2933 |
|
2934 |
-
#: bp-groups/bp-groups-admin.php:
|
2935 |
#: bp-templates/bp-legacy/buddypress/groups/create.php:94
|
2936 |
#: bp-templates/bp-legacy/buddypress/groups/single/admin.php:104
|
2937 |
#: bp-themes/bp-default/groups/create.php:101
|
@@ -2939,7 +2939,7 @@ msgstr ""
|
|
2939 |
msgid "Group admins and mods only"
|
2940 |
msgstr ""
|
2941 |
|
2942 |
-
#: bp-groups/bp-groups-admin.php:
|
2943 |
#: bp-templates/bp-legacy/buddypress/groups/create.php:99
|
2944 |
#: bp-templates/bp-legacy/buddypress/groups/single/admin.php:109
|
2945 |
#: bp-themes/bp-default/groups/create.php:106
|
@@ -2947,66 +2947,66 @@ msgstr ""
|
|
2947 |
msgid "Group admins only"
|
2948 |
msgstr ""
|
2949 |
|
2950 |
-
#: bp-groups/bp-groups-admin.php:
|
2951 |
msgid "Enter a comma-separated list of user logins."
|
2952 |
msgstr ""
|
2953 |
|
2954 |
-
#: bp-groups/bp-groups-admin.php:
|
2955 |
#: bp-templates/bp-legacy/buddypress/groups/single/admin.php:177
|
2956 |
#: bp-themes/bp-default/groups/single/admin.php:177
|
2957 |
msgid "Administrators"
|
2958 |
msgstr ""
|
2959 |
|
2960 |
-
#: bp-groups/bp-groups-admin.php:
|
2961 |
#: bp-templates/bp-legacy/buddypress/groups/single/admin.php:205
|
2962 |
#: bp-themes/bp-default/groups/single/admin.php:205
|
2963 |
msgid "Moderators"
|
2964 |
msgstr ""
|
2965 |
|
2966 |
-
#: bp-groups/bp-groups-admin.php:
|
2967 |
msgid "Banned Users"
|
2968 |
msgstr ""
|
2969 |
|
2970 |
-
#: bp-groups/bp-groups-admin.php:
|
2971 |
msgctxt "Group member user_id in group admin"
|
2972 |
msgid "ID"
|
2973 |
msgstr ""
|
2974 |
|
2975 |
-
#: bp-groups/bp-groups-admin.php:
|
2976 |
msgctxt "Group member name in group admin"
|
2977 |
msgid "Name"
|
2978 |
msgstr ""
|
2979 |
|
2980 |
-
#: bp-groups/bp-groups-admin.php:
|
2981 |
msgctxt "Group member role in group admin"
|
2982 |
msgid "Group Role"
|
2983 |
msgstr ""
|
2984 |
|
2985 |
-
#: bp-groups/bp-groups-admin.php:
|
2986 |
msgid "Administrator"
|
2987 |
msgstr ""
|
2988 |
|
2989 |
-
#: bp-groups/bp-groups-admin.php:
|
2990 |
msgid "Moderator"
|
2991 |
msgstr ""
|
2992 |
|
2993 |
-
#: bp-groups/bp-groups-admin.php:
|
2994 |
msgid "Member"
|
2995 |
msgstr ""
|
2996 |
|
2997 |
-
#: bp-groups/bp-groups-admin.php:
|
2998 |
msgid "Banned"
|
2999 |
msgstr ""
|
3000 |
|
3001 |
-
#: bp-groups/bp-groups-admin.php:
|
3002 |
msgid "Remove From Group"
|
3003 |
msgstr ""
|
3004 |
|
3005 |
-
#: bp-groups/bp-groups-admin.php:
|
3006 |
msgid "No members of this type"
|
3007 |
msgstr ""
|
3008 |
|
3009 |
-
#: bp-groups/bp-groups-admin.php:
|
3010 |
#: bp-groups/bp-groups-buddybar.php:58
|
3011 |
#: bp-templates/bp-legacy/buddypress/groups/single/admin.php:360
|
3012 |
#: bp-themes/bp-default/groups/single/admin.php:360
|
@@ -3014,7 +3014,7 @@ msgstr ""
|
|
3014 |
msgid "Delete Group"
|
3015 |
msgstr ""
|
3016 |
|
3017 |
-
#: bp-groups/bp-groups-admin.php:
|
3018 |
#: bp-templates/bp-legacy/buddypress/groups/single/admin.php:32
|
3019 |
#: bp-templates/bp-legacy/buddypress/groups/single/admin.php:117
|
3020 |
#: bp-templates/bp-legacy/buddypress/groups/single/forum/edit.php:58
|
@@ -3035,47 +3035,47 @@ msgstr ""
|
|
3035 |
|
3036 |
#. translators: 1: user_login, 2: user_email
|
3037 |
|
3038 |
-
#: bp-groups/bp-groups-admin.php:
|
3039 |
msgid "%1$s (%2$s)"
|
3040 |
msgstr ""
|
3041 |
|
3042 |
-
#: bp-groups/bp-groups-admin.php:
|
3043 |
msgid "No groups found."
|
3044 |
msgstr ""
|
3045 |
|
3046 |
-
#: bp-groups/bp-groups-admin.php:
|
3047 |
msgid "Public <span class=\"count\">(%s)</span>"
|
3048 |
msgstr ""
|
3049 |
|
3050 |
-
#: bp-groups/bp-groups-admin.php:
|
3051 |
msgid "Private <span class=\"count\">(%s)</span>"
|
3052 |
msgstr ""
|
3053 |
|
3054 |
-
#: bp-groups/bp-groups-admin.php:
|
3055 |
msgid "Hidden <span class=\"count\">(%s)</span>"
|
3056 |
msgstr ""
|
3057 |
|
3058 |
-
#: bp-groups/bp-groups-admin.php:
|
3059 |
msgctxt "Groups admin Group Name column header"
|
3060 |
msgid "Name"
|
3061 |
msgstr ""
|
3062 |
|
3063 |
-
#: bp-groups/bp-groups-admin.php:
|
3064 |
msgctxt "Groups admin Group Description column header"
|
3065 |
msgid "Description"
|
3066 |
msgstr ""
|
3067 |
|
3068 |
-
#: bp-groups/bp-groups-admin.php:
|
3069 |
msgctxt "Groups admin Privacy Status column header"
|
3070 |
msgid "Status"
|
3071 |
msgstr ""
|
3072 |
|
3073 |
-
#: bp-groups/bp-groups-admin.php:
|
3074 |
msgctxt "Groups admin Members column header"
|
3075 |
msgid "# Members"
|
3076 |
msgstr ""
|
3077 |
|
3078 |
-
#: bp-groups/bp-groups-admin.php:
|
3079 |
msgctxt "Groups admin Last Active column header"
|
3080 |
msgid "Last Active"
|
3081 |
msgstr ""
|
@@ -3260,11 +3260,11 @@ msgid ""
|
|
3260 |
"---------------------\n"
|
3261 |
msgstr ""
|
3262 |
|
3263 |
-
#: bp-groups/bp-groups-notifications.php:
|
3264 |
msgid "Membership request for group \"%s\" accepted"
|
3265 |
msgstr ""
|
3266 |
|
3267 |
-
#: bp-groups/bp-groups-notifications.php:
|
3268 |
msgid ""
|
3269 |
"Your membership request for the group \"%1$s\" has been accepted.\n"
|
3270 |
"\n"
|
@@ -3273,11 +3273,11 @@ msgid ""
|
|
3273 |
"---------------------\n"
|
3274 |
msgstr ""
|
3275 |
|
3276 |
-
#: bp-groups/bp-groups-notifications.php:
|
3277 |
msgid "Membership request for group \"%s\" rejected"
|
3278 |
msgstr ""
|
3279 |
|
3280 |
-
#: bp-groups/bp-groups-notifications.php:
|
3281 |
msgid ""
|
3282 |
"Your membership request for the group \"%1$s\" has been rejected.\n"
|
3283 |
"\n"
|
@@ -3286,19 +3286,19 @@ msgid ""
|
|
3286 |
"---------------------\n"
|
3287 |
msgstr ""
|
3288 |
|
3289 |
-
#: bp-groups/bp-groups-notifications.php:
|
3290 |
msgid "an administrator"
|
3291 |
msgstr ""
|
3292 |
|
3293 |
-
#: bp-groups/bp-groups-notifications.php:
|
3294 |
msgid "a moderator"
|
3295 |
msgstr ""
|
3296 |
|
3297 |
-
#: bp-groups/bp-groups-notifications.php:
|
3298 |
msgid "You have been promoted in the group: \"%s\""
|
3299 |
msgstr ""
|
3300 |
|
3301 |
-
#: bp-groups/bp-groups-notifications.php:
|
3302 |
msgid ""
|
3303 |
"You have been promoted to %1$s for the group: \"%2$s\".\n"
|
3304 |
"\n"
|
@@ -3307,11 +3307,11 @@ msgid ""
|
|
3307 |
"---------------------\n"
|
3308 |
msgstr ""
|
3309 |
|
3310 |
-
#: bp-groups/bp-groups-notifications.php:
|
3311 |
msgid "You have an invitation to the group: \"%s\""
|
3312 |
msgstr ""
|
3313 |
|
3314 |
-
#: bp-groups/bp-groups-notifications.php:
|
3315 |
msgid ""
|
3316 |
"One of your friends %1$s has invited you to the group: \"%2$s\".\n"
|
3317 |
"\n"
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: BuddyPress \n"
|
6 |
"Report-Msgid-Bugs-To: http://wppolyglots.wordpress.com\n"
|
7 |
+
"POT-Creation-Date: 2013-04-26 13:36:03+00:00\n"
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=UTF-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
247 |
msgstr ""
|
248 |
|
249 |
#: bp-activity/bp-activity-admin.php:665 bp-activity/bp-activity-admin.php:1281
|
250 |
+
#: bp-forums/bp-forums-template.php:1270 bp-groups/bp-groups-admin.php:1248
|
251 |
#: bp-themes/bp-default/functions.php:507 bp-xprofile/bp-xprofile-admin.php:456
|
252 |
#: bp-xprofile/bp-xprofile-loader.php:185
|
253 |
#: bp-xprofile/bp-xprofile-loader.php:245
|
322 |
msgid "Activity related to ID #%s"
|
323 |
msgstr ""
|
324 |
|
325 |
+
#: bp-activity/bp-activity-admin.php:856 bp-groups/bp-groups-admin.php:625
|
326 |
msgid "Search results for “%s”"
|
327 |
msgstr ""
|
328 |
|
334 |
msgid "Reply to Activity"
|
335 |
msgstr ""
|
336 |
|
337 |
+
#: bp-activity/bp-activity-admin.php:884 bp-groups/bp-groups-admin.php:585
|
338 |
#: bp-templates/bp-legacy/buddypress/activity/entry.php:102
|
339 |
#: bp-templates/bp-legacy/buddypress/forums/index.php:116
|
340 |
#: bp-themes/bp-default/forums/index.php:134
|
355 |
msgid "No activities found."
|
356 |
msgstr ""
|
357 |
|
358 |
+
#: bp-activity/bp-activity-admin.php:1133 bp-groups/bp-groups-admin.php:1138
|
359 |
#: bp-messages/bp-messages-template.php:434
|
360 |
msgid "All"
|
361 |
msgstr ""
|
374 |
msgstr ""
|
375 |
|
376 |
#: bp-activity/bp-activity-admin.php:1151
|
377 |
+
#: bp-activity/bp-activity-admin.php:1291 bp-groups/bp-groups-admin.php:584
|
378 |
msgid "Delete Permanently"
|
379 |
msgstr ""
|
380 |
|
550 |
#: bp-groups/bp-groups-activity.php:143 bp-groups/bp-groups-activity.php:179
|
551 |
#: bp-groups/bp-groups-activity.php:215 bp-groups/bp-groups-activity.php:251
|
552 |
#: bp-groups/bp-groups-admin.php:35 bp-groups/bp-groups-admin.php:36
|
553 |
+
#: bp-groups/bp-groups-admin.php:622 bp-groups/bp-groups-loader.php:517
|
554 |
#: bp-groups/bp-groups-screens.php:893 bp-groups/bp-groups-screens.php:999
|
555 |
#: bp-groups/bp-groups-screens.php:1001 bp-groups/bp-groups-screens.php:1037
|
556 |
#: bp-groups/bp-groups-screens.php:1039 bp-groups/bp-groups-widgets.php:48
|
618 |
"---------------------\n"
|
619 |
msgstr ""
|
620 |
|
621 |
+
#: bp-activity/bp-activity-notifications.php:100
|
622 |
+
#: bp-activity/bp-activity-notifications.php:178
|
623 |
+
#: bp-activity/bp-activity-notifications.php:226 bp-core/deprecated/1.5.php:364
|
624 |
+
#: bp-friends/bp-friends-notifications.php:44
|
625 |
+
#: bp-friends/bp-friends-notifications.php:82
|
626 |
#: bp-groups/bp-groups-notifications.php:42
|
627 |
+
#: bp-groups/bp-groups-notifications.php:92
|
628 |
+
#: bp-groups/bp-groups-notifications.php:150
|
629 |
+
#: bp-groups/bp-groups-notifications.php:198
|
630 |
+
#: bp-groups/bp-groups-notifications.php:254
|
631 |
+
#: bp-messages/bp-messages-notifications.php:66
|
632 |
msgid "To disable these notifications please log in and go to: %s"
|
633 |
msgstr ""
|
634 |
|
635 |
+
#: bp-activity/bp-activity-notifications.php:165
|
636 |
msgid "%s replied to one of your updates"
|
637 |
msgstr ""
|
638 |
|
639 |
+
#: bp-activity/bp-activity-notifications.php:166
|
640 |
msgid ""
|
641 |
"%1$s replied to one of your updates:\n"
|
642 |
"\n"
|
647 |
"---------------------\n"
|
648 |
msgstr ""
|
649 |
|
650 |
+
#: bp-activity/bp-activity-notifications.php:209
|
651 |
msgid "%s replied to one of your comments"
|
652 |
msgstr ""
|
653 |
|
654 |
+
#: bp-activity/bp-activity-notifications.php:214
|
655 |
msgid ""
|
656 |
"%1$s replied to one of your comments:\n"
|
657 |
"\n"
|
720 |
msgid "Group logo"
|
721 |
msgstr ""
|
722 |
|
723 |
+
#: bp-activity/bp-activity-template.php:1090 bp-groups/bp-groups-admin.php:1262
|
724 |
#: bp-groups/bp-groups-template.php:494
|
725 |
msgid "Group logo of %s"
|
726 |
msgstr ""
|
734 |
msgstr ""
|
735 |
|
736 |
#: bp-activity/bp-activity-template.php:2167
|
737 |
+
#: bp-forums/bp-forums-template.php:1271 bp-groups/bp-groups-admin.php:1156
|
738 |
+
#: bp-groups/bp-groups-admin.php:1251 bp-groups/bp-groups-template.php:1464
|
739 |
#: bp-templates/bp-legacy/buddypress/activity/comment.php:43
|
740 |
#: bp-templates/bp-legacy/buddypress/members/single/messages/messages-loop.php:51
|
741 |
#: bp-templates/bp-legacy/buddypress/members/single/messages/single.php:24
|
1530 |
msgstr ""
|
1531 |
|
1532 |
#: bp-core/bp-core-admin.php:408 bp-core/bp-core-template.php:243
|
1533 |
+
#: bp-core/bp-core-widgets.php:111 bp-groups/bp-groups-admin.php:764
|
1534 |
#: bp-groups/bp-groups-template.php:1454 bp-members/bp-members-loader.php:24
|
1535 |
#: bp-members/bp-members-screens.php:327
|
1536 |
#: bp-templates/bp-legacy/buddypress/groups/single/admin.php:231
|
1729 |
msgid "Log Out"
|
1730 |
msgstr ""
|
1731 |
|
1732 |
+
#: bp-core/bp-core-buddybar.php:569 bp-groups/bp-groups-admin.php:1245
|
1733 |
msgid "Visit"
|
1734 |
msgstr ""
|
1735 |
|
2479 |
msgstr ""
|
2480 |
|
2481 |
#: bp-friends/bp-friends-activity.php:89
|
2482 |
+
#: bp-friends/bp-friends-notifications.php:71
|
2483 |
msgid "%s accepted your friendship request"
|
2484 |
msgstr ""
|
2485 |
|
2544 |
"---------------------\n"
|
2545 |
msgstr ""
|
2546 |
|
2547 |
+
#: bp-friends/bp-friends-notifications.php:72
|
2548 |
msgid ""
|
2549 |
"%1$s accepted your friend request.\n"
|
2550 |
"\n"
|
2826 |
msgid "Start typing a username to add a new member."
|
2827 |
msgstr ""
|
2828 |
|
2829 |
+
#: bp-groups/bp-groups-admin.php:443
|
2830 |
msgid "You cannot remove all administrators from a group."
|
2831 |
msgstr ""
|
2832 |
|
2833 |
+
#: bp-groups/bp-groups-admin.php:447
|
2834 |
msgid "An error occurred when trying to update your group details."
|
2835 |
msgstr ""
|
2836 |
|
2837 |
+
#: bp-groups/bp-groups-admin.php:449
|
2838 |
msgid "The group has been updated successfully."
|
2839 |
msgstr ""
|
2840 |
|
2841 |
+
#: bp-groups/bp-groups-admin.php:453
|
2842 |
msgid "The following users could not be added to the group: <em>%s</em>"
|
2843 |
msgstr ""
|
2844 |
|
2845 |
+
#: bp-groups/bp-groups-admin.php:457
|
2846 |
msgid "The following users were successfully added to the group: <em>%s</em>"
|
2847 |
msgstr ""
|
2848 |
|
2849 |
+
#: bp-groups/bp-groups-admin.php:462
|
2850 |
msgid "An error occurred when trying to modify the following members: <em>%s</em>"
|
2851 |
msgstr ""
|
2852 |
|
2853 |
+
#: bp-groups/bp-groups-admin.php:467
|
2854 |
msgid "The following members were successfully modified: <em>%s</em>"
|
2855 |
msgstr ""
|
2856 |
|
2857 |
+
#: bp-groups/bp-groups-admin.php:486 bp-groups/bp-groups-adminbar.php:40
|
2858 |
#: bp-xprofile/bp-xprofile-admin.php:114
|
2859 |
msgid "Edit Group"
|
2860 |
msgstr ""
|
2861 |
|
2862 |
+
#: bp-groups/bp-groups-admin.php:489
|
2863 |
msgid "Add New"
|
2864 |
msgstr ""
|
2865 |
|
2866 |
+
#: bp-groups/bp-groups-admin.php:508
|
2867 |
msgid "Name and Description"
|
2868 |
msgstr ""
|
2869 |
|
2870 |
+
#: bp-groups/bp-groups-admin.php:535
|
2871 |
msgid "No group found with this ID. <a href=\"%s\">Go back and try again</a>."
|
2872 |
msgstr ""
|
2873 |
|
2874 |
+
#: bp-groups/bp-groups-admin.php:573
|
2875 |
msgid "Delete Groups"
|
2876 |
msgstr ""
|
2877 |
|
2878 |
+
#: bp-groups/bp-groups-admin.php:574
|
2879 |
msgid "You are about to delete the following groups:"
|
2880 |
msgstr ""
|
2881 |
|
2882 |
+
#: bp-groups/bp-groups-admin.php:582
|
2883 |
msgid "This action cannot be undone."
|
2884 |
msgstr ""
|
2885 |
|
2886 |
+
#: bp-groups/bp-groups-admin.php:609
|
2887 |
msgid "%s group has been permanently deleted."
|
2888 |
msgid_plural "%s groups have been permanently deleted."
|
2889 |
msgstr[0] ""
|
2890 |
msgstr[1] ""
|
2891 |
|
2892 |
+
#: bp-groups/bp-groups-admin.php:638
|
2893 |
msgid "Search all Groups"
|
2894 |
msgstr ""
|
2895 |
|
2896 |
+
#: bp-groups/bp-groups-admin.php:660
|
2897 |
#: bp-templates/bp-legacy/buddypress/groups/create.php:112
|
2898 |
#: bp-templates/bp-legacy/buddypress/groups/single/admin.php:47
|
2899 |
#: bp-themes/bp-default/groups/create.php:119
|
2901 |
msgid "Enable discussion forum"
|
2902 |
msgstr ""
|
2903 |
|
2904 |
+
#: bp-groups/bp-groups-admin.php:665
|
2905 |
msgid "Privacy"
|
2906 |
msgstr ""
|
2907 |
|
2908 |
+
#: bp-groups/bp-groups-admin.php:668 bp-groups/bp-groups-admin.php:1295
|
2909 |
#: bp-groups/bp-groups-template.php:625
|
2910 |
msgid "Public"
|
2911 |
msgstr ""
|
2912 |
|
2913 |
+
#: bp-groups/bp-groups-admin.php:669 bp-groups/bp-groups-admin.php:1298
|
2914 |
#: bp-groups/bp-groups-template.php:627
|
2915 |
msgid "Private"
|
2916 |
msgstr ""
|
2917 |
|
2918 |
+
#: bp-groups/bp-groups-admin.php:670 bp-groups/bp-groups-admin.php:1301
|
2919 |
msgid "Hidden"
|
2920 |
msgstr ""
|
2921 |
|
2922 |
+
#: bp-groups/bp-groups-admin.php:674
|
2923 |
msgid "Who can invite others to this group?"
|
2924 |
msgstr ""
|
2925 |
|
2926 |
+
#: bp-groups/bp-groups-admin.php:677
|
2927 |
#: bp-templates/bp-legacy/buddypress/groups/create.php:89
|
2928 |
#: bp-templates/bp-legacy/buddypress/groups/single/admin.php:99
|
2929 |
#: bp-themes/bp-default/groups/create.php:96
|
2931 |
msgid "All group members"
|
2932 |
msgstr ""
|
2933 |
|
2934 |
+
#: bp-groups/bp-groups-admin.php:678
|
2935 |
#: bp-templates/bp-legacy/buddypress/groups/create.php:94
|
2936 |
#: bp-templates/bp-legacy/buddypress/groups/single/admin.php:104
|
2937 |
#: bp-themes/bp-default/groups/create.php:101
|
2939 |
msgid "Group admins and mods only"
|
2940 |
msgstr ""
|
2941 |
|
2942 |
+
#: bp-groups/bp-groups-admin.php:679
|
2943 |
#: bp-templates/bp-legacy/buddypress/groups/create.php:99
|
2944 |
#: bp-templates/bp-legacy/buddypress/groups/single/admin.php:109
|
2945 |
#: bp-themes/bp-default/groups/create.php:106
|
2947 |
msgid "Group admins only"
|
2948 |
msgstr ""
|
2949 |
|
2950 |
+
#: bp-groups/bp-groups-admin.php:694
|
2951 |
msgid "Enter a comma-separated list of user logins."
|
2952 |
msgstr ""
|
2953 |
|
2954 |
+
#: bp-groups/bp-groups-admin.php:762
|
2955 |
#: bp-templates/bp-legacy/buddypress/groups/single/admin.php:177
|
2956 |
#: bp-themes/bp-default/groups/single/admin.php:177
|
2957 |
msgid "Administrators"
|
2958 |
msgstr ""
|
2959 |
|
2960 |
+
#: bp-groups/bp-groups-admin.php:763
|
2961 |
#: bp-templates/bp-legacy/buddypress/groups/single/admin.php:205
|
2962 |
#: bp-themes/bp-default/groups/single/admin.php:205
|
2963 |
msgid "Moderators"
|
2964 |
msgstr ""
|
2965 |
|
2966 |
+
#: bp-groups/bp-groups-admin.php:765
|
2967 |
msgid "Banned Users"
|
2968 |
msgstr ""
|
2969 |
|
2970 |
+
#: bp-groups/bp-groups-admin.php:774
|
2971 |
msgctxt "Group member user_id in group admin"
|
2972 |
msgid "ID"
|
2973 |
msgstr ""
|
2974 |
|
2975 |
+
#: bp-groups/bp-groups-admin.php:775
|
2976 |
msgctxt "Group member name in group admin"
|
2977 |
msgid "Name"
|
2978 |
msgstr ""
|
2979 |
|
2980 |
+
#: bp-groups/bp-groups-admin.php:776
|
2981 |
msgctxt "Group member role in group admin"
|
2982 |
msgid "Group Role"
|
2983 |
msgstr ""
|
2984 |
|
2985 |
+
#: bp-groups/bp-groups-admin.php:799
|
2986 |
msgid "Administrator"
|
2987 |
msgstr ""
|
2988 |
|
2989 |
+
#: bp-groups/bp-groups-admin.php:800
|
2990 |
msgid "Moderator"
|
2991 |
msgstr ""
|
2992 |
|
2993 |
+
#: bp-groups/bp-groups-admin.php:801
|
2994 |
msgid "Member"
|
2995 |
msgstr ""
|
2996 |
|
2997 |
+
#: bp-groups/bp-groups-admin.php:802
|
2998 |
msgid "Banned"
|
2999 |
msgstr ""
|
3000 |
|
3001 |
+
#: bp-groups/bp-groups-admin.php:803
|
3002 |
msgid "Remove From Group"
|
3003 |
msgstr ""
|
3004 |
|
3005 |
+
#: bp-groups/bp-groups-admin.php:824
|
3006 |
msgid "No members of this type"
|
3007 |
msgstr ""
|
3008 |
|
3009 |
+
#: bp-groups/bp-groups-admin.php:849 bp-groups/bp-groups-adminbar.php:102
|
3010 |
#: bp-groups/bp-groups-buddybar.php:58
|
3011 |
#: bp-templates/bp-legacy/buddypress/groups/single/admin.php:360
|
3012 |
#: bp-themes/bp-default/groups/single/admin.php:360
|
3014 |
msgid "Delete Group"
|
3015 |
msgstr ""
|
3016 |
|
3017 |
+
#: bp-groups/bp-groups-admin.php:853
|
3018 |
#: bp-templates/bp-legacy/buddypress/groups/single/admin.php:32
|
3019 |
#: bp-templates/bp-legacy/buddypress/groups/single/admin.php:117
|
3020 |
#: bp-templates/bp-legacy/buddypress/groups/single/forum/edit.php:58
|
3035 |
|
3036 |
#. translators: 1: user_login, 2: user_email
|
3037 |
|
3038 |
+
#: bp-groups/bp-groups-admin.php:906
|
3039 |
msgid "%1$s (%2$s)"
|
3040 |
msgstr ""
|
3041 |
|
3042 |
+
#: bp-groups/bp-groups-admin.php:1075
|
3043 |
msgid "No groups found."
|
3044 |
msgstr ""
|
3045 |
|
3046 |
+
#: bp-groups/bp-groups-admin.php:1139
|
3047 |
msgid "Public <span class=\"count\">(%s)</span>"
|
3048 |
msgstr ""
|
3049 |
|
3050 |
+
#: bp-groups/bp-groups-admin.php:1140
|
3051 |
msgid "Private <span class=\"count\">(%s)</span>"
|
3052 |
msgstr ""
|
3053 |
|
3054 |
+
#: bp-groups/bp-groups-admin.php:1141
|
3055 |
msgid "Hidden <span class=\"count\">(%s)</span>"
|
3056 |
msgstr ""
|
3057 |
|
3058 |
+
#: bp-groups/bp-groups-admin.php:1170
|
3059 |
msgctxt "Groups admin Group Name column header"
|
3060 |
msgid "Name"
|
3061 |
msgstr ""
|
3062 |
|
3063 |
+
#: bp-groups/bp-groups-admin.php:1171
|
3064 |
msgctxt "Groups admin Group Description column header"
|
3065 |
msgid "Description"
|
3066 |
msgstr ""
|
3067 |
|
3068 |
+
#: bp-groups/bp-groups-admin.php:1172
|
3069 |
msgctxt "Groups admin Privacy Status column header"
|
3070 |
msgid "Status"
|
3071 |
msgstr ""
|
3072 |
|
3073 |
+
#: bp-groups/bp-groups-admin.php:1173
|
3074 |
msgctxt "Groups admin Members column header"
|
3075 |
msgid "# Members"
|
3076 |
msgstr ""
|
3077 |
|
3078 |
+
#: bp-groups/bp-groups-admin.php:1174
|
3079 |
msgctxt "Groups admin Last Active column header"
|
3080 |
msgid "Last Active"
|
3081 |
msgstr ""
|
3260 |
"---------------------\n"
|
3261 |
msgstr ""
|
3262 |
|
3263 |
+
#: bp-groups/bp-groups-notifications.php:128
|
3264 |
msgid "Membership request for group \"%s\" accepted"
|
3265 |
msgstr ""
|
3266 |
|
3267 |
+
#: bp-groups/bp-groups-notifications.php:129
|
3268 |
msgid ""
|
3269 |
"Your membership request for the group \"%1$s\" has been accepted.\n"
|
3270 |
"\n"
|
3273 |
"---------------------\n"
|
3274 |
msgstr ""
|
3275 |
|
3276 |
+
#: bp-groups/bp-groups-notifications.php:138
|
3277 |
msgid "Membership request for group \"%s\" rejected"
|
3278 |
msgstr ""
|
3279 |
|
3280 |
+
#: bp-groups/bp-groups-notifications.php:139
|
3281 |
msgid ""
|
3282 |
"Your membership request for the group \"%1$s\" has been rejected.\n"
|
3283 |
"\n"
|
3286 |
"---------------------\n"
|
3287 |
msgstr ""
|
3288 |
|
3289 |
+
#: bp-groups/bp-groups-notifications.php:166
|
3290 |
msgid "an administrator"
|
3291 |
msgstr ""
|
3292 |
|
3293 |
+
#: bp-groups/bp-groups-notifications.php:169
|
3294 |
msgid "a moderator"
|
3295 |
msgstr ""
|
3296 |
|
3297 |
+
#: bp-groups/bp-groups-notifications.php:187
|
3298 |
msgid "You have been promoted in the group: \"%s\""
|
3299 |
msgstr ""
|
3300 |
|
3301 |
+
#: bp-groups/bp-groups-notifications.php:188
|
3302 |
msgid ""
|
3303 |
"You have been promoted to %1$s for the group: \"%2$s\".\n"
|
3304 |
"\n"
|
3307 |
"---------------------\n"
|
3308 |
msgstr ""
|
3309 |
|
3310 |
+
#: bp-groups/bp-groups-notifications.php:238
|
3311 |
msgid "You have an invitation to the group: \"%s\""
|
3312 |
msgstr ""
|
3313 |
|
3314 |
+
#: bp-groups/bp-groups-notifications.php:240
|
3315 |
msgid ""
|
3316 |
"One of your friends %1$s has invited you to the group: \"%2$s\".\n"
|
3317 |
"\n"
|
bp-loader.php
CHANGED
@@ -16,7 +16,7 @@
|
|
16 |
* Description: Social networking in a box. Build a social network for your company, school, sports team or niche community all based on the power and flexibility of WordPress.
|
17 |
* Author: The BuddyPress Community
|
18 |
* Author URI: http://buddypress.org/community/members/
|
19 |
-
* Version: 1.7
|
20 |
* Text Domain: buddypress
|
21 |
* Domain Path: /bp-languages/
|
22 |
* License: GPLv2 or later (license.txt)
|
@@ -278,7 +278,7 @@ class BuddyPress {
|
|
278 |
|
279 |
/** Versions **********************************************************/
|
280 |
|
281 |
-
$this->version = '1.7';
|
282 |
$this->db_version = 6080;
|
283 |
|
284 |
/** Loading ***********************************************************/
|
16 |
* Description: Social networking in a box. Build a social network for your company, school, sports team or niche community all based on the power and flexibility of WordPress.
|
17 |
* Author: The BuddyPress Community
|
18 |
* Author URI: http://buddypress.org/community/members/
|
19 |
+
* Version: 1.7.1
|
20 |
* Text Domain: buddypress
|
21 |
* Domain Path: /bp-languages/
|
22 |
* License: GPLv2 or later (license.txt)
|
278 |
|
279 |
/** Versions **********************************************************/
|
280 |
|
281 |
+
$this->version = '1.7.1';
|
282 |
$this->db_version = 6080;
|
283 |
|
284 |
/** Loading ***********************************************************/
|
bp-messages/bp-messages-notifications.php
CHANGED
@@ -61,7 +61,10 @@ To view and read your messages please log in and visit: %4$s
|
|
61 |
---------------------
|
62 |
', 'buddypress' ), $sender_name, $subject, $content, $message_link );
|
63 |
|
64 |
-
|
|
|
|
|
|
|
65 |
|
66 |
// Send the message
|
67 |
$email_to = apply_filters( 'messages_notification_new_message_to', $email_to );
|
61 |
---------------------
|
62 |
', 'buddypress' ), $sender_name, $subject, $content, $message_link );
|
63 |
|
64 |
+
// Only show the disable notifications line if the settings component is enabled
|
65 |
+
if ( bp_is_active( 'settings' ) ) {
|
66 |
+
$email_content .= sprintf( __( 'To disable these notifications please log in and go to: %s', 'buddypress' ), $settings_link );
|
67 |
+
}
|
68 |
|
69 |
// Send the message
|
70 |
$email_to = apply_filters( 'messages_notification_new_message_to', $email_to );
|
bp-templates/bp-legacy/buddypress/activity/entry.php
CHANGED
@@ -77,9 +77,9 @@
|
|
77 |
|
78 |
<?php do_action( 'bp_activity_entry_meta' ); ?>
|
79 |
|
80 |
-
|
81 |
|
82 |
-
|
83 |
|
84 |
</div>
|
85 |
|
77 |
|
78 |
<?php do_action( 'bp_activity_entry_meta' ); ?>
|
79 |
|
80 |
+
<?php endif; ?>
|
81 |
|
82 |
+
</div>
|
83 |
|
84 |
</div>
|
85 |
|
bp-themes/bp-default/_inc/global.js
CHANGED
@@ -887,7 +887,7 @@ jq(document).ready( function() {
|
|
887 |
});
|
888 |
|
889 |
/* Add / Remove friendship buttons */
|
890 |
-
jq(
|
891 |
jq(this).parent().addClass('loading');
|
892 |
var fid = jq(this).attr('id');
|
893 |
fid = fid.split('-');
|
@@ -937,7 +937,7 @@ jq(document).ready( function() {
|
|
937 |
|
938 |
/** Group Join / Leave Buttons **************************************/
|
939 |
|
940 |
-
jq(
|
941 |
var gid = jq(this).parent().attr('id');
|
942 |
gid = gid.split('-');
|
943 |
gid = gid[1];
|
887 |
});
|
888 |
|
889 |
/* Add / Remove friendship buttons */
|
890 |
+
jq('#members-dir-list').on('click', '.friendship-button a', function() {
|
891 |
jq(this).parent().addClass('loading');
|
892 |
var fid = jq(this).attr('id');
|
893 |
fid = fid.split('-');
|
937 |
|
938 |
/** Group Join / Leave Buttons **************************************/
|
939 |
|
940 |
+
jq('#groups-dir-list').on('click', '.group-button a', function() {
|
941 |
var gid = jq(this).parent().attr('id');
|
942 |
gid = gid.split('-');
|
943 |
gid = gid[1];
|
bp-themes/bp-default/rtl.css
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
* Theme Name: BuddyPress Default
|
3 |
* Theme URI: http://buddypress.org/extend/themes/
|
4 |
* Description: Clean and stylish, BuddyPress Default lets you build a social network straight out of the box. Make it yours with a custom menu, header image, and background. Along with five widgetized areas (one in the sidebar, four in the footer), BP-Default supports featured images (as custom header images on posts and pages) and is furnished with an optional one-column page template that removes the sidebar, and a stylesheet for the admin Visual Editor.
|
5 |
-
* Version: 1.7
|
6 |
* Author: the BuddyPress team
|
7 |
* Author URI: http://buddypress.org
|
8 |
* License: GNU General Public License
|
2 |
* Theme Name: BuddyPress Default
|
3 |
* Theme URI: http://buddypress.org/extend/themes/
|
4 |
* Description: Clean and stylish, BuddyPress Default lets you build a social network straight out of the box. Make it yours with a custom menu, header image, and background. Along with five widgetized areas (one in the sidebar, four in the footer), BP-Default supports featured images (as custom header images on posts and pages) and is furnished with an optional one-column page template that removes the sidebar, and a stylesheet for the admin Visual Editor.
|
5 |
+
* Version: 1.7.1
|
6 |
* Author: the BuddyPress team
|
7 |
* Author URI: http://buddypress.org
|
8 |
* License: GNU General Public License
|
bp-themes/bp-default/style.css
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
* Theme Name: BuddyPress Default
|
3 |
* Theme URI: http://buddypress.org/extend/themes/
|
4 |
* Description: Clean and stylish, BuddyPress Default lets you build a social network straight out of the box. Make it yours with a custom menu, header image, and background. Along with five widgetized areas (one in the sidebar, four in the footer), BP-Default supports featured images (as custom header images on posts and pages) and is furnished with an optional one-column page template that removes the sidebar, and a stylesheet for the admin Visual Editor.
|
5 |
-
* Version: 1.7
|
6 |
* Author: the BuddyPress team
|
7 |
* Author URI: http://buddypress.org
|
8 |
* License: GNU General Public License
|
2 |
* Theme Name: BuddyPress Default
|
3 |
* Theme URI: http://buddypress.org/extend/themes/
|
4 |
* Description: Clean and stylish, BuddyPress Default lets you build a social network straight out of the box. Make it yours with a custom menu, header image, and background. Along with five widgetized areas (one in the sidebar, four in the footer), BP-Default supports featured images (as custom header images on posts and pages) and is furnished with an optional one-column page template that removes the sidebar, and a stylesheet for the admin Visual Editor.
|
5 |
+
* Version: 1.7.1
|
6 |
* Author: the BuddyPress team
|
7 |
* Author URI: http://buddypress.org
|
8 |
* License: GNU General Public License
|
bp-xprofile/admin/js/admin.js
CHANGED
@@ -207,7 +207,7 @@ jQuery( document ).ready( function() {
|
|
207 |
ui.draggable.hide( 'slow', function() {
|
208 |
|
209 |
// Select new tab as current
|
210 |
-
$tabs.tabs( '
|
211 |
|
212 |
// Show new placement
|
213 |
jQuery(this).appendTo($list).show( 'slow' ).animate( {opacity: "1"}, 500 );
|
207 |
ui.draggable.hide( 'slow', function() {
|
208 |
|
209 |
// Select new tab as current
|
210 |
+
$tabs.tabs( 'option', 'active', $tab_items.index( $item ) );
|
211 |
|
212 |
// Show new placement
|
213 |
jQuery(this).appendTo($list).show( 'slow' ).animate( {opacity: "1"}, 500 );
|
bp-xprofile/admin/js/admin.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
function add_option(g){var j=document.getElementById(g+"_more");var l=document.getElementById(g+"_option_number").value;var a=document.createElement("p");var h=document.createElement("input");var k=document.createElement("span");var e=document.createTextNode("\u00A0\u039E\u00A0");var b=document.createElement("input");var f=document.createElement("span");var d=document.createTextNode(" Default Value ");a.setAttribute("id",g+"_div"+l);a.setAttribute("class","sortable");h.setAttribute("type","text");h.setAttribute("name",g+"_option["+l+"]");h.setAttribute("id",g+"_option"+l);k.appendChild(e);if(g=="checkbox"||g=="multiselectbox"){b.setAttribute("type","checkbox");b.setAttribute("name","isDefault_"+g+"_option["+l+"]")}else{b.setAttribute("type","radio");b.setAttribute("name","isDefault_"+g+"_option")}b.setAttribute("value",l);f.appendChild(d);var c=document.createElement("a");var i=document.createTextNode("[x]");c.setAttribute("href","javascript:hide('"+g+"_div"+l+"')");c.setAttribute("class","delete");c.appendChild(i);a.appendChild(k);a.appendChild(h);a.appendChild(document.createTextNode(" "));a.appendChild(b);a.appendChild(f);a.appendChild(c);j.appendChild(a);enableSortableFieldOptions(g);l++;document.getElementById(g+"_option_number").value=l}function show_options(a){document.getElementById("radio").style.display="none";document.getElementById("selectbox").style.display="none";document.getElementById("multiselectbox").style.display="none";document.getElementById("checkbox").style.display="none";if(a=="radio"){document.getElementById("radio").style.display=""}if(a=="selectbox"){document.getElementById("selectbox").style.display=""}if(a=="multiselectbox"){document.getElementById("multiselectbox").style.display=""}if(a=="checkbox"){document.getElementById("checkbox").style.display=""}}function hide(a){if(!document.getElementById(a)){return false}document.getElementById(a).style.display="none";document.getElementById(a).value=""}var fixHelper=function(b,a){a.children().each(function(){jQuery(this).width(jQuery(this).width())});return a};function enableSortableFieldOptions(a){if(jQuery("#"+a+" p.sortable").length>1){jQuery(".options-box").sortable({items:"p.sortable",tolerance:"pointer",axis:"y",handle:"span"});jQuery(".sortable span").css("cursor","move")}}function destroySortableFieldOptions(){jQuery(".options-box").sortable("destroy");jQuery(".sortable span").css("cursor","default")}jQuery(document).ready(function(){jQuery("a.ajax-option-delete").on("click",function(){var d=this.id.split("-");d=d[1];jQuery.post(ajaxurl,{action:"xprofile_delete_option",cookie:encodeURIComponent(document.cookie),_wpnonce:jQuery("input#_wpnonce").val(),option_id:d},function(e){})});jQuery('[id^="sort_order_"]').change(function(){if(jQuery(this).val()!="custom"){destroySortableFieldOptions()}else{enableSortableFieldOptions(jQuery("#fieldtype :selected").val())}});jQuery("ul#field-group-tabs").show();jQuery("ul#field-group-tabs").sortable({cursor:"move",axis:"x",opacity:0.6,items:"li",tolerance:"pointer",update:function(){jQuery.post(ajaxurl,{action:"xprofile_reorder_groups",cookie:encodeURIComponent(document.cookie),_wpnonce_reorder_groups:jQuery("input#_wpnonce_reorder_groups").val(),group_order:jQuery(this).sortable("serialize")},function(d){})}}).disableSelection();jQuery("fieldset.field-group").sortable({cursor:"move",opacity:0.3,items:"fieldset",tolerance:"pointer",update:function(){jQuery.post(ajaxurl,{action:"xprofile_reorder_fields",cookie:encodeURIComponent(document.cookie),_wpnonce_reorder_fields:jQuery("input#_wpnonce_reorder_fields").val(),field_order:jQuery(this).sortable("serialize"),field_group_id:jQuery(this).attr("id")},function(d){})}}).disableSelection().css("cursor","move");enableSortableFieldOptions(jQuery("#fieldtype :selected").val());var b;var a=jQuery("#tabs").tabs();c(a);function c(d){b=jQuery("ul:first li",d).droppable({accept:".connectedSortable fieldset",hoverClass:"ui-state-hover",activeClass:"ui-state-acceptable",touch:"pointer",tolerance:"pointer",drop:function(g,h){var e=jQuery(this);var f=jQuery(e.find("a").attr("href")).find(".connectedSortable");jQuery(e).removeClass("drop-candidate");h.draggable.hide("slow",function(){d.tabs("
|
1 |
+
function add_option(g){var j=document.getElementById(g+"_more");var l=document.getElementById(g+"_option_number").value;var a=document.createElement("p");var h=document.createElement("input");var k=document.createElement("span");var e=document.createTextNode("\u00A0\u039E\u00A0");var b=document.createElement("input");var f=document.createElement("span");var d=document.createTextNode(" Default Value ");a.setAttribute("id",g+"_div"+l);a.setAttribute("class","sortable");h.setAttribute("type","text");h.setAttribute("name",g+"_option["+l+"]");h.setAttribute("id",g+"_option"+l);k.appendChild(e);if(g=="checkbox"||g=="multiselectbox"){b.setAttribute("type","checkbox");b.setAttribute("name","isDefault_"+g+"_option["+l+"]")}else{b.setAttribute("type","radio");b.setAttribute("name","isDefault_"+g+"_option")}b.setAttribute("value",l);f.appendChild(d);var c=document.createElement("a");var i=document.createTextNode("[x]");c.setAttribute("href","javascript:hide('"+g+"_div"+l+"')");c.setAttribute("class","delete");c.appendChild(i);a.appendChild(k);a.appendChild(h);a.appendChild(document.createTextNode(" "));a.appendChild(b);a.appendChild(f);a.appendChild(c);j.appendChild(a);enableSortableFieldOptions(g);l++;document.getElementById(g+"_option_number").value=l}function show_options(a){document.getElementById("radio").style.display="none";document.getElementById("selectbox").style.display="none";document.getElementById("multiselectbox").style.display="none";document.getElementById("checkbox").style.display="none";if(a=="radio"){document.getElementById("radio").style.display=""}if(a=="selectbox"){document.getElementById("selectbox").style.display=""}if(a=="multiselectbox"){document.getElementById("multiselectbox").style.display=""}if(a=="checkbox"){document.getElementById("checkbox").style.display=""}}function hide(a){if(!document.getElementById(a)){return false}document.getElementById(a).style.display="none";document.getElementById(a).value=""}var fixHelper=function(b,a){a.children().each(function(){jQuery(this).width(jQuery(this).width())});return a};function enableSortableFieldOptions(a){if(jQuery("#"+a+" p.sortable").length>1){jQuery(".options-box").sortable({items:"p.sortable",tolerance:"pointer",axis:"y",handle:"span"});jQuery(".sortable span").css("cursor","move")}}function destroySortableFieldOptions(){jQuery(".options-box").sortable("destroy");jQuery(".sortable span").css("cursor","default")}jQuery(document).ready(function(){jQuery("a.ajax-option-delete").on("click",function(){var d=this.id.split("-");d=d[1];jQuery.post(ajaxurl,{action:"xprofile_delete_option",cookie:encodeURIComponent(document.cookie),_wpnonce:jQuery("input#_wpnonce").val(),option_id:d},function(e){})});jQuery('[id^="sort_order_"]').change(function(){if(jQuery(this).val()!="custom"){destroySortableFieldOptions()}else{enableSortableFieldOptions(jQuery("#fieldtype :selected").val())}});jQuery("ul#field-group-tabs").show();jQuery("ul#field-group-tabs").sortable({cursor:"move",axis:"x",opacity:0.6,items:"li",tolerance:"pointer",update:function(){jQuery.post(ajaxurl,{action:"xprofile_reorder_groups",cookie:encodeURIComponent(document.cookie),_wpnonce_reorder_groups:jQuery("input#_wpnonce_reorder_groups").val(),group_order:jQuery(this).sortable("serialize")},function(d){})}}).disableSelection();jQuery("fieldset.field-group").sortable({cursor:"move",opacity:0.3,items:"fieldset",tolerance:"pointer",update:function(){jQuery.post(ajaxurl,{action:"xprofile_reorder_fields",cookie:encodeURIComponent(document.cookie),_wpnonce_reorder_fields:jQuery("input#_wpnonce_reorder_fields").val(),field_order:jQuery(this).sortable("serialize"),field_group_id:jQuery(this).attr("id")},function(d){})}}).disableSelection().css("cursor","move");enableSortableFieldOptions(jQuery("#fieldtype :selected").val());var b;var a=jQuery("#tabs").tabs();c(a);function c(d){b=jQuery("ul:first li",d).droppable({accept:".connectedSortable fieldset",hoverClass:"ui-state-hover",activeClass:"ui-state-acceptable",touch:"pointer",tolerance:"pointer",drop:function(g,h){var e=jQuery(this);var f=jQuery(e.find("a").attr("href")).find(".connectedSortable");jQuery(e).removeClass("drop-candidate");h.draggable.hide("slow",function(){d.tabs("option","active",b.index(e));jQuery(this).appendTo(f).show("slow").animate({opacity:"1"},500);f=jQuery(e.find("a").attr("href")).find(".connectedSortable");jQuery(f).find("p.nofields").hide("slow");jQuery.post(ajaxurl,{action:"xprofile_reorder_fields",cookie:encodeURIComponent(document.cookie),_wpnonce_reorder_fields:jQuery("input#_wpnonce_reorder_fields").val(),field_order:jQuery(f).sortable("serialize"),field_group_id:jQuery(f).attr("id")},function(i){})})},over:function(e,f){jQuery(this).addClass("drop-candidate")},out:function(e,f){jQuery(this).removeClass("drop-candidate")}})}});
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: johnjamesjacoby, DJPaul, boonebgorges, r-a-y
|
|
3 |
Tags: social networking, activity, profiles, messaging, friends, groups, forums, notifications, settings, twitter, facebook, social, community, networks, networking, cms
|
4 |
Requires at least: 3.5
|
5 |
Tested up to: 3.6
|
6 |
-
Stable tag: 1.7
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
@@ -45,7 +45,7 @@ BuddyPress includes full support for discussion forums. Each group created on yo
|
|
45 |
|
46 |
= Can I use my existing WordPress theme? =
|
47 |
|
48 |
-
Of course! BuddyPress
|
49 |
|
50 |
= Will this work on WordPress multisite? =
|
51 |
|
@@ -83,6 +83,9 @@ BuddyPress is available in more than 20 languages. For more information, check o
|
|
83 |
|
84 |
== Upgrade Notice ==
|
85 |
|
|
|
|
|
|
|
86 |
= 1.7 =
|
87 |
See: http://codex.buddypress.org/releases/version-1-7/
|
88 |
|
3 |
Tags: social networking, activity, profiles, messaging, friends, groups, forums, notifications, settings, twitter, facebook, social, community, networks, networking, cms
|
4 |
Requires at least: 3.5
|
5 |
Tested up to: 3.6
|
6 |
+
Stable tag: 1.7.1
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
45 |
|
46 |
= Can I use my existing WordPress theme? =
|
47 |
|
48 |
+
Of course! BuddyPress works out-of-the-box with nearly every WordPress theme.
|
49 |
|
50 |
= Will this work on WordPress multisite? =
|
51 |
|
83 |
|
84 |
== Upgrade Notice ==
|
85 |
|
86 |
+
= 1.7.1 =
|
87 |
+
See: http://codex.buddypress.org/releases/version-1-7-1/
|
88 |
+
|
89 |
= 1.7 =
|
90 |
See: http://codex.buddypress.org/releases/version-1-7/
|
91 |
|