Version Description
= 1.7.2 = See: http://codex.buddypress.org/releases/version-1-7-2/
= 1.7.1 = See: http://codex.buddypress.org/releases/version-1-7-1/
= 1.7 = See: http://codex.buddypress.org/releases/version-1-7/
= 1.6.5 = See: http://codex.buddypress.org/releases/version-1-6-5/
= 1.6.4 = See: http://codex.buddypress.org/releases/version-1-6-4/
= 1.6.3 = See: http://codex.buddypress.org/releases/version-1-6-3/
= 1.6.2 = Compatibility with WordPress 3.5
= 1.6.1 = Fixes 4 bugs
= 1.6 = See: http://codex.buddypress.org/releases/version-1-6/
= 1.5 = See: http://codex.buddypress.org/releases/version-1-5/
= 1.2.9 = Compatibility with WordPress 3.2
= 1.2.8 = Compatibility with WordPress 3.1
= 1.2.7 = Fixes over 10 bugs.
Download this release
Release Info
Developer | boonebgorges |
Plugin | BuddyPress |
Version | 1.8-beta2 |
Comparing to | |
See all releases |
Code changes from version 1.8-beta1 to 1.8-beta2
- bp-activity/bp-activity-actions.php +2 -2
- bp-activity/bp-activity-admin.php +1 -1
- bp-activity/bp-activity-classes.php +2 -2
- bp-activity/bp-activity-filters.php +3 -5
- bp-activity/bp-activity-functions.php +4 -2
- bp-activity/bp-activity-template.php +1 -1
- bp-blogs/bp-blogs-activity.php +1 -2
- bp-blogs/bp-blogs-cache.php +1 -1
- bp-blogs/bp-blogs-functions.php +1 -1
- bp-blogs/bp-blogs-template.php +2 -4
- bp-core/admin/bp-core-components.php +0 -1
- bp-core/admin/bp-core-functions.php +0 -2
- bp-core/admin/bp-core-slugs.php +0 -1
- bp-core/bp-core-admin.php +54 -51
- bp-core/bp-core-adminbar.php +0 -1
- bp-core/bp-core-avatars.php +3 -3
- bp-core/bp-core-buddybar.php +4 -4
- bp-core/bp-core-caps.php +0 -2
- bp-core/bp-core-catchuri.php +2 -2
- bp-core/bp-core-classes.php +2 -2
- bp-core/bp-core-component.php +1 -1
- bp-core/bp-core-filters.php +2 -2
- bp-core/bp-core-functions.php +20 -21
- bp-core/bp-core-options.php +17 -17
- bp-core/bp-core-template.php +6 -6
- bp-core/bp-core-theme-compatibility.php +1 -1
- bp-core/bp-core-update.php +1 -3
- bp-core/bp-core-wpabstraction.php +8 -8
- bp-core/deprecated/1.5.php +4 -4
- bp-core/deprecated/1.6.php +1 -1
- bp-forums/bp-forums-bbpress-sa.php +3 -3
- bp-forums/bp-forums-functions.php +2 -2
- bp-forums/bp-forums-template.php +2 -2
- bp-friends/bp-friends-activity.php +2 -2
- bp-friends/bp-friends-template.php +1 -1
- bp-groups/bp-groups-admin.php +2 -2
- bp-groups/bp-groups-buddybar.php +0 -1
- bp-groups/bp-groups-classes.php +12 -6
- bp-groups/bp-groups-forums.php +1 -1
- bp-groups/bp-groups-functions.php +4 -4
- bp-groups/bp-groups-template.php +13 -13
- bp-languages/buddypress.pot +170 -170
- bp-loader.php +5 -5
- bp-members/bp-members-actions.php +2 -3
- bp-members/bp-members-adminbar.php +20 -14
- bp-members/bp-members-functions.php +27 -33
- bp-members/bp-members-template.php +1 -1
- bp-messages/bp-messages-functions.php +2 -2
- bp-messages/bp-messages-template.php +1 -1
- bp-settings/bp-settings-actions.php +0 -7
- bp-settings/bp-settings-screens.php +0 -8
- bp-templates/bp-legacy/buddypress-functions.php +0 -1
- bp-templates/bp-legacy/buddypress/members/single/member-header.php +4 -1
- bp-templates/bp-legacy/css/buddypress-rtl.css +120 -126
- bp-templates/bp-legacy/css/buddypress.css +12 -7
- bp-themes/bp-default/_inc/ajax.php +0 -1
- bp-themes/bp-default/functions.php +1 -1
- bp-themes/bp-default/groups/single/home.php +4 -5
- bp-themes/bp-default/members/single/member-header.php +4 -1
- bp-themes/bp-default/rtl.css +1 -1
- bp-themes/bp-default/style.css +1 -1
- bp-xprofile/bp-xprofile-activity.php +2 -2
- bp-xprofile/bp-xprofile-functions.php +15 -15
bp-activity/bp-activity-actions.php
CHANGED
@@ -499,7 +499,7 @@ function bp_activity_action_friends_feed() {
|
|
499 |
'title' => sprintf( __( '%1$s | %2$s | Friends Activity', 'buddypress' ), bp_get_site_name(), bp_get_displayed_user_fullname() ),
|
500 |
|
501 |
'link' => trailingslashit( bp_displayed_user_domain() . bp_get_activity_slug() . '/' . bp_get_friends_slug() ),
|
502 |
-
'description' => sprintf( __( "Activity feed for %s' friends.", 'buddypress' ), bp_get_displayed_user_fullname() ),
|
503 |
'activity_args' => 'scope=friends'
|
504 |
) );
|
505 |
}
|
@@ -608,7 +608,7 @@ function bp_activity_action_favorites_feed() {
|
|
608 |
'title' => sprintf( __( '%1$s | %2$s | Favorites', 'buddypress' ), bp_get_site_name(), bp_get_displayed_user_fullname() ),
|
609 |
|
610 |
'link' => bp_displayed_user_domain() . bp_get_activity_slug() . '/favorites/',
|
611 |
-
'description' => sprintf( __( "Activity feed of %s' favorites.", 'buddypress' ), bp_get_displayed_user_fullname() ),
|
612 |
'activity_args' => 'include=' . $fav_ids
|
613 |
) );
|
614 |
}
|
499 |
'title' => sprintf( __( '%1$s | %2$s | Friends Activity', 'buddypress' ), bp_get_site_name(), bp_get_displayed_user_fullname() ),
|
500 |
|
501 |
'link' => trailingslashit( bp_displayed_user_domain() . bp_get_activity_slug() . '/' . bp_get_friends_slug() ),
|
502 |
+
'description' => sprintf( __( "Activity feed for %s's friends.", 'buddypress' ), bp_get_displayed_user_fullname() ),
|
503 |
'activity_args' => 'scope=friends'
|
504 |
) );
|
505 |
}
|
608 |
'title' => sprintf( __( '%1$s | %2$s | Favorites', 'buddypress' ), bp_get_site_name(), bp_get_displayed_user_fullname() ),
|
609 |
|
610 |
'link' => bp_displayed_user_domain() . bp_get_activity_slug() . '/favorites/',
|
611 |
+
'description' => sprintf( __( "Activity feed of %s's favorites.", 'buddypress' ), bp_get_displayed_user_fullname() ),
|
612 |
'activity_args' => 'include=' . $fav_ids
|
613 |
) );
|
614 |
}
|
bp-activity/bp-activity-admin.php
CHANGED
@@ -1297,7 +1297,7 @@ class BP_Activity_List_Table extends WP_List_Table {
|
|
1297 |
$actions = apply_filters( 'bp_activity_admin_comment_row_actions', array_filter( $actions ), $item );
|
1298 |
|
1299 |
/* translators: 2: activity admin ui date/time */
|
1300 |
-
printf( __( 'Submitted on <a href="%1$s">%2$s at %3$s</a>', 'buddypress' ), bp_get_root_domain() . '/' . bp_get_activity_root_slug() . '/p/' . $item['id'] . '/',
|
1301 |
|
1302 |
// End timestamp
|
1303 |
echo '</div>';
|
1297 |
$actions = apply_filters( 'bp_activity_admin_comment_row_actions', array_filter( $actions ), $item );
|
1298 |
|
1299 |
/* translators: 2: activity admin ui date/time */
|
1300 |
+
printf( __( 'Submitted on <a href="%1$s">%2$s at %3$s</a>', 'buddypress' ), bp_get_root_domain() . '/' . bp_get_activity_root_slug() . '/p/' . $item['id'] . '/', get_date_from_gmt( $item['date_recorded'], get_option( 'date_format' ) ), get_date_from_gmt( $item['date_recorded'], get_option( 'time_format' ) ) );
|
1301 |
|
1302 |
// End timestamp
|
1303 |
echo '</div>';
|
bp-activity/bp-activity-classes.php
CHANGED
@@ -303,7 +303,7 @@ class BP_Activity_Activity {
|
|
303 |
* WP_Query, we have to alter the return value (stripping the leading
|
304 |
* AND keyword from the 'where' clause).
|
305 |
*
|
306 |
-
* @since 1.8
|
307 |
*
|
308 |
* @param array $meta_query An array of meta_query filters. See the
|
309 |
* documentation for WP_Meta_Query for details.
|
@@ -784,7 +784,7 @@ class BP_Activity_Feed {
|
|
784 |
/**
|
785 |
* Constructor.
|
786 |
*
|
787 |
-
* @param $args
|
788 |
*/
|
789 |
public function __construct( $args = array() ) {
|
790 |
// If feeds are disabled, stop now!
|
303 |
* WP_Query, we have to alter the return value (stripping the leading
|
304 |
* AND keyword from the 'where' clause).
|
305 |
*
|
306 |
+
* @since BuddyPress (1.8)
|
307 |
*
|
308 |
* @param array $meta_query An array of meta_query filters. See the
|
309 |
* documentation for WP_Meta_Query for details.
|
784 |
/**
|
785 |
* Constructor.
|
786 |
*
|
787 |
+
* @param array $args Optional
|
788 |
*/
|
789 |
public function __construct( $args = array() ) {
|
790 |
// If feeds are disabled, stop now!
|
bp-activity/bp-activity-filters.php
CHANGED
@@ -125,7 +125,6 @@ function bp_activity_get_moderated_activity_types() {
|
|
125 |
*
|
126 |
* @since BuddyPress (1.6)
|
127 |
* @param BP_Activity_Activity $activity
|
128 |
-
* @return If activity type is not an update or comment
|
129 |
*/
|
130 |
function bp_activity_check_moderation_keys( $activity ) {
|
131 |
|
@@ -144,7 +143,6 @@ function bp_activity_check_moderation_keys( $activity ) {
|
|
144 |
*
|
145 |
* @since BuddyPress (1.6)
|
146 |
* @param BP_Activity_Activity $activity
|
147 |
-
* @return If activity type is not an update or comment
|
148 |
*/
|
149 |
function bp_activity_check_blacklist_keys( $activity ) {
|
150 |
|
@@ -237,7 +235,7 @@ function bp_activity_at_name_filter( $content, $activity_id = 0 ) {
|
|
237 |
*
|
238 |
* @since BuddyPress (1.5)
|
239 |
*
|
240 |
-
* @param
|
241 |
*
|
242 |
* @uses bp_activity_find_mentions()
|
243 |
*/
|
@@ -275,7 +273,7 @@ function bp_activity_at_name_filter_updates( $activity ) {
|
|
275 |
*
|
276 |
* @since BuddyPress (1.7)
|
277 |
*
|
278 |
-
* @param
|
279 |
*
|
280 |
* @uses bp_activity_at_message_notification()
|
281 |
* @uses bp_activity_update_mention_count_for_user()
|
@@ -341,7 +339,7 @@ function bp_activity_make_nofollow_filter( $text ) {
|
|
341 |
*
|
342 |
* @since BuddyPress (1.5)
|
343 |
*
|
344 |
-
* @param $text The original activity entry text
|
345 |
*
|
346 |
* @uses bp_is_single_activity()
|
347 |
* @uses apply_filters() To call the 'bp_activity_excerpt_append_text' hook
|
125 |
*
|
126 |
* @since BuddyPress (1.6)
|
127 |
* @param BP_Activity_Activity $activity
|
|
|
128 |
*/
|
129 |
function bp_activity_check_moderation_keys( $activity ) {
|
130 |
|
143 |
*
|
144 |
* @since BuddyPress (1.6)
|
145 |
* @param BP_Activity_Activity $activity
|
|
|
146 |
*/
|
147 |
function bp_activity_check_blacklist_keys( $activity ) {
|
148 |
|
235 |
*
|
236 |
* @since BuddyPress (1.5)
|
237 |
*
|
238 |
+
* @param BP_Activity_Activity $activity
|
239 |
*
|
240 |
* @uses bp_activity_find_mentions()
|
241 |
*/
|
273 |
*
|
274 |
* @since BuddyPress (1.7)
|
275 |
*
|
276 |
+
* @param BP_Activity_Activity $activity The BP_Activity_Activity object
|
277 |
*
|
278 |
* @uses bp_activity_at_message_notification()
|
279 |
* @uses bp_activity_update_mention_count_for_user()
|
339 |
*
|
340 |
* @since BuddyPress (1.5)
|
341 |
*
|
342 |
+
* @param string $text The original activity entry text
|
343 |
*
|
344 |
* @uses bp_is_single_activity()
|
345 |
* @uses apply_filters() To call the 'bp_activity_excerpt_append_text' hook
|
bp-activity/bp-activity-functions.php
CHANGED
@@ -1525,13 +1525,15 @@ function bp_activity_hide_user_activity( $user_id ) {
|
|
1525 |
*
|
1526 |
* @param string $content The content to work with
|
1527 |
* @param string $link Optional. The URL that the image should link to
|
|
|
|
|
1528 |
*
|
1529 |
* @uses esc_attr()
|
1530 |
* @uses apply_filters() To call the 'bp_activity_thumbnail_content_images' hook
|
1531 |
*
|
1532 |
* @return string $content The content with images stripped and replaced with a single thumb.
|
1533 |
*/
|
1534 |
-
function bp_activity_thumbnail_content_images( $content, $link = false ) {
|
1535 |
|
1536 |
preg_match_all( '/<img[^>]*>/Ui', $content, $matches );
|
1537 |
|
@@ -1570,7 +1572,7 @@ function bp_activity_thumbnail_content_images( $content, $link = false ) {
|
|
1570 |
}
|
1571 |
}
|
1572 |
|
1573 |
-
return apply_filters( 'bp_activity_thumbnail_content_images', $content, $matches );
|
1574 |
}
|
1575 |
|
1576 |
/**
|
1525 |
*
|
1526 |
* @param string $content The content to work with
|
1527 |
* @param string $link Optional. The URL that the image should link to
|
1528 |
+
* @param array $activity_args Optional. The args passed to the activity
|
1529 |
+
* creation function (eg bp_blogs_record_activity())
|
1530 |
*
|
1531 |
* @uses esc_attr()
|
1532 |
* @uses apply_filters() To call the 'bp_activity_thumbnail_content_images' hook
|
1533 |
*
|
1534 |
* @return string $content The content with images stripped and replaced with a single thumb.
|
1535 |
*/
|
1536 |
+
function bp_activity_thumbnail_content_images( $content, $link = false, $args = false ) {
|
1537 |
|
1538 |
preg_match_all( '/<img[^>]*>/Ui', $content, $matches );
|
1539 |
|
1572 |
}
|
1573 |
}
|
1574 |
|
1575 |
+
return apply_filters( 'bp_activity_thumbnail_content_images', $content, $matches, $args );
|
1576 |
}
|
1577 |
|
1578 |
/**
|
bp-activity/bp-activity-template.php
CHANGED
@@ -682,7 +682,7 @@ function bp_activities_no_activity() {
|
|
682 |
* @global string $bp_activity_no_activity
|
683 |
* @uses apply_filters() To call the 'bp_get_activities_no_activity' hook
|
684 |
*
|
685 |
-
* @return
|
686 |
*/
|
687 |
function bp_get_activities_no_activity() {
|
688 |
global $bp_activity_no_activity;
|
682 |
* @global string $bp_activity_no_activity
|
683 |
* @uses apply_filters() To call the 'bp_get_activities_no_activity' hook
|
684 |
*
|
685 |
+
* @return string
|
686 |
*/
|
687 |
function bp_get_activities_no_activity() {
|
688 |
global $bp_activity_no_activity;
|
bp-blogs/bp-blogs-activity.php
CHANGED
@@ -73,7 +73,7 @@ function bp_blogs_record_activity( $args = '' ) {
|
|
73 |
|
74 |
// Remove large images and replace them with just one image thumbnail
|
75 |
if ( !empty( $content ) )
|
76 |
-
$content = bp_activity_thumbnail_content_images( $content, $primary_link );
|
77 |
|
78 |
if ( !empty( $action ) )
|
79 |
$action = apply_filters( 'bp_blogs_record_activity_action', $action );
|
@@ -101,7 +101,6 @@ function bp_blogs_record_activity( $args = '' ) {
|
|
101 |
* @subpackage BlogsActivity
|
102 |
* @global BuddyPress $bp
|
103 |
* @param array $args
|
104 |
-
* @return If activity is not active
|
105 |
*/
|
106 |
function bp_blogs_delete_activity( $args = true ) {
|
107 |
global $bp;
|
73 |
|
74 |
// Remove large images and replace them with just one image thumbnail
|
75 |
if ( !empty( $content ) )
|
76 |
+
$content = bp_activity_thumbnail_content_images( $content, $primary_link, $r );
|
77 |
|
78 |
if ( !empty( $action ) )
|
79 |
$action = apply_filters( 'bp_blogs_record_activity_action', $action );
|
101 |
* @subpackage BlogsActivity
|
102 |
* @global BuddyPress $bp
|
103 |
* @param array $args
|
|
|
104 |
*/
|
105 |
function bp_blogs_delete_activity( $args = true ) {
|
106 |
global $bp;
|
bp-blogs/bp-blogs-cache.php
CHANGED
@@ -33,7 +33,7 @@ function bp_blogs_clear_blog_object_cache( $blog_id, $user_id ) {
|
|
33 |
* @since BuddyPress (1.0)
|
34 |
* @package BuddyPress
|
35 |
* @subpackage BlogsCache
|
36 |
-
* @param
|
37 |
*/
|
38 |
function bp_blogs_format_clear_blog_cache( $recorded_blog_obj ) {
|
39 |
bp_blogs_clear_blog_object_cache( false, $recorded_blog_obj->user_id );
|
33 |
* @since BuddyPress (1.0)
|
34 |
* @package BuddyPress
|
35 |
* @subpackage BlogsCache
|
36 |
+
* @param BP_Blogs_Blog $recorded_blog_obj
|
37 |
*/
|
38 |
function bp_blogs_format_clear_blog_cache( $recorded_blog_obj ) {
|
39 |
bp_blogs_clear_blog_object_cache( false, $recorded_blog_obj->user_id );
|
bp-blogs/bp-blogs-functions.php
CHANGED
@@ -135,7 +135,7 @@ function bp_blogs_is_blog_trackable( $blog_id, $user_id = 0 ) {
|
|
135 |
* @since BuddyPress (1.0)
|
136 |
* @param int $blog_id
|
137 |
* @param int $user_id
|
138 |
-
* @param
|
139 |
* @uses BP_Blogs_Blog
|
140 |
*/
|
141 |
function bp_blogs_record_blog( $blog_id, $user_id, $no_activity = false ) {
|
135 |
* @since BuddyPress (1.0)
|
136 |
* @param int $blog_id
|
137 |
* @param int $user_id
|
138 |
+
* @param bool $no_activity Optional; defaults to false
|
139 |
* @uses BP_Blogs_Blog
|
140 |
*/
|
141 |
function bp_blogs_record_blog( $blog_id, $user_id, $no_activity = false ) {
|
bp-blogs/bp-blogs-template.php
CHANGED
@@ -705,7 +705,7 @@ function bp_blogs_subdomain_base() {
|
|
705 |
* a subdomain installation of WordPress MS
|
706 |
*
|
707 |
* @since BuddyPress (1.6)
|
708 |
-
* @return
|
709 |
*/
|
710 |
function bp_blogs_get_subdomain_base() {
|
711 |
global $current_site;
|
@@ -788,9 +788,7 @@ function bp_blogs_blog_tabs() {
|
|
788 |
</ul>
|
789 |
|
790 |
<?php
|
791 |
-
|
792 |
-
// @todo where does $current_tab come from?
|
793 |
-
do_action( 'bp_blogs_blog_tabs', $current_tab );
|
794 |
}
|
795 |
|
796 |
function bp_directory_blogs_search_form() {
|
705 |
* a subdomain installation of WordPress MS
|
706 |
*
|
707 |
* @since BuddyPress (1.6)
|
708 |
+
* @return string The base URL - eg, 'example.com' for site_url() example.com or www.example.com
|
709 |
*/
|
710 |
function bp_blogs_get_subdomain_base() {
|
711 |
global $current_site;
|
788 |
</ul>
|
789 |
|
790 |
<?php
|
791 |
+
do_action( 'bp_blogs_blog_tabs' );
|
|
|
|
|
792 |
}
|
793 |
|
794 |
function bp_directory_blogs_search_form() {
|
bp-core/admin/bp-core-components.php
CHANGED
@@ -221,7 +221,6 @@ function bp_core_admin_components_options() {
|
|
221 |
*
|
222 |
* @since BuddyPress (1.6)
|
223 |
* @todo Use settings API when it supports saving network settings
|
224 |
-
* @return If not time to save settings
|
225 |
*/
|
226 |
function bp_core_admin_components_settings_handler() {
|
227 |
|
221 |
*
|
222 |
* @since BuddyPress (1.6)
|
223 |
* @todo Use settings API when it supports saving network settings
|
|
|
224 |
*/
|
225 |
function bp_core_admin_components_settings_handler() {
|
226 |
|
bp-core/admin/bp-core-functions.php
CHANGED
@@ -308,8 +308,6 @@ function bp_core_activation_notice() {
|
|
308 |
* @uses wp_safe_redirect() To redirect
|
309 |
* @uses add_query_arg() To help build the URL to redirect to
|
310 |
* @uses admin_url() To get the admin URL to index.php
|
311 |
-
*
|
312 |
-
* @return If no transient, or is bulk activation
|
313 |
*/
|
314 |
function bp_do_activation_redirect() {
|
315 |
|
308 |
* @uses wp_safe_redirect() To redirect
|
309 |
* @uses add_query_arg() To help build the URL to redirect to
|
310 |
* @uses admin_url() To get the admin URL to index.php
|
|
|
|
|
311 |
*/
|
312 |
function bp_do_activation_redirect() {
|
313 |
|
bp-core/admin/bp-core-slugs.php
CHANGED
@@ -194,7 +194,6 @@ function bp_core_admin_slugs_options() {
|
|
194 |
*
|
195 |
* @since BuddyPress (1.6)
|
196 |
* @todo Use settings API
|
197 |
-
* @return False if referer does not check out
|
198 |
*/
|
199 |
function bp_core_admin_slugs_setup_handler() {
|
200 |
|
194 |
*
|
195 |
* @since BuddyPress (1.6)
|
196 |
* @todo Use settings API
|
|
|
197 |
*/
|
198 |
function bp_core_admin_slugs_setup_handler() {
|
199 |
|
bp-core/bp-core-admin.php
CHANGED
@@ -380,15 +380,15 @@ class BP_Admin {
|
|
380 |
list( $display_version ) = explode( '-', bp_get_version() ); ?>
|
381 |
|
382 |
<div class="wrap about-wrap">
|
383 |
-
<h1><?php printf( __( 'Welcome to BuddyPress %s' ), $display_version ); ?></h1>
|
384 |
<div class="about-text">
|
385 |
<?php if ( $is_new_install ) : ?>
|
386 |
-
<?php printf( __( 'BuddyPress %s is our safest, fastest, most flexible version ever.' ), $display_version ); ?>
|
387 |
<?php else : ?>
|
388 |
-
<?php printf( __( 'Thank you for updating! BuddyPress %s is our safest, fastest, most flexible version ever.' ), $display_version ); ?>
|
389 |
<?php endif; ?>
|
390 |
</div>
|
391 |
-
<div class="bp-badge"><?php printf( __( 'Version %s' ), $display_version ); ?></div>
|
392 |
|
393 |
<h2 class="nav-tab-wrapper">
|
394 |
<a class="nav-tab nav-tab-active" href="<?php echo esc_url( bp_get_admin_url( add_query_arg( array( 'page' => 'bp-about' ), 'index.php' ) ) ); ?>">
|
@@ -418,19 +418,19 @@ class BP_Admin {
|
|
418 |
<?php endif; ?>
|
419 |
|
420 |
<div class="changelog">
|
421 |
-
<h3><?php _e( '
|
422 |
|
423 |
<div class="feature-section">
|
424 |
-
<h4><?php _e( '
|
425 |
-
<p><?php _e( '
|
426 |
</div>
|
427 |
</div>
|
428 |
|
429 |
<div class="changelog">
|
430 |
-
<h3><?php _e( 'Group Management', 'buddypress' ); ?></h3>
|
431 |
|
432 |
<div class="feature-section">
|
433 |
-
<h4><?php _e( '
|
434 |
|
435 |
<?php
|
436 |
$group_admin_text = __( 'Groups administration panel', 'buddypress' );
|
@@ -440,7 +440,7 @@ class BP_Admin {
|
|
440 |
?>
|
441 |
|
442 |
<p><?php printf(
|
443 |
-
__( 'The
|
444 |
$group_admin_text
|
445 |
); ?></p>
|
446 |
</div>
|
@@ -451,19 +451,19 @@ class BP_Admin {
|
|
451 |
|
452 |
<div class="feature-section three-col">
|
453 |
<div>
|
454 |
-
<h4><?php _e( '
|
455 |
-
<p><?php _e( '
|
456 |
|
457 |
-
<h4><?php _e( '
|
458 |
-
<p><?php _e( '
|
459 |
</div>
|
460 |
|
461 |
<div>
|
462 |
-
<h4><?php _e( '
|
463 |
-
<p><?php _e( '
|
464 |
|
465 |
-
<h4><?php _e( '
|
466 |
-
<p><?php _e(
|
467 |
</div>
|
468 |
</div>
|
469 |
|
@@ -549,49 +549,52 @@ class BP_Admin {
|
|
549 |
</li>
|
550 |
</ul>
|
551 |
|
552 |
-
<h4 class="wp-people-group"><?php _e( 'Core Contributors to BuddyPress 1.
|
553 |
<p class="wp-credits-list">
|
554 |
-
<a href="http://profiles.wordpress.org/
|
555 |
-
<a href="http://profiles.wordpress.org/apeatling">apeatling</a>,
|
556 |
<a href="http://profiles.wordpress.org/borkweb">borkweb</a>,
|
557 |
-
<a href="http://profiles.wordpress.org/calin">calin</a>,
|
558 |
<a href="http://profiles.wordpress.org/chouf1">chouf1</a>,
|
559 |
-
<a href="http://profiles.wordpress.org/
|
560 |
-
<a href="http://profiles.wordpress.org/
|
|
|
|
|
|
|
|
|
561 |
<a href="http://profiles.wordpress.org/ddean">ddean</a>,
|
562 |
-
<a href="http://profiles.wordpress.org/
|
563 |
-
<a href="http://profiles.wordpress.org/Dianakc">Dianakc</a>,
|
564 |
<a href="http://profiles.wordpress.org/dontdream">dontdream</a>,
|
565 |
-
<a href="http://profiles.wordpress.org/
|
566 |
-
<a href="http://profiles.wordpress.org/
|
567 |
-
|
568 |
-
<a href="http://profiles.wordpress.org/fanquake">fanquake</a>,
|
569 |
-
<a href="http://profiles.wordpress.org/gmax21">gmax21</a>,
|
570 |
<a href="http://profiles.wordpress.org/hnla">hnla</a>,
|
571 |
-
<a href="http://profiles.wordpress.org/humanshell">humanshell</a>,
|
572 |
<a href="http://profiles.wordpress.org/imath">imath</a>,
|
573 |
-
<a href="http://profiles.wordpress.org/
|
574 |
-
<a href="http://profiles.wordpress.org/
|
575 |
-
<a href="http://profiles.wordpress.org/
|
576 |
-
<a href="http://profiles.wordpress.org/jkudish">jkudish</a>,
|
577 |
-
<a href="http://profiles.wordpress.org/jpsb">jpsb</a>,
|
578 |
-
<a href="http://profiles.wordpress.org/MacPresss">MacPresss</a>,
|
579 |
<a href="http://profiles.wordpress.org/magnus78">magnus78</a>,
|
580 |
-
<a href="http://profiles.wordpress.org/
|
581 |
-
<a href="http://profiles.wordpress.org/Maty">Maty</a>,
|
582 |
-
<a href="http://profiles.wordpress.org/michael.ecklund">michael.ecklund</a>,
|
583 |
-
<a href="http://profiles.wordpress.org/modemlooper">modemlooper</a>,
|
584 |
-
<a href="http://profiles.wordpress.org/nacin">nacin</a>,
|
585 |
-
<a href="http://profiles.wordpress.org/netweb">netweb</a>,
|
586 |
<a href="http://profiles.wordpress.org/rogercoathup">rogercoathup</a>,
|
587 |
-
<a href="http://profiles.wordpress.org/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
588 |
<a href="http://profiles.wordpress.org/sbrajesh">sbrajesh</a>,
|
589 |
-
<a href="http://profiles.wordpress.org/
|
590 |
-
<a href="http://profiles.wordpress.org/
|
591 |
-
<a href="http://profiles.wordpress.org/
|
592 |
-
<a href="http://profiles.wordpress.org/
|
593 |
-
<a href="http://profiles.wordpress.org/
|
594 |
-
<a href="http://profiles.wordpress.org/
|
|
|
|
|
|
|
|
|
|
|
595 |
</p>
|
596 |
|
597 |
<div class="return-to-dashboard">
|
380 |
list( $display_version ) = explode( '-', bp_get_version() ); ?>
|
381 |
|
382 |
<div class="wrap about-wrap">
|
383 |
+
<h1><?php printf( __( 'Welcome to BuddyPress %s', 'buddypress' ), $display_version ); ?></h1>
|
384 |
<div class="about-text">
|
385 |
<?php if ( $is_new_install ) : ?>
|
386 |
+
<?php printf( __( 'BuddyPress %s is our safest, fastest, most flexible version ever.', 'buddypress' ), $display_version ); ?>
|
387 |
<?php else : ?>
|
388 |
+
<?php printf( __( 'Thank you for updating! BuddyPress %s is our safest, fastest, most flexible version ever.', 'buddypress' ), $display_version ); ?>
|
389 |
<?php endif; ?>
|
390 |
</div>
|
391 |
+
<div class="bp-badge"><?php printf( __( 'Version %s', 'buddypress' ), $display_version ); ?></div>
|
392 |
|
393 |
<h2 class="nav-tab-wrapper">
|
394 |
<a class="nav-tab nav-tab-active" href="<?php echo esc_url( bp_get_admin_url( add_query_arg( array( 'page' => 'bp-about' ), 'index.php' ) ) ); ?>">
|
418 |
<?php endif; ?>
|
419 |
|
420 |
<div class="changelog">
|
421 |
+
<h3><?php _e( 'Improved Theme Integration', 'buddypress' ); ?></h3>
|
422 |
|
423 |
<div class="feature-section">
|
424 |
+
<h4><?php _e( 'Hey, Good Lookin’', 'buddypress' ); ?></h4>
|
425 |
+
<p><?php _e( 'We’ve streamlined our stylesheets, so that BuddyPress content looks more at home in your theme. And theme developers will love BP’s new hierarchies that make it easy to override specific top-level templates, stylesheets, and JavaScript files.', 'buddypress' ) ?></p>
|
426 |
</div>
|
427 |
</div>
|
428 |
|
429 |
<div class="changelog">
|
430 |
+
<h3><?php _e( 'Better Group Member Management', 'buddypress' ); ?></h3>
|
431 |
|
432 |
<div class="feature-section">
|
433 |
+
<h4><?php _e( '<em>Add</em>, <em>Remove</em>, and More, in a Snap', 'buddypress' ); ?></h4>
|
434 |
|
435 |
<?php
|
436 |
$group_admin_text = __( 'Groups administration panel', 'buddypress' );
|
440 |
?>
|
441 |
|
442 |
<p><?php printf(
|
443 |
+
__( 'The Manage Members section of the %s has been rewritten, to make it easier to handle groups with many members. We’ve also made the interface nicer to use, to ensure that you don’t make changes and then forget to save them.', 'buddypress' ),
|
444 |
$group_admin_text
|
445 |
); ?></p>
|
446 |
</div>
|
451 |
|
452 |
<div class="feature-section three-col">
|
453 |
<div>
|
454 |
+
<h4><?php _e( 'Superpowered Group Extensions', 'buddypress' ); ?></h4>
|
455 |
+
<p><?php _e( '<code>BP_Group_Extension</code> has been overhauled, making it easier than ever before to add custom functionality to groups.', 'buddypress' ); ?></p>
|
456 |
|
457 |
+
<h4><?php _e( 'Filter Groups or Activity by Metadata', 'buddypress' ); ?></h4>
|
458 |
+
<p><?php _e( '<code>bp_has_groups()</code> and <code>bp_has_activities()</code> now accept a <code>meta_query</code> paramater, for more powerful directory queries.', 'buddypress' ); ?></p>
|
459 |
</div>
|
460 |
|
461 |
<div>
|
462 |
+
<h4><?php _e( 'Feed Me, Seymour', 'buddypress' ); ?></h4>
|
463 |
+
<p><?php _e( 'The new <code>BP_Activity_Feed</code> class centralizes BP’s RSS logic, making our feeds more standards-compliant, and giving developers more tools for building custom feeds.', 'buddypress' ); ?></p>
|
464 |
|
465 |
+
<h4><?php _e( 'Disable @-Mentions', 'buddypress' ); ?></h4>
|
466 |
+
<p><?php _e( "Not using @-mentions? Disable them with <code>add_filter( 'bp_activity_do_mentions', '__return_false' );</code>", 'buddypress' ); ?></p>
|
467 |
</div>
|
468 |
</div>
|
469 |
|
549 |
</li>
|
550 |
</ul>
|
551 |
|
552 |
+
<h4 class="wp-people-group"><?php _e( 'Core Contributors to BuddyPress 1.8', 'buddypress' ); ?></h4>
|
553 |
<p class="wp-credits-list">
|
554 |
+
<a href="http://profiles.wordpress.org/boonebgorges">boonebgorges</a>,
|
|
|
555 |
<a href="http://profiles.wordpress.org/borkweb">borkweb</a>,
|
|
|
556 |
<a href="http://profiles.wordpress.org/chouf1">chouf1</a>,
|
557 |
+
<a href="http://profiles.wordpress.org/chriskeeble">chriskeeble</a>,
|
558 |
+
<a href="http://profiles.wordpress.org/chroniko">chroniko</a>,
|
559 |
+
<a href="http://profiles.wordpress.org/czarate">czarate</a>,
|
560 |
+
<a href="http://profiles.wordpress.org/danbp">danbp</a>,
|
561 |
+
<a href="http://profiles.wordpress.org/dcavins">dcavins</a>,
|
562 |
+
<a href="http://profiles.wordpress.org/dcowgill">dcowgill</a>,
|
563 |
<a href="http://profiles.wordpress.org/ddean">ddean</a>,
|
564 |
+
<a href="http://profiles.wordpress.org/djpaul">djpaul</a>,
|
|
|
565 |
<a href="http://profiles.wordpress.org/dontdream">dontdream</a>,
|
566 |
+
<a href="http://profiles.wordpress.org/eggproject">eggproject</a>,
|
567 |
+
<a href="http://profiles.wordpress.org/ericlewis">ericlewis</a>,
|
568 |
+
grahamwashbroo,
|
|
|
|
|
569 |
<a href="http://profiles.wordpress.org/hnla">hnla</a>,
|
|
|
570 |
<a href="http://profiles.wordpress.org/imath">imath</a>,
|
571 |
+
<a href="http://profiles.wordpress.org/johnjamesjacoby">johnjamesjacoby</a>,
|
572 |
+
<a href="http://profiles.wordpress.org/karmatosed">karmatosed</a>,
|
573 |
+
<a href="http://profiles.wordpress.org/lenasterg">lenasterg</a>,
|
|
|
|
|
|
|
574 |
<a href="http://profiles.wordpress.org/magnus78">magnus78</a>,
|
575 |
+
<a href="http://profiles.wordpress.org/megainfo">megainfo</a>,
|
|
|
|
|
|
|
|
|
|
|
576 |
<a href="http://profiles.wordpress.org/rogercoathup">rogercoathup</a>,
|
577 |
+
<a href="http://profiles.wordpress.org/mercime">mercime</a>,
|
578 |
+
<a href="http://profiles.wordpress.org/merty">merty</a>,
|
579 |
+
<a href="http://profiles.wordpress.org/mjustice">mjustice</a>,
|
580 |
+
<a href="http://profiles.wordpress.org/modemlooper">modemlooper</a>,
|
581 |
+
<a href="http://profiles.wordpress.org/mort3n">mort3n</a>,
|
582 |
+
<a href="http://profiles.wordpress.org/mukkundthanki">mukkundthanki</a>,
|
583 |
+
<a href="http://profiles.wordpress.org/needle">needle</a>,
|
584 |
+
<a href="http://profiles.wordpress.org/r-a-y">r-a-y</a>,
|
585 |
+
<a href="http://profiles.wordpress.org/saurabhshukla">saurabhshukla</a>,
|
586 |
<a href="http://profiles.wordpress.org/sbrajesh">sbrajesh</a>,
|
587 |
+
<a href="http://profiles.wordpress.org/SergeyBiryukov">SergeyBiryukov</a>,
|
588 |
+
<a href="http://profiles.wordpress.org/SGr33n">SGr33n</a>,
|
589 |
+
<a href="http://profiles.wordpress.org/shanebp">shanebp</a>,
|
590 |
+
<a href="http://profiles.wordpress.org/splatte">splatte</a>,
|
591 |
+
<a href="http://profiles.wordpress.org/thebrandonallen">thebrandonallen</a>,
|
592 |
+
<a href="http://profiles.wordpress.org/themightymo">themightymo</a>,
|
593 |
+
<a href="http://profiles.wordpress.org/themightymo">themightymo</a>,
|
594 |
+
<a href="http://profiles.wordpress.org/tivnet">tivnet</a>,
|
595 |
+
<a href="http://profiles.wordpress.org/trishasalas">trishasalas</a>,
|
596 |
+
<a href="http://profiles.wordpress.org/vegasgeek">vegasgeek</a>,
|
597 |
+
<a href="http://profiles.wordpress.org/wpdennis">wpdennis</a>
|
598 |
</p>
|
599 |
|
600 |
<div class="return-to-dashboard">
|
bp-core/bp-core-adminbar.php
CHANGED
@@ -17,7 +17,6 @@ if ( !defined( 'ABSPATH' ) ) exit;
|
|
17 |
*
|
18 |
* @since BuddyPress 1.6
|
19 |
* @global WP_Admin_Bar $wp_admin_bar
|
20 |
-
* @return If doing ajax
|
21 |
*/
|
22 |
function bp_admin_bar_my_account_root() {
|
23 |
global $wp_admin_bar;
|
17 |
*
|
18 |
* @since BuddyPress 1.6
|
19 |
* @global WP_Admin_Bar $wp_admin_bar
|
|
|
20 |
*/
|
21 |
function bp_admin_bar_my_account_root() {
|
22 |
global $wp_admin_bar;
|
bp-core/bp-core-avatars.php
CHANGED
@@ -701,7 +701,7 @@ function bp_core_avatar_handle_crop( $args = '' ) {
|
|
701 |
* @param int $size Size of the avatar image (thumb/full)
|
702 |
* @param string $default URL to a default image to use if no avatar is available
|
703 |
* @param string $alt Alternate text to use in image tag. Defaults to blank
|
704 |
-
* @return
|
705 |
*/
|
706 |
function bp_core_fetch_avatar_filter( $avatar, $user, $size, $default, $alt = '' ) {
|
707 |
global $pagenow;
|
@@ -923,8 +923,8 @@ function bp_get_user_has_avatar( $user_id = 0 ) {
|
|
923 |
* @package BuddyPress
|
924 |
* @since BuddyPress (1.5)
|
925 |
*
|
926 |
-
* @param
|
927 |
-
* @param
|
928 |
* @return int $dim The dimension
|
929 |
*/
|
930 |
function bp_core_avatar_dimension( $type = 'thumb', $h_or_w = 'height' ) {
|
701 |
* @param int $size Size of the avatar image (thumb/full)
|
702 |
* @param string $default URL to a default image to use if no avatar is available
|
703 |
* @param string $alt Alternate text to use in image tag. Defaults to blank
|
704 |
+
* @return string
|
705 |
*/
|
706 |
function bp_core_fetch_avatar_filter( $avatar, $user, $size, $default, $alt = '' ) {
|
707 |
global $pagenow;
|
923 |
* @package BuddyPress
|
924 |
* @since BuddyPress (1.5)
|
925 |
*
|
926 |
+
* @param string $type 'thumb' for thumbs, otherwise full
|
927 |
+
* @param string $h_or_w 'height' for height, otherwise width
|
928 |
* @return int $dim The dimension
|
929 |
*/
|
930 |
function bp_core_avatar_dimension( $type = 'thumb', $h_or_w = 'height' ) {
|
bp-core/bp-core-buddybar.php
CHANGED
@@ -354,7 +354,7 @@ add_action( 'admin_head', 'bp_core_sort_subnav_items' );
|
|
354 |
* @package BuddyPress
|
355 |
* @since BuddyPress (1.5)
|
356 |
*
|
357 |
-
* @param
|
358 |
* @return bool $has_subnav True if the nav item is found and has subnav items; false otherwise
|
359 |
*/
|
360 |
function bp_nav_item_has_subnav( $nav_item = '' ) {
|
@@ -402,8 +402,8 @@ function bp_core_remove_nav_item( $parent_id ) {
|
|
402 |
* Removes a navigation item from the sub navigation array used in BuddyPress themes.
|
403 |
*
|
404 |
* @package BuddyPress Core
|
405 |
-
* @param $parent_id The id of the parent navigation item.
|
406 |
-
* @param $slug The slug of the sub navigation item.
|
407 |
*/
|
408 |
function bp_core_remove_subnav_item( $parent_id, $slug ) {
|
409 |
global $bp;
|
@@ -427,7 +427,7 @@ function bp_core_remove_subnav_item( $parent_id, $slug ) {
|
|
427 |
* Clear the subnav items for a specific nav item.
|
428 |
*
|
429 |
* @package BuddyPress Core
|
430 |
-
* @param $parent_id The id of the parent navigation item.
|
431 |
* @global BuddyPress $bp The one true BuddyPress instance
|
432 |
*/
|
433 |
function bp_core_reset_subnav_items( $parent_slug ) {
|
354 |
* @package BuddyPress
|
355 |
* @since BuddyPress (1.5)
|
356 |
*
|
357 |
+
* @param string $nav_item The id of the top-level nav item whose nav items you're checking
|
358 |
* @return bool $has_subnav True if the nav item is found and has subnav items; false otherwise
|
359 |
*/
|
360 |
function bp_nav_item_has_subnav( $nav_item = '' ) {
|
402 |
* Removes a navigation item from the sub navigation array used in BuddyPress themes.
|
403 |
*
|
404 |
* @package BuddyPress Core
|
405 |
+
* @param string $parent_id The id of the parent navigation item.
|
406 |
+
* @param string $slug The slug of the sub navigation item.
|
407 |
*/
|
408 |
function bp_core_remove_subnav_item( $parent_id, $slug ) {
|
409 |
global $bp;
|
427 |
* Clear the subnav items for a specific nav item.
|
428 |
*
|
429 |
* @package BuddyPress Core
|
430 |
+
* @param string $parent_id The id of the parent navigation item.
|
431 |
* @global BuddyPress $bp The one true BuddyPress instance
|
432 |
*/
|
433 |
function bp_core_reset_subnav_items( $parent_slug ) {
|
bp-core/bp-core-caps.php
CHANGED
@@ -151,8 +151,6 @@ function bp_get_caps_for_role( $role = '' ) {
|
|
151 |
* @uses is_user_logged_in()
|
152 |
* @uses current_user_can()
|
153 |
* @uses WP_User::set_role()
|
154 |
-
*
|
155 |
-
* @return If user is not spam/deleted or is already capable
|
156 |
*/
|
157 |
function bp_set_current_user_default_role() {
|
158 |
|
151 |
* @uses is_user_logged_in()
|
152 |
* @uses current_user_can()
|
153 |
* @uses WP_User::set_role()
|
|
|
|
|
154 |
*/
|
155 |
function bp_set_current_user_default_role() {
|
156 |
|
bp-core/bp-core-catchuri.php
CHANGED
@@ -340,8 +340,8 @@ function bp_core_enable_root_profiles() {
|
|
340 |
* wp-content/themes/[activated_theme]/members/index.php
|
341 |
*
|
342 |
* @package BuddyPress Core
|
343 |
-
* @param $username
|
344 |
-
* @return
|
345 |
*/
|
346 |
function bp_core_load_template( $templates ) {
|
347 |
global $post, $bp, $wp_query, $wpdb;
|
340 |
* wp-content/themes/[activated_theme]/members/index.php
|
341 |
*
|
342 |
* @package BuddyPress Core
|
343 |
+
* @param string $username Username to check.
|
344 |
+
* @return int|bool The user ID of the matched user, or false.
|
345 |
*/
|
346 |
function bp_core_load_template( $templates ) {
|
347 |
global $post, $bp, $wp_query, $wpdb;
|
bp-core/bp-core-classes.php
CHANGED
@@ -315,7 +315,7 @@ class BP_User_Query {
|
|
315 |
/** WHERE *************************************************************/
|
316 |
|
317 |
// 'include' - User ids to include in the results
|
318 |
-
$include =
|
319 |
$include_ids = $this->get_include_ids( $include );
|
320 |
if ( ! empty( $include_ids ) ) {
|
321 |
$include_ids = implode( ',', wp_parse_id_list( $include_ids ) );
|
@@ -1369,7 +1369,7 @@ class BP_Core_Notification {
|
|
1369 |
* @global BuddyPress $bp The one true BuddyPress instance
|
1370 |
* @global wpdb $wpdb WordPress database object
|
1371 |
* @param integer $user_id User ID
|
1372 |
-
* @param
|
1373 |
* @return array Associative array
|
1374 |
* @static
|
1375 |
*/
|
315 |
/** WHERE *************************************************************/
|
316 |
|
317 |
// 'include' - User ids to include in the results
|
318 |
+
$include = false !== $include ? wp_parse_id_list( $include ) : array();
|
319 |
$include_ids = $this->get_include_ids( $include );
|
320 |
if ( ! empty( $include_ids ) ) {
|
321 |
$include_ids = implode( ',', wp_parse_id_list( $include_ids ) );
|
1369 |
* @global BuddyPress $bp The one true BuddyPress instance
|
1370 |
* @global wpdb $wpdb WordPress database object
|
1371 |
* @param integer $user_id User ID
|
1372 |
+
* @param string $status 'is_new' or 'all'
|
1373 |
* @return array Associative array
|
1374 |
* @static
|
1375 |
*/
|
bp-core/bp-core-component.php
CHANGED
@@ -119,7 +119,7 @@ class BP_Component {
|
|
119 |
* @uses apply_filters() Calls 'bp_{@link bp_Component::name}_id'
|
120 |
* @uses apply_filters() Calls 'bp_{@link bp_Component::name}_slug'
|
121 |
*
|
122 |
-
* @param
|
123 |
*/
|
124 |
public function setup_globals( $args = array() ) {
|
125 |
|
119 |
* @uses apply_filters() Calls 'bp_{@link bp_Component::name}_id'
|
120 |
* @uses apply_filters() Calls 'bp_{@link bp_Component::name}_slug'
|
121 |
*
|
122 |
+
* @param array $args Optional
|
123 |
*/
|
124 |
public function setup_globals( $args = array() ) {
|
125 |
|
bp-core/bp-core-filters.php
CHANGED
@@ -105,7 +105,7 @@ add_filter( 'wp_list_pages_excludes', 'bp_core_exclude_pages' );
|
|
105 |
*
|
106 |
* @package BuddyPress Core
|
107 |
* @uses bp_get_option() fetches the value for a meta_key in the wp_X_options table
|
108 |
-
* @return The blog name for the root blog
|
109 |
*/
|
110 |
function bp_core_email_from_name_filter() {
|
111 |
return apply_filters( 'bp_core_email_from_name_filter', bp_get_option( 'blogname', 'WordPress' ) );
|
@@ -158,7 +158,7 @@ add_filter( 'comments_array', 'bp_core_filter_comments', 10, 2 );
|
|
158 |
* login
|
159 |
* @param string $redirect_to The URL to be redirected to, sanitized in wp-login.php
|
160 |
* @param string $redirect_to_raw The unsanitized redirect_to URL ($_REQUEST['redirect_to'])
|
161 |
-
* @param
|
162 |
* a WP_Error object
|
163 |
* @return string The redirect URL
|
164 |
*/
|
105 |
*
|
106 |
* @package BuddyPress Core
|
107 |
* @uses bp_get_option() fetches the value for a meta_key in the wp_X_options table
|
108 |
+
* @return string The blog name for the root blog
|
109 |
*/
|
110 |
function bp_core_email_from_name_filter() {
|
111 |
return apply_filters( 'bp_core_email_from_name_filter', bp_get_option( 'blogname', 'WordPress' ) );
|
158 |
* login
|
159 |
* @param string $redirect_to The URL to be redirected to, sanitized in wp-login.php
|
160 |
* @param string $redirect_to_raw The unsanitized redirect_to URL ($_REQUEST['redirect_to'])
|
161 |
+
* @param WP_User $user The WP_User object corresponding to a successfully logged-in user. Otherwise
|
162 |
* a WP_Error object
|
163 |
* @return string The redirect URL
|
164 |
*/
|
bp-core/bp-core-functions.php
CHANGED
@@ -87,9 +87,9 @@ function bp_core_get_table_prefix() {
|
|
87 |
/**
|
88 |
* Format numbers the BuddyPress way
|
89 |
*
|
90 |
-
* @param
|
91 |
* @param bool $decimals
|
92 |
-
* @return
|
93 |
*/
|
94 |
function bp_core_number_format( $number, $decimals = false ) {
|
95 |
|
@@ -244,7 +244,7 @@ function bp_core_update_directory_page_ids( $blog_page_ids ) {
|
|
244 |
* @package BuddyPress Core
|
245 |
* @since BuddyPress (1.5)
|
246 |
*
|
247 |
-
* @return
|
248 |
*/
|
249 |
function bp_core_get_directory_pages() {
|
250 |
global $wpdb;
|
@@ -393,8 +393,8 @@ function bp_core_add_page_mappings( $components, $existing = 'keep' ) {
|
|
393 |
* @package BuddyPress Core
|
394 |
* @since BuddyPress (1.5)
|
395 |
*
|
396 |
-
* @param
|
397 |
-
* @return
|
398 |
*/
|
399 |
function bp_core_component_slug_from_root_slug( $root_slug ) {
|
400 |
$slug_chunks = explode( '/', $root_slug );
|
@@ -409,7 +409,7 @@ function bp_core_component_slug_from_root_slug( $root_slug ) {
|
|
409 |
* a convenience for compatibility with the new method.
|
410 |
*
|
411 |
* @global $bp BuddyPress global settings
|
412 |
-
* @param $slug
|
413 |
*/
|
414 |
function bp_core_add_root_component( $slug ) {
|
415 |
global $bp;
|
@@ -469,7 +469,7 @@ function bp_core_add_illegal_names() {
|
|
469 |
*
|
470 |
* @package BuddyPress Core
|
471 |
* @uses get_blog_option() WordPress function to fetch blog meta.
|
472 |
-
* @return
|
473 |
*/
|
474 |
function bp_core_get_root_domain() {
|
475 |
|
@@ -504,7 +504,7 @@ function bp_core_redirect( $location, $status = 302 ) {
|
|
504 |
* Returns the referrer URL without the http(s)://
|
505 |
*
|
506 |
* @package BuddyPress Core
|
507 |
-
* @return The referrer URL
|
508 |
*/
|
509 |
function bp_core_referrer() {
|
510 |
$referer = explode( '/', wp_get_referer() );
|
@@ -577,9 +577,9 @@ function bp_core_current_time( $gmt = true ) {
|
|
577 |
* @package BuddyPress Core
|
578 |
* @uses apply_filters() Filter 'bp_core_time_since_pre' to bypass BP's calculations
|
579 |
* @uses apply_filters() Filter 'bp_core_time_since' to modify BP's calculations
|
580 |
-
* @param $older_date
|
581 |
-
* @param $newer_date
|
582 |
-
* @return
|
583 |
*/
|
584 |
function bp_core_time_since( $older_date, $newer_date = false ) {
|
585 |
|
@@ -733,8 +733,8 @@ function bp_core_time_since( $older_date, $newer_date = false ) {
|
|
733 |
* @package BuddyPress Core
|
734 |
*
|
735 |
* @global BuddyPress $bp The one true BuddyPress instance
|
736 |
-
* @param
|
737 |
-
* @param
|
738 |
*/
|
739 |
function bp_core_add_message( $message, $type = '' ) {
|
740 |
global $bp;
|
@@ -854,9 +854,8 @@ add_action( 'wp_head', 'bp_core_record_activity' );
|
|
854 |
* Formats last activity based on time since date given.
|
855 |
*
|
856 |
* @package BuddyPress Core
|
857 |
-
* @param last_activity_date The date of last activity.
|
858 |
-
* @param $
|
859 |
-
* @param $after The text to append to the activity time since figure.
|
860 |
* @uses bp_core_time_since() This function will return an English representation of the time elapsed.
|
861 |
*/
|
862 |
function bp_core_get_last_activity( $last_activity_date, $string ) {
|
@@ -888,8 +887,8 @@ function bp_core_get_last_activity( $last_activity_date, $string ) {
|
|
888 |
* @since BuddyPress (1.5)
|
889 |
*
|
890 |
* @uses apply_filters() Filter bp_get_user_meta_key to modify keys individually
|
891 |
-
* @param
|
892 |
-
* @return
|
893 |
*/
|
894 |
function bp_get_user_meta_key( $key = false ) {
|
895 |
return apply_filters( 'bp_get_user_meta_key', $key );
|
@@ -1211,7 +1210,7 @@ function bp_is_network_activated() {
|
|
1211 |
*
|
1212 |
* @global BuddyPress $bp The one true BuddyPress instance
|
1213 |
* @param bool $is_directory
|
1214 |
-
* @param
|
1215 |
*/
|
1216 |
function bp_update_is_directory( $is_directory = false, $component = '' ) {
|
1217 |
global $bp;
|
@@ -1227,7 +1226,7 @@ function bp_update_is_directory( $is_directory = false, $component = '' ) {
|
|
1227 |
*
|
1228 |
* @global BuddyPress $bp The one true BuddyPress instance
|
1229 |
* @param bool $is_item_admin
|
1230 |
-
* @param
|
1231 |
*/
|
1232 |
function bp_update_is_item_admin( $is_item_admin = false, $component = '' ) {
|
1233 |
global $bp;
|
@@ -1243,7 +1242,7 @@ function bp_update_is_item_admin( $is_item_admin = false, $component = '' ) {
|
|
1243 |
*
|
1244 |
* @global BuddyPress $bp The one true BuddyPress instance
|
1245 |
* @param bool $is_item_mod
|
1246 |
-
* @param
|
1247 |
*/
|
1248 |
function bp_update_is_item_mod( $is_item_mod = false, $component = '' ) {
|
1249 |
global $bp;
|
87 |
/**
|
88 |
* Format numbers the BuddyPress way
|
89 |
*
|
90 |
+
* @param int $number
|
91 |
* @param bool $decimals
|
92 |
+
* @return string
|
93 |
*/
|
94 |
function bp_core_number_format( $number, $decimals = false ) {
|
95 |
|
244 |
* @package BuddyPress Core
|
245 |
* @since BuddyPress (1.5)
|
246 |
*
|
247 |
+
* @return object Page names, IDs, and slugs
|
248 |
*/
|
249 |
function bp_core_get_directory_pages() {
|
250 |
global $wpdb;
|
393 |
* @package BuddyPress Core
|
394 |
* @since BuddyPress (1.5)
|
395 |
*
|
396 |
+
* @param string $root_slug The root slug, which comes from $bp->pages->[component]->slug
|
397 |
+
* @return string The short slug for use in the middle of URLs
|
398 |
*/
|
399 |
function bp_core_component_slug_from_root_slug( $root_slug ) {
|
400 |
$slug_chunks = explode( '/', $root_slug );
|
409 |
* a convenience for compatibility with the new method.
|
410 |
*
|
411 |
* @global $bp BuddyPress global settings
|
412 |
+
* @param string $slug The slug of the component
|
413 |
*/
|
414 |
function bp_core_add_root_component( $slug ) {
|
415 |
global $bp;
|
469 |
*
|
470 |
* @package BuddyPress Core
|
471 |
* @uses get_blog_option() WordPress function to fetch blog meta.
|
472 |
+
* @return string The domain URL for the blog.
|
473 |
*/
|
474 |
function bp_core_get_root_domain() {
|
475 |
|
504 |
* Returns the referrer URL without the http(s)://
|
505 |
*
|
506 |
* @package BuddyPress Core
|
507 |
+
* @return string The referrer URL
|
508 |
*/
|
509 |
function bp_core_referrer() {
|
510 |
$referer = explode( '/', wp_get_referer() );
|
577 |
* @package BuddyPress Core
|
578 |
* @uses apply_filters() Filter 'bp_core_time_since_pre' to bypass BP's calculations
|
579 |
* @uses apply_filters() Filter 'bp_core_time_since' to modify BP's calculations
|
580 |
+
* @param int $older_date Unix timestamp of date you want to calculate the time since for
|
581 |
+
* @param int $newer_date Unix timestamp of date to compare older date to. Default false (current time).
|
582 |
+
* @return string The time since.
|
583 |
*/
|
584 |
function bp_core_time_since( $older_date, $newer_date = false ) {
|
585 |
|
733 |
* @package BuddyPress Core
|
734 |
*
|
735 |
* @global BuddyPress $bp The one true BuddyPress instance
|
736 |
+
* @param string $message Feedback to give to user
|
737 |
+
* @param string $type updated|success|error|warning
|
738 |
*/
|
739 |
function bp_core_add_message( $message, $type = '' ) {
|
740 |
global $bp;
|
854 |
* Formats last activity based on time since date given.
|
855 |
*
|
856 |
* @package BuddyPress Core
|
857 |
+
* @param string $last_activity_date The date of last activity.
|
858 |
+
* @param string $string
|
|
|
859 |
* @uses bp_core_time_since() This function will return an English representation of the time elapsed.
|
860 |
*/
|
861 |
function bp_core_get_last_activity( $last_activity_date, $string ) {
|
887 |
* @since BuddyPress (1.5)
|
888 |
*
|
889 |
* @uses apply_filters() Filter bp_get_user_meta_key to modify keys individually
|
890 |
+
* @param string $key
|
891 |
+
* @return string $key
|
892 |
*/
|
893 |
function bp_get_user_meta_key( $key = false ) {
|
894 |
return apply_filters( 'bp_get_user_meta_key', $key );
|
1210 |
*
|
1211 |
* @global BuddyPress $bp The one true BuddyPress instance
|
1212 |
* @param bool $is_directory
|
1213 |
+
* @param string $component
|
1214 |
*/
|
1215 |
function bp_update_is_directory( $is_directory = false, $component = '' ) {
|
1216 |
global $bp;
|
1226 |
*
|
1227 |
* @global BuddyPress $bp The one true BuddyPress instance
|
1228 |
* @param bool $is_item_admin
|
1229 |
+
* @param string $component
|
1230 |
*/
|
1231 |
function bp_update_is_item_admin( $is_item_admin = false, $component = '' ) {
|
1232 |
global $bp;
|
1242 |
*
|
1243 |
* @global BuddyPress $bp The one true BuddyPress instance
|
1244 |
* @param bool $is_item_mod
|
1245 |
+
* @param string $component
|
1246 |
*/
|
1247 |
function bp_update_is_item_mod( $is_item_mod = false, $component = '' ) {
|
1248 |
global $bp;
|
bp-core/bp-core-options.php
CHANGED
@@ -197,8 +197,8 @@ function bp_pre_get_option( $value = false ) {
|
|
197 |
* @since BuddyPress (1.5)
|
198 |
*
|
199 |
* @uses bp_get_root_blog_id()
|
200 |
-
* @param
|
201 |
-
* @param
|
202 |
* @return mixed The value for the option
|
203 |
*/
|
204 |
function bp_get_option( $option_name, $default = '' ) {
|
@@ -217,8 +217,8 @@ function bp_get_option( $option_name, $default = '' ) {
|
|
217 |
* @since BuddyPress (1.5)
|
218 |
*
|
219 |
* @uses bp_get_root_blog_id()
|
220 |
-
* @param
|
221 |
-
* @param
|
222 |
*/
|
223 |
function bp_update_option( $option_name, $value ) {
|
224 |
update_blog_option( bp_get_root_blog_id(), $option_name, $value );
|
@@ -234,7 +234,7 @@ function bp_update_option( $option_name, $value ) {
|
|
234 |
* @since BuddyPress (1.5)
|
235 |
*
|
236 |
* @uses bp_get_root_blog_id()
|
237 |
-
* @param
|
238 |
*/
|
239 |
function bp_delete_option( $option_name ) {
|
240 |
delete_blog_option( bp_get_root_blog_id(), $option_name );
|
@@ -377,7 +377,7 @@ function bp_core_get_root_options() {
|
|
377 |
*
|
378 |
* @since BuddyPress (1.6)
|
379 |
*
|
380 |
-
* @param $default
|
381 |
*
|
382 |
* @uses bp_get_option() To get the profile sync option
|
383 |
* @return bool Is profile sync enabled or not
|
@@ -391,7 +391,7 @@ function bp_disable_profile_sync( $default = true ) {
|
|
391 |
*
|
392 |
* @since BuddyPress (1.6)
|
393 |
*
|
394 |
-
* @param $default
|
395 |
*
|
396 |
* @uses bp_get_option() To get the logged out Toolbar option
|
397 |
* @return bool Is logged out Toolbar enabled or not
|
@@ -405,7 +405,7 @@ function bp_hide_loggedout_adminbar( $default = true ) {
|
|
405 |
*
|
406 |
* @since BuddyPress (1.6)
|
407 |
*
|
408 |
-
* @param $default
|
409 |
*
|
410 |
* @uses bp_get_option() To get the avatar uploads option
|
411 |
* @return bool Are avatar uploads allowed?
|
@@ -419,7 +419,7 @@ function bp_disable_avatar_uploads( $default = true ) {
|
|
419 |
*
|
420 |
* @since BuddyPress (1.6)
|
421 |
*
|
422 |
-
* @param $default
|
423 |
*
|
424 |
* @uses bp_get_option() To get the account deletion option
|
425 |
* @return bool Is account deletion allowed?
|
@@ -433,7 +433,7 @@ function bp_disable_account_deletion( $default = false ) {
|
|
433 |
*
|
434 |
* @since BuddyPress (1.6)
|
435 |
*
|
436 |
-
* @param $default
|
437 |
* @todo split and move into blog and forum components
|
438 |
* @uses bp_get_option() To get the blog/forum comments option
|
439 |
* @return bool Is blog/forum comments allowed?
|
@@ -447,7 +447,7 @@ function bp_disable_blogforum_comments( $default = false ) {
|
|
447 |
*
|
448 |
* @since BuddyPress (1.6)
|
449 |
*
|
450 |
-
* @param $default
|
451 |
*
|
452 |
* @todo Move into groups component
|
453 |
* @uses bp_get_option() To get the group creation
|
@@ -462,7 +462,7 @@ function bp_restrict_group_creation( $default = true ) {
|
|
462 |
*
|
463 |
* @since BuddyPress (1.6)
|
464 |
*
|
465 |
-
* @param $default
|
466 |
*
|
467 |
* @todo Move into groups component
|
468 |
* @uses bp_get_option() To get the WP editor option
|
@@ -477,7 +477,7 @@ function bp_force_buddybar( $default = true ) {
|
|
477 |
*
|
478 |
* @since BuddyPress (1.6)
|
479 |
*
|
480 |
-
* @param $default
|
481 |
*/
|
482 |
function bp_group_forums_root_id( $default = '0' ) {
|
483 |
echo bp_get_group_forums_root_id( $default );
|
@@ -487,7 +487,7 @@ function bp_group_forums_root_id( $default = '0' ) {
|
|
487 |
*
|
488 |
* @since BuddyPress (1.6)
|
489 |
*
|
490 |
-
* @param $default
|
491 |
*
|
492 |
* @uses bp_get_option() To get the maximum title length
|
493 |
* @return int Is anonymous posting allowed?
|
@@ -501,7 +501,7 @@ function bp_group_forums_root_id( $default = '0' ) {
|
|
501 |
*
|
502 |
* @since BuddyPress (1.6)
|
503 |
*
|
504 |
-
* @param $default
|
505 |
*
|
506 |
* @uses bp_get_option() To get the group forums option
|
507 |
* @return bool Is group forums enabled or not
|
@@ -515,7 +515,7 @@ function bp_is_group_forums_active( $default = true ) {
|
|
515 |
*
|
516 |
* @since BuddyPress (1.6)
|
517 |
*
|
518 |
-
* @param $default
|
519 |
*
|
520 |
* @uses bp_get_option() To get the Akismet option
|
521 |
* @return bool Is Akismet enabled or not
|
@@ -529,7 +529,7 @@ function bp_is_akismet_active( $default = true ) {
|
|
529 |
*
|
530 |
* @since BuddyPress (1.7)
|
531 |
*
|
532 |
-
* @param $default
|
533 |
* @uses get_option() To get the subtheme option
|
534 |
* @return string ID of the subtheme
|
535 |
*/
|
197 |
* @since BuddyPress (1.5)
|
198 |
*
|
199 |
* @uses bp_get_root_blog_id()
|
200 |
+
* @param string $option_name The option to be retrieved
|
201 |
+
* @param string $default Optional. Default value to be returned if the option isn't set
|
202 |
* @return mixed The value for the option
|
203 |
*/
|
204 |
function bp_get_option( $option_name, $default = '' ) {
|
217 |
* @since BuddyPress (1.5)
|
218 |
*
|
219 |
* @uses bp_get_root_blog_id()
|
220 |
+
* @param string $option_name The option key to be set
|
221 |
+
* @param string $value The value to be set
|
222 |
*/
|
223 |
function bp_update_option( $option_name, $value ) {
|
224 |
update_blog_option( bp_get_root_blog_id(), $option_name, $value );
|
234 |
* @since BuddyPress (1.5)
|
235 |
*
|
236 |
* @uses bp_get_root_blog_id()
|
237 |
+
* @param string $option_name The option key to be set
|
238 |
*/
|
239 |
function bp_delete_option( $option_name ) {
|
240 |
delete_blog_option( bp_get_root_blog_id(), $option_name );
|
377 |
*
|
378 |
* @since BuddyPress (1.6)
|
379 |
*
|
380 |
+
* @param bool $default Optional.Default value true
|
381 |
*
|
382 |
* @uses bp_get_option() To get the profile sync option
|
383 |
* @return bool Is profile sync enabled or not
|
391 |
*
|
392 |
* @since BuddyPress (1.6)
|
393 |
*
|
394 |
+
* @param bool $default Optional.Default value true
|
395 |
*
|
396 |
* @uses bp_get_option() To get the logged out Toolbar option
|
397 |
* @return bool Is logged out Toolbar enabled or not
|
405 |
*
|
406 |
* @since BuddyPress (1.6)
|
407 |
*
|
408 |
+
* @param bool $default Optional. Default value true
|
409 |
*
|
410 |
* @uses bp_get_option() To get the avatar uploads option
|
411 |
* @return bool Are avatar uploads allowed?
|
419 |
*
|
420 |
* @since BuddyPress (1.6)
|
421 |
*
|
422 |
+
* @param bool $default Optional. Default value
|
423 |
*
|
424 |
* @uses bp_get_option() To get the account deletion option
|
425 |
* @return bool Is account deletion allowed?
|
433 |
*
|
434 |
* @since BuddyPress (1.6)
|
435 |
*
|
436 |
+
* @param bool $default Optional. Default value false
|
437 |
* @todo split and move into blog and forum components
|
438 |
* @uses bp_get_option() To get the blog/forum comments option
|
439 |
* @return bool Is blog/forum comments allowed?
|
447 |
*
|
448 |
* @since BuddyPress (1.6)
|
449 |
*
|
450 |
+
* @param bool $default Optional. Default value true
|
451 |
*
|
452 |
* @todo Move into groups component
|
453 |
* @uses bp_get_option() To get the group creation
|
462 |
*
|
463 |
* @since BuddyPress (1.6)
|
464 |
*
|
465 |
+
* @param bool $default Optional. Default value true
|
466 |
*
|
467 |
* @todo Move into groups component
|
468 |
* @uses bp_get_option() To get the WP editor option
|
477 |
*
|
478 |
* @since BuddyPress (1.6)
|
479 |
*
|
480 |
+
* @param bool $default Optional. Default value
|
481 |
*/
|
482 |
function bp_group_forums_root_id( $default = '0' ) {
|
483 |
echo bp_get_group_forums_root_id( $default );
|
487 |
*
|
488 |
* @since BuddyPress (1.6)
|
489 |
*
|
490 |
+
* @param bool $default Optional. Default value 0
|
491 |
*
|
492 |
* @uses bp_get_option() To get the maximum title length
|
493 |
* @return int Is anonymous posting allowed?
|
501 |
*
|
502 |
* @since BuddyPress (1.6)
|
503 |
*
|
504 |
+
* @param bool $default Optional. Default value true
|
505 |
*
|
506 |
* @uses bp_get_option() To get the group forums option
|
507 |
* @return bool Is group forums enabled or not
|
515 |
*
|
516 |
* @since BuddyPress (1.6)
|
517 |
*
|
518 |
+
* @param bool $default Optional. Default value true
|
519 |
*
|
520 |
* @uses bp_get_option() To get the Akismet option
|
521 |
* @return bool Is Akismet enabled or not
|
529 |
*
|
530 |
* @since BuddyPress (1.7)
|
531 |
*
|
532 |
+
* @param string $default Optional. Default value 'default'
|
533 |
* @uses get_option() To get the subtheme option
|
534 |
* @return string ID of the subtheme
|
535 |
*/
|
bp-core/bp-core-template.php
CHANGED
@@ -622,7 +622,7 @@ function bp_action_variables() {
|
|
622 |
* @since BuddyPress (1.5)
|
623 |
*
|
624 |
* @param int $position The key of the action_variables array that you want
|
625 |
-
* @return
|
626 |
*/
|
627 |
function bp_action_variable( $position = 0 ) {
|
628 |
$action_variables = bp_action_variables();
|
@@ -709,9 +709,9 @@ function bp_root_slug( $component = '' ) {
|
|
709 |
/**
|
710 |
* Return the component name based on the current root slug
|
711 |
*
|
712 |
-
* @since BuddyPress
|
713 |
* @global BuddyPress $bp The one true BuddyPress instance
|
714 |
-
* @param
|
715 |
* @return mixed False if none found, component name if found
|
716 |
*/
|
717 |
function bp_get_name_from_root_slug( $root_slug = '' ) {
|
@@ -883,7 +883,7 @@ function bp_is_current_component( $component ) {
|
|
883 |
* @package BuddyPress
|
884 |
* @since BuddyPress (1.5)
|
885 |
*
|
886 |
-
* @param
|
887 |
* @return bool True if the current action matches $action
|
888 |
*/
|
889 |
function bp_is_current_action( $action = '' ) {
|
@@ -907,7 +907,7 @@ function bp_is_current_action( $action = '' ) {
|
|
907 |
* @package BuddyPress
|
908 |
* @since BuddyPress (1.5)
|
909 |
*
|
910 |
-
* @param
|
911 |
* @param int $position The array key you're testing against. If you don't provide a $position,
|
912 |
* the function will return true if the $action_variable is found *anywhere* in the action
|
913 |
* variables array.
|
@@ -984,7 +984,7 @@ function bp_is_directory() {
|
|
984 |
* No: http://domain.com/members/andy/groups/the-group
|
985 |
*
|
986 |
* @package BuddyPress Core
|
987 |
-
* @return
|
988 |
*/
|
989 |
function bp_is_root_component( $component_name ) {
|
990 |
global $bp;
|
622 |
* @since BuddyPress (1.5)
|
623 |
*
|
624 |
* @param int $position The key of the action_variables array that you want
|
625 |
+
* @return string $action_variable The value of that position in the array
|
626 |
*/
|
627 |
function bp_action_variable( $position = 0 ) {
|
628 |
$action_variables = bp_action_variables();
|
709 |
/**
|
710 |
* Return the component name based on the current root slug
|
711 |
*
|
712 |
+
* @since BuddyPress (1.5)
|
713 |
* @global BuddyPress $bp The one true BuddyPress instance
|
714 |
+
* @param string $root_slug Needle to our active component haystack
|
715 |
* @return mixed False if none found, component name if found
|
716 |
*/
|
717 |
function bp_get_name_from_root_slug( $root_slug = '' ) {
|
883 |
* @package BuddyPress
|
884 |
* @since BuddyPress (1.5)
|
885 |
*
|
886 |
+
* @param string $action The action being tested against
|
887 |
* @return bool True if the current action matches $action
|
888 |
*/
|
889 |
function bp_is_current_action( $action = '' ) {
|
907 |
* @package BuddyPress
|
908 |
* @since BuddyPress (1.5)
|
909 |
*
|
910 |
+
* @param string $action_variable The action_variable being tested against
|
911 |
* @param int $position The array key you're testing against. If you don't provide a $position,
|
912 |
* the function will return true if the $action_variable is found *anywhere* in the action
|
913 |
* variables array.
|
984 |
* No: http://domain.com/members/andy/groups/the-group
|
985 |
*
|
986 |
* @package BuddyPress Core
|
987 |
+
* @return bool True if root component, else false.
|
988 |
*/
|
989 |
function bp_is_root_component( $component_name ) {
|
990 |
global $bp;
|
bp-core/bp-core-theme-compatibility.php
CHANGED
@@ -530,7 +530,7 @@ function bp_template_include_theme_compat( $template = '' ) {
|
|
530 |
*
|
531 |
* @since BuddyPress (1.7)
|
532 |
* @param string $content
|
533 |
-
* @return
|
534 |
*/
|
535 |
function bp_replace_the_content( $content = '' ) {
|
536 |
|
530 |
*
|
531 |
* @since BuddyPress (1.7)
|
532 |
* @param string $content
|
533 |
+
* @return string
|
534 |
*/
|
535 |
function bp_replace_the_content( $content = '' ) {
|
536 |
|
bp-core/bp-core-update.php
CHANGED
@@ -167,7 +167,7 @@ function bp_setup_updater() {
|
|
167 |
* This is most-often used when the data schema changes, but should also be used
|
168 |
* to correct issues with BuddyPress metadata silently on software update.
|
169 |
*
|
170 |
-
* @since BuddyPress (
|
171 |
*/
|
172 |
function bp_version_updater() {
|
173 |
|
@@ -253,8 +253,6 @@ function bp_update_to_1_6() {
|
|
253 |
* @internal Used internally to redirect BuddyPress to the about page on activation
|
254 |
*
|
255 |
* @uses set_transient() To drop the activation transient for 30 seconds
|
256 |
-
*
|
257 |
-
* @return If bulk activation
|
258 |
*/
|
259 |
function bp_add_activation_redirect() {
|
260 |
|
167 |
* This is most-often used when the data schema changes, but should also be used
|
168 |
* to correct issues with BuddyPress metadata silently on software update.
|
169 |
*
|
170 |
+
* @since BuddyPress (1.7)
|
171 |
*/
|
172 |
function bp_version_updater() {
|
173 |
|
253 |
* @internal Used internally to redirect BuddyPress to the about page on activation
|
254 |
*
|
255 |
* @uses set_transient() To drop the activation transient for 30 seconds
|
|
|
|
|
256 |
*/
|
257 |
function bp_add_activation_redirect() {
|
258 |
|
bp-core/bp-core-wpabstraction.php
CHANGED
@@ -127,10 +127,10 @@ if ( !function_exists( 'mb_strlen' ) ) {
|
|
127 |
if ( !function_exists( 'mb_strpos' ) ) {
|
128 |
/**
|
129 |
* Fallback implementation of mb_strpos, hardcoded to UTF-8.
|
130 |
-
* @param $haystack
|
131 |
-
* @param $needle
|
132 |
-
* @param $offset
|
133 |
-
* @param $encoding
|
134 |
* @return int
|
135 |
*/
|
136 |
function mb_strpos( $haystack, $needle, $offset = 0, $encoding = '' ) {
|
@@ -150,10 +150,10 @@ if ( !function_exists( 'mb_strpos' ) ) {
|
|
150 |
if ( !function_exists( 'mb_strrpos' ) ) {
|
151 |
/**
|
152 |
* Fallback implementation of mb_strrpos, hardcoded to UTF-8.
|
153 |
-
* @param $haystack
|
154 |
-
* @param $needle
|
155 |
-
* @param $offset
|
156 |
-
* @param $encoding
|
157 |
* @return int
|
158 |
*/
|
159 |
function mb_strrpos( $haystack, $needle, $offset = 0, $encoding = '' ) {
|
127 |
if ( !function_exists( 'mb_strpos' ) ) {
|
128 |
/**
|
129 |
* Fallback implementation of mb_strpos, hardcoded to UTF-8.
|
130 |
+
* @param string $haystack
|
131 |
+
* @param string $needle
|
132 |
+
* @param int $offset optional; start position.
|
133 |
+
* @param string $encoding optional; not used.
|
134 |
* @return int
|
135 |
*/
|
136 |
function mb_strpos( $haystack, $needle, $offset = 0, $encoding = '' ) {
|
150 |
if ( !function_exists( 'mb_strrpos' ) ) {
|
151 |
/**
|
152 |
* Fallback implementation of mb_strrpos, hardcoded to UTF-8.
|
153 |
+
* @param string $haystack
|
154 |
+
* @param string $needle
|
155 |
+
* @param int $offset optional; start position.
|
156 |
+
* @param string $encoding optional; not used.
|
157 |
* @return int
|
158 |
*/
|
159 |
function mb_strrpos( $haystack, $needle, $offset = 0, $encoding = '' ) {
|
bp-core/deprecated/1.5.php
CHANGED
@@ -250,7 +250,7 @@ function bp_is_member() {
|
|
250 |
* @deprecated use bp_loggedin_user_link()
|
251 |
*/
|
252 |
function bp_loggedinuser_link() {
|
253 |
-
_deprecated_function( __FUNCTION__, '1.5', '
|
254 |
bp_loggedin_user_link();
|
255 |
}
|
256 |
|
@@ -454,7 +454,7 @@ function bp_is_friend_requests() {
|
|
454 |
*
|
455 |
* @deprecated BuddyPress (1.5)
|
456 |
* @deprecated bp_is_root_component()
|
457 |
-
* @return
|
458 |
*/
|
459 |
function bp_core_is_root_component( $component_name ) {
|
460 |
_deprecated_function( __FUNCTION__, '1.5', 'bp_is_root_component()' );
|
@@ -497,8 +497,8 @@ function bp_dtheme_deprecated() {
|
|
497 |
*
|
498 |
* @deprecated BuddyPress (1.5)
|
499 |
* @deprecated No longer required.
|
500 |
-
* @param
|
501 |
-
* @param
|
502 |
* @return string
|
503 |
* @since BuddyPress (1.2)
|
504 |
*/
|
250 |
* @deprecated use bp_loggedin_user_link()
|
251 |
*/
|
252 |
function bp_loggedinuser_link() {
|
253 |
+
_deprecated_function( __FUNCTION__, '1.5', 'bp_loggedin_user_link' );
|
254 |
bp_loggedin_user_link();
|
255 |
}
|
256 |
|
454 |
*
|
455 |
* @deprecated BuddyPress (1.5)
|
456 |
* @deprecated bp_is_root_component()
|
457 |
+
* @return bool True if root component, else false.
|
458 |
*/
|
459 |
function bp_core_is_root_component( $component_name ) {
|
460 |
_deprecated_function( __FUNCTION__, '1.5', 'bp_is_root_component()' );
|
497 |
*
|
498 |
* @deprecated BuddyPress (1.5)
|
499 |
* @deprecated No longer required.
|
500 |
+
* @param string $oldvalue Previous value of get_option( 'page_on_front' )
|
501 |
+
* @param string $oldvalue New value of get_option( 'page_on_front' )
|
502 |
* @return string
|
503 |
* @since BuddyPress (1.2)
|
504 |
*/
|
bp-core/deprecated/1.6.php
CHANGED
@@ -193,7 +193,7 @@ function updates_register_activity_actions() {
|
|
193 |
* Sets the "From" address in emails sent
|
194 |
*
|
195 |
* @deprecated BuddyPress (1.6)
|
196 |
-
* @return
|
197 |
*/
|
198 |
function bp_core_email_from_address_filter() {
|
199 |
_deprecated_function( __FUNCTION__, '1.6' );
|
193 |
* Sets the "From" address in emails sent
|
194 |
*
|
195 |
* @deprecated BuddyPress (1.6)
|
196 |
+
* @return string email address
|
197 |
*/
|
198 |
function bp_core_email_from_address_filter() {
|
199 |
_deprecated_function( __FUNCTION__, '1.6' );
|
bp-forums/bp-forums-bbpress-sa.php
CHANGED
@@ -221,9 +221,9 @@ function backpress_convert_object( &$object, $output ) {
|
|
221 |
* Copied from wp-admin/includes/upgrade.php, this will take care of creating
|
222 |
* the bbPress stand-alone tables without loading a conflicting WP Admin.
|
223 |
*
|
224 |
-
* @param
|
225 |
-
* @param
|
226 |
-
* @return
|
227 |
*/
|
228 |
function bp_bb_dbDelta($queries, $execute = true) {
|
229 |
global $wpdb;
|
221 |
* Copied from wp-admin/includes/upgrade.php, this will take care of creating
|
222 |
* the bbPress stand-alone tables without loading a conflicting WP Admin.
|
223 |
*
|
224 |
+
* @param array $queries
|
225 |
+
* @param bool $execute Optional; defaults to true.
|
226 |
+
* @return array
|
227 |
*/
|
228 |
function bp_bb_dbDelta($queries, $execute = true) {
|
229 |
global $wpdb;
|
bp-forums/bp-forums-functions.php
CHANGED
@@ -319,7 +319,7 @@ function bp_forums_total_topic_count() {
|
|
319 |
*
|
320 |
* @since BuddyPress (1.6)
|
321 |
*
|
322 |
-
* @param
|
323 |
* @param int $topic_id The topic id
|
324 |
* @param int $user_id The user id
|
325 |
*/
|
@@ -370,7 +370,7 @@ function bp_forums_reply_exists( $text = '', $topic_id = 0, $user_id = 0 ) {
|
|
370 |
* @package BuddyPress
|
371 |
*
|
372 |
* @param int $user_id ID of the user being queried. Falls back on displayed user, then loggedin
|
373 |
-
* @param
|
374 |
* @return int $count The topic count
|
375 |
*/
|
376 |
function bp_forums_total_topic_count_for_user( $user_id = 0, $type = 'active' ) {
|
319 |
*
|
320 |
* @since BuddyPress (1.6)
|
321 |
*
|
322 |
+
* @param string $text The text of the comment
|
323 |
* @param int $topic_id The topic id
|
324 |
* @param int $user_id The user id
|
325 |
*/
|
370 |
* @package BuddyPress
|
371 |
*
|
372 |
* @param int $user_id ID of the user being queried. Falls back on displayed user, then loggedin
|
373 |
+
* @param string $type The current filter/sort type. 'active', 'popular', 'unreplied'
|
374 |
* @return int $count The topic count
|
375 |
*/
|
376 |
function bp_forums_total_topic_count_for_user( $user_id = 0, $type = 'active' ) {
|
bp-forums/bp-forums-template.php
CHANGED
@@ -893,7 +893,7 @@ function bp_forum_topic_new_reply_link() {
|
|
893 |
* @since BuddyPress (1.5)
|
894 |
*
|
895 |
* @uses apply_filters() Filter bp_get_forum_topic_new_reply_link to modify
|
896 |
-
* @return
|
897 |
*/
|
898 |
function bp_get_forum_topic_new_reply_link() {
|
899 |
global $topic_template;
|
@@ -1395,7 +1395,7 @@ function bp_forum_topic_tag_list() {
|
|
1395 |
* @package BuddyPress
|
1396 |
* @since BuddyPress (1.5)
|
1397 |
*
|
1398 |
-
* @param
|
1399 |
* @return mixed $tags
|
1400 |
*/
|
1401 |
function bp_get_forum_topic_tag_list( $format = 'string' ) {
|
893 |
* @since BuddyPress (1.5)
|
894 |
*
|
895 |
* @uses apply_filters() Filter bp_get_forum_topic_new_reply_link to modify
|
896 |
+
* @return string The URL for the New Reply link
|
897 |
*/
|
898 |
function bp_get_forum_topic_new_reply_link() {
|
899 |
global $topic_template;
|
1395 |
* @package BuddyPress
|
1396 |
* @since BuddyPress (1.5)
|
1397 |
*
|
1398 |
+
* @param string $format 'string' returns comma-separated string; otherwise returns array
|
1399 |
* @return mixed $tags
|
1400 |
*/
|
1401 |
function bp_get_forum_topic_tag_list( $format = 'string' ) {
|
bp-friends/bp-friends-activity.php
CHANGED
@@ -69,11 +69,11 @@ add_action( 'bp_register_activity_actions', 'friends_register_activity_actions'
|
|
69 |
*
|
70 |
* @package BuddyPress
|
71 |
*
|
72 |
-
* @param
|
73 |
* @param int $item_id The primary item id
|
74 |
* @param int $secondary_item_id The secondary item id
|
75 |
* @param int $total_items The total number of messaging-related notifications waiting for the user
|
76 |
-
* @param
|
77 |
*/
|
78 |
function friends_format_notifications( $action, $item_id, $secondary_item_id, $total_items, $format = 'string' ) {
|
79 |
|
69 |
*
|
70 |
* @package BuddyPress
|
71 |
*
|
72 |
+
* @param string $action The kind of notification being rendered
|
73 |
* @param int $item_id The primary item id
|
74 |
* @param int $secondary_item_id The secondary item id
|
75 |
* @param int $total_items The total number of messaging-related notifications waiting for the user
|
76 |
+
* @param string $format 'string' for BuddyBar-compatible notifications; 'array' for WP Toolbar
|
77 |
*/
|
78 |
function friends_format_notifications( $action, $item_id, $secondary_item_id, $total_items, $format = 'string' ) {
|
79 |
|
bp-friends/bp-friends-template.php
CHANGED
@@ -212,7 +212,7 @@ function bp_member_total_friend_count() {
|
|
212 |
* Outputs the ID of the potential friend
|
213 |
*
|
214 |
* @uses bp_get_potential_friend_id()
|
215 |
-
* @param
|
216 |
*/
|
217 |
function bp_potential_friend_id( $user_id = 0 ) {
|
218 |
echo bp_get_potential_friend_id( $user_id );
|
212 |
* Outputs the ID of the potential friend
|
213 |
*
|
214 |
* @uses bp_get_potential_friend_id()
|
215 |
+
* @param int $user_id Optional
|
216 |
*/
|
217 |
function bp_potential_friend_id( $user_id = 0 ) {
|
218 |
echo bp_get_potential_friend_id( $user_id );
|
bp-groups/bp-groups-admin.php
CHANGED
@@ -704,7 +704,7 @@ function bp_groups_admin_edit_metabox_add_new_members( $item ) {
|
|
704 |
/**
|
705 |
* Members metabox
|
706 |
*
|
707 |
-
* @param
|
708 |
*
|
709 |
* @since BuddyPress (1.7)
|
710 |
*/
|
@@ -961,7 +961,7 @@ function bp_groups_admin_autocomplete_handler() {
|
|
961 |
$group_member_query = new BP_Group_Member_Query( array(
|
962 |
'group_id' => $group_id,
|
963 |
'per_page' => 0, // show all
|
964 |
-
'
|
965 |
'populate_extras' => false,
|
966 |
'count_total' => false,
|
967 |
) );
|
704 |
/**
|
705 |
* Members metabox
|
706 |
*
|
707 |
+
* @param BP_Groups_Group $item The BP_Groups_Group object
|
708 |
*
|
709 |
* @since BuddyPress (1.7)
|
710 |
*/
|
961 |
$group_member_query = new BP_Group_Member_Query( array(
|
962 |
'group_id' => $group_id,
|
963 |
'per_page' => 0, // show all
|
964 |
+
'group_role' => array( 'member', 'mod', 'admin', ),
|
965 |
'populate_extras' => false,
|
966 |
'count_total' => false,
|
967 |
) );
|
bp-groups/bp-groups-buddybar.php
CHANGED
@@ -15,7 +15,6 @@ if ( !defined( 'ABSPATH' ) ) exit;
|
|
15 |
*
|
16 |
* @since BuddyPress (1.0)
|
17 |
* @global BuddyPress $bp
|
18 |
-
* @return False if no menu
|
19 |
*/
|
20 |
function bp_groups_adminbar_admin_menu() {
|
21 |
global $bp;
|
15 |
*
|
16 |
* @since BuddyPress (1.0)
|
17 |
* @global BuddyPress $bp
|
|
|
18 |
*/
|
19 |
function bp_groups_adminbar_admin_menu() {
|
20 |
global $bp;
|
bp-groups/bp-groups-classes.php
CHANGED
@@ -884,7 +884,7 @@ class BP_Groups_Group {
|
|
884 |
* @package BuddyPress
|
885 |
* @since BuddyPress (1.5)
|
886 |
*
|
887 |
-
* @param
|
888 |
* @return int The topic count
|
889 |
*/
|
890 |
function get_global_topic_count( $status = 'public', $search_terms = false ) {
|
@@ -987,8 +987,9 @@ class BP_Group_Member_Query extends BP_User_Query {
|
|
987 |
// values passed to the constructor will, as usual, override
|
988 |
// these defaults).
|
989 |
$this->query_vars = wp_parse_args( $this->query_vars, array(
|
990 |
-
'group_id'
|
991 |
-
'group_role'
|
|
|
992 |
) );
|
993 |
|
994 |
$group_member_ids = $this->get_group_member_ids();
|
@@ -1026,8 +1027,13 @@ class BP_Group_Member_Query extends BP_User_Query {
|
|
1026 |
|
1027 |
/** WHERE clauses *****************************************************/
|
1028 |
|
|
|
1029 |
$sql['where'][] = $wpdb->prepare( "group_id = %d", $this->query_vars['group_id'] );
|
1030 |
|
|
|
|
|
|
|
|
|
1031 |
// Role information is stored as follows: admins have
|
1032 |
// is_admin = 1, mods have is_mod = 1, banned have is_banned =
|
1033 |
// 1, and members have all three set to 0.
|
@@ -2179,7 +2185,7 @@ class BP_Group_Extension {
|
|
2179 |
/**
|
2180 |
* Call the create_screen() method, if we're on the right page
|
2181 |
*
|
2182 |
-
* @since 1.8
|
2183 |
*/
|
2184 |
public function maybe_create_screen() {
|
2185 |
if ( ! bp_is_group_creation_step( $this->screens['create']['slug'] ) ) {
|
@@ -2197,7 +2203,7 @@ class BP_Group_Extension {
|
|
2197 |
/**
|
2198 |
* Call the create_screen_save() method, if we're on the right page
|
2199 |
*
|
2200 |
-
* @since 1.8
|
2201 |
*/
|
2202 |
public function maybe_create_screen_save() {
|
2203 |
if ( ! bp_is_group_creation_step( $this->screens['create']['slug'] ) ) {
|
@@ -2345,7 +2351,7 @@ class BP_Group_Extension {
|
|
2345 |
* Does the given markup have a submit button?
|
2346 |
*
|
2347 |
* @since BuddyPress (1.8)
|
2348 |
-
* @param $screen The markup to check
|
2349 |
* @return bool
|
2350 |
*/
|
2351 |
public static function has_submit_button( $screen = '' ) {
|
884 |
* @package BuddyPress
|
885 |
* @since BuddyPress (1.5)
|
886 |
*
|
887 |
+
* @param string $status 'public', 'private', 'hidden', 'all' Which group types to count
|
888 |
* @return int The topic count
|
889 |
*/
|
890 |
function get_global_topic_count( $status = 'public', $search_terms = false ) {
|
987 |
// values passed to the constructor will, as usual, override
|
988 |
// these defaults).
|
989 |
$this->query_vars = wp_parse_args( $this->query_vars, array(
|
990 |
+
'group_id' => 0,
|
991 |
+
'group_role' => array( 'member' ),
|
992 |
+
'is_confirmed' => true,
|
993 |
) );
|
994 |
|
995 |
$group_member_ids = $this->get_group_member_ids();
|
1027 |
|
1028 |
/** WHERE clauses *****************************************************/
|
1029 |
|
1030 |
+
// Group id
|
1031 |
$sql['where'][] = $wpdb->prepare( "group_id = %d", $this->query_vars['group_id'] );
|
1032 |
|
1033 |
+
// is_confirmed
|
1034 |
+
$is_confirmed = ! empty( $this->query_vars['is_confirmed'] ) ? 1 : 0;
|
1035 |
+
$sql['where'][] = $wpdb->prepare( "is_confirmed = %d", $is_confirmed );
|
1036 |
+
|
1037 |
// Role information is stored as follows: admins have
|
1038 |
// is_admin = 1, mods have is_mod = 1, banned have is_banned =
|
1039 |
// 1, and members have all three set to 0.
|
2185 |
/**
|
2186 |
* Call the create_screen() method, if we're on the right page
|
2187 |
*
|
2188 |
+
* @since BuddyPress (1.8)
|
2189 |
*/
|
2190 |
public function maybe_create_screen() {
|
2191 |
if ( ! bp_is_group_creation_step( $this->screens['create']['slug'] ) ) {
|
2203 |
/**
|
2204 |
* Call the create_screen_save() method, if we're on the right page
|
2205 |
*
|
2206 |
+
* @since BuddyPress (1.8)
|
2207 |
*/
|
2208 |
public function maybe_create_screen_save() {
|
2209 |
if ( ! bp_is_group_creation_step( $this->screens['create']['slug'] ) ) {
|
2351 |
* Does the given markup have a submit button?
|
2352 |
*
|
2353 |
* @since BuddyPress (1.8)
|
2354 |
+
* @param string $screen The markup to check
|
2355 |
* @return bool
|
2356 |
*/
|
2357 |
public static function has_submit_button( $screen = '' ) {
|
bp-groups/bp-groups-forums.php
CHANGED
@@ -398,7 +398,7 @@ function groups_total_public_forum_topic_count( $type = 'newest' ) {
|
|
398 |
* @package BuddyPress
|
399 |
* @since BuddyPress (1.5)
|
400 |
*
|
401 |
-
* @param
|
402 |
* @return int The topic count
|
403 |
*/
|
404 |
function groups_total_forum_topic_count( $status = 'public', $search_terms = false ) {
|
398 |
* @package BuddyPress
|
399 |
* @since BuddyPress (1.5)
|
400 |
*
|
401 |
+
* @param string $status 'public', 'private', 'hidden', 'all' Which group types to count
|
402 |
* @return int The topic count
|
403 |
*/
|
404 |
function groups_total_forum_topic_count( $status = 'public', $search_terms = false ) {
|
bp-groups/bp-groups-functions.php
CHANGED
@@ -36,8 +36,8 @@ function bp_groups_has_directory() {
|
|
36 |
* of instantiating BP_Groups_Group directly, so that you will inherit cache
|
37 |
* support and pass through the groups_get_group filter.
|
38 |
*
|
39 |
-
* @param $args The load_users parameter is deprecated and does nothing.
|
40 |
-
* @return
|
41 |
*/
|
42 |
function groups_get_group( $args = '' ) {
|
43 |
$defaults = array(
|
@@ -523,7 +523,7 @@ function groups_total_groups_for_user( $user_id = 0 ) {
|
|
523 |
* @package BuddyPress
|
524 |
* @since BuddyPress (1.5)
|
525 |
*
|
526 |
-
* @return
|
527 |
*/
|
528 |
function groups_get_current_group() {
|
529 |
global $bp;
|
@@ -781,7 +781,7 @@ function groups_get_invites_for_group( $user_id, $group_id ) {
|
|
781 |
*
|
782 |
* @param int $user_id Potential group member
|
783 |
* @param int $group_id Potential group
|
784 |
-
* @param
|
785 |
* @return bool Returns true if an invitation is found
|
786 |
*/
|
787 |
function groups_check_user_has_invite( $user_id, $group_id, $type = 'sent' ) {
|
36 |
* of instantiating BP_Groups_Group directly, so that you will inherit cache
|
37 |
* support and pass through the groups_get_group filter.
|
38 |
*
|
39 |
+
* @param string $args The load_users parameter is deprecated and does nothing.
|
40 |
+
* @return BP_Groups_Group $group The group object
|
41 |
*/
|
42 |
function groups_get_group( $args = '' ) {
|
43 |
$defaults = array(
|
523 |
* @package BuddyPress
|
524 |
* @since BuddyPress (1.5)
|
525 |
*
|
526 |
+
* @return BP_Groups_Group The current group object
|
527 |
*/
|
528 |
function groups_get_current_group() {
|
529 |
global $bp;
|
781 |
*
|
782 |
* @param int $user_id Potential group member
|
783 |
* @param int $group_id Potential group
|
784 |
+
* @param string $type Optional. Use 'sent' to check for sent invites, 'all' to check for all
|
785 |
* @return bool Returns true if an invitation is found
|
786 |
*/
|
787 |
function groups_check_user_has_invite( $user_id, $group_id, $type = 'sent' ) {
|
bp-groups/bp-groups-template.php
CHANGED
@@ -811,8 +811,8 @@ function bp_group_list_mods( $group = false ) {
|
|
811 |
* @package BuddyPress
|
812 |
* @since BuddyPress (1.5)
|
813 |
*
|
814 |
-
* @param
|
815 |
-
* @param
|
816 |
* @return mixed $admin_ids A string or array of user_ids
|
817 |
*/
|
818 |
function bp_group_admin_ids( $group = false, $format = 'string' ) {
|
@@ -841,8 +841,8 @@ function bp_group_admin_ids( $group = false, $format = 'string' ) {
|
|
841 |
* @package BuddyPress
|
842 |
* @since BuddyPress (1.5)
|
843 |
*
|
844 |
-
* @param
|
845 |
-
* @param
|
846 |
* @return mixed $mod_ids A string or array of user_ids
|
847 |
*/
|
848 |
function bp_group_mod_ids( $group = false, $format = 'string' ) {
|
@@ -1081,8 +1081,8 @@ function bp_group_show_status_setting( $setting, $group = false ) {
|
|
1081 |
* @subpackage Groups Template
|
1082 |
* @since BuddyPress (1.5)
|
1083 |
*
|
1084 |
-
* @param
|
1085 |
-
* @param
|
1086 |
*/
|
1087 |
function bp_group_show_invite_status_setting( $setting, $group = false ) {
|
1088 |
$group_id = isset( $group->id ) ? $group->id : false;
|
@@ -1672,7 +1672,7 @@ function bp_has_friends_to_invite( $group = false ) {
|
|
1672 |
*
|
1673 |
* @since BuddyPress (1.2.7)
|
1674 |
*
|
1675 |
-
* @param
|
1676 |
* @uses bp_get_group_new_topic_button() Returns the 'New Topic' button
|
1677 |
*/
|
1678 |
function bp_group_new_topic_button( $group = false ) {
|
@@ -1683,13 +1683,13 @@ function bp_group_new_topic_button( $group = false ) {
|
|
1683 |
*
|
1684 |
* @since BuddyPress (1.2.7)
|
1685 |
*
|
1686 |
-
* @param
|
1687 |
* @uses is_user_logged_in() Is there a user logged in?
|
1688 |
* @uses bp_group_is_user_banned() Is the current user banned from the current group?
|
1689 |
* @uses bp_is_group_forum() Are we on a group forum page?
|
1690 |
* @uses bp_is_group_forum_topic() Are we on a group topic page?
|
1691 |
* @uses bp_get_button() Renders a button
|
1692 |
-
* @return HTML code for the button
|
1693 |
*/
|
1694 |
function bp_get_group_new_topic_button( $group = false ) {
|
1695 |
global $groups_template;
|
@@ -2416,7 +2416,7 @@ function bp_groups_current_create_step() {
|
|
2416 |
* @since BuddyPress (1.6)
|
2417 |
*
|
2418 |
* @uses apply_filters() Filter bp_get_groups_current_create_step to modify
|
2419 |
-
* @return
|
2420 |
*/
|
2421 |
function bp_get_groups_current_create_step() {
|
2422 |
global $bp;
|
@@ -2582,7 +2582,7 @@ function bp_group_current_admin_tab() {
|
|
2582 |
* @since BuddyPress (1.6)
|
2583 |
*
|
2584 |
* @uses apply_filters() Filter bp_get_current_group_admin_tab to modify return value
|
2585 |
-
* @return
|
2586 |
*/
|
2587 |
function bp_get_group_current_admin_tab() {
|
2588 |
if ( bp_is_groups_component() && bp_is_current_action( 'admin' ) ) {
|
@@ -3040,7 +3040,7 @@ function bp_current_group_slug() {
|
|
3040 |
* @since BuddyPress (1.5)
|
3041 |
* @uses apply_filters() Filter bp_get_current_group_slug to modify this output
|
3042 |
*
|
3043 |
-
* @return
|
3044 |
*/
|
3045 |
function bp_get_current_group_slug() {
|
3046 |
$current_group = groups_get_current_group();
|
@@ -3065,7 +3065,7 @@ function bp_current_group_name() {
|
|
3065 |
* @since BuddyPress (1.5)
|
3066 |
* @uses apply_filters() Filter bp_get_current_group_name to modify this output
|
3067 |
*
|
3068 |
-
* @return
|
3069 |
*/
|
3070 |
function bp_get_current_group_name() {
|
3071 |
global $bp;
|
811 |
* @package BuddyPress
|
812 |
* @since BuddyPress (1.5)
|
813 |
*
|
814 |
+
* @param BP_Groups_Group $group (optional) The group being queried. Defaults to the current group in the loop
|
815 |
+
* @param string $format 'string' to get a comma-separated string, 'array' to get an array
|
816 |
* @return mixed $admin_ids A string or array of user_ids
|
817 |
*/
|
818 |
function bp_group_admin_ids( $group = false, $format = 'string' ) {
|
841 |
* @package BuddyPress
|
842 |
* @since BuddyPress (1.5)
|
843 |
*
|
844 |
+
* @param BP_Groups_Group $group (optional) The group being queried. Defaults to the current group in the loop
|
845 |
+
* @param string $format 'string' to get a comma-separated string, 'array' to get an array
|
846 |
* @return mixed $mod_ids A string or array of user_ids
|
847 |
*/
|
848 |
function bp_group_mod_ids( $group = false, $format = 'string' ) {
|
1081 |
* @subpackage Groups Template
|
1082 |
* @since BuddyPress (1.5)
|
1083 |
*
|
1084 |
+
* @param string $setting The setting you want to check against ('members', 'mods', or 'admins')
|
1085 |
+
* @param BP_Groups_Group $group (optional) The group whose status you want to check
|
1086 |
*/
|
1087 |
function bp_group_show_invite_status_setting( $setting, $group = false ) {
|
1088 |
$group_id = isset( $group->id ) ? $group->id : false;
|
1672 |
*
|
1673 |
* @since BuddyPress (1.2.7)
|
1674 |
*
|
1675 |
+
* @param BP_Groups_Group|bool $group The BP Groups_Group object if passed, boolean false if not passed.
|
1676 |
* @uses bp_get_group_new_topic_button() Returns the 'New Topic' button
|
1677 |
*/
|
1678 |
function bp_group_new_topic_button( $group = false ) {
|
1683 |
*
|
1684 |
* @since BuddyPress (1.2.7)
|
1685 |
*
|
1686 |
+
* @param BP_Groups_Group|bool $group The BP Groups_Group object if passed, boolean false if not passed.
|
1687 |
* @uses is_user_logged_in() Is there a user logged in?
|
1688 |
* @uses bp_group_is_user_banned() Is the current user banned from the current group?
|
1689 |
* @uses bp_is_group_forum() Are we on a group forum page?
|
1690 |
* @uses bp_is_group_forum_topic() Are we on a group topic page?
|
1691 |
* @uses bp_get_button() Renders a button
|
1692 |
+
* @return string HTML code for the button
|
1693 |
*/
|
1694 |
function bp_get_group_new_topic_button( $group = false ) {
|
1695 |
global $groups_template;
|
2416 |
* @since BuddyPress (1.6)
|
2417 |
*
|
2418 |
* @uses apply_filters() Filter bp_get_groups_current_create_step to modify
|
2419 |
+
* @return string $current_create_step
|
2420 |
*/
|
2421 |
function bp_get_groups_current_create_step() {
|
2422 |
global $bp;
|
2582 |
* @since BuddyPress (1.6)
|
2583 |
*
|
2584 |
* @uses apply_filters() Filter bp_get_current_group_admin_tab to modify return value
|
2585 |
+
* @return string $tab The current tab's slug
|
2586 |
*/
|
2587 |
function bp_get_group_current_admin_tab() {
|
2588 |
if ( bp_is_groups_component() && bp_is_current_action( 'admin' ) ) {
|
3040 |
* @since BuddyPress (1.5)
|
3041 |
* @uses apply_filters() Filter bp_get_current_group_slug to modify this output
|
3042 |
*
|
3043 |
+
* @return string $current_group_slug The slug of the current group, if there is one
|
3044 |
*/
|
3045 |
function bp_get_current_group_slug() {
|
3046 |
$current_group = groups_get_current_group();
|
3065 |
* @since BuddyPress (1.5)
|
3066 |
* @uses apply_filters() Filter bp_get_current_group_name to modify this output
|
3067 |
*
|
3068 |
+
* @return string The name of the current group, if there is one
|
3069 |
*/
|
3070 |
function bp_get_current_group_name() {
|
3071 |
global $bp;
|
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-06-
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=UTF-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
@@ -104,7 +104,7 @@ msgid "%1$s | %2$s | Friends Activity"
|
|
104 |
msgstr ""
|
105 |
|
106 |
#: bp-activity/bp-activity-actions.php:502
|
107 |
-
msgid "Activity feed for %s' friends."
|
108 |
msgstr ""
|
109 |
|
110 |
#. translators: Member groups activity RSS title - "[Site Name] | [User Display
|
@@ -126,7 +126,7 @@ msgid "%1$s | %2$s | Favorites"
|
|
126 |
msgstr ""
|
127 |
|
128 |
#: bp-activity/bp-activity-actions.php:611
|
129 |
-
msgid "Activity feed of %s' favorites."
|
130 |
msgstr ""
|
131 |
|
132 |
#: bp-activity/bp-activity-admin.php:35 bp-activity/bp-activity-admin.php:36
|
@@ -147,10 +147,10 @@ msgid "ERROR: The item you are trying to reply to cannot be found, or it has bee
|
|
147 |
msgstr ""
|
148 |
|
149 |
#: bp-activity/bp-activity-admin.php:197 bp-activity/bp-activity-admin.php:244
|
150 |
-
#: bp-core/admin/bp-core-functions.php:
|
151 |
-
#: bp-core/admin/bp-core-functions.php:
|
152 |
-
#: bp-core/admin/bp-core-functions.php:
|
153 |
-
#: bp-core/admin/bp-core-functions.php:
|
154 |
#: bp-groups/bp-groups-admin.php:143
|
155 |
msgid "Overview"
|
156 |
msgstr ""
|
@@ -188,10 +188,10 @@ msgid "For information about when and how BuddyPress uses all of these settings,
|
|
188 |
msgstr ""
|
189 |
|
190 |
#: bp-activity/bp-activity-admin.php:216 bp-activity/bp-activity-admin.php:261
|
191 |
-
#: bp-core/admin/bp-core-functions.php:
|
192 |
-
#: bp-core/admin/bp-core-functions.php:
|
193 |
-
#: bp-core/admin/bp-core-functions.php:
|
194 |
-
#: bp-core/admin/bp-core-functions.php:
|
195 |
#: bp-groups/bp-groups-admin.php:159
|
196 |
msgid "For more information:"
|
197 |
msgstr ""
|
@@ -201,10 +201,10 @@ msgid "<a href=\"http://codex.buddypress.org/buddypress-site-administration/mana
|
|
201 |
msgstr ""
|
202 |
|
203 |
#: bp-activity/bp-activity-admin.php:218 bp-activity/bp-activity-admin.php:262
|
204 |
-
#: bp-core/admin/bp-core-functions.php:
|
205 |
-
#: bp-core/admin/bp-core-functions.php:
|
206 |
-
#: bp-core/admin/bp-core-functions.php:
|
207 |
-
#: bp-core/admin/bp-core-functions.php:
|
208 |
msgid "<a href=\"http://buddypress.org/support/\">Support Forums</a>"
|
209 |
msgstr ""
|
210 |
|
@@ -533,11 +533,11 @@ msgstr ""
|
|
533 |
msgid "In reply to"
|
534 |
msgstr ""
|
535 |
|
536 |
-
#: bp-activity/bp-activity-filters.php:
|
537 |
msgid "[Read more]"
|
538 |
msgstr ""
|
539 |
|
540 |
-
#: bp-activity/bp-activity-filters.php:
|
541 |
msgid "…"
|
542 |
msgstr ""
|
543 |
|
@@ -570,12 +570,12 @@ msgstr ""
|
|
570 |
msgid "%s posted a new activity comment"
|
571 |
msgstr ""
|
572 |
|
573 |
-
#: bp-activity/bp-activity-functions.php:
|
574 |
msgid "Thumbnail"
|
575 |
msgstr ""
|
576 |
|
577 |
#: bp-activity/bp-activity-loader.php:30
|
578 |
-
#: bp-core/admin/bp-core-components.php:
|
579 |
msgid "Activity Streams"
|
580 |
msgstr ""
|
581 |
|
@@ -892,7 +892,7 @@ msgstr ""
|
|
892 |
msgid "%1$s commented on the post, %2$s"
|
893 |
msgstr ""
|
894 |
|
895 |
-
#: bp-blogs/bp-blogs-loader.php:25 bp-core/admin/bp-core-components.php:
|
896 |
msgid "Site Tracking"
|
897 |
msgstr ""
|
898 |
|
@@ -1032,7 +1032,7 @@ msgstr ""
|
|
1032 |
msgid "%s's Recent Comments"
|
1033 |
msgstr ""
|
1034 |
|
1035 |
-
#: bp-blogs/bp-blogs-template.php:
|
1036 |
#: bp-forums/bp-forums-template.php:1321 bp-groups/bp-groups-template.php:2503
|
1037 |
#: bp-members/bp-members-template.php:710
|
1038 |
#: bp-messages/bp-messages-template.php:367 bp-themes/bp-default/header.php:30
|
@@ -1040,7 +1040,7 @@ msgstr ""
|
|
1040 |
msgid "Search"
|
1041 |
msgstr ""
|
1042 |
|
1043 |
-
#: bp-blogs/bp-blogs-template.php:
|
1044 |
msgid "Visit Site"
|
1045 |
msgstr ""
|
1046 |
|
@@ -1075,7 +1075,7 @@ msgid "Max posts to show:"
|
|
1075 |
msgstr ""
|
1076 |
|
1077 |
#: bp-core/admin/bp-core-components.php:26
|
1078 |
-
#: bp-core/admin/bp-core-functions.php:
|
1079 |
msgid "Components"
|
1080 |
msgstr ""
|
1081 |
|
@@ -1085,13 +1085,13 @@ msgid "Save Settings"
|
|
1085 |
msgstr ""
|
1086 |
|
1087 |
#: bp-core/admin/bp-core-components.php:59
|
1088 |
-
#: bp-core/admin/bp-core-components.php:
|
1089 |
#: bp-xprofile/bp-xprofile-loader.php:41
|
1090 |
msgid "Extended Profiles"
|
1091 |
msgstr ""
|
1092 |
|
1093 |
#: bp-core/admin/bp-core-components.php:60
|
1094 |
-
#: bp-core/admin/bp-core-components.php:
|
1095 |
msgid "Customize your community with fully editable profile fields that allow your users to describe themselves."
|
1096 |
msgstr ""
|
1097 |
|
@@ -1144,81 +1144,81 @@ msgstr ""
|
|
1144 |
msgid "No components found."
|
1145 |
msgstr ""
|
1146 |
|
1147 |
-
#: bp-core/admin/bp-core-components.php:
|
1148 |
msgid "BuddyPress Core"
|
1149 |
msgstr ""
|
1150 |
|
1151 |
-
#: bp-core/admin/bp-core-components.php:
|
1152 |
msgid "It‘s what makes <del>time travel</del> BuddyPress possible!"
|
1153 |
msgstr ""
|
1154 |
|
1155 |
-
#: bp-core/admin/bp-core-components.php:
|
1156 |
msgid "Community Members"
|
1157 |
msgstr ""
|
1158 |
|
1159 |
-
#: bp-core/admin/bp-core-components.php:
|
1160 |
msgid "Everything in a BuddyPress community revolves around its members."
|
1161 |
msgstr ""
|
1162 |
|
1163 |
-
#: bp-core/admin/bp-core-components.php:
|
1164 |
#: bp-templates/bp-legacy/buddypress/groups/create.php:105
|
1165 |
#: bp-themes/bp-default/groups/create.php:112
|
1166 |
msgid "Group Forums"
|
1167 |
msgstr ""
|
1168 |
|
1169 |
-
#: bp-core/admin/bp-core-components.php:
|
1170 |
msgid "BuddyPress Forums are retired. Use %s."
|
1171 |
msgstr ""
|
1172 |
|
1173 |
-
#: bp-core/admin/bp-core-components.php:
|
1174 |
msgid "Account Settings"
|
1175 |
msgstr ""
|
1176 |
|
1177 |
-
#: bp-core/admin/bp-core-components.php:
|
1178 |
msgid "Allow your users to modify their account and notification settings directly from within their profiles."
|
1179 |
msgstr ""
|
1180 |
|
1181 |
-
#: bp-core/admin/bp-core-components.php:
|
1182 |
msgid "Friend Connections"
|
1183 |
msgstr ""
|
1184 |
|
1185 |
-
#: bp-core/admin/bp-core-components.php:
|
1186 |
msgid "Let your users make connections so they can track the activity of others and focus on the people they care about the most."
|
1187 |
msgstr ""
|
1188 |
|
1189 |
-
#: bp-core/admin/bp-core-components.php:
|
1190 |
msgid "Private Messaging"
|
1191 |
msgstr ""
|
1192 |
|
1193 |
-
#: bp-core/admin/bp-core-components.php:
|
1194 |
msgid "Allow your users to talk to each other directly and in private. Not just limited to one-on-one discussions, messages can be sent between any number of members."
|
1195 |
msgstr ""
|
1196 |
|
1197 |
-
#: bp-core/admin/bp-core-components.php:
|
1198 |
msgid "Global, personal, and group activity streams with threaded commenting, direct posting, favoriting and @mentions, all with full RSS feed and email notification support."
|
1199 |
msgstr ""
|
1200 |
|
1201 |
-
#: bp-core/admin/bp-core-components.php:
|
1202 |
msgid "User Groups"
|
1203 |
msgstr ""
|
1204 |
|
1205 |
-
#: bp-core/admin/bp-core-components.php:
|
1206 |
msgid "Groups allow your users to organize themselves into specific public, private or hidden sections with separate activity streams and member listings."
|
1207 |
msgstr ""
|
1208 |
|
1209 |
-
#: bp-core/admin/bp-core-components.php:
|
1210 |
msgid "Group Forums (Legacy)"
|
1211 |
msgstr ""
|
1212 |
|
1213 |
-
#: bp-core/admin/bp-core-components.php:
|
1214 |
msgid "Group forums allow for focused, bulletin-board style conversations."
|
1215 |
msgstr ""
|
1216 |
|
1217 |
-
#: bp-core/admin/bp-core-components.php:
|
1218 |
msgid "Record activity for new posts and comments from your site."
|
1219 |
msgstr ""
|
1220 |
|
1221 |
-
#: bp-core/admin/bp-core-components.php:
|
1222 |
msgid "Record activity for new sites, posts, and comments across your network."
|
1223 |
msgstr ""
|
1224 |
|
@@ -1258,11 +1258,11 @@ msgstr ""
|
|
1258 |
msgid "Each BuddyPress Component needs its own WordPress page. The following WordPress Pages have more than one component associated with them: %2$s. <a href=\"%1$s\" class=\"button-secondary\">Repair</a>"
|
1259 |
msgstr ""
|
1260 |
|
1261 |
-
#: bp-core/admin/bp-core-functions.php:
|
1262 |
msgid "Pages"
|
1263 |
msgstr ""
|
1264 |
|
1265 |
-
#: bp-core/admin/bp-core-functions.php:
|
1266 |
#: bp-core/admin/bp-core-settings.php:258 bp-core/bp-core-admin.php:331
|
1267 |
#: bp-groups/bp-groups-loader.php:302 bp-groups/bp-groups-template.php:1468
|
1268 |
#: bp-settings/bp-settings-loader.php:23 bp-settings/bp-settings-loader.php:73
|
@@ -1270,7 +1270,7 @@ msgstr ""
|
|
1270 |
msgid "Settings"
|
1271 |
msgstr ""
|
1272 |
|
1273 |
-
#: bp-core/admin/bp-core-functions.php:
|
1274 |
#: bp-forums/bp-forums-loader.php:109 bp-forums/bp-forums-loader.php:172
|
1275 |
#: bp-forums/bp-forums-loader.php:213 bp-forums/bp-forums-screens.php:188
|
1276 |
#: bp-forums/bp-forums-screens.php:190 bp-forums/deprecated/1.6.php:42
|
@@ -1278,35 +1278,35 @@ msgstr ""
|
|
1278 |
msgid "Forums"
|
1279 |
msgstr ""
|
1280 |
|
1281 |
-
#: bp-core/admin/bp-core-functions.php:
|
1282 |
msgid "<a href=\"http://codex.buddypress.org/getting-started/configure-buddypress-components/#settings-buddypress-components\">Managing Components</a>"
|
1283 |
msgstr ""
|
1284 |
|
1285 |
-
#: bp-core/admin/bp-core-functions.php:
|
1286 |
msgid "<a href=\"http://codex.buddypress.org/getting-started/configure-buddypress-components/#settings-buddypress-pages\">Managing Pages</a>"
|
1287 |
msgstr ""
|
1288 |
|
1289 |
-
#: bp-core/admin/bp-core-functions.php:
|
1290 |
msgid "<a href=\"http://codex.buddypress.org/getting-started/configure-buddypress-components/#settings-buddypress-settings\">Managing Settings</a>"
|
1291 |
msgstr ""
|
1292 |
|
1293 |
-
#: bp-core/admin/bp-core-functions.php:
|
1294 |
msgid "<a href=\"http://codex.buddypress.org/getting-started/configure-buddypress-components/#users-profile-fields\">Managing Profile Fields</a>"
|
1295 |
msgstr ""
|
1296 |
|
1297 |
-
#: bp-core/admin/bp-core-functions.php:
|
1298 |
msgid "By default, all BuddyPress components are enabled. You can selectively disable any of the components by using the form. Your BuddyPress installation will continue to function. However, the features of the disabled components will no longer be accessible to anyone using the site."
|
1299 |
msgstr ""
|
1300 |
|
1301 |
-
#: bp-core/admin/bp-core-functions.php:
|
1302 |
msgid "BuddyPress Components use WordPress Pages for their root directory/archive pages. Here you can change the page associations for each active component."
|
1303 |
msgstr ""
|
1304 |
|
1305 |
-
#: bp-core/admin/bp-core-functions.php:
|
1306 |
msgid "Extra configuration settings."
|
1307 |
msgstr ""
|
1308 |
|
1309 |
-
#: bp-core/admin/bp-core-functions.php:
|
1310 |
msgid "Your users will distinguish themselves through their profile page. Create relevant profile fields that will show on each users profile.</br></br>Note: Any fields in the first group will appear on the signup page."
|
1311 |
msgstr ""
|
1312 |
|
@@ -1544,23 +1544,23 @@ msgid "Looking for help? The <a href=\"http://codex.buddypress.org/\">BuddyPress
|
|
1544 |
msgstr ""
|
1545 |
|
1546 |
#: bp-core/bp-core-admin.php:421
|
1547 |
-
msgid "
|
1548 |
msgstr ""
|
1549 |
|
1550 |
#: bp-core/bp-core-admin.php:424
|
1551 |
-
msgid "
|
1552 |
msgstr ""
|
1553 |
|
1554 |
#: bp-core/bp-core-admin.php:425
|
1555 |
-
msgid "
|
1556 |
msgstr ""
|
1557 |
|
1558 |
#: bp-core/bp-core-admin.php:430
|
1559 |
-
msgid "Group Management"
|
1560 |
msgstr ""
|
1561 |
|
1562 |
#: bp-core/bp-core-admin.php:433
|
1563 |
-
msgid "
|
1564 |
msgstr ""
|
1565 |
|
1566 |
#: bp-core/bp-core-admin.php:436
|
@@ -1568,7 +1568,7 @@ msgid "Groups administration panel"
|
|
1568 |
msgstr ""
|
1569 |
|
1570 |
#: bp-core/bp-core-admin.php:443
|
1571 |
-
msgid "The
|
1572 |
msgstr ""
|
1573 |
|
1574 |
#: bp-core/bp-core-admin.php:450
|
@@ -1576,38 +1576,38 @@ msgid "Under the Hood"
|
|
1576 |
msgstr ""
|
1577 |
|
1578 |
#: bp-core/bp-core-admin.php:454
|
1579 |
-
msgid "
|
1580 |
msgstr ""
|
1581 |
|
1582 |
#: bp-core/bp-core-admin.php:455
|
1583 |
-
msgid "
|
1584 |
msgstr ""
|
1585 |
|
1586 |
#: bp-core/bp-core-admin.php:457
|
1587 |
-
msgid "
|
1588 |
msgstr ""
|
1589 |
|
1590 |
#: bp-core/bp-core-admin.php:458
|
1591 |
-
msgid "
|
1592 |
msgstr ""
|
1593 |
|
1594 |
#: bp-core/bp-core-admin.php:462
|
1595 |
-
msgid "
|
1596 |
msgstr ""
|
1597 |
|
1598 |
#: bp-core/bp-core-admin.php:463
|
1599 |
-
msgid "
|
1600 |
msgstr ""
|
1601 |
|
1602 |
#: bp-core/bp-core-admin.php:465
|
1603 |
-
msgid "
|
1604 |
msgstr ""
|
1605 |
|
1606 |
#: bp-core/bp-core-admin.php:466
|
1607 |
-
msgid "
|
1608 |
msgstr ""
|
1609 |
|
1610 |
-
#: bp-core/bp-core-admin.php:471 bp-core/bp-core-admin.php:
|
1611 |
msgid "Go to the BuddyPress Settings page"
|
1612 |
msgstr ""
|
1613 |
|
@@ -1652,10 +1652,10 @@ msgid "Support Officer"
|
|
1652 |
msgstr ""
|
1653 |
|
1654 |
#: bp-core/bp-core-admin.php:552
|
1655 |
-
msgid "Core Contributors to BuddyPress 1.
|
1656 |
msgstr ""
|
1657 |
|
1658 |
-
#: bp-core/bp-core-adminbar.php:
|
1659 |
msgid "My Account"
|
1660 |
msgstr ""
|
1661 |
|
@@ -1742,8 +1742,8 @@ msgstr ""
|
|
1742 |
msgid "Random Site"
|
1743 |
msgstr ""
|
1744 |
|
1745 |
-
#: bp-core/bp-core-caps.php:
|
1746 |
-
#: bp-core/bp-core-caps.php:
|
1747 |
msgid "Special community roles no longer exist. Use mapped capabilities instead"
|
1748 |
msgstr ""
|
1749 |
|
@@ -1786,7 +1786,7 @@ msgstr ""
|
|
1786 |
msgid "Activate %s"
|
1787 |
msgstr ""
|
1788 |
|
1789 |
-
#: bp-core/bp-core-filters.php:285 bp-members/bp-members-functions.php:
|
1790 |
msgid ""
|
1791 |
"Thanks for registering! To complete the activation of your account please click the following link:\n"
|
1792 |
"\n"
|
@@ -1794,7 +1794,7 @@ msgid ""
|
|
1794 |
"\n"
|
1795 |
msgstr ""
|
1796 |
|
1797 |
-
#: bp-core/bp-core-filters.php:286 bp-members/bp-members-functions.php:
|
1798 |
msgid "Activate Your Account"
|
1799 |
msgstr ""
|
1800 |
|
@@ -1926,7 +1926,7 @@ msgctxt "Separator in time since"
|
|
1926 |
msgid ","
|
1927 |
msgstr ""
|
1928 |
|
1929 |
-
#: bp-core/bp-core-functions.php:
|
1930 |
msgid "Not recently active"
|
1931 |
msgstr ""
|
1932 |
|
@@ -2424,8 +2424,8 @@ msgid "You already have a pending friendship request with this user"
|
|
2424 |
msgstr ""
|
2425 |
|
2426 |
#: bp-friends/bp-friends-actions.php:70
|
2427 |
-
#: bp-templates/bp-legacy/buddypress-functions.php:
|
2428 |
-
#: bp-themes/bp-default/_inc/ajax.php:
|
2429 |
msgid "Friendship could not be canceled."
|
2430 |
msgstr ""
|
2431 |
|
@@ -2601,8 +2601,8 @@ msgid "%d friends"
|
|
2601 |
msgstr ""
|
2602 |
|
2603 |
#: bp-friends/bp-friends-template.php:285
|
2604 |
-
#: bp-templates/bp-legacy/buddypress-functions.php:
|
2605 |
-
#: bp-themes/bp-default/_inc/ajax.php:
|
2606 |
msgid "Cancel Friendship Request"
|
2607 |
msgstr ""
|
2608 |
|
@@ -2617,10 +2617,10 @@ msgstr ""
|
|
2617 |
|
2618 |
#: bp-friends/bp-friends-template.php:319
|
2619 |
#: bp-friends/bp-friends-template.php:320
|
2620 |
-
#: bp-templates/bp-legacy/buddypress-functions.php:
|
2621 |
-
#: bp-templates/bp-legacy/buddypress-functions.php:
|
2622 |
-
#: bp-themes/bp-default/_inc/ajax.php:
|
2623 |
-
#: bp-themes/bp-default/_inc/ajax.php:
|
2624 |
msgid "Add Friend"
|
2625 |
msgstr ""
|
2626 |
|
@@ -2994,14 +2994,14 @@ msgid "No members of this type"
|
|
2994 |
msgstr ""
|
2995 |
|
2996 |
#: bp-groups/bp-groups-admin.php:859 bp-groups/bp-groups-adminbar.php:102
|
2997 |
-
#: bp-groups/bp-groups-buddybar.php:
|
2998 |
#: bp-templates/bp-legacy/buddypress/groups/single/admin.php:360
|
2999 |
#: bp-themes/bp-default/groups/single/admin.php:360
|
3000 |
#: bp-xprofile/bp-xprofile-admin.php:118
|
3001 |
msgid "Delete Group"
|
3002 |
msgstr ""
|
3003 |
|
3004 |
-
#: bp-groups/bp-groups-admin.php:863 bp-groups/bp-groups-classes.php:
|
3005 |
#: bp-templates/bp-legacy/buddypress/groups/single/admin.php:32
|
3006 |
#: bp-templates/bp-legacy/buddypress/groups/single/admin.php:117
|
3007 |
#: bp-templates/bp-legacy/buddypress/groups/single/forum/edit.php:58
|
@@ -3089,7 +3089,7 @@ msgstr ""
|
|
3089 |
msgid "Select group %1$d"
|
3090 |
msgstr ""
|
3091 |
|
3092 |
-
#: bp-groups/bp-groups-adminbar.php:48 bp-groups/bp-groups-buddybar.php:
|
3093 |
msgid "Edit Details"
|
3094 |
msgstr ""
|
3095 |
|
@@ -3101,36 +3101,36 @@ msgstr ""
|
|
3101 |
msgid "Edit Avatar"
|
3102 |
msgstr ""
|
3103 |
|
3104 |
-
#: bp-groups/bp-groups-adminbar.php:75 bp-groups/bp-groups-buddybar.php:
|
3105 |
msgid "Manage Invitations"
|
3106 |
msgstr ""
|
3107 |
|
3108 |
-
#: bp-groups/bp-groups-adminbar.php:84 bp-groups/bp-groups-buddybar.php:
|
3109 |
msgid "Manage Members"
|
3110 |
msgstr ""
|
3111 |
|
3112 |
-
#: bp-groups/bp-groups-adminbar.php:93 bp-groups/bp-groups-buddybar.php:
|
3113 |
msgid "Membership Requests"
|
3114 |
msgstr ""
|
3115 |
|
3116 |
-
#: bp-groups/bp-groups-buddybar.php:
|
3117 |
msgid "Admin Options"
|
3118 |
msgstr ""
|
3119 |
|
3120 |
-
#: bp-groups/bp-groups-buddybar.php:
|
3121 |
msgid "Group Settings"
|
3122 |
msgstr ""
|
3123 |
|
3124 |
-
#: bp-groups/bp-groups-buddybar.php:
|
3125 |
#: bp-groups/bp-groups-template.php:2606
|
3126 |
msgid "Group Avatar"
|
3127 |
msgstr ""
|
3128 |
|
3129 |
-
#: bp-groups/bp-groups-classes.php:
|
3130 |
msgid "Group Mod"
|
3131 |
msgstr ""
|
3132 |
|
3133 |
-
#: bp-groups/bp-groups-classes.php:
|
3134 |
msgid "Group Admin"
|
3135 |
msgstr ""
|
3136 |
|
@@ -3203,8 +3203,8 @@ msgstr ""
|
|
3203 |
|
3204 |
#: bp-groups/bp-groups-loader.php:427 bp-groups/bp-groups-template.php:1793
|
3205 |
#: bp-groups/bp-groups-template.php:1794
|
3206 |
-
#: bp-templates/bp-legacy/buddypress-functions.php:
|
3207 |
-
#: bp-themes/bp-default/_inc/ajax.php:
|
3208 |
msgid "Request Membership"
|
3209 |
msgstr ""
|
3210 |
|
@@ -3651,14 +3651,14 @@ msgid "This group has no moderators"
|
|
3651 |
msgstr ""
|
3652 |
|
3653 |
#: bp-groups/bp-groups-template.php:1752 bp-groups/bp-groups-template.php:1753
|
3654 |
-
#: bp-templates/bp-legacy/buddypress-functions.php:
|
3655 |
-
#: bp-themes/bp-default/_inc/ajax.php:
|
3656 |
msgid "Leave Group"
|
3657 |
msgstr ""
|
3658 |
|
3659 |
#: bp-groups/bp-groups-template.php:1775 bp-groups/bp-groups-template.php:1776
|
3660 |
-
#: bp-templates/bp-legacy/buddypress-functions.php:
|
3661 |
-
#: bp-themes/bp-default/_inc/ajax.php:
|
3662 |
msgid "Join Group"
|
3663 |
msgstr ""
|
3664 |
|
@@ -3793,12 +3793,12 @@ msgstr ""
|
|
3793 |
msgid "Edit Profile"
|
3794 |
msgstr ""
|
3795 |
|
3796 |
-
#: bp-members/bp-members-adminbar.php:
|
3797 |
#: bp-members/bp-members-buddybar.php:131
|
3798 |
msgid "User Capabilities"
|
3799 |
msgstr ""
|
3800 |
|
3801 |
-
#: bp-members/bp-members-adminbar.php:
|
3802 |
#: bp-settings/bp-settings-loader.php:130
|
3803 |
#: bp-settings/bp-settings-loader.php:190
|
3804 |
#: bp-templates/bp-legacy/buddypress/members/single/settings/delete-account.php:27
|
@@ -3807,7 +3807,7 @@ msgstr ""
|
|
3807 |
msgid "Delete Account"
|
3808 |
msgstr ""
|
3809 |
|
3810 |
-
#: bp-members/bp-members-adminbar.php:
|
3811 |
msgid "No new notifications"
|
3812 |
msgstr ""
|
3813 |
|
@@ -3836,66 +3836,66 @@ msgstr ""
|
|
3836 |
msgid "Delete %s's Account"
|
3837 |
msgstr ""
|
3838 |
|
3839 |
-
#: bp-members/bp-members-functions.php:
|
3840 |
-
#: bp-members/bp-members-functions.php:
|
3841 |
msgid "<strong>ERROR</strong>: Your account has been marked as a spammer."
|
3842 |
msgstr ""
|
3843 |
|
3844 |
-
#: bp-members/bp-members-functions.php:
|
3845 |
msgid "Please check your email address."
|
3846 |
msgstr ""
|
3847 |
|
3848 |
-
#: bp-members/bp-members-functions.php:
|
3849 |
-
#: bp-members/bp-members-functions.php:
|
3850 |
msgid "Sorry, that email address is not allowed!"
|
3851 |
msgstr ""
|
3852 |
|
3853 |
-
#: bp-members/bp-members-functions.php:
|
3854 |
msgid "Sorry, that email address is already used!"
|
3855 |
msgstr ""
|
3856 |
|
3857 |
-
#: bp-members/bp-members-functions.php:
|
3858 |
msgid "Please enter a username"
|
3859 |
msgstr ""
|
3860 |
|
3861 |
-
#: bp-members/bp-members-functions.php:
|
3862 |
msgid "That username is not allowed"
|
3863 |
msgstr ""
|
3864 |
|
3865 |
-
#: bp-members/bp-members-functions.php:
|
3866 |
msgid "Usernames can contain only letters, numbers, ., -, *, and @"
|
3867 |
msgstr ""
|
3868 |
|
3869 |
-
#: bp-members/bp-members-functions.php:
|
3870 |
msgid "Username must be at least 4 characters"
|
3871 |
msgstr ""
|
3872 |
|
3873 |
-
#: bp-members/bp-members-functions.php:
|
3874 |
msgid "Sorry, usernames may not contain the character \"_\"!"
|
3875 |
msgstr ""
|
3876 |
|
3877 |
-
#: bp-members/bp-members-functions.php:
|
3878 |
msgid "Sorry, usernames must have letters too!"
|
3879 |
msgstr ""
|
3880 |
|
3881 |
-
#: bp-members/bp-members-functions.php:
|
3882 |
msgid "Sorry, that username already exists!"
|
3883 |
msgstr ""
|
3884 |
|
3885 |
-
#: bp-members/bp-members-functions.php:
|
3886 |
msgid "<strong>ERROR</strong>: Couldn’t register you... please contact the <a href=\"mailto:%s\">webmaster</a> !"
|
3887 |
msgstr ""
|
3888 |
|
3889 |
-
#: bp-members/bp-members-functions.php:
|
3890 |
-
#: bp-members/bp-members-functions.php:
|
3891 |
msgid "Invalid activation key"
|
3892 |
msgstr ""
|
3893 |
|
3894 |
-
#: bp-members/bp-members-functions.php:
|
3895 |
msgid "%s became a registered member"
|
3896 |
msgstr ""
|
3897 |
|
3898 |
-
#: bp-members/bp-members-functions.php:
|
3899 |
msgid "<strong>ERROR</strong>: Your account has not been activated. Check your email for the activation link."
|
3900 |
msgstr ""
|
3901 |
|
@@ -4002,8 +4002,8 @@ msgid "There was an error deleting messages."
|
|
4002 |
msgstr ""
|
4003 |
|
4004 |
#: bp-messages/bp-messages-actions.php:91
|
4005 |
-
#: bp-templates/bp-legacy/buddypress-functions.php:
|
4006 |
-
#: bp-themes/bp-default/_inc/ajax.php:
|
4007 |
msgid "Messages deleted."
|
4008 |
msgstr ""
|
4009 |
|
@@ -4212,60 +4212,60 @@ msgid "%d Recipients"
|
|
4212 |
msgstr ""
|
4213 |
|
4214 |
#: bp-messages/bp-messages-template.php:924
|
4215 |
-
#: bp-templates/bp-legacy/buddypress-functions.php:
|
4216 |
-
#: bp-themes/bp-default/_inc/ajax.php:
|
4217 |
msgid "Sent %s"
|
4218 |
msgstr ""
|
4219 |
|
4220 |
-
#: bp-settings/bp-settings-actions.php:
|
4221 |
msgid "That email address is invalid. Check the formatting and try again."
|
4222 |
msgstr ""
|
4223 |
|
4224 |
-
#: bp-settings/bp-settings-actions.php:
|
4225 |
msgid "That email address is currently unavailable for use."
|
4226 |
msgstr ""
|
4227 |
|
4228 |
-
#: bp-settings/bp-settings-actions.php:
|
4229 |
msgid "That email address is already taken."
|
4230 |
msgstr ""
|
4231 |
|
4232 |
-
#: bp-settings/bp-settings-actions.php:
|
4233 |
msgid "Email address cannot be empty."
|
4234 |
msgstr ""
|
4235 |
|
4236 |
-
#: bp-settings/bp-settings-actions.php:
|
4237 |
msgid "Your current password is invalid."
|
4238 |
msgstr ""
|
4239 |
|
4240 |
-
#: bp-settings/bp-settings-actions.php:
|
4241 |
msgid "The new password fields did not match."
|
4242 |
msgstr ""
|
4243 |
|
4244 |
-
#: bp-settings/bp-settings-actions.php:
|
4245 |
msgid "One of the password fields was empty."
|
4246 |
msgstr ""
|
4247 |
|
4248 |
-
#: bp-settings/bp-settings-actions.php:
|
4249 |
msgid "Your settings have been saved."
|
4250 |
msgstr ""
|
4251 |
|
4252 |
-
#: bp-settings/bp-settings-actions.php:
|
4253 |
msgid "No changes were made to your account."
|
4254 |
msgstr ""
|
4255 |
|
4256 |
-
#: bp-settings/bp-settings-actions.php:
|
4257 |
msgid "No changes were made to this account."
|
4258 |
msgstr ""
|
4259 |
|
4260 |
-
#: bp-settings/bp-settings-actions.php:
|
4261 |
msgid "Your notification settings have been saved."
|
4262 |
msgstr ""
|
4263 |
|
4264 |
-
#: bp-settings/bp-settings-actions.php:
|
4265 |
msgid "This user's notification settings have been saved."
|
4266 |
msgstr ""
|
4267 |
|
4268 |
-
#: bp-settings/bp-settings-actions.php:
|
4269 |
msgid "%s was successfully deleted."
|
4270 |
msgstr ""
|
4271 |
|
@@ -4877,8 +4877,8 @@ msgstr ""
|
|
4877 |
|
4878 |
#: bp-templates/bp-legacy/buddypress/groups/create.php:222
|
4879 |
#: bp-templates/bp-legacy/buddypress/groups/single/send-invites.php:42
|
4880 |
-
#: bp-templates/bp-legacy/buddypress-functions.php:
|
4881 |
-
#: bp-themes/bp-default/_inc/ajax.php:
|
4882 |
#: bp-themes/bp-default/groups/create.php:229
|
4883 |
#: bp-themes/bp-default/groups/single/send-invites.php:42
|
4884 |
msgid "Remove Invite"
|
@@ -5577,73 +5577,73 @@ msgstr ""
|
|
5577 |
msgid "There was a problem when deleting. Please try again."
|
5578 |
msgstr ""
|
5579 |
|
5580 |
-
#: bp-templates/bp-legacy/buddypress-functions.php:
|
5581 |
-
#: bp-themes/bp-default/_inc/ajax.php:
|
5582 |
msgid " Friendship could not be requested."
|
5583 |
msgstr ""
|
5584 |
|
5585 |
-
#: bp-templates/bp-legacy/buddypress-functions.php:
|
5586 |
-
#: bp-themes/bp-default/_inc/ajax.php:
|
5587 |
msgid "Friendship request could not be cancelled."
|
5588 |
msgstr ""
|
5589 |
|
5590 |
-
#: bp-templates/bp-legacy/buddypress-functions.php:
|
5591 |
-
#: bp-themes/bp-default/_inc/ajax.php:
|
5592 |
msgid "Request Pending"
|
5593 |
msgstr ""
|
5594 |
|
5595 |
-
#: bp-templates/bp-legacy/buddypress-functions.php:
|
5596 |
-
#: bp-themes/bp-default/_inc/ajax.php:
|
5597 |
msgid "There was a problem accepting that request. Please try again."
|
5598 |
msgstr ""
|
5599 |
|
5600 |
-
#: bp-templates/bp-legacy/buddypress-functions.php:
|
5601 |
-
#: bp-themes/bp-default/_inc/ajax.php:
|
5602 |
msgid "There was a problem rejecting that request. Please try again."
|
5603 |
msgstr ""
|
5604 |
|
5605 |
-
#: bp-templates/bp-legacy/buddypress-functions.php:
|
5606 |
-
#: bp-themes/bp-default/_inc/ajax.php:
|
5607 |
msgid "Error joining group"
|
5608 |
msgstr ""
|
5609 |
|
5610 |
-
#: bp-templates/bp-legacy/buddypress-functions.php:
|
5611 |
-
#: bp-themes/bp-default/_inc/ajax.php:
|
5612 |
msgid "Error requesting membership"
|
5613 |
msgstr ""
|
5614 |
|
5615 |
-
#: bp-templates/bp-legacy/buddypress-functions.php:
|
5616 |
-
#: bp-themes/bp-default/_inc/ajax.php:
|
5617 |
msgid "Membership Requested"
|
5618 |
msgstr ""
|
5619 |
|
5620 |
-
#: bp-templates/bp-legacy/buddypress-functions.php:
|
5621 |
-
#: bp-themes/bp-default/_inc/ajax.php:
|
5622 |
msgid "Error leaving group"
|
5623 |
msgstr ""
|
5624 |
|
5625 |
-
#: bp-templates/bp-legacy/buddypress-functions.php:
|
5626 |
-
#: bp-themes/bp-default/_inc/ajax.php:
|
5627 |
msgid "There was a problem closing the notice."
|
5628 |
msgstr ""
|
5629 |
|
5630 |
-
#: bp-templates/bp-legacy/buddypress-functions.php:
|
5631 |
-
#: bp-themes/bp-default/_inc/ajax.php:
|
5632 |
msgid "There was a problem sending that reply. Please try again."
|
5633 |
msgstr ""
|
5634 |
|
5635 |
-
#: bp-templates/bp-legacy/buddypress-functions.php:
|
5636 |
-
#: bp-themes/bp-default/_inc/ajax.php:
|
5637 |
msgid "There was a problem marking messages as unread."
|
5638 |
msgstr ""
|
5639 |
|
5640 |
-
#: bp-templates/bp-legacy/buddypress-functions.php:
|
5641 |
-
#: bp-themes/bp-default/_inc/ajax.php:
|
5642 |
msgid "There was a problem marking messages as read."
|
5643 |
msgstr ""
|
5644 |
|
5645 |
-
#: bp-templates/bp-legacy/buddypress-functions.php:
|
5646 |
-
#: bp-themes/bp-default/_inc/ajax.php:
|
5647 |
msgid "There was a problem deleting messages."
|
5648 |
msgstr ""
|
5649 |
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: BuddyPress \n"
|
6 |
"Report-Msgid-Bugs-To: http://wppolyglots.wordpress.com\n"
|
7 |
+
"POT-Creation-Date: 2013-06-29 01:35:15+00:00\n"
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=UTF-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
104 |
msgstr ""
|
105 |
|
106 |
#: bp-activity/bp-activity-actions.php:502
|
107 |
+
msgid "Activity feed for %s's friends."
|
108 |
msgstr ""
|
109 |
|
110 |
#. translators: Member groups activity RSS title - "[Site Name] | [User Display
|
126 |
msgstr ""
|
127 |
|
128 |
#: bp-activity/bp-activity-actions.php:611
|
129 |
+
msgid "Activity feed of %s's favorites."
|
130 |
msgstr ""
|
131 |
|
132 |
#: bp-activity/bp-activity-admin.php:35 bp-activity/bp-activity-admin.php:36
|
147 |
msgstr ""
|
148 |
|
149 |
#: bp-activity/bp-activity-admin.php:197 bp-activity/bp-activity-admin.php:244
|
150 |
+
#: bp-core/admin/bp-core-functions.php:412
|
151 |
+
#: bp-core/admin/bp-core-functions.php:430
|
152 |
+
#: bp-core/admin/bp-core-functions.php:449
|
153 |
+
#: bp-core/admin/bp-core-functions.php:468 bp-groups/bp-groups-admin.php:107
|
154 |
#: bp-groups/bp-groups-admin.php:143
|
155 |
msgid "Overview"
|
156 |
msgstr ""
|
188 |
msgstr ""
|
189 |
|
190 |
#: bp-activity/bp-activity-admin.php:216 bp-activity/bp-activity-admin.php:261
|
191 |
+
#: bp-core/admin/bp-core-functions.php:418
|
192 |
+
#: bp-core/admin/bp-core-functions.php:436
|
193 |
+
#: bp-core/admin/bp-core-functions.php:455
|
194 |
+
#: bp-core/admin/bp-core-functions.php:474 bp-groups/bp-groups-admin.php:115
|
195 |
#: bp-groups/bp-groups-admin.php:159
|
196 |
msgid "For more information:"
|
197 |
msgstr ""
|
201 |
msgstr ""
|
202 |
|
203 |
#: bp-activity/bp-activity-admin.php:218 bp-activity/bp-activity-admin.php:262
|
204 |
+
#: bp-core/admin/bp-core-functions.php:420
|
205 |
+
#: bp-core/admin/bp-core-functions.php:438
|
206 |
+
#: bp-core/admin/bp-core-functions.php:457
|
207 |
+
#: bp-core/admin/bp-core-functions.php:476 bp-groups/bp-groups-admin.php:160
|
208 |
msgid "<a href=\"http://buddypress.org/support/\">Support Forums</a>"
|
209 |
msgstr ""
|
210 |
|
533 |
msgid "In reply to"
|
534 |
msgstr ""
|
535 |
|
536 |
+
#: bp-activity/bp-activity-filters.php:361
|
537 |
msgid "[Read more]"
|
538 |
msgstr ""
|
539 |
|
540 |
+
#: bp-activity/bp-activity-filters.php:366
|
541 |
msgid "…"
|
542 |
msgstr ""
|
543 |
|
570 |
msgid "%s posted a new activity comment"
|
571 |
msgstr ""
|
572 |
|
573 |
+
#: bp-activity/bp-activity-functions.php:1565
|
574 |
msgid "Thumbnail"
|
575 |
msgstr ""
|
576 |
|
577 |
#: bp-activity/bp-activity-loader.php:30
|
578 |
+
#: bp-core/admin/bp-core-components.php:371
|
579 |
msgid "Activity Streams"
|
580 |
msgstr ""
|
581 |
|
892 |
msgid "%1$s commented on the post, %2$s"
|
893 |
msgstr ""
|
894 |
|
895 |
+
#: bp-blogs/bp-blogs-loader.php:25 bp-core/admin/bp-core-components.php:383
|
896 |
msgid "Site Tracking"
|
897 |
msgstr ""
|
898 |
|
1032 |
msgid "%s's Recent Comments"
|
1033 |
msgstr ""
|
1034 |
|
1035 |
+
#: bp-blogs/bp-blogs-template.php:801 bp-core/deprecated/1.5.php:417
|
1036 |
#: bp-forums/bp-forums-template.php:1321 bp-groups/bp-groups-template.php:2503
|
1037 |
#: bp-members/bp-members-template.php:710
|
1038 |
#: bp-messages/bp-messages-template.php:367 bp-themes/bp-default/header.php:30
|
1040 |
msgid "Search"
|
1041 |
msgstr ""
|
1042 |
|
1043 |
+
#: bp-blogs/bp-blogs-template.php:834 bp-blogs/bp-blogs-template.php:835
|
1044 |
msgid "Visit Site"
|
1045 |
msgstr ""
|
1046 |
|
1075 |
msgstr ""
|
1076 |
|
1077 |
#: bp-core/admin/bp-core-components.php:26
|
1078 |
+
#: bp-core/admin/bp-core-functions.php:354
|
1079 |
msgid "Components"
|
1080 |
msgstr ""
|
1081 |
|
1085 |
msgstr ""
|
1086 |
|
1087 |
#: bp-core/admin/bp-core-components.php:59
|
1088 |
+
#: bp-core/admin/bp-core-components.php:355
|
1089 |
#: bp-xprofile/bp-xprofile-loader.php:41
|
1090 |
msgid "Extended Profiles"
|
1091 |
msgstr ""
|
1092 |
|
1093 |
#: bp-core/admin/bp-core-components.php:60
|
1094 |
+
#: bp-core/admin/bp-core-components.php:356
|
1095 |
msgid "Customize your community with fully editable profile fields that allow your users to describe themselves."
|
1096 |
msgstr ""
|
1097 |
|
1144 |
msgid "No components found."
|
1145 |
msgstr ""
|
1146 |
|
1147 |
+
#: bp-core/admin/bp-core-components.php:335 bp-core/bp-core-loader.php:27
|
1148 |
msgid "BuddyPress Core"
|
1149 |
msgstr ""
|
1150 |
|
1151 |
+
#: bp-core/admin/bp-core-components.php:336
|
1152 |
msgid "It‘s what makes <del>time travel</del> BuddyPress possible!"
|
1153 |
msgstr ""
|
1154 |
|
1155 |
+
#: bp-core/admin/bp-core-components.php:339
|
1156 |
msgid "Community Members"
|
1157 |
msgstr ""
|
1158 |
|
1159 |
+
#: bp-core/admin/bp-core-components.php:340
|
1160 |
msgid "Everything in a BuddyPress community revolves around its members."
|
1161 |
msgstr ""
|
1162 |
|
1163 |
+
#: bp-core/admin/bp-core-components.php:347
|
1164 |
#: bp-templates/bp-legacy/buddypress/groups/create.php:105
|
1165 |
#: bp-themes/bp-default/groups/create.php:112
|
1166 |
msgid "Group Forums"
|
1167 |
msgstr ""
|
1168 |
|
1169 |
+
#: bp-core/admin/bp-core-components.php:348
|
1170 |
msgid "BuddyPress Forums are retired. Use %s."
|
1171 |
msgstr ""
|
1172 |
|
1173 |
+
#: bp-core/admin/bp-core-components.php:359
|
1174 |
msgid "Account Settings"
|
1175 |
msgstr ""
|
1176 |
|
1177 |
+
#: bp-core/admin/bp-core-components.php:360
|
1178 |
msgid "Allow your users to modify their account and notification settings directly from within their profiles."
|
1179 |
msgstr ""
|
1180 |
|
1181 |
+
#: bp-core/admin/bp-core-components.php:363 bp-friends/bp-friends-loader.php:24
|
1182 |
msgid "Friend Connections"
|
1183 |
msgstr ""
|
1184 |
|
1185 |
+
#: bp-core/admin/bp-core-components.php:364
|
1186 |
msgid "Let your users make connections so they can track the activity of others and focus on the people they care about the most."
|
1187 |
msgstr ""
|
1188 |
|
1189 |
+
#: bp-core/admin/bp-core-components.php:367
|
1190 |
msgid "Private Messaging"
|
1191 |
msgstr ""
|
1192 |
|
1193 |
+
#: bp-core/admin/bp-core-components.php:368
|
1194 |
msgid "Allow your users to talk to each other directly and in private. Not just limited to one-on-one discussions, messages can be sent between any number of members."
|
1195 |
msgstr ""
|
1196 |
|
1197 |
+
#: bp-core/admin/bp-core-components.php:372
|
1198 |
msgid "Global, personal, and group activity streams with threaded commenting, direct posting, favoriting and @mentions, all with full RSS feed and email notification support."
|
1199 |
msgstr ""
|
1200 |
|
1201 |
+
#: bp-core/admin/bp-core-components.php:375 bp-groups/bp-groups-loader.php:83
|
1202 |
msgid "User Groups"
|
1203 |
msgstr ""
|
1204 |
|
1205 |
+
#: bp-core/admin/bp-core-components.php:376
|
1206 |
msgid "Groups allow your users to organize themselves into specific public, private or hidden sections with separate activity streams and member listings."
|
1207 |
msgstr ""
|
1208 |
|
1209 |
+
#: bp-core/admin/bp-core-components.php:379
|
1210 |
msgid "Group Forums (Legacy)"
|
1211 |
msgstr ""
|
1212 |
|
1213 |
+
#: bp-core/admin/bp-core-components.php:380
|
1214 |
msgid "Group forums allow for focused, bulletin-board style conversations."
|
1215 |
msgstr ""
|
1216 |
|
1217 |
+
#: bp-core/admin/bp-core-components.php:384
|
1218 |
msgid "Record activity for new posts and comments from your site."
|
1219 |
msgstr ""
|
1220 |
|
1221 |
+
#: bp-core/admin/bp-core-components.php:391
|
1222 |
msgid "Record activity for new sites, posts, and comments across your network."
|
1223 |
msgstr ""
|
1224 |
|
1258 |
msgid "Each BuddyPress Component needs its own WordPress page. The following WordPress Pages have more than one component associated with them: %2$s. <a href=\"%1$s\" class=\"button-secondary\">Repair</a>"
|
1259 |
msgstr ""
|
1260 |
|
1261 |
+
#: bp-core/admin/bp-core-functions.php:358 bp-core/admin/bp-core-slugs.php:26
|
1262 |
msgid "Pages"
|
1263 |
msgstr ""
|
1264 |
|
1265 |
+
#: bp-core/admin/bp-core-functions.php:362
|
1266 |
#: bp-core/admin/bp-core-settings.php:258 bp-core/bp-core-admin.php:331
|
1267 |
#: bp-groups/bp-groups-loader.php:302 bp-groups/bp-groups-template.php:1468
|
1268 |
#: bp-settings/bp-settings-loader.php:23 bp-settings/bp-settings-loader.php:73
|
1270 |
msgid "Settings"
|
1271 |
msgstr ""
|
1272 |
|
1273 |
+
#: bp-core/admin/bp-core-functions.php:374 bp-core/bp-core-template.php:252
|
1274 |
#: bp-forums/bp-forums-loader.php:109 bp-forums/bp-forums-loader.php:172
|
1275 |
#: bp-forums/bp-forums-loader.php:213 bp-forums/bp-forums-screens.php:188
|
1276 |
#: bp-forums/bp-forums-screens.php:190 bp-forums/deprecated/1.6.php:42
|
1278 |
msgid "Forums"
|
1279 |
msgstr ""
|
1280 |
|
1281 |
+
#: bp-core/admin/bp-core-functions.php:419
|
1282 |
msgid "<a href=\"http://codex.buddypress.org/getting-started/configure-buddypress-components/#settings-buddypress-components\">Managing Components</a>"
|
1283 |
msgstr ""
|
1284 |
|
1285 |
+
#: bp-core/admin/bp-core-functions.php:437
|
1286 |
msgid "<a href=\"http://codex.buddypress.org/getting-started/configure-buddypress-components/#settings-buddypress-pages\">Managing Pages</a>"
|
1287 |
msgstr ""
|
1288 |
|
1289 |
+
#: bp-core/admin/bp-core-functions.php:456
|
1290 |
msgid "<a href=\"http://codex.buddypress.org/getting-started/configure-buddypress-components/#settings-buddypress-settings\">Managing Settings</a>"
|
1291 |
msgstr ""
|
1292 |
|
1293 |
+
#: bp-core/admin/bp-core-functions.php:475
|
1294 |
msgid "<a href=\"http://codex.buddypress.org/getting-started/configure-buddypress-components/#users-profile-fields\">Managing Profile Fields</a>"
|
1295 |
msgstr ""
|
1296 |
|
1297 |
+
#: bp-core/admin/bp-core-functions.php:493
|
1298 |
msgid "By default, all BuddyPress components are enabled. You can selectively disable any of the components by using the form. Your BuddyPress installation will continue to function. However, the features of the disabled components will no longer be accessible to anyone using the site."
|
1299 |
msgstr ""
|
1300 |
|
1301 |
+
#: bp-core/admin/bp-core-functions.php:497
|
1302 |
msgid "BuddyPress Components use WordPress Pages for their root directory/archive pages. Here you can change the page associations for each active component."
|
1303 |
msgstr ""
|
1304 |
|
1305 |
+
#: bp-core/admin/bp-core-functions.php:501
|
1306 |
msgid "Extra configuration settings."
|
1307 |
msgstr ""
|
1308 |
|
1309 |
+
#: bp-core/admin/bp-core-functions.php:505
|
1310 |
msgid "Your users will distinguish themselves through their profile page. Create relevant profile fields that will show on each users profile.</br></br>Note: Any fields in the first group will appear on the signup page."
|
1311 |
msgstr ""
|
1312 |
|
1544 |
msgstr ""
|
1545 |
|
1546 |
#: bp-core/bp-core-admin.php:421
|
1547 |
+
msgid "Improved Theme Integration"
|
1548 |
msgstr ""
|
1549 |
|
1550 |
#: bp-core/bp-core-admin.php:424
|
1551 |
+
msgid "Hey, Good Lookin’"
|
1552 |
msgstr ""
|
1553 |
|
1554 |
#: bp-core/bp-core-admin.php:425
|
1555 |
+
msgid "We’ve streamlined our stylesheets, so that BuddyPress content looks more at home in your theme. And theme developers will love BP’s new hierarchies that make it easy to override specific top-level templates, stylesheets, and JavaScript files."
|
1556 |
msgstr ""
|
1557 |
|
1558 |
#: bp-core/bp-core-admin.php:430
|
1559 |
+
msgid "Better Group Member Management"
|
1560 |
msgstr ""
|
1561 |
|
1562 |
#: bp-core/bp-core-admin.php:433
|
1563 |
+
msgid "<em>Add</em>, <em>Remove</em>, and More, in a Snap"
|
1564 |
msgstr ""
|
1565 |
|
1566 |
#: bp-core/bp-core-admin.php:436
|
1568 |
msgstr ""
|
1569 |
|
1570 |
#: bp-core/bp-core-admin.php:443
|
1571 |
+
msgid "The Manage Members section of the %s has been rewritten, to make it easier to handle groups with many members. We’ve also made the interface nicer to use, to ensure that you don’t make changes and then forget to save them."
|
1572 |
msgstr ""
|
1573 |
|
1574 |
#: bp-core/bp-core-admin.php:450
|
1576 |
msgstr ""
|
1577 |
|
1578 |
#: bp-core/bp-core-admin.php:454
|
1579 |
+
msgid "Superpowered Group Extensions"
|
1580 |
msgstr ""
|
1581 |
|
1582 |
#: bp-core/bp-core-admin.php:455
|
1583 |
+
msgid "<code>BP_Group_Extension</code> has been overhauled, making it easier than ever before to add custom functionality to groups."
|
1584 |
msgstr ""
|
1585 |
|
1586 |
#: bp-core/bp-core-admin.php:457
|
1587 |
+
msgid "Filter Groups or Activity by Metadata"
|
1588 |
msgstr ""
|
1589 |
|
1590 |
#: bp-core/bp-core-admin.php:458
|
1591 |
+
msgid "<code>bp_has_groups()</code> and <code>bp_has_activities()</code> now accept a <code>meta_query</code> paramater, for more powerful directory queries."
|
1592 |
msgstr ""
|
1593 |
|
1594 |
#: bp-core/bp-core-admin.php:462
|
1595 |
+
msgid "Feed Me, Seymour"
|
1596 |
msgstr ""
|
1597 |
|
1598 |
#: bp-core/bp-core-admin.php:463
|
1599 |
+
msgid "The new <code>BP_Activity_Feed</code> class centralizes BP’s RSS logic, making our feeds more standards-compliant, and giving developers more tools for building custom feeds."
|
1600 |
msgstr ""
|
1601 |
|
1602 |
#: bp-core/bp-core-admin.php:465
|
1603 |
+
msgid "Disable @-Mentions"
|
1604 |
msgstr ""
|
1605 |
|
1606 |
#: bp-core/bp-core-admin.php:466
|
1607 |
+
msgid "Not using @-mentions? Disable them with <code>add_filter( 'bp_activity_do_mentions', '__return_false' );</code>"
|
1608 |
msgstr ""
|
1609 |
|
1610 |
+
#: bp-core/bp-core-admin.php:471 bp-core/bp-core-admin.php:601
|
1611 |
msgid "Go to the BuddyPress Settings page"
|
1612 |
msgstr ""
|
1613 |
|
1652 |
msgstr ""
|
1653 |
|
1654 |
#: bp-core/bp-core-admin.php:552
|
1655 |
+
msgid "Core Contributors to BuddyPress 1.8"
|
1656 |
msgstr ""
|
1657 |
|
1658 |
+
#: bp-core/bp-core-adminbar.php:35 bp-core/bp-core-buddybar.php:495
|
1659 |
msgid "My Account"
|
1660 |
msgstr ""
|
1661 |
|
1742 |
msgid "Random Site"
|
1743 |
msgstr ""
|
1744 |
|
1745 |
+
#: bp-core/bp-core-caps.php:248 bp-core/bp-core-caps.php:261
|
1746 |
+
#: bp-core/bp-core-caps.php:276 bp-core/bp-core-caps.php:287
|
1747 |
msgid "Special community roles no longer exist. Use mapped capabilities instead"
|
1748 |
msgstr ""
|
1749 |
|
1786 |
msgid "Activate %s"
|
1787 |
msgstr ""
|
1788 |
|
1789 |
+
#: bp-core/bp-core-filters.php:285 bp-members/bp-members-functions.php:1390
|
1790 |
msgid ""
|
1791 |
"Thanks for registering! To complete the activation of your account please click the following link:\n"
|
1792 |
"\n"
|
1794 |
"\n"
|
1795 |
msgstr ""
|
1796 |
|
1797 |
+
#: bp-core/bp-core-filters.php:286 bp-members/bp-members-functions.php:1391
|
1798 |
msgid "Activate Your Account"
|
1799 |
msgstr ""
|
1800 |
|
1926 |
msgid ","
|
1927 |
msgstr ""
|
1928 |
|
1929 |
+
#: bp-core/bp-core-functions.php:864
|
1930 |
msgid "Not recently active"
|
1931 |
msgstr ""
|
1932 |
|
2424 |
msgstr ""
|
2425 |
|
2426 |
#: bp-friends/bp-friends-actions.php:70
|
2427 |
+
#: bp-templates/bp-legacy/buddypress-functions.php:955
|
2428 |
+
#: bp-themes/bp-default/_inc/ajax.php:617
|
2429 |
msgid "Friendship could not be canceled."
|
2430 |
msgstr ""
|
2431 |
|
2601 |
msgstr ""
|
2602 |
|
2603 |
#: bp-friends/bp-friends-template.php:285
|
2604 |
+
#: bp-templates/bp-legacy/buddypress-functions.php:967
|
2605 |
+
#: bp-themes/bp-default/_inc/ajax.php:629
|
2606 |
msgid "Cancel Friendship Request"
|
2607 |
msgstr ""
|
2608 |
|
2617 |
|
2618 |
#: bp-friends/bp-friends-template.php:319
|
2619 |
#: bp-friends/bp-friends-template.php:320
|
2620 |
+
#: bp-templates/bp-legacy/buddypress-functions.php:957
|
2621 |
+
#: bp-templates/bp-legacy/buddypress-functions.php:975
|
2622 |
+
#: bp-themes/bp-default/_inc/ajax.php:619
|
2623 |
+
#: bp-themes/bp-default/_inc/ajax.php:637
|
2624 |
msgid "Add Friend"
|
2625 |
msgstr ""
|
2626 |
|
2994 |
msgstr ""
|
2995 |
|
2996 |
#: bp-groups/bp-groups-admin.php:859 bp-groups/bp-groups-adminbar.php:102
|
2997 |
+
#: bp-groups/bp-groups-buddybar.php:57
|
2998 |
#: bp-templates/bp-legacy/buddypress/groups/single/admin.php:360
|
2999 |
#: bp-themes/bp-default/groups/single/admin.php:360
|
3000 |
#: bp-xprofile/bp-xprofile-admin.php:118
|
3001 |
msgid "Delete Group"
|
3002 |
msgstr ""
|
3003 |
|
3004 |
+
#: bp-groups/bp-groups-admin.php:863 bp-groups/bp-groups-classes.php:2064
|
3005 |
#: bp-templates/bp-legacy/buddypress/groups/single/admin.php:32
|
3006 |
#: bp-templates/bp-legacy/buddypress/groups/single/admin.php:117
|
3007 |
#: bp-templates/bp-legacy/buddypress/groups/single/forum/edit.php:58
|
3089 |
msgid "Select group %1$d"
|
3090 |
msgstr ""
|
3091 |
|
3092 |
+
#: bp-groups/bp-groups-adminbar.php:48 bp-groups/bp-groups-buddybar.php:33
|
3093 |
msgid "Edit Details"
|
3094 |
msgstr ""
|
3095 |
|
3101 |
msgid "Edit Avatar"
|
3102 |
msgstr ""
|
3103 |
|
3104 |
+
#: bp-groups/bp-groups-adminbar.php:75 bp-groups/bp-groups-buddybar.php:45
|
3105 |
msgid "Manage Invitations"
|
3106 |
msgstr ""
|
3107 |
|
3108 |
+
#: bp-groups/bp-groups-adminbar.php:84 bp-groups/bp-groups-buddybar.php:49
|
3109 |
msgid "Manage Members"
|
3110 |
msgstr ""
|
3111 |
|
3112 |
+
#: bp-groups/bp-groups-adminbar.php:93 bp-groups/bp-groups-buddybar.php:53
|
3113 |
msgid "Membership Requests"
|
3114 |
msgstr ""
|
3115 |
|
3116 |
+
#: bp-groups/bp-groups-buddybar.php:30 bp-members/bp-members-buddybar.php:120
|
3117 |
msgid "Admin Options"
|
3118 |
msgstr ""
|
3119 |
|
3120 |
+
#: bp-groups/bp-groups-buddybar.php:35
|
3121 |
msgid "Group Settings"
|
3122 |
msgstr ""
|
3123 |
|
3124 |
+
#: bp-groups/bp-groups-buddybar.php:39 bp-groups/bp-groups-loader.php:595
|
3125 |
#: bp-groups/bp-groups-template.php:2606
|
3126 |
msgid "Group Avatar"
|
3127 |
msgstr ""
|
3128 |
|
3129 |
+
#: bp-groups/bp-groups-classes.php:1246
|
3130 |
msgid "Group Mod"
|
3131 |
msgstr ""
|
3132 |
|
3133 |
+
#: bp-groups/bp-groups-classes.php:1252 bp-groups/bp-groups-functions.php:121
|
3134 |
msgid "Group Admin"
|
3135 |
msgstr ""
|
3136 |
|
3203 |
|
3204 |
#: bp-groups/bp-groups-loader.php:427 bp-groups/bp-groups-template.php:1793
|
3205 |
#: bp-groups/bp-groups-template.php:1794
|
3206 |
+
#: bp-templates/bp-legacy/buddypress-functions.php:1074
|
3207 |
+
#: bp-themes/bp-default/_inc/ajax.php:736
|
3208 |
msgid "Request Membership"
|
3209 |
msgstr ""
|
3210 |
|
3651 |
msgstr ""
|
3652 |
|
3653 |
#: bp-groups/bp-groups-template.php:1752 bp-groups/bp-groups-template.php:1753
|
3654 |
+
#: bp-templates/bp-legacy/buddypress-functions.php:1053
|
3655 |
+
#: bp-themes/bp-default/_inc/ajax.php:715
|
3656 |
msgid "Leave Group"
|
3657 |
msgstr ""
|
3658 |
|
3659 |
#: bp-groups/bp-groups-template.php:1775 bp-groups/bp-groups-template.php:1776
|
3660 |
+
#: bp-templates/bp-legacy/buddypress-functions.php:1072
|
3661 |
+
#: bp-themes/bp-default/_inc/ajax.php:734
|
3662 |
msgid "Join Group"
|
3663 |
msgstr ""
|
3664 |
|
3793 |
msgid "Edit Profile"
|
3794 |
msgstr ""
|
3795 |
|
3796 |
+
#: bp-members/bp-members-adminbar.php:118
|
3797 |
#: bp-members/bp-members-buddybar.php:131
|
3798 |
msgid "User Capabilities"
|
3799 |
msgstr ""
|
3800 |
|
3801 |
+
#: bp-members/bp-members-adminbar.php:126
|
3802 |
#: bp-settings/bp-settings-loader.php:130
|
3803 |
#: bp-settings/bp-settings-loader.php:190
|
3804 |
#: bp-templates/bp-legacy/buddypress/members/single/settings/delete-account.php:27
|
3807 |
msgid "Delete Account"
|
3808 |
msgstr ""
|
3809 |
|
3810 |
+
#: bp-members/bp-members-adminbar.php:173
|
3811 |
msgid "No new notifications"
|
3812 |
msgstr ""
|
3813 |
|
3836 |
msgid "Delete %s's Account"
|
3837 |
msgstr ""
|
3838 |
|
3839 |
+
#: bp-members/bp-members-functions.php:927
|
3840 |
+
#: bp-members/bp-members-functions.php:1511
|
3841 |
msgid "<strong>ERROR</strong>: Your account has been marked as a spammer."
|
3842 |
msgstr ""
|
3843 |
|
3844 |
+
#: bp-members/bp-members-functions.php:1101
|
3845 |
msgid "Please check your email address."
|
3846 |
msgstr ""
|
3847 |
|
3848 |
+
#: bp-members/bp-members-functions.php:1104
|
3849 |
+
#: bp-members/bp-members-functions.php:1107
|
3850 |
msgid "Sorry, that email address is not allowed!"
|
3851 |
msgstr ""
|
3852 |
|
3853 |
+
#: bp-members/bp-members-functions.php:1110
|
3854 |
msgid "Sorry, that email address is already used!"
|
3855 |
msgstr ""
|
3856 |
|
3857 |
+
#: bp-members/bp-members-functions.php:1128
|
3858 |
msgid "Please enter a username"
|
3859 |
msgstr ""
|
3860 |
|
3861 |
+
#: bp-members/bp-members-functions.php:1136
|
3862 |
msgid "That username is not allowed"
|
3863 |
msgstr ""
|
3864 |
|
3865 |
+
#: bp-members/bp-members-functions.php:1139
|
3866 |
msgid "Usernames can contain only letters, numbers, ., -, *, and @"
|
3867 |
msgstr ""
|
3868 |
|
3869 |
+
#: bp-members/bp-members-functions.php:1142
|
3870 |
msgid "Username must be at least 4 characters"
|
3871 |
msgstr ""
|
3872 |
|
3873 |
+
#: bp-members/bp-members-functions.php:1145
|
3874 |
msgid "Sorry, usernames may not contain the character \"_\"!"
|
3875 |
msgstr ""
|
3876 |
|
3877 |
+
#: bp-members/bp-members-functions.php:1152
|
3878 |
msgid "Sorry, usernames must have letters too!"
|
3879 |
msgstr ""
|
3880 |
|
3881 |
+
#: bp-members/bp-members-functions.php:1156
|
3882 |
msgid "Sorry, that username already exists!"
|
3883 |
msgstr ""
|
3884 |
|
3885 |
+
#: bp-members/bp-members-functions.php:1201
|
3886 |
msgid "<strong>ERROR</strong>: Couldn’t register you... please contact the <a href=\"mailto:%s\">webmaster</a> !"
|
3887 |
msgstr ""
|
3888 |
|
3889 |
+
#: bp-members/bp-members-functions.php:1299
|
3890 |
+
#: bp-members/bp-members-functions.php:1303
|
3891 |
msgid "Invalid activation key"
|
3892 |
msgstr ""
|
3893 |
|
3894 |
+
#: bp-members/bp-members-functions.php:1340
|
3895 |
msgid "%s became a registered member"
|
3896 |
msgstr ""
|
3897 |
|
3898 |
+
#: bp-members/bp-members-functions.php:1424
|
3899 |
msgid "<strong>ERROR</strong>: Your account has not been activated. Check your email for the activation link."
|
3900 |
msgstr ""
|
3901 |
|
4002 |
msgstr ""
|
4003 |
|
4004 |
#: bp-messages/bp-messages-actions.php:91
|
4005 |
+
#: bp-templates/bp-legacy/buddypress-functions.php:1233
|
4006 |
+
#: bp-themes/bp-default/_inc/ajax.php:883
|
4007 |
msgid "Messages deleted."
|
4008 |
msgstr ""
|
4009 |
|
4212 |
msgstr ""
|
4213 |
|
4214 |
#: bp-messages/bp-messages-template.php:924
|
4215 |
+
#: bp-templates/bp-legacy/buddypress-functions.php:1139
|
4216 |
+
#: bp-themes/bp-default/_inc/ajax.php:789
|
4217 |
msgid "Sent %s"
|
4218 |
msgstr ""
|
4219 |
|
4220 |
+
#: bp-settings/bp-settings-actions.php:157
|
4221 |
msgid "That email address is invalid. Check the formatting and try again."
|
4222 |
msgstr ""
|
4223 |
|
4224 |
+
#: bp-settings/bp-settings-actions.php:160
|
4225 |
msgid "That email address is currently unavailable for use."
|
4226 |
msgstr ""
|
4227 |
|
4228 |
+
#: bp-settings/bp-settings-actions.php:163
|
4229 |
msgid "That email address is already taken."
|
4230 |
msgstr ""
|
4231 |
|
4232 |
+
#: bp-settings/bp-settings-actions.php:166
|
4233 |
msgid "Email address cannot be empty."
|
4234 |
msgstr ""
|
4235 |
|
4236 |
+
#: bp-settings/bp-settings-actions.php:176
|
4237 |
msgid "Your current password is invalid."
|
4238 |
msgstr ""
|
4239 |
|
4240 |
+
#: bp-settings/bp-settings-actions.php:179
|
4241 |
msgid "The new password fields did not match."
|
4242 |
msgstr ""
|
4243 |
|
4244 |
+
#: bp-settings/bp-settings-actions.php:182
|
4245 |
msgid "One of the password fields was empty."
|
4246 |
msgstr ""
|
4247 |
|
4248 |
+
#: bp-settings/bp-settings-actions.php:191
|
4249 |
msgid "Your settings have been saved."
|
4250 |
msgstr ""
|
4251 |
|
4252 |
+
#: bp-settings/bp-settings-actions.php:197
|
4253 |
msgid "No changes were made to your account."
|
4254 |
msgstr ""
|
4255 |
|
4256 |
+
#: bp-settings/bp-settings-actions.php:199
|
4257 |
msgid "No changes were made to this account."
|
4258 |
msgstr ""
|
4259 |
|
4260 |
+
#: bp-settings/bp-settings-actions.php:247
|
4261 |
msgid "Your notification settings have been saved."
|
4262 |
msgstr ""
|
4263 |
|
4264 |
+
#: bp-settings/bp-settings-actions.php:249
|
4265 |
msgid "This user's notification settings have been saved."
|
4266 |
msgstr ""
|
4267 |
|
4268 |
+
#: bp-settings/bp-settings-actions.php:338
|
4269 |
msgid "%s was successfully deleted."
|
4270 |
msgstr ""
|
4271 |
|
4877 |
|
4878 |
#: bp-templates/bp-legacy/buddypress/groups/create.php:222
|
4879 |
#: bp-templates/bp-legacy/buddypress/groups/single/send-invites.php:42
|
4880 |
+
#: bp-templates/bp-legacy/buddypress-functions.php:919
|
4881 |
+
#: bp-themes/bp-default/_inc/ajax.php:582
|
4882 |
#: bp-themes/bp-default/groups/create.php:229
|
4883 |
#: bp-themes/bp-default/groups/single/send-invites.php:42
|
4884 |
msgid "Remove Invite"
|
5577 |
msgid "There was a problem when deleting. Please try again."
|
5578 |
msgstr ""
|
5579 |
|
5580 |
+
#: bp-templates/bp-legacy/buddypress-functions.php:965
|
5581 |
+
#: bp-themes/bp-default/_inc/ajax.php:627
|
5582 |
msgid " Friendship could not be requested."
|
5583 |
msgstr ""
|
5584 |
|
5585 |
+
#: bp-templates/bp-legacy/buddypress-functions.php:977
|
5586 |
+
#: bp-themes/bp-default/_inc/ajax.php:639
|
5587 |
msgid "Friendship request could not be cancelled."
|
5588 |
msgstr ""
|
5589 |
|
5590 |
+
#: bp-templates/bp-legacy/buddypress-functions.php:982
|
5591 |
+
#: bp-themes/bp-default/_inc/ajax.php:644
|
5592 |
msgid "Request Pending"
|
5593 |
msgstr ""
|
5594 |
|
5595 |
+
#: bp-templates/bp-legacy/buddypress-functions.php:1002
|
5596 |
+
#: bp-themes/bp-default/_inc/ajax.php:664
|
5597 |
msgid "There was a problem accepting that request. Please try again."
|
5598 |
msgstr ""
|
5599 |
|
5600 |
+
#: bp-templates/bp-legacy/buddypress-functions.php:1021
|
5601 |
+
#: bp-themes/bp-default/_inc/ajax.php:683
|
5602 |
msgid "There was a problem rejecting that request. Please try again."
|
5603 |
msgstr ""
|
5604 |
|
5605 |
+
#: bp-templates/bp-legacy/buddypress-functions.php:1051
|
5606 |
+
#: bp-themes/bp-default/_inc/ajax.php:713
|
5607 |
msgid "Error joining group"
|
5608 |
msgstr ""
|
5609 |
|
5610 |
+
#: bp-templates/bp-legacy/buddypress-functions.php:1060
|
5611 |
+
#: bp-themes/bp-default/_inc/ajax.php:722
|
5612 |
msgid "Error requesting membership"
|
5613 |
msgstr ""
|
5614 |
|
5615 |
+
#: bp-templates/bp-legacy/buddypress-functions.php:1062
|
5616 |
+
#: bp-themes/bp-default/_inc/ajax.php:724
|
5617 |
msgid "Membership Requested"
|
5618 |
msgstr ""
|
5619 |
|
5620 |
+
#: bp-templates/bp-legacy/buddypress-functions.php:1070
|
5621 |
+
#: bp-themes/bp-default/_inc/ajax.php:732
|
5622 |
msgid "Error leaving group"
|
5623 |
msgstr ""
|
5624 |
|
5625 |
+
#: bp-templates/bp-legacy/buddypress-functions.php:1093
|
5626 |
+
#: bp-themes/bp-default/_inc/ajax.php:755
|
5627 |
msgid "There was a problem closing the notice."
|
5628 |
msgstr ""
|
5629 |
|
5630 |
+
#: bp-templates/bp-legacy/buddypress-functions.php:1156
|
5631 |
+
#: bp-themes/bp-default/_inc/ajax.php:806
|
5632 |
msgid "There was a problem sending that reply. Please try again."
|
5633 |
msgstr ""
|
5634 |
|
5635 |
+
#: bp-templates/bp-legacy/buddypress-functions.php:1174
|
5636 |
+
#: bp-themes/bp-default/_inc/ajax.php:824
|
5637 |
msgid "There was a problem marking messages as unread."
|
5638 |
msgstr ""
|
5639 |
|
5640 |
+
#: bp-templates/bp-legacy/buddypress-functions.php:1199
|
5641 |
+
#: bp-themes/bp-default/_inc/ajax.php:849
|
5642 |
msgid "There was a problem marking messages as read."
|
5643 |
msgstr ""
|
5644 |
|
5645 |
+
#: bp-templates/bp-legacy/buddypress-functions.php:1224
|
5646 |
+
#: bp-themes/bp-default/_inc/ajax.php:874
|
5647 |
msgid "There was a problem deleting messages."
|
5648 |
msgstr ""
|
5649 |
|
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.8-
|
20 |
* Text Domain: buddypress
|
21 |
* Domain Path: /bp-languages/
|
22 |
* License: GPLv2 or later (license.txt)
|
@@ -129,7 +129,7 @@ class BuddyPress {
|
|
129 |
* @uses BuddyPress::setup_actions() Setup the hooks and actions
|
130 |
* @see buddypress()
|
131 |
*
|
132 |
-
* @return The one true BuddyPress
|
133 |
*/
|
134 |
public static function instance() {
|
135 |
if ( ! isset( self::$instance ) ) {
|
@@ -294,7 +294,7 @@ class BuddyPress {
|
|
294 |
|
295 |
/** Versions **********************************************************/
|
296 |
|
297 |
-
$this->version = '1.8-
|
298 |
$this->db_version = 6080;
|
299 |
|
300 |
/** Loading ***********************************************************/
|
@@ -581,10 +581,10 @@ class BuddyPress {
|
|
581 |
*
|
582 |
* Example: <?php $bp = buddypress(); ?>
|
583 |
*
|
584 |
-
* @return The one true BuddyPress Instance
|
585 |
*/
|
586 |
function buddypress() {
|
587 |
-
return
|
588 |
}
|
589 |
|
590 |
/**
|
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.8-beta2
|
20 |
* Text Domain: buddypress
|
21 |
* Domain Path: /bp-languages/
|
22 |
* License: GPLv2 or later (license.txt)
|
129 |
* @uses BuddyPress::setup_actions() Setup the hooks and actions
|
130 |
* @see buddypress()
|
131 |
*
|
132 |
+
* @return BuddyPress The one true BuddyPress
|
133 |
*/
|
134 |
public static function instance() {
|
135 |
if ( ! isset( self::$instance ) ) {
|
294 |
|
295 |
/** Versions **********************************************************/
|
296 |
|
297 |
+
$this->version = '1.8-beta2';
|
298 |
$this->db_version = 6080;
|
299 |
|
300 |
/** Loading ***********************************************************/
|
581 |
*
|
582 |
* Example: <?php $bp = buddypress(); ?>
|
583 |
*
|
584 |
+
* @return BuddyPress The one true BuddyPress Instance
|
585 |
*/
|
586 |
function buddypress() {
|
587 |
+
return BuddyPress::instance();
|
588 |
}
|
589 |
|
590 |
/**
|
bp-members/bp-members-actions.php
CHANGED
@@ -98,9 +98,8 @@ function bp_core_action_delete_user() {
|
|
98 |
* Returns the user_id for a user based on their username.
|
99 |
*
|
100 |
* @package BuddyPress Core
|
101 |
-
* @param $username
|
102 |
-
* @
|
103 |
-
* @return int the user ID of the matched user.
|
104 |
*/
|
105 |
function bp_core_get_random_member() {
|
106 |
if ( ! isset( $_GET['random-member'] ) )
|
98 |
* Returns the user_id for a user based on their username.
|
99 |
*
|
100 |
* @package BuddyPress Core
|
101 |
+
* @param string $username Username to check.
|
102 |
+
* @since BuddyPress (1.0)
|
|
|
103 |
*/
|
104 |
function bp_core_get_random_member() {
|
105 |
if ( ! isset( $_GET['random-member'] ) )
|
bp-members/bp-members-adminbar.php
CHANGED
@@ -108,21 +108,27 @@ function bp_members_admin_bar_user_admin_menu() {
|
|
108 |
'href' => bp_get_members_component_link( 'profile', 'change-avatar' )
|
109 |
) );
|
110 |
|
111 |
-
// User Admin > Spam/unspam
|
112 |
-
$wp_admin_bar->add_menu( array(
|
113 |
-
'parent' => $bp->user_admin_menu_id,
|
114 |
-
'id' => $bp->user_admin_menu_id . '-user-capabilities',
|
115 |
-
'title' => __( 'User Capabilities', 'buddypress' ),
|
116 |
-
'href' => bp_displayed_user_domain() . 'settings/capabilities/'
|
117 |
-
) );
|
118 |
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
126 |
}
|
127 |
add_action( 'admin_bar_menu', 'bp_members_admin_bar_user_admin_menu', 99 );
|
128 |
|
108 |
'href' => bp_get_members_component_link( 'profile', 'change-avatar' )
|
109 |
) );
|
110 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
111 |
|
112 |
+
if ( bp_is_active( 'settings' ) ) {
|
113 |
+
|
114 |
+
// User Admin > Spam/unspam
|
115 |
+
$wp_admin_bar->add_menu( array(
|
116 |
+
'parent' => $bp->user_admin_menu_id,
|
117 |
+
'id' => $bp->user_admin_menu_id . '-user-capabilities',
|
118 |
+
'title' => __( 'User Capabilities', 'buddypress' ),
|
119 |
+
'href' => bp_displayed_user_domain() . 'settings/capabilities/'
|
120 |
+
) );
|
121 |
+
|
122 |
+
// User Admin > Delete Account
|
123 |
+
$wp_admin_bar->add_menu( array(
|
124 |
+
'parent' => $bp->user_admin_menu_id,
|
125 |
+
'id' => $bp->user_admin_menu_id . '-delete-user',
|
126 |
+
'title' => __( 'Delete Account', 'buddypress' ),
|
127 |
+
'href' => bp_displayed_user_domain() . 'settings/delete-account/'
|
128 |
+
) );
|
129 |
+
|
130 |
+
}
|
131 |
+
|
132 |
}
|
133 |
add_action( 'admin_bar_menu', 'bp_members_admin_bar_user_admin_menu', 99 );
|
134 |
|
bp-members/bp-members-functions.php
CHANGED
@@ -120,7 +120,7 @@ function bp_core_get_users( $args = '' ) {
|
|
120 |
*
|
121 |
* @package BuddyPress Core
|
122 |
* @global $current_user WordPress global variable containing current logged in user information
|
123 |
-
* @param user_id The ID of the user.
|
124 |
*/
|
125 |
function bp_core_get_user_domain( $user_id, $user_nicename = false, $user_login = false ) {
|
126 |
|
@@ -150,7 +150,7 @@ function bp_core_get_user_domain( $user_id, $user_nicename = false, $user_login
|
|
150 |
* Fetch everything in the wp_users table for a user, without any usermeta.
|
151 |
*
|
152 |
* @package BuddyPress Core
|
153 |
-
* @param user_id The ID of the user.
|
154 |
* @uses BP_Core_User::get_core_userdata() Performs the query.
|
155 |
*/
|
156 |
function bp_core_get_core_userdata( $user_id ) {
|
@@ -170,7 +170,7 @@ function bp_core_get_core_userdata( $user_id ) {
|
|
170 |
*
|
171 |
* @package BuddyPress Core
|
172 |
* @uses bp_core_get_userid_from_user_login() Returns the user id for the username passed
|
173 |
-
* @return The user id for the user that is currently being displayed, return zero if this is not a user home and just a normal blog.
|
174 |
*/
|
175 |
function bp_core_get_displayed_userid( $user_login ) {
|
176 |
return apply_filters( 'bp_core_get_displayed_userid', bp_core_get_userid( $user_login ) );
|
@@ -180,10 +180,9 @@ function bp_core_get_displayed_userid( $user_login ) {
|
|
180 |
* Returns the user_id for a user based on their username.
|
181 |
*
|
182 |
* @package BuddyPress Core
|
183 |
-
* @param $username
|
184 |
* @global $wpdb WordPress DB access object.
|
185 |
-
* @return
|
186 |
-
* @return int the user ID of the matched user.
|
187 |
*/
|
188 |
function bp_core_get_userid( $username ) {
|
189 |
global $wpdb;
|
@@ -198,10 +197,9 @@ function bp_core_get_userid( $username ) {
|
|
198 |
* Returns the user_id for a user based on their user_nicename.
|
199 |
*
|
200 |
* @package BuddyPress Core
|
201 |
-
* @param $username
|
202 |
* @global $wpdb WordPress DB access object.
|
203 |
-
* @return
|
204 |
-
* @return int the user ID of the matched user.
|
205 |
*/
|
206 |
function bp_core_get_userid_from_nicename( $user_nicename ) {
|
207 |
global $wpdb;
|
@@ -216,11 +214,10 @@ function bp_core_get_userid_from_nicename( $user_nicename ) {
|
|
216 |
* Returns the username for a user based on their user id.
|
217 |
*
|
218 |
* @package BuddyPress Core
|
219 |
-
* @param $uid
|
220 |
* @global $userdata WordPress user data for the current logged in user.
|
221 |
* @uses get_userdata() WordPress function to fetch the userdata for a user ID
|
222 |
-
* @return
|
223 |
-
* @return str the username of the matched user.
|
224 |
*/
|
225 |
function bp_core_get_username( $user_id, $user_nicename = false, $user_login = false ) {
|
226 |
global $bp;
|
@@ -290,11 +287,10 @@ function bp_core_get_username( $user_id, $user_nicename = false, $user_login = f
|
|
290 |
* @since BuddyPress (1.5)
|
291 |
*
|
292 |
* @package BuddyPress Core
|
293 |
-
* @param $uid
|
294 |
* @global $userdata WordPress user data for the current logged in user.
|
295 |
* @uses get_userdata() WordPress function to fetch the userdata for a user ID
|
296 |
-
* @return
|
297 |
-
* @return str the username of the matched user.
|
298 |
*/
|
299 |
function bp_members_get_user_nicename( $user_id ) {
|
300 |
global $bp;
|
@@ -343,10 +339,9 @@ function bp_members_get_user_nicename( $user_id ) {
|
|
343 |
* Returns the email address for the user based on user ID
|
344 |
*
|
345 |
* @package BuddyPress Core
|
346 |
-
* @param $uid
|
347 |
* @uses get_userdata() WordPress function to fetch the userdata for a user ID
|
348 |
-
* @return
|
349 |
-
* @return str The email for the matched user.
|
350 |
*/
|
351 |
function bp_core_get_user_email( $uid ) {
|
352 |
|
@@ -371,10 +366,9 @@ function bp_core_get_user_email( $uid ) {
|
|
371 |
* Optional parameters will return just the name or just the URL.
|
372 |
*
|
373 |
* @param int $user_id User ID to check.
|
374 |
-
* @param $no_anchor
|
375 |
-
* @param $just_link
|
376 |
-
* @return false on no match
|
377 |
-
* @return str The link text based on passed parameters.
|
378 |
* @todo This function needs to be cleaned up or split into separate functions
|
379 |
*/
|
380 |
function bp_core_get_userlink( $user_id, $no_anchor = false, $just_link = false ) {
|
@@ -406,7 +400,7 @@ function bp_core_get_userlink( $user_id, $no_anchor = false, $just_link = false
|
|
406 |
* @uses get_userdata() Fetches the WP userdata for a specific user.
|
407 |
* @uses xprofile_set_field_data() Will update the field data for a user based on field name and user id.
|
408 |
* @uses wp_cache_set() Adds a value to the cache.
|
409 |
-
* @return
|
410 |
*/
|
411 |
function bp_core_get_user_displayname( $user_id_or_username ) {
|
412 |
global $bp;
|
@@ -462,10 +456,10 @@ add_filter( 'bp_core_get_user_displayname', 'esc_html' );
|
|
462 |
* Returns the user link for the user based on user email address
|
463 |
*
|
464 |
* @package BuddyPress Core
|
465 |
-
* @param $email
|
466 |
* @uses bp_core_get_userlink() BuddyPress function to get a userlink by user ID.
|
467 |
* @uses get_user_by() WordPress function to get userdata via an email address
|
468 |
-
* @return
|
469 |
*/
|
470 |
function bp_core_get_userlink_by_email( $email ) {
|
471 |
$user = get_user_by( 'email', $email );
|
@@ -475,8 +469,8 @@ function bp_core_get_userlink_by_email( $email ) {
|
|
475 |
/**
|
476 |
* Returns the user link for the user based on the supplied identifier
|
477 |
*
|
478 |
-
* @param $username
|
479 |
-
* @return
|
480 |
*/
|
481 |
function bp_core_get_userlink_by_username( $username ) {
|
482 |
if ( bp_is_username_compatibility_mode() )
|
@@ -917,8 +911,8 @@ add_action( 'pre_user_login', 'bp_core_strip_username_spaces' );
|
|
917 |
* When a user logs in, check if they have been marked as a spammer. If yes then simply
|
918 |
* redirect them to the home page and stop them from logging in.
|
919 |
*
|
920 |
-
* @param
|
921 |
-
* @return
|
922 |
*
|
923 |
* @since BuddyPress (1.1.2)
|
924 |
*/
|
@@ -941,7 +935,7 @@ add_filter( 'authenticate', 'bp_core_boot_spammer', 30 );
|
|
941 |
* Deletes usermeta for the user when the user is deleted.
|
942 |
*
|
943 |
* @package BuddyPress Core
|
944 |
-
* @param $user_id The user id for the user to delete usermeta for
|
945 |
* @uses bp_delete_user_meta() deletes a row from the wp_usermeta table based on meta_key
|
946 |
*/
|
947 |
function bp_core_remove_data( $user_id ) {
|
@@ -1098,7 +1092,7 @@ function bp_core_validate_email_address( $user_email ) {
|
|
1098 |
* @since BuddyPress (1.7)
|
1099 |
* @see bp_core_validate_email_address()
|
1100 |
*
|
1101 |
-
* @param
|
1102 |
* @param array $validation_results The return value of a validation function
|
1103 |
* like bp_core_validate_email_address()
|
1104 |
*/
|
@@ -1413,8 +1407,8 @@ function bp_core_signup_send_validation_email( $user_id, $user_email, $key ) {
|
|
1413 |
* Multisite has their own DB table - 'wp_signups' - dedicated for unactivated users.
|
1414 |
* See {@link wpmu_signup_user()} and {@link wpmu_validate_user_signup()}.
|
1415 |
*
|
1416 |
-
* @param
|
1417 |
-
* @return
|
1418 |
*
|
1419 |
* @since BuddyPress (1.2.2)
|
1420 |
*/
|
120 |
*
|
121 |
* @package BuddyPress Core
|
122 |
* @global $current_user WordPress global variable containing current logged in user information
|
123 |
+
* @param int $user_id The ID of the user.
|
124 |
*/
|
125 |
function bp_core_get_user_domain( $user_id, $user_nicename = false, $user_login = false ) {
|
126 |
|
150 |
* Fetch everything in the wp_users table for a user, without any usermeta.
|
151 |
*
|
152 |
* @package BuddyPress Core
|
153 |
+
* @param int $user_id The ID of the user.
|
154 |
* @uses BP_Core_User::get_core_userdata() Performs the query.
|
155 |
*/
|
156 |
function bp_core_get_core_userdata( $user_id ) {
|
170 |
*
|
171 |
* @package BuddyPress Core
|
172 |
* @uses bp_core_get_userid_from_user_login() Returns the user id for the username passed
|
173 |
+
* @return int The user id for the user that is currently being displayed, return zero if this is not a user home and just a normal blog.
|
174 |
*/
|
175 |
function bp_core_get_displayed_userid( $user_login ) {
|
176 |
return apply_filters( 'bp_core_get_displayed_userid', bp_core_get_userid( $user_login ) );
|
180 |
* Returns the user_id for a user based on their username.
|
181 |
*
|
182 |
* @package BuddyPress Core
|
183 |
+
* @param string $username Username to check.
|
184 |
* @global $wpdb WordPress DB access object.
|
185 |
+
* @return int|bool The ID of the matched user, or false.
|
|
|
186 |
*/
|
187 |
function bp_core_get_userid( $username ) {
|
188 |
global $wpdb;
|
197 |
* Returns the user_id for a user based on their user_nicename.
|
198 |
*
|
199 |
* @package BuddyPress Core
|
200 |
+
* @param string $username Username to check.
|
201 |
* @global $wpdb WordPress DB access object.
|
202 |
+
* @return int|bool The ID of the matched user, or false.
|
|
|
203 |
*/
|
204 |
function bp_core_get_userid_from_nicename( $user_nicename ) {
|
205 |
global $wpdb;
|
214 |
* Returns the username for a user based on their user id.
|
215 |
*
|
216 |
* @package BuddyPress Core
|
217 |
+
* @param int $uid User ID to check.
|
218 |
* @global $userdata WordPress user data for the current logged in user.
|
219 |
* @uses get_userdata() WordPress function to fetch the userdata for a user ID
|
220 |
+
* @return string|bool The username of the matched user, or false.
|
|
|
221 |
*/
|
222 |
function bp_core_get_username( $user_id, $user_nicename = false, $user_login = false ) {
|
223 |
global $bp;
|
287 |
* @since BuddyPress (1.5)
|
288 |
*
|
289 |
* @package BuddyPress Core
|
290 |
+
* @param int $uid User ID to check.
|
291 |
* @global $userdata WordPress user data for the current logged in user.
|
292 |
* @uses get_userdata() WordPress function to fetch the userdata for a user ID
|
293 |
+
* @return string|bool The username of the matched user, or false.
|
|
|
294 |
*/
|
295 |
function bp_members_get_user_nicename( $user_id ) {
|
296 |
global $bp;
|
339 |
* Returns the email address for the user based on user ID
|
340 |
*
|
341 |
* @package BuddyPress Core
|
342 |
+
* @param int $uid User ID to check.
|
343 |
* @uses get_userdata() WordPress function to fetch the userdata for a user ID
|
344 |
+
* @return string The email for the matched user. Empty string if no user matched the $uid.
|
|
|
345 |
*/
|
346 |
function bp_core_get_user_email( $uid ) {
|
347 |
|
366 |
* Optional parameters will return just the name or just the URL.
|
367 |
*
|
368 |
* @param int $user_id User ID to check.
|
369 |
+
* @param bool $no_anchor Disable URL and HTML and just return full name. Default false.
|
370 |
+
* @param bool $just_link Disable full name and HTML and just return the URL text. Default false.
|
371 |
+
* @return string|bool The link text based on passed parameters, or false on no match.
|
|
|
372 |
* @todo This function needs to be cleaned up or split into separate functions
|
373 |
*/
|
374 |
function bp_core_get_userlink( $user_id, $no_anchor = false, $just_link = false ) {
|
400 |
* @uses get_userdata() Fetches the WP userdata for a specific user.
|
401 |
* @uses xprofile_set_field_data() Will update the field data for a user based on field name and user id.
|
402 |
* @uses wp_cache_set() Adds a value to the cache.
|
403 |
+
* @return string|bool The display name for the user in question, or false if user not found.
|
404 |
*/
|
405 |
function bp_core_get_user_displayname( $user_id_or_username ) {
|
406 |
global $bp;
|
456 |
* Returns the user link for the user based on user email address
|
457 |
*
|
458 |
* @package BuddyPress Core
|
459 |
+
* @param string $email The email address for the user.
|
460 |
* @uses bp_core_get_userlink() BuddyPress function to get a userlink by user ID.
|
461 |
* @uses get_user_by() WordPress function to get userdata via an email address
|
462 |
+
* @return string The link to the users home base. False on no match.
|
463 |
*/
|
464 |
function bp_core_get_userlink_by_email( $email ) {
|
465 |
$user = get_user_by( 'email', $email );
|
469 |
/**
|
470 |
* Returns the user link for the user based on the supplied identifier
|
471 |
*
|
472 |
+
* @param string $username If BP_ENABLE_USERNAME_COMPATIBILITY_MODE is set, this will be user_login, otherwise it will be user_nicename.
|
473 |
+
* @return string|bool The link to the users home base, false on no match.
|
474 |
*/
|
475 |
function bp_core_get_userlink_by_username( $username ) {
|
476 |
if ( bp_is_username_compatibility_mode() )
|
911 |
* When a user logs in, check if they have been marked as a spammer. If yes then simply
|
912 |
* redirect them to the home page and stop them from logging in.
|
913 |
*
|
914 |
+
* @param WP_User|WP_Error $user Either the WP_User object or the WP_Error object
|
915 |
+
* @return WP_User|WP_Error If the user is not a spammer, return the WP_User object. Otherwise a new WP_Error object.
|
916 |
*
|
917 |
* @since BuddyPress (1.1.2)
|
918 |
*/
|
935 |
* Deletes usermeta for the user when the user is deleted.
|
936 |
*
|
937 |
* @package BuddyPress Core
|
938 |
+
* @param int $user_id The user id for the user to delete usermeta for
|
939 |
* @uses bp_delete_user_meta() deletes a row from the wp_usermeta table based on meta_key
|
940 |
*/
|
941 |
function bp_core_remove_data( $user_id ) {
|
1092 |
* @since BuddyPress (1.7)
|
1093 |
* @see bp_core_validate_email_address()
|
1094 |
*
|
1095 |
+
* @param WP_Error $errors WP_Error object
|
1096 |
* @param array $validation_results The return value of a validation function
|
1097 |
* like bp_core_validate_email_address()
|
1098 |
*/
|
1407 |
* Multisite has their own DB table - 'wp_signups' - dedicated for unactivated users.
|
1408 |
* See {@link wpmu_signup_user()} and {@link wpmu_validate_user_signup()}.
|
1409 |
*
|
1410 |
+
* @param WP_User|WP_Error $user Either the WP_User object or the WP_Error object
|
1411 |
+
* @return WP_User|WP_Error If the user is not a spammer, return the WP_User object. Otherwise a new WP_Error object.
|
1412 |
*
|
1413 |
* @since BuddyPress (1.2.2)
|
1414 |
*/
|
bp-members/bp-members-template.php
CHANGED
@@ -555,7 +555,7 @@ function bp_member_name() {
|
|
555 |
* @package BuddyPress
|
556 |
*
|
557 |
* @uses apply_filters() Filter bp_get_the_member_name() to alter the function's output
|
558 |
-
* @return
|
559 |
*/
|
560 |
function bp_get_member_name() {
|
561 |
global $members_template;
|
555 |
* @package BuddyPress
|
556 |
*
|
557 |
* @uses apply_filters() Filter bp_get_the_member_name() to alter the function's output
|
558 |
+
* @return string The user's fullname for display
|
559 |
*/
|
560 |
function bp_get_member_name() {
|
561 |
global $members_template;
|
bp-messages/bp-messages-functions.php
CHANGED
@@ -233,11 +233,11 @@ function messages_is_valid_thread( $thread_id ) {
|
|
233 |
*
|
234 |
* @package BuddyPress
|
235 |
*
|
236 |
-
* @param
|
237 |
* @param int $item_id The primary item id
|
238 |
* @param int $secondary_item_id The secondary item id
|
239 |
* @param int $total_items The total number of messaging-related notifications waiting for the user
|
240 |
-
* @param
|
241 |
*/
|
242 |
function messages_format_notifications( $action, $item_id, $secondary_item_id, $total_items, $format = 'string' ) {
|
243 |
|
233 |
*
|
234 |
* @package BuddyPress
|
235 |
*
|
236 |
+
* @param string $action The kind of notification being rendered
|
237 |
* @param int $item_id The primary item id
|
238 |
* @param int $secondary_item_id The secondary item id
|
239 |
* @param int $total_items The total number of messaging-related notifications waiting for the user
|
240 |
+
* @param string $format 'string' for BuddyBar-compatible notifications; 'array' for WP Toolbar
|
241 |
*/
|
242 |
function messages_format_notifications( $action, $item_id, $secondary_item_id, $total_items, $format = 'string' ) {
|
243 |
|
bp-messages/bp-messages-template.php
CHANGED
@@ -383,7 +383,7 @@ function bp_messages_form_action() {
|
|
383 |
*
|
384 |
* @package BuddyPress
|
385 |
*
|
386 |
-
* @return
|
387 |
*/
|
388 |
function bp_get_messages_form_action() {
|
389 |
return apply_filters( 'bp_get_messages_form_action', trailingslashit( bp_loggedin_user_domain() . bp_get_messages_slug() . '/' . bp_current_action() . '/' . bp_action_variable( 0 ) ) );
|
383 |
*
|
384 |
* @package BuddyPress
|
385 |
*
|
386 |
+
* @return string The form action
|
387 |
*/
|
388 |
function bp_get_messages_form_action() {
|
389 |
return apply_filters( 'bp_get_messages_form_action', trailingslashit( bp_loggedin_user_domain() . bp_get_messages_slug() . '/' . bp_current_action() . '/' . bp_action_variable( 0 ) ) );
|
bp-settings/bp-settings-actions.php
CHANGED
@@ -23,7 +23,6 @@ if ( !defined( 'ABSPATH' ) ) exit;
|
|
23 |
* users accounts already, without knowing their existing password.
|
24 |
*
|
25 |
* @global BuddyPress $bp
|
26 |
-
* @return If no reason to proceed
|
27 |
*/
|
28 |
function bp_settings_action_general() {
|
29 |
|
@@ -214,8 +213,6 @@ add_action( 'bp_actions', 'bp_settings_action_general' );
|
|
214 |
|
215 |
/**
|
216 |
* Handles the changing and saving of user notification settings
|
217 |
-
*
|
218 |
-
* @return If no reason to proceed
|
219 |
*/
|
220 |
function bp_settings_action_notifications() {
|
221 |
|
@@ -260,8 +257,6 @@ add_action( 'bp_actions', 'bp_settings_action_notifications' );
|
|
260 |
|
261 |
/**
|
262 |
* Handles the setting of user capabilities, spamming, hamming, role, etc...
|
263 |
-
*
|
264 |
-
* @return If no reason to proceed
|
265 |
*/
|
266 |
function bp_settings_action_capabilities() {
|
267 |
|
@@ -309,8 +304,6 @@ add_action( 'bp_actions', 'bp_settings_action_capabilities' );
|
|
309 |
|
310 |
/**
|
311 |
* Handles the deleting of a user
|
312 |
-
*
|
313 |
-
* @return If no reason to proceed
|
314 |
*/
|
315 |
function bp_settings_action_delete_account() {
|
316 |
|
23 |
* users accounts already, without knowing their existing password.
|
24 |
*
|
25 |
* @global BuddyPress $bp
|
|
|
26 |
*/
|
27 |
function bp_settings_action_general() {
|
28 |
|
213 |
|
214 |
/**
|
215 |
* Handles the changing and saving of user notification settings
|
|
|
|
|
216 |
*/
|
217 |
function bp_settings_action_notifications() {
|
218 |
|
257 |
|
258 |
/**
|
259 |
* Handles the setting of user capabilities, spamming, hamming, role, etc...
|
|
|
|
|
260 |
*/
|
261 |
function bp_settings_action_capabilities() {
|
262 |
|
304 |
|
305 |
/**
|
306 |
* Handles the deleting of a user
|
|
|
|
|
307 |
*/
|
308 |
function bp_settings_action_delete_account() {
|
309 |
|
bp-settings/bp-settings-screens.php
CHANGED
@@ -14,8 +14,6 @@ if ( !defined( 'ABSPATH' ) ) exit;
|
|
14 |
* Show the general settings template
|
15 |
*
|
16 |
* @since BuddyPress (1.5)
|
17 |
-
*
|
18 |
-
* @return If we shouldn't be here
|
19 |
*/
|
20 |
function bp_settings_screen_general() {
|
21 |
|
@@ -31,8 +29,6 @@ function bp_settings_screen_general() {
|
|
31 |
* Show the notifications settings template
|
32 |
*
|
33 |
* @since BuddyPress (1.5)
|
34 |
-
*
|
35 |
-
* @return If we shouldn't be here
|
36 |
*/
|
37 |
function bp_settings_screen_notification() {
|
38 |
|
@@ -48,8 +44,6 @@ function bp_settings_screen_notification() {
|
|
48 |
* Show the delete-account settings template
|
49 |
*
|
50 |
* @since BuddyPress (1.5)
|
51 |
-
*
|
52 |
-
* @return If we shouldn't be here
|
53 |
*/
|
54 |
function bp_settings_screen_delete_account() {
|
55 |
|
@@ -66,8 +60,6 @@ function bp_settings_screen_delete_account() {
|
|
66 |
* Show the capabilities settings template
|
67 |
*
|
68 |
* @since BuddyPress (1.6)
|
69 |
-
*
|
70 |
-
* @return If we shouldn't be here
|
71 |
*/
|
72 |
function bp_settings_screen_capabilities() {
|
73 |
|
14 |
* Show the general settings template
|
15 |
*
|
16 |
* @since BuddyPress (1.5)
|
|
|
|
|
17 |
*/
|
18 |
function bp_settings_screen_general() {
|
19 |
|
29 |
* Show the notifications settings template
|
30 |
*
|
31 |
* @since BuddyPress (1.5)
|
|
|
|
|
32 |
*/
|
33 |
function bp_settings_screen_notification() {
|
34 |
|
44 |
* Show the delete-account settings template
|
45 |
*
|
46 |
* @since BuddyPress (1.5)
|
|
|
|
|
47 |
*/
|
48 |
function bp_settings_screen_delete_account() {
|
49 |
|
60 |
* Show the capabilities settings template
|
61 |
*
|
62 |
* @since BuddyPress (1.6)
|
|
|
|
|
63 |
*/
|
64 |
function bp_settings_screen_capabilities() {
|
65 |
|
bp-templates/bp-legacy/buddypress-functions.php
CHANGED
@@ -886,7 +886,6 @@ function bp_legacy_theme_get_single_activity_content() {
|
|
886 |
/**
|
887 |
* Invites a friend to join a group via a POST request.
|
888 |
*
|
889 |
-
* @return unknown
|
890 |
* @since BuddyPress (1.2)
|
891 |
* @todo Audit return types
|
892 |
*/
|
886 |
/**
|
887 |
* Invites a friend to join a group via a POST request.
|
888 |
*
|
|
|
889 |
* @since BuddyPress (1.2)
|
890 |
* @todo Audit return types
|
891 |
*/
|
bp-templates/bp-legacy/buddypress/members/single/member-header.php
CHANGED
@@ -21,7 +21,10 @@
|
|
21 |
|
22 |
<div id="item-header-content">
|
23 |
|
24 |
-
|
|
|
|
|
|
|
25 |
<span class="activity"><?php bp_last_activity( bp_displayed_user_id() ); ?></span>
|
26 |
|
27 |
<?php do_action( 'bp_before_member_header_meta' ); ?>
|
21 |
|
22 |
<div id="item-header-content">
|
23 |
|
24 |
+
<?php if ( bp_is_active( 'activity' ) && bp_activity_do_mentions() ) : ?>
|
25 |
+
<h2 class="user-nicename">@<?php bp_displayed_user_username(); ?></h2>
|
26 |
+
<?php endif; ?>
|
27 |
+
|
28 |
<span class="activity"><?php bp_last_activity( bp_displayed_user_id() ); ?></span>
|
29 |
|
30 |
<?php do_action( 'bp_before_member_header_meta' ); ?>
|
bp-templates/bp-legacy/css/buddypress-rtl.css
CHANGED
@@ -1,39 +1,38 @@
|
|
1 |
/*--------------------------------------------------------------
|
2 |
-
Hello, this is the BuddyPress Legacy
|
3 |
|
4 |
----------------------------------------------------------------
|
5 |
>>> TABLE OF CONTENTS:
|
6 |
----------------------------------------------------------------
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
6
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
7.0 - Media Queries
|
30 |
-
7.1 - Smartphones Landscape
|
31 |
-
7.2 - Smartphones Portrait
|
32 |
-
7.3 - Smartphones - smaller screen sizes
|
33 |
--------------------------------------------------------------*/
|
34 |
|
35 |
/*--------------------------------------------------------------
|
36 |
-
|
|
|
|
|
|
|
37 |
--------------------------------------------------------------*/
|
38 |
#buddypress div.pagination {
|
39 |
background: transparent;
|
@@ -72,9 +71,11 @@ Hello, this is the BuddyPress Legacy (RTL) stylesheet.
|
|
72 |
#buddypress .paged #nav-above {
|
73 |
display: block;
|
74 |
}
|
75 |
-
|
76 |
/*--------------------------------------------------------------
|
77 |
-
|
|
|
|
|
|
|
78 |
--------------------------------------------------------------*/
|
79 |
#buddypress img.wp-smiley {
|
80 |
border: none !important;
|
@@ -85,10 +86,10 @@ Hello, this is the BuddyPress Legacy (RTL) stylesheet.
|
|
85 |
}
|
86 |
|
87 |
/*--------------------------------------------------------------
|
88 |
-
|
89 |
--------------------------------------------------------------*/
|
90 |
/*--------------------------------------------------------------
|
91 |
-
|
92 |
--------------------------------------------------------------*/
|
93 |
#buddypress #activity-stream {
|
94 |
margin-top: -5px;
|
@@ -111,7 +112,7 @@ Hello, this is the BuddyPress Legacy (RTL) stylesheet.
|
|
111 |
}
|
112 |
#buddypress form#whats-new-form #whats-new-content {
|
113 |
margin-right: 55px;
|
114 |
-
padding: 0 20px 20px
|
115 |
}
|
116 |
#buddypress form#whats-new-form p.activity-greeting {
|
117 |
line-height: 0.5em;
|
@@ -120,10 +121,6 @@ Hello, this is the BuddyPress Legacy (RTL) stylesheet.
|
|
120 |
}
|
121 |
#buddypress form#whats-new-form textarea {
|
122 |
background: #fff;
|
123 |
-
border: 1px inset #ccc;
|
124 |
-
-moz-border-radius: 3px;
|
125 |
-
-webkit-border-radius: 3px;
|
126 |
-
border-radius: 3px;
|
127 |
color: #555;
|
128 |
font-family: inherit;
|
129 |
font-size: 90%;
|
@@ -152,13 +149,10 @@ body.no-js #buddypress #whats-new-options {
|
|
152 |
#buddypress #whats-new:focus {
|
153 |
border-color: rgba(31, 179, 221, 0.9) !important;
|
154 |
outline-color: rgba(31, 179, 221, 0.9);
|
155 |
-
box-shadow: 0 0 7px rgba(31, 179, 221, 0.7);
|
156 |
-
-moz-box-shadow: 0 0 7px rgba(31, 179, 221, 0.7);
|
157 |
-
-webkit-box-shadow: 0 0 7px rgba(31, 179, 221, 0.7);
|
158 |
}
|
159 |
|
160 |
/*--------------------------------------------------------------
|
161 |
-
|
162 |
--------------------------------------------------------------*/
|
163 |
#buddypress ul.activity-list li {
|
164 |
overflow: hidden;
|
@@ -269,7 +263,7 @@ body.activity-permalink #buddypress .activity-list li .activity-header > p {
|
|
269 |
}
|
270 |
#buddypress .activity-list li.new_forum_post .activity-content .activity-inner,
|
271 |
#buddypress .activity-list li.new_forum_topic .activity-content .activity-inner {
|
272 |
-
border-
|
273 |
margin-right: 5px;
|
274 |
padding-right: 10px;
|
275 |
}
|
@@ -309,7 +303,7 @@ body.activity-permalink #buddypress .activity-content blockquote {
|
|
309 |
|
310 |
|
311 |
/*--------------------------------------------------------------
|
312 |
-
|
313 |
--------------------------------------------------------------*/
|
314 |
#buddypress div.activity-meta {
|
315 |
margin: 18px 0 0;
|
@@ -318,7 +312,6 @@ body.activity-permalink #buddypress div.activity-meta {
|
|
318 |
margin-bottom: 6px;
|
319 |
}
|
320 |
#buddypress div.activity-meta a {
|
321 |
-
font: normal 11px/20px Arial, Tahoma, Verdana, sans-serif;
|
322 |
padding: 4px 8px;
|
323 |
}
|
324 |
#buddypress a.activity-time-since {
|
@@ -338,7 +331,6 @@ body.activity-permalink #buddypress div.activity-meta {
|
|
338 |
#buddypress a.bp-primary-action span,
|
339 |
#buddypress #reply-title small a span {
|
340 |
background: #999;
|
341 |
-
border-radius: 3px;
|
342 |
color: #fff;
|
343 |
font-size: 90%;
|
344 |
margin-right: 2px;
|
@@ -443,7 +435,6 @@ body.activity-permalink #buddypress div.activity-comments div.acomment-content {
|
|
443 |
#buddypress div.activity-comments form .ac-textarea {
|
444 |
background: #fff;
|
445 |
border: 1px inset #ccc;
|
446 |
-
border-radius: 3px;
|
447 |
margin-bottom: 10px;
|
448 |
padding: 8px;
|
449 |
}
|
@@ -489,7 +480,7 @@ body.activity-permalink #buddypress div.activity-comments div.acomment-content {
|
|
489 |
}
|
490 |
|
491 |
/*--------------------------------------------------------------
|
492 |
-
|
493 |
--------------------------------------------------------------*/
|
494 |
#buddypress div.dir-search {
|
495 |
float: left;
|
@@ -505,7 +496,7 @@ body.activity-permalink #buddypress div.activity-comments div.acomment-content {
|
|
505 |
}
|
506 |
|
507 |
/*--------------------------------------------------------------
|
508 |
-
|
509 |
--------------------------------------------------------------*/
|
510 |
#buddypress div#message {
|
511 |
margin: 0 0 15px;
|
@@ -523,22 +514,19 @@ body.activity-permalink #buddypress div.activity-comments div.acomment-content {
|
|
523 |
padding: 10px 15px;
|
524 |
}
|
525 |
#buddypress div#message.error p {
|
526 |
-
background-color: #
|
527 |
-
border
|
528 |
clear: right;
|
529 |
-
color: #
|
530 |
}
|
531 |
#buddypress div#message.updated p {
|
532 |
-
background-color: #
|
533 |
-
border
|
534 |
-
color: #
|
535 |
}
|
536 |
#buddypress .standard-form#signup_form div div.error {
|
537 |
-
background: #
|
538 |
-
|
539 |
-
-webkit-border-radius: 3px;
|
540 |
-
border-radius: 3px;
|
541 |
-
color: #fff;
|
542 |
margin: 0 0 10px 0;
|
543 |
padding: 6px;
|
544 |
width: 90%;
|
@@ -557,7 +545,7 @@ body.activity-permalink #buddypress div.activity-comments div.acomment-content {
|
|
557 |
font-weight: bold;
|
558 |
}
|
559 |
#sitewide-notice #message {
|
560 |
-
|
561 |
position: fixed;
|
562 |
top: 1em;
|
563 |
width: 96%;
|
@@ -572,15 +560,31 @@ body.activity-permalink #buddypress div.activity-comments div.acomment-content {
|
|
572 |
}
|
573 |
|
574 |
/*--------------------------------------------------------------
|
575 |
-
|
576 |
--------------------------------------------------------------*/
|
577 |
#buddypress .standard-form textarea,
|
578 |
#buddypress .standard-form input[type=text],
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
579 |
#buddypress .standard-form select,
|
580 |
#buddypress .standard-form input[type=password],
|
|
|
581 |
#buddypress .dir-search input[type=text] {
|
582 |
-
border: 1px
|
583 |
-
|
|
|
584 |
color: #888;
|
585 |
font: inherit;
|
586 |
font-size: 100%;
|
@@ -710,25 +714,14 @@ body.activity-permalink #buddypress div.activity-comments div.acomment-content {
|
|
710 |
#buddypress .comment-reply-link,
|
711 |
a.bp-title-button {
|
712 |
background: #fff; /* Old browsers */
|
713 |
-
background: -moz-linear-gradient(top, #ffffff 0%, #ededed 100%); /* FF3.6+ */
|
714 |
-
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#ededed)); /* Chrome,Safari4+ */
|
715 |
-
background: -webkit-linear-gradient(top, #ffffff 0%,#ededed 100%); /* Chrome10+,Safari5.1+ */
|
716 |
-
background: -o-linear-gradient(top, #ffffff 0%,#ededed 100%); /* Opera11.10+ */
|
717 |
-
background: -ms-linear-gradient(top, #ffffff 0%,#ededed 100%); /* IE10+ */
|
718 |
-
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ededed',GradientType=0 ); /* IE6-9 */
|
719 |
-
background: linear-gradient(top, #ffffff 0%,#ededed 100%); /* W3C */
|
720 |
border: 1px solid #ccc;
|
721 |
-
-moz-border-radius: 3px;
|
722 |
-
-webkit-border-radius: 3px;
|
723 |
-
border-radius: 3px;
|
724 |
color: #777;
|
|
|
725 |
cursor: pointer;
|
726 |
-
font: normal 12px/20px Arial, Tahoma, Verdana, sans-serif;
|
727 |
outline: none;
|
728 |
padding: 4px 10px;
|
729 |
text-align: center;
|
730 |
text-decoration: none;
|
731 |
-
line-height: 14px;
|
732 |
}
|
733 |
#buddypress button:hover,
|
734 |
#buddypress a.button:hover,
|
@@ -741,30 +734,45 @@ a.bp-title-button {
|
|
741 |
#buddypress div.generic-button a:hover,
|
742 |
#buddypress .comment-reply-link:hover {
|
743 |
background: #ededed;
|
744 |
-
background: -moz-linear-gradient(top, #ffffff 0%, #e0e0e0 100%); /* FF3.6+ */
|
745 |
-
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#e0e0e0)); /* Chrome,Safari4+ */
|
746 |
-
background: -webkit-linear-gradient(top, #ffffff 0%,#e0e0e0 100%); /* Chrome10+,Safari5.1+ */
|
747 |
-
background: -o-linear-gradient(top, #ffffff 0%,#e0e0e0 100%); /* Opera11.10+ */
|
748 |
-
background: -ms-linear-gradient(top, #ffffff 0%,#e0e0e0 100%); /* IE10+ */
|
749 |
-
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#e0e0e0',GradientType=0 ); /* IE6-9 */
|
750 |
-
background: linear-gradient(top, #ffffff 0%,#e0e0e0 100%); /* W3C */
|
751 |
border: 1px solid #bbb;
|
752 |
color: #555;
|
753 |
outline: none;
|
754 |
text-decoration: none;
|
755 |
}
|
756 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
757 |
/*--------------------------------------------------------------
|
758 |
-
|
759 |
--------------------------------------------------------------*/
|
760 |
#buddypress a.loading,
|
761 |
#buddypress input.loading {
|
762 |
-webkit-animation: loader-pulsate .5s infinite ease-in-out alternate;
|
763 |
-moz-animation: loader-pulsate .5s infinite ease-in-out alternate;
|
764 |
border-color: #aaa;
|
765 |
-
-moz-box-shadow: 0 0 6px #ccc;
|
766 |
-
-webkit-box-shadow: 0 0 6px #ccc;
|
767 |
-
box-shadow: 0 0 6px #ccc;
|
768 |
}
|
769 |
@-webkit-keyframes loader-pulsate {
|
770 |
from {
|
@@ -819,19 +827,12 @@ a.bp-title-button {
|
|
819 |
#buddypress button.disabled:hover,
|
820 |
#buddypress div.pending a:hover,
|
821 |
#buddypress a.disabled:hover {
|
822 |
-
|
823 |
-
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#ededed)); /* Chrome,Safari4+ */
|
824 |
-
background: -webkit-linear-gradient(top, #ffffff 0%,#ededed 100%); /* Chrome10+,Safari5.1+ */
|
825 |
-
background: -o-linear-gradient(top, #ffffff 0%,#ededed 100%); /* Opera11.10+ */
|
826 |
-
background: -ms-linear-gradient(top, #ffffff 0%,#ededed 100%); /* IE10+ */
|
827 |
-
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ededed',GradientType=0 ); /* IE6-9 */
|
828 |
-
background: linear-gradient(top, #ffffff 0%,#ededed 100%); /* W3C */
|
829 |
-
border-color: #eee;
|
830 |
color: #bbb;
|
831 |
}
|
832 |
|
833 |
/*--------------------------------------------------------------
|
834 |
-
|
835 |
--------------------------------------------------------------*/
|
836 |
#buddypress ul#topic-post-list {
|
837 |
margin: 0;
|
@@ -859,7 +860,7 @@ a.bp-title-button {
|
|
859 |
font-size: 80%;
|
860 |
position: absolute;
|
861 |
top: 15px;
|
862 |
-
|
863 |
}
|
864 |
#buddypress div#topic-meta {
|
865 |
margin: 0;
|
@@ -867,7 +868,7 @@ a.bp-title-button {
|
|
867 |
position: relative;
|
868 |
}
|
869 |
#buddypress div#topic-meta div.admin-links {
|
870 |
-
|
871 |
top: -36px;
|
872 |
}
|
873 |
#buddypress div#topic-meta h3 {
|
@@ -907,7 +908,7 @@ a.bp-title-button {
|
|
907 |
vertical-align: middle;
|
908 |
}
|
909 |
#buddypress table tr td.label {
|
910 |
-
border-
|
911 |
font-weight: bold;
|
912 |
width: 25%;
|
913 |
}
|
@@ -1011,7 +1012,7 @@ a.bp-title-button {
|
|
1011 |
}
|
1012 |
|
1013 |
/*-------------------------------------------------------------------------
|
1014 |
-
|
1015 |
-------------------------------------------------------------------------*/
|
1016 |
#buddypress .item-body {
|
1017 |
margin: 20px 0;
|
@@ -1030,20 +1031,10 @@ a.bp-title-button {
|
|
1030 |
}
|
1031 |
#buddypress div#message p,
|
1032 |
#sitewide-notice p {
|
1033 |
-
border: 1px solid #e1ca82;
|
1034 |
-
-moz-border-radius: 3px;
|
1035 |
-
-webkit-border-radius: 3px;
|
1036 |
-
border-radius: 3px;
|
1037 |
font-weight: normal;
|
1038 |
margin-top: 3px;
|
1039 |
text-decoration: none;
|
1040 |
-
background: #
|
1041 |
-
background-image: -webkit-linear-gradient(rgba(255, 255, 255, .5), rgba(255, 255, 255, 0));
|
1042 |
-
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255, 255, 255, .5)), color-stop(100%,rgba(255, 255, 255, 0))); /* Chrome,Safari4+ */
|
1043 |
-
background-image: -moz-linear-gradient(rgba(255, 255, 255, .5), rgba(255, 255, 255, 0));
|
1044 |
-
background-image: -ms-linear-gradient(rgba(255, 255, 255, .5), rgba(255, 255, 255, 0));
|
1045 |
-
background-image: -o-linear-gradient(rgba(255, 255, 255, .5), rgba(255, 255, 255, 0));
|
1046 |
-
background-image: linear-gradient(rgba(255, 255, 255, .5), rgba(255, 255, 255, 0));
|
1047 |
}
|
1048 |
#buddypress div#item-header {
|
1049 |
overflow: hidden;
|
@@ -1076,9 +1067,6 @@ a.bp-title-button {
|
|
1076 |
}
|
1077 |
#buddypress div#item-header h2 span.highlight span {
|
1078 |
background: #a1dcfa;
|
1079 |
-
-moz-border-radius: 3px;
|
1080 |
-
-webkit-border-radius: 3px;
|
1081 |
-
border-radius: 3px;
|
1082 |
color: #fff;
|
1083 |
cursor: pointer;
|
1084 |
font-weight: bold;
|
@@ -1086,7 +1074,7 @@ a.bp-title-button {
|
|
1086 |
margin-bottom: 2px;
|
1087 |
padding: 1px 4px;
|
1088 |
position: relative;
|
1089 |
-
|
1090 |
top: -2px;
|
1091 |
vertical-align: middle;
|
1092 |
}
|
@@ -1179,7 +1167,7 @@ body.activity-permalink #buddypress ul.item-list li.activity-item {
|
|
1179 |
#buddypress ul.item-list li div.action {
|
1180 |
position: absolute;
|
1181 |
top: 15px;
|
1182 |
-
|
1183 |
text-align: left;
|
1184 |
}
|
1185 |
#buddypress ul.item-list li div.meta {
|
@@ -1274,7 +1262,7 @@ body.activity-permalink #buddypress ul.item-list li.activity-item {
|
|
1274 |
|
1275 |
|
1276 |
/*--------------------------------------------------------------
|
1277 |
-
|
1278 |
--------------------------------------------------------------*/
|
1279 |
#buddypress table#message-threads tr.unread td {
|
1280 |
background: #fff9db;
|
@@ -1285,7 +1273,6 @@ body.activity-permalink #buddypress ul.item-list li.activity-item {
|
|
1285 |
#buddypress li span.unread-count,
|
1286 |
#buddypress tr.unread span.unread-count {
|
1287 |
background: #dd0000;
|
1288 |
-
border-radius: 3px;
|
1289 |
color: #fff;
|
1290 |
font-weight: bold;
|
1291 |
padding: 2px 8px;
|
@@ -1313,7 +1300,7 @@ body.activity-permalink #buddypress ul.item-list li.activity-item {
|
|
1313 |
}
|
1314 |
#buddypress div#message-thread img.avatar {
|
1315 |
float: right;
|
1316 |
-
margin: 0 0 0
|
1317 |
vertical-align: middle;
|
1318 |
}
|
1319 |
#buddypress div#message-thread strong {
|
@@ -1344,7 +1331,7 @@ body.activity-permalink #buddypress ul.item-list li.activity-item {
|
|
1344 |
}
|
1345 |
|
1346 |
/*--------------------------------------------------------------
|
1347 |
-
|
1348 |
--------------------------------------------------------------*/
|
1349 |
|
1350 |
#buddypress div.profile h4 {
|
@@ -1391,7 +1378,7 @@ body.register #buddypress div.page ul {
|
|
1391 |
}
|
1392 |
|
1393 |
/*--------------------------------------------------------------
|
1394 |
-
|
1395 |
--------------------------------------------------------------*/
|
1396 |
|
1397 |
.widget.buddypress div.item-avatar img.avatar {
|
@@ -1438,10 +1425,10 @@ body.register #buddypress div.page ul {
|
|
1438 |
}
|
1439 |
|
1440 |
/*--------------------------------------------------------------
|
1441 |
-
|
1442 |
--------------------------------------------------------------*/
|
1443 |
/*--------------------------------------------------------------
|
1444 |
-
|
1445 |
--------------------------------------------------------------*/
|
1446 |
@media screen and (max-device-width: 480px), screen and (-webkit-min-device-pixel-ratio: 2) {
|
1447 |
-webkit-text-size-adjust: none;
|
@@ -1459,10 +1446,17 @@ body.register #buddypress div.page ul {
|
|
1459 |
a.bp-title-button {
|
1460 |
margin-right: 10px;
|
1461 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1462 |
}
|
1463 |
|
1464 |
/*--------------------------------------------------------------
|
1465 |
-
|
1466 |
--------------------------------------------------------------*/
|
1467 |
@media only screen and (max-width: 320px) {
|
1468 |
#buddypress div.dir-search {
|
@@ -1482,7 +1476,7 @@ body.register #buddypress div.page ul {
|
|
1482 |
margin-right: 70px;
|
1483 |
position: relative;
|
1484 |
top: 0;
|
1485 |
-
|
1486 |
text-align: right;
|
1487 |
}
|
1488 |
#buddypress ul.item-list li div.item-desc {
|
@@ -1507,7 +1501,7 @@ body.register #buddypress div.page ul {
|
|
1507 |
}
|
1508 |
|
1509 |
/*--------------------------------------------------------------
|
1510 |
-
|
1511 |
--------------------------------------------------------------*/
|
1512 |
@media only screen and (max-width: 240px) {
|
1513 |
#buddypress div.dir-search {
|
@@ -1533,4 +1527,4 @@ body.register #buddypress div.page ul {
|
|
1533 |
float: right;
|
1534 |
margin: 10px 0 20px;
|
1535 |
}
|
1536 |
-
}
|
1 |
/*--------------------------------------------------------------
|
2 |
+
Hello, this is the BuddyPress Legacy stylesheet.
|
3 |
|
4 |
----------------------------------------------------------------
|
5 |
>>> TABLE OF CONTENTS:
|
6 |
----------------------------------------------------------------
|
7 |
+
1.0 - Navigation
|
8 |
+
1.1 - Pagination
|
9 |
+
2.0 - WordPress
|
10 |
+
2.1 - Images
|
11 |
+
3.0 - BuddyPress
|
12 |
+
3.1 - Activity
|
13 |
+
3.1.1 - Activity Listing
|
14 |
+
3.1.2 - Activity Comments
|
15 |
+
3.2 - Toolbar
|
16 |
+
3.3 - Directories - Members, Groups, Blogs, Forums
|
17 |
+
3.4 - Error / Success Messages
|
18 |
+
3.5 - Forms
|
19 |
+
3.6 - Ajax Loading
|
20 |
+
3.7 - Topics and Tables - Forums and General
|
21 |
+
3.8 - Headers, Lists and Tabs - Activity, Groups, Blogs, Forums
|
22 |
+
3.9 - Private Messaging Threads
|
23 |
+
3.10 - Extended Profiles
|
24 |
+
3.11 - Widgets
|
25 |
+
4.0 - Media Queries
|
26 |
+
4.1 - Smartphones Landscape
|
27 |
+
4.2 - Smartphones Portrait
|
28 |
+
4.3 - Smartphones - smaller screen sizes
|
|
|
|
|
|
|
|
|
29 |
--------------------------------------------------------------*/
|
30 |
|
31 |
/*--------------------------------------------------------------
|
32 |
+
1 - Navigation
|
33 |
+
--------------------------------------------------------------*/
|
34 |
+
/*--------------------------------------------------------------
|
35 |
+
1.1 - Pagination
|
36 |
--------------------------------------------------------------*/
|
37 |
#buddypress div.pagination {
|
38 |
background: transparent;
|
71 |
#buddypress .paged #nav-above {
|
72 |
display: block;
|
73 |
}
|
|
|
74 |
/*--------------------------------------------------------------
|
75 |
+
2 - WordPress
|
76 |
+
--------------------------------------------------------------*/
|
77 |
+
/*--------------------------------------------------------------
|
78 |
+
2.1 - Images
|
79 |
--------------------------------------------------------------*/
|
80 |
#buddypress img.wp-smiley {
|
81 |
border: none !important;
|
86 |
}
|
87 |
|
88 |
/*--------------------------------------------------------------
|
89 |
+
3.0 - BuddyPress
|
90 |
--------------------------------------------------------------*/
|
91 |
/*--------------------------------------------------------------
|
92 |
+
3.1 - Activity
|
93 |
--------------------------------------------------------------*/
|
94 |
#buddypress #activity-stream {
|
95 |
margin-top: -5px;
|
112 |
}
|
113 |
#buddypress form#whats-new-form #whats-new-content {
|
114 |
margin-right: 55px;
|
115 |
+
padding: 0 0 20px 20px;
|
116 |
}
|
117 |
#buddypress form#whats-new-form p.activity-greeting {
|
118 |
line-height: 0.5em;
|
121 |
}
|
122 |
#buddypress form#whats-new-form textarea {
|
123 |
background: #fff;
|
|
|
|
|
|
|
|
|
124 |
color: #555;
|
125 |
font-family: inherit;
|
126 |
font-size: 90%;
|
149 |
#buddypress #whats-new:focus {
|
150 |
border-color: rgba(31, 179, 221, 0.9) !important;
|
151 |
outline-color: rgba(31, 179, 221, 0.9);
|
|
|
|
|
|
|
152 |
}
|
153 |
|
154 |
/*--------------------------------------------------------------
|
155 |
+
3.1.1 - Activity Listing
|
156 |
--------------------------------------------------------------*/
|
157 |
#buddypress ul.activity-list li {
|
158 |
overflow: hidden;
|
263 |
}
|
264 |
#buddypress .activity-list li.new_forum_post .activity-content .activity-inner,
|
265 |
#buddypress .activity-list li.new_forum_topic .activity-content .activity-inner {
|
266 |
+
border-right: 2px solid #EAEAEA;
|
267 |
margin-right: 5px;
|
268 |
padding-right: 10px;
|
269 |
}
|
303 |
|
304 |
|
305 |
/*--------------------------------------------------------------
|
306 |
+
3.1.2 - Activity Comments
|
307 |
--------------------------------------------------------------*/
|
308 |
#buddypress div.activity-meta {
|
309 |
margin: 18px 0 0;
|
312 |
margin-bottom: 6px;
|
313 |
}
|
314 |
#buddypress div.activity-meta a {
|
|
|
315 |
padding: 4px 8px;
|
316 |
}
|
317 |
#buddypress a.activity-time-since {
|
331 |
#buddypress a.bp-primary-action span,
|
332 |
#buddypress #reply-title small a span {
|
333 |
background: #999;
|
|
|
334 |
color: #fff;
|
335 |
font-size: 90%;
|
336 |
margin-right: 2px;
|
435 |
#buddypress div.activity-comments form .ac-textarea {
|
436 |
background: #fff;
|
437 |
border: 1px inset #ccc;
|
|
|
438 |
margin-bottom: 10px;
|
439 |
padding: 8px;
|
440 |
}
|
480 |
}
|
481 |
|
482 |
/*--------------------------------------------------------------
|
483 |
+
3.3 - Directories - Members, Groups, Blogs, Forums
|
484 |
--------------------------------------------------------------*/
|
485 |
#buddypress div.dir-search {
|
486 |
float: left;
|
496 |
}
|
497 |
|
498 |
/*--------------------------------------------------------------
|
499 |
+
3.4 - Errors / Success Messages
|
500 |
--------------------------------------------------------------*/
|
501 |
#buddypress div#message {
|
502 |
margin: 0 0 15px;
|
514 |
padding: 10px 15px;
|
515 |
}
|
516 |
#buddypress div#message.error p {
|
517 |
+
background-color: #ffa;
|
518 |
+
border: 1px solid #960;
|
519 |
clear: right;
|
520 |
+
color: #960;
|
521 |
}
|
522 |
#buddypress div#message.updated p {
|
523 |
+
background-color: #efc;
|
524 |
+
border: 1px solid #591;
|
525 |
+
color: #591;
|
526 |
}
|
527 |
#buddypress .standard-form#signup_form div div.error {
|
528 |
+
background: #faa;
|
529 |
+
color: #a00;
|
|
|
|
|
|
|
530 |
margin: 0 0 10px 0;
|
531 |
padding: 6px;
|
532 |
width: 90%;
|
545 |
font-weight: bold;
|
546 |
}
|
547 |
#sitewide-notice #message {
|
548 |
+
right: 2%;
|
549 |
position: fixed;
|
550 |
top: 1em;
|
551 |
width: 96%;
|
560 |
}
|
561 |
|
562 |
/*--------------------------------------------------------------
|
563 |
+
3.5 - Forms
|
564 |
--------------------------------------------------------------*/
|
565 |
#buddypress .standard-form textarea,
|
566 |
#buddypress .standard-form input[type=text],
|
567 |
+
#buddypress .standard-form input[type=text],
|
568 |
+
#buddypress .standard-form input[type=color],
|
569 |
+
#buddypress .standard-form input[type=date],
|
570 |
+
#buddypress .standard-form input[type=datetime],
|
571 |
+
#buddypress .standard-form input[type=datetime-local],
|
572 |
+
#buddypress .standard-form input[type=email],
|
573 |
+
#buddypress .standard-form input[type=month],
|
574 |
+
#buddypress .standard-form input[type=number],
|
575 |
+
#buddypress .standard-form input[type=range],
|
576 |
+
#buddypress .standard-form input[type=search],
|
577 |
+
#buddypress .standard-form input[type=tel],
|
578 |
+
#buddypress .standard-form input[type=time],
|
579 |
+
#buddypress .standard-form input[type=url],
|
580 |
+
#buddypress .standard-form input[type=week],
|
581 |
#buddypress .standard-form select,
|
582 |
#buddypress .standard-form input[type=password],
|
583 |
+
#buddypress .dir-search input[type=search],
|
584 |
#buddypress .dir-search input[type=text] {
|
585 |
+
border: 1px solid #ccc;
|
586 |
+
background: #fafafa;
|
587 |
+
border-radius: 0;
|
588 |
color: #888;
|
589 |
font: inherit;
|
590 |
font-size: 100%;
|
714 |
#buddypress .comment-reply-link,
|
715 |
a.bp-title-button {
|
716 |
background: #fff; /* Old browsers */
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
717 |
border: 1px solid #ccc;
|
|
|
|
|
|
|
718 |
color: #777;
|
719 |
+
font-size: .8rem;
|
720 |
cursor: pointer;
|
|
|
721 |
outline: none;
|
722 |
padding: 4px 10px;
|
723 |
text-align: center;
|
724 |
text-decoration: none;
|
|
|
725 |
}
|
726 |
#buddypress button:hover,
|
727 |
#buddypress a.button:hover,
|
734 |
#buddypress div.generic-button a:hover,
|
735 |
#buddypress .comment-reply-link:hover {
|
736 |
background: #ededed;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
737 |
border: 1px solid #bbb;
|
738 |
color: #555;
|
739 |
outline: none;
|
740 |
text-decoration: none;
|
741 |
}
|
742 |
|
743 |
+
#buddypress form.standard-form .right-menu {
|
744 |
+
float: right;
|
745 |
+
}
|
746 |
+
|
747 |
+
#buddypress form.standard-form .right-menu #invite-list ul{
|
748 |
+
margin: 1%;
|
749 |
+
list-style: none;
|
750 |
+
}
|
751 |
+
|
752 |
+
#buddypress form.standard-form .right-menu #invite-list ul li {
|
753 |
+
margin: 0 1% 0 0;
|
754 |
+
}
|
755 |
+
|
756 |
+
#buddypress form.standard-form .main-column {
|
757 |
+
margin-right: 190px;
|
758 |
+
}
|
759 |
+
|
760 |
+
#buddypress form.standard-form .main-column ul#friend-list {
|
761 |
+
clear:none;
|
762 |
+
}
|
763 |
+
|
764 |
+
#buddypress form.standard-form .main-column ul#friend-list h4 {
|
765 |
+
clear:none;
|
766 |
+
}
|
767 |
+
|
768 |
/*--------------------------------------------------------------
|
769 |
+
3.6 - Ajax Loading
|
770 |
--------------------------------------------------------------*/
|
771 |
#buddypress a.loading,
|
772 |
#buddypress input.loading {
|
773 |
-webkit-animation: loader-pulsate .5s infinite ease-in-out alternate;
|
774 |
-moz-animation: loader-pulsate .5s infinite ease-in-out alternate;
|
775 |
border-color: #aaa;
|
|
|
|
|
|
|
776 |
}
|
777 |
@-webkit-keyframes loader-pulsate {
|
778 |
from {
|
827 |
#buddypress button.disabled:hover,
|
828 |
#buddypress div.pending a:hover,
|
829 |
#buddypress a.disabled:hover {
|
830 |
+
border-color: #eee;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
831 |
color: #bbb;
|
832 |
}
|
833 |
|
834 |
/*--------------------------------------------------------------
|
835 |
+
3.7 - Forums, Tables and Topics
|
836 |
--------------------------------------------------------------*/
|
837 |
#buddypress ul#topic-post-list {
|
838 |
margin: 0;
|
860 |
font-size: 80%;
|
861 |
position: absolute;
|
862 |
top: 15px;
|
863 |
+
left: 25px;
|
864 |
}
|
865 |
#buddypress div#topic-meta {
|
866 |
margin: 0;
|
868 |
position: relative;
|
869 |
}
|
870 |
#buddypress div#topic-meta div.admin-links {
|
871 |
+
left: 19px;
|
872 |
top: -36px;
|
873 |
}
|
874 |
#buddypress div#topic-meta h3 {
|
908 |
vertical-align: middle;
|
909 |
}
|
910 |
#buddypress table tr td.label {
|
911 |
+
border-left: 1px solid #eaeaea;
|
912 |
font-weight: bold;
|
913 |
width: 25%;
|
914 |
}
|
1012 |
}
|
1013 |
|
1014 |
/*-------------------------------------------------------------------------
|
1015 |
+
3.8 - Headers, Lists and Tabs - Activity, Groups, Blogs, Forums, Profiles
|
1016 |
-------------------------------------------------------------------------*/
|
1017 |
#buddypress .item-body {
|
1018 |
margin: 20px 0;
|
1031 |
}
|
1032 |
#buddypress div#message p,
|
1033 |
#sitewide-notice p {
|
|
|
|
|
|
|
|
|
1034 |
font-weight: normal;
|
1035 |
margin-top: 3px;
|
1036 |
text-decoration: none;
|
1037 |
+
background: #ffff00;
|
|
|
|
|
|
|
|
|
|
|
|
|
1038 |
}
|
1039 |
#buddypress div#item-header {
|
1040 |
overflow: hidden;
|
1067 |
}
|
1068 |
#buddypress div#item-header h2 span.highlight span {
|
1069 |
background: #a1dcfa;
|
|
|
|
|
|
|
1070 |
color: #fff;
|
1071 |
cursor: pointer;
|
1072 |
font-weight: bold;
|
1074 |
margin-bottom: 2px;
|
1075 |
padding: 1px 4px;
|
1076 |
position: relative;
|
1077 |
+
left: -2px;
|
1078 |
top: -2px;
|
1079 |
vertical-align: middle;
|
1080 |
}
|
1167 |
#buddypress ul.item-list li div.action {
|
1168 |
position: absolute;
|
1169 |
top: 15px;
|
1170 |
+
left: 0;
|
1171 |
text-align: left;
|
1172 |
}
|
1173 |
#buddypress ul.item-list li div.meta {
|
1262 |
|
1263 |
|
1264 |
/*--------------------------------------------------------------
|
1265 |
+
3.9 - Private Messaging Threads
|
1266 |
--------------------------------------------------------------*/
|
1267 |
#buddypress table#message-threads tr.unread td {
|
1268 |
background: #fff9db;
|
1273 |
#buddypress li span.unread-count,
|
1274 |
#buddypress tr.unread span.unread-count {
|
1275 |
background: #dd0000;
|
|
|
1276 |
color: #fff;
|
1277 |
font-weight: bold;
|
1278 |
padding: 2px 8px;
|
1300 |
}
|
1301 |
#buddypress div#message-thread img.avatar {
|
1302 |
float: right;
|
1303 |
+
margin: 0 10px 0 0;
|
1304 |
vertical-align: middle;
|
1305 |
}
|
1306 |
#buddypress div#message-thread strong {
|
1331 |
}
|
1332 |
|
1333 |
/*--------------------------------------------------------------
|
1334 |
+
3.10 - Extended Profiles
|
1335 |
--------------------------------------------------------------*/
|
1336 |
|
1337 |
#buddypress div.profile h4 {
|
1378 |
}
|
1379 |
|
1380 |
/*--------------------------------------------------------------
|
1381 |
+
3.11 - Widgets
|
1382 |
--------------------------------------------------------------*/
|
1383 |
|
1384 |
.widget.buddypress div.item-avatar img.avatar {
|
1425 |
}
|
1426 |
|
1427 |
/*--------------------------------------------------------------
|
1428 |
+
4.0 - Media Queries
|
1429 |
--------------------------------------------------------------*/
|
1430 |
/*--------------------------------------------------------------
|
1431 |
+
4.1 - Smartphones - landscape
|
1432 |
--------------------------------------------------------------*/
|
1433 |
@media screen and (max-device-width: 480px), screen and (-webkit-min-device-pixel-ratio: 2) {
|
1434 |
-webkit-text-size-adjust: none;
|
1446 |
a.bp-title-button {
|
1447 |
margin-right: 10px;
|
1448 |
}
|
1449 |
+
#buddypress form.standard-form .main-column div.action{
|
1450 |
+
position: relative;
|
1451 |
+
margin-bottom:1em;
|
1452 |
+
}
|
1453 |
+
#buddypress form.standard-form .main-column ul#friend-list h4{
|
1454 |
+
width:100%;
|
1455 |
+
}
|
1456 |
}
|
1457 |
|
1458 |
/*--------------------------------------------------------------
|
1459 |
+
4.2 - Smartphones - portrait
|
1460 |
--------------------------------------------------------------*/
|
1461 |
@media only screen and (max-width: 320px) {
|
1462 |
#buddypress div.dir-search {
|
1476 |
margin-right: 70px;
|
1477 |
position: relative;
|
1478 |
top: 0;
|
1479 |
+
left: 0;
|
1480 |
text-align: right;
|
1481 |
}
|
1482 |
#buddypress ul.item-list li div.item-desc {
|
1501 |
}
|
1502 |
|
1503 |
/*--------------------------------------------------------------
|
1504 |
+
4.2 - Smartphones - smaller screen sizes
|
1505 |
--------------------------------------------------------------*/
|
1506 |
@media only screen and (max-width: 240px) {
|
1507 |
#buddypress div.dir-search {
|
1527 |
float: right;
|
1528 |
margin: 10px 0 20px;
|
1529 |
}
|
1530 |
+
}
|
bp-templates/bp-legacy/css/buddypress.css
CHANGED
@@ -514,16 +514,19 @@ body.activity-permalink #buddypress div.activity-comments div.acomment-content {
|
|
514 |
padding: 10px 15px;
|
515 |
}
|
516 |
#buddypress div#message.error p {
|
517 |
-
background-color: #
|
|
|
518 |
clear: left;
|
519 |
-
color: #
|
520 |
}
|
521 |
#buddypress div#message.updated p {
|
522 |
-
background-color: #
|
|
|
|
|
523 |
}
|
524 |
#buddypress .standard-form#signup_form div div.error {
|
525 |
-
background: #
|
526 |
-
color: #
|
527 |
margin: 0 0 10px 0;
|
528 |
padding: 6px;
|
529 |
width: 90%;
|
@@ -578,8 +581,10 @@ body.activity-permalink #buddypress div.activity-comments div.acomment-content {
|
|
578 |
#buddypress .standard-form select,
|
579 |
#buddypress .standard-form input[type=password],
|
580 |
#buddypress .dir-search input[type=search],
|
581 |
-
#buddypress .dir-search input[type=text]{
|
582 |
-
border: 1px
|
|
|
|
|
583 |
color: #888;
|
584 |
font: inherit;
|
585 |
font-size: 100%;
|
514 |
padding: 10px 15px;
|
515 |
}
|
516 |
#buddypress div#message.error p {
|
517 |
+
background-color: #ffa;
|
518 |
+
border: 1px solid #960;
|
519 |
clear: left;
|
520 |
+
color: #960;
|
521 |
}
|
522 |
#buddypress div#message.updated p {
|
523 |
+
background-color: #efc;
|
524 |
+
border: 1px solid #591;
|
525 |
+
color: #591;
|
526 |
}
|
527 |
#buddypress .standard-form#signup_form div div.error {
|
528 |
+
background: #faa;
|
529 |
+
color: #a00;
|
530 |
margin: 0 0 10px 0;
|
531 |
padding: 6px;
|
532 |
width: 90%;
|
581 |
#buddypress .standard-form select,
|
582 |
#buddypress .standard-form input[type=password],
|
583 |
#buddypress .dir-search input[type=search],
|
584 |
+
#buddypress .dir-search input[type=text] {
|
585 |
+
border: 1px solid #ccc;
|
586 |
+
background: #fafafa;
|
587 |
+
border-radius: 0;
|
588 |
color: #888;
|
589 |
font: inherit;
|
590 |
font-size: 100%;
|
bp-themes/bp-default/_inc/ajax.php
CHANGED
@@ -549,7 +549,6 @@ function bp_dtheme_get_single_activity_content() {
|
|
549 |
/**
|
550 |
* Invites a friend to join a group via a POST request.
|
551 |
*
|
552 |
-
* @return unknown
|
553 |
* @since BuddyPress (1.2)
|
554 |
* @todo Audit return types
|
555 |
*/
|
549 |
/**
|
550 |
* Invites a friend to join a group via a POST request.
|
551 |
*
|
|
|
552 |
* @since BuddyPress (1.2)
|
553 |
* @todo Audit return types
|
554 |
*/
|
bp-themes/bp-default/functions.php
CHANGED
@@ -520,7 +520,7 @@ if ( !function_exists( 'bp_dtheme_page_on_front' ) ) :
|
|
520 |
/**
|
521 |
* Return the ID of a page set as the home page.
|
522 |
*
|
523 |
-
* @return
|
524 |
* @since BuddyPress (1.2)
|
525 |
*/
|
526 |
function bp_dtheme_page_on_front() {
|
520 |
/**
|
521 |
* Return the ID of a page set as the home page.
|
522 |
*
|
523 |
+
* @return int|bool ID of page set as the home page
|
524 |
* @since BuddyPress (1.2)
|
525 |
*/
|
526 |
function bp_dtheme_page_on_front() {
|
bp-themes/bp-default/groups/single/home.php
CHANGED
@@ -37,7 +37,7 @@
|
|
37 |
*/
|
38 |
|
39 |
// Group is visible
|
40 |
-
if ( bp_group_is_visible() ) :
|
41 |
|
42 |
// Looking at home location
|
43 |
if ( bp_is_group_home() ) :
|
@@ -45,7 +45,7 @@
|
|
45 |
// Use custom front if one exists
|
46 |
$custom_front = locate_template( array( 'groups/single/front.php' ) );
|
47 |
if ( ! empty( $custom_front ) ) : load_template( $custom_front, true );
|
48 |
-
|
49 |
// Default to activity
|
50 |
elseif ( bp_is_active( 'activity' ) ) : locate_template( array( 'groups/single/activity.php' ), true );
|
51 |
|
@@ -80,10 +80,9 @@
|
|
80 |
|
81 |
// Group is not visible
|
82 |
elseif ( ! bp_group_is_visible() ) :
|
83 |
-
|
84 |
// Membership request
|
85 |
if ( bp_is_group_membership_request() ) :
|
86 |
-
locate_template( array( 'groups/single/request-membership' ), true );
|
87 |
|
88 |
// The group is not visible, show the status message
|
89 |
else :
|
@@ -97,7 +96,7 @@
|
|
97 |
<?php do_action( 'bp_after_group_status_message' );
|
98 |
|
99 |
endif;
|
100 |
-
endif;
|
101 |
|
102 |
do_action( 'bp_after_group_body' ); ?>
|
103 |
|
37 |
*/
|
38 |
|
39 |
// Group is visible
|
40 |
+
if ( bp_group_is_visible() ) :
|
41 |
|
42 |
// Looking at home location
|
43 |
if ( bp_is_group_home() ) :
|
45 |
// Use custom front if one exists
|
46 |
$custom_front = locate_template( array( 'groups/single/front.php' ) );
|
47 |
if ( ! empty( $custom_front ) ) : load_template( $custom_front, true );
|
48 |
+
|
49 |
// Default to activity
|
50 |
elseif ( bp_is_active( 'activity' ) ) : locate_template( array( 'groups/single/activity.php' ), true );
|
51 |
|
80 |
|
81 |
// Group is not visible
|
82 |
elseif ( ! bp_group_is_visible() ) :
|
|
|
83 |
// Membership request
|
84 |
if ( bp_is_group_membership_request() ) :
|
85 |
+
locate_template( array( 'groups/single/request-membership.php' ), true );
|
86 |
|
87 |
// The group is not visible, show the status message
|
88 |
else :
|
96 |
<?php do_action( 'bp_after_group_status_message' );
|
97 |
|
98 |
endif;
|
99 |
+
endif;
|
100 |
|
101 |
do_action( 'bp_after_group_body' ); ?>
|
102 |
|
bp-themes/bp-default/members/single/member-header.php
CHANGED
@@ -25,7 +25,10 @@
|
|
25 |
<a href="<?php bp_displayed_user_link(); ?>"><?php bp_displayed_user_fullname(); ?></a>
|
26 |
</h2>
|
27 |
|
28 |
-
|
|
|
|
|
|
|
29 |
<span class="activity"><?php bp_last_activity( bp_displayed_user_id() ); ?></span>
|
30 |
|
31 |
<?php do_action( 'bp_before_member_header_meta' ); ?>
|
25 |
<a href="<?php bp_displayed_user_link(); ?>"><?php bp_displayed_user_fullname(); ?></a>
|
26 |
</h2>
|
27 |
|
28 |
+
<?php if ( bp_is_active( 'activity' ) && bp_activity_do_mentions() ) : ?>
|
29 |
+
<span class="user-nicename">@<?php bp_displayed_user_username(); ?></span>
|
30 |
+
<?php endif; ?>
|
31 |
+
|
32 |
<span class="activity"><?php bp_last_activity( bp_displayed_user_id() ); ?></span>
|
33 |
|
34 |
<?php do_action( 'bp_before_member_header_meta' ); ?>
|
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.8-
|
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.8-beta2
|
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.8-
|
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.8-beta2
|
6 |
* Author: the BuddyPress team
|
7 |
* Author URI: http://buddypress.org
|
8 |
* License: GNU General Public License
|
bp-xprofile/bp-xprofile-activity.php
CHANGED
@@ -31,7 +31,7 @@ add_action( 'bp_register_activity_actions', 'xprofile_register_activity_actions'
|
|
31 |
*
|
32 |
* @package BuddyPress
|
33 |
* @subpackage XProfileActivity
|
34 |
-
* @param $args
|
35 |
* @global $bp The global BuddyPress settings variable created in bp_core_current_times()
|
36 |
* @uses bp_activity_add() Adds an entry to the activity component tables for a specific activity
|
37 |
*/
|
@@ -77,7 +77,7 @@ function xprofile_record_activity( $args = '' ) {
|
|
77 |
* it will be removed from the users activity stream and sitewide stream (if installed)
|
78 |
*
|
79 |
* @package BuddyPress XProfile
|
80 |
-
* @param $args
|
81 |
* @global BuddyPress $bp The one true BuddyPress instance
|
82 |
* @uses bp_activity_delete() Deletes an entry to the activity component tables for a specific activity
|
83 |
*/
|
31 |
*
|
32 |
* @package BuddyPress
|
33 |
* @subpackage XProfileActivity
|
34 |
+
* @param string $args String containing all variables used after extract() call
|
35 |
* @global $bp The global BuddyPress settings variable created in bp_core_current_times()
|
36 |
* @uses bp_activity_add() Adds an entry to the activity component tables for a specific activity
|
37 |
*/
|
77 |
* it will be removed from the users activity stream and sitewide stream (if installed)
|
78 |
*
|
79 |
* @package BuddyPress XProfile
|
80 |
+
* @param string $args Containing all variables used after extract() call
|
81 |
* @global BuddyPress $bp The one true BuddyPress instance
|
82 |
* @uses bp_activity_delete() Deletes an entry to the activity component tables for a specific activity
|
83 |
*/
|
bp-xprofile/bp-xprofile-functions.php
CHANGED
@@ -194,12 +194,12 @@ function xprofile_get_field_data( $field, $user_id = 0, $multi_format = 'array'
|
|
194 |
* A simple function to set profile data for a specific field for a specific user.
|
195 |
*
|
196 |
* @package BuddyPress Core
|
197 |
-
* @param $field The ID of the field, or the $name of the field.
|
198 |
-
* @param
|
199 |
-
* @param
|
200 |
* @global BuddyPress $bp The one true BuddyPress instance
|
201 |
* @uses xprofile_get_field_id_from_name() Gets the ID for the field based on the name.
|
202 |
-
* @return
|
203 |
*/
|
204 |
function xprofile_set_field_data( $field, $user_id, $value, $is_required = false ) {
|
205 |
|
@@ -321,7 +321,7 @@ function xprofile_check_is_required_field( $field_id ) {
|
|
321 |
* Returns the ID for the field based on the field name.
|
322 |
*
|
323 |
* @package BuddyPress Core
|
324 |
-
* @param $field_name The name of the field to get the ID for.
|
325 |
* @return int $field_id on success, false on failure.
|
326 |
*/
|
327 |
function xprofile_get_field_id_from_name( $field_name ) {
|
@@ -332,13 +332,13 @@ function xprofile_get_field_id_from_name( $field_name ) {
|
|
332 |
* Fetches a random piece of profile data for the user.
|
333 |
*
|
334 |
* @package BuddyPress Core
|
335 |
-
* @param $user_id User ID of the user to get random data for
|
336 |
-
* @param $exclude_fullname whether or not to exclude the full name field as random data.
|
337 |
* @global BuddyPress $bp The one true BuddyPress instance
|
338 |
* @global $wpdb WordPress DB access object.
|
339 |
* @global $current_user WordPress global variable containing current logged in user information
|
340 |
* @uses xprofile_format_profile_field() Formats profile field data so it is suitable for display.
|
341 |
-
* @return
|
342 |
*/
|
343 |
function xprofile_get_random_profile_data( $user_id, $exclude_fullname = true ) {
|
344 |
$field_data = BP_XProfile_ProfileData::get_random( $user_id, $exclude_fullname );
|
@@ -358,10 +358,10 @@ function xprofile_get_random_profile_data( $user_id, $exclude_fullname = true )
|
|
358 |
* Formats a profile field according to its type. [ TODO: Should really be moved to filters ]
|
359 |
*
|
360 |
* @package BuddyPress Core
|
361 |
-
* @param $field_type The type of field: datebox, selectbox, textbox etc
|
362 |
-
* @param $field_value The actual value
|
363 |
* @uses bp_format_time() Formats a time value based on the WordPress date format setting
|
364 |
-
* @return
|
365 |
*/
|
366 |
function xprofile_format_profile_field( $field_type, $field_value ) {
|
367 |
if ( !isset( $field_value ) || empty( $field_value ) )
|
@@ -387,8 +387,8 @@ function xprofile_update_field_position( $field_id, $position, $field_group_id )
|
|
387 |
* Setup the avatar upload directory for a user.
|
388 |
*
|
389 |
* @package BuddyPress Core
|
390 |
-
* @param $directory The root directory name
|
391 |
-
* @param $user_id The user ID.
|
392 |
* @return array() containing the path and URL plus some other settings.
|
393 |
*/
|
394 |
function xprofile_avatar_upload_dir( $directory = false, $user_id = 0 ) {
|
@@ -484,7 +484,7 @@ add_action( 'user_profile_update_errors', 'xprofile_sync_bp_profile', 10, 3 );
|
|
484 |
* usermeta table that this component uses.
|
485 |
*
|
486 |
* @package BuddyPress XProfile
|
487 |
-
* @param $user_id The ID of the deleted user
|
488 |
*/
|
489 |
function xprofile_remove_data( $user_id ) {
|
490 |
BP_XProfile_ProfileData::delete_data_for_user( $user_id );
|
@@ -629,7 +629,7 @@ function bp_xprofile_update_fielddata_meta( $field_data_id, $meta_key, $meta_val
|
|
629 |
* @package BuddyPress
|
630 |
* @since BuddyPress (1.5)
|
631 |
*
|
632 |
-
* @return
|
633 |
*/
|
634 |
function bp_xprofile_fullname_field_name() {
|
635 |
return apply_filters( 'bp_xprofile_fullname_field_name', BP_XPROFILE_FULLNAME_FIELD_NAME );
|
194 |
* A simple function to set profile data for a specific field for a specific user.
|
195 |
*
|
196 |
* @package BuddyPress Core
|
197 |
+
* @param int|string $field The ID of the field, or the $name of the field.
|
198 |
+
* @param int|$user_id The ID of the user
|
199 |
+
* @param mixed The value for the field you want to set for the user.
|
200 |
* @global BuddyPress $bp The one true BuddyPress instance
|
201 |
* @uses xprofile_get_field_id_from_name() Gets the ID for the field based on the name.
|
202 |
+
* @return bool True on success, false on failure.
|
203 |
*/
|
204 |
function xprofile_set_field_data( $field, $user_id, $value, $is_required = false ) {
|
205 |
|
321 |
* Returns the ID for the field based on the field name.
|
322 |
*
|
323 |
* @package BuddyPress Core
|
324 |
+
* @param string $field_name The name of the field to get the ID for.
|
325 |
* @return int $field_id on success, false on failure.
|
326 |
*/
|
327 |
function xprofile_get_field_id_from_name( $field_name ) {
|
332 |
* Fetches a random piece of profile data for the user.
|
333 |
*
|
334 |
* @package BuddyPress Core
|
335 |
+
* @param int $user_id User ID of the user to get random data for
|
336 |
+
* @param bool $exclude_fullname Optional; whether or not to exclude the full name field as random data. Defaults to true.
|
337 |
* @global BuddyPress $bp The one true BuddyPress instance
|
338 |
* @global $wpdb WordPress DB access object.
|
339 |
* @global $current_user WordPress global variable containing current logged in user information
|
340 |
* @uses xprofile_format_profile_field() Formats profile field data so it is suitable for display.
|
341 |
+
* @return string|bool The fetched random data for the user, or false if no data or no match.
|
342 |
*/
|
343 |
function xprofile_get_random_profile_data( $user_id, $exclude_fullname = true ) {
|
344 |
$field_data = BP_XProfile_ProfileData::get_random( $user_id, $exclude_fullname );
|
358 |
* Formats a profile field according to its type. [ TODO: Should really be moved to filters ]
|
359 |
*
|
360 |
* @package BuddyPress Core
|
361 |
+
* @param string $field_type The type of field: datebox, selectbox, textbox etc
|
362 |
+
* @param string $field_value The actual value
|
363 |
* @uses bp_format_time() Formats a time value based on the WordPress date format setting
|
364 |
+
* @return string|bool The formatted value, or false if value is empty
|
365 |
*/
|
366 |
function xprofile_format_profile_field( $field_type, $field_value ) {
|
367 |
if ( !isset( $field_value ) || empty( $field_value ) )
|
387 |
* Setup the avatar upload directory for a user.
|
388 |
*
|
389 |
* @package BuddyPress Core
|
390 |
+
* @param string $directory The root directory name. Optional.
|
391 |
+
* @param int $user_id The user ID. Optional.
|
392 |
* @return array() containing the path and URL plus some other settings.
|
393 |
*/
|
394 |
function xprofile_avatar_upload_dir( $directory = false, $user_id = 0 ) {
|
484 |
* usermeta table that this component uses.
|
485 |
*
|
486 |
* @package BuddyPress XProfile
|
487 |
+
* @param int $user_id The ID of the deleted user
|
488 |
*/
|
489 |
function xprofile_remove_data( $user_id ) {
|
490 |
BP_XProfile_ProfileData::delete_data_for_user( $user_id );
|
629 |
* @package BuddyPress
|
630 |
* @since BuddyPress (1.5)
|
631 |
*
|
632 |
+
* @return string The field name
|
633 |
*/
|
634 |
function bp_xprofile_fullname_field_name() {
|
635 |
return apply_filters( 'bp_xprofile_fullname_field_name', BP_XPROFILE_FULLNAME_FIELD_NAME );
|