BuddyPress - Version 2.2-rc1

Version Description

= 2.1 = See: http://codex.buddypress.org/releases/version-2-1/

= 2.0.3 = See: http://codex.buddypress.org/releases/version-2-0-3/

= 2.0.2 = See: http://codex.buddypress.org/releases/version-2-0-2/

= 2.0.1 = See: http://codex.buddypress.org/releases/version-2-0-1/

= 2.0 = See: http://codex.buddypress.org/releases/version-2-0/

= 1.9.2 = See: http://codex.buddypress.org/releases/version-1-9-2/

= 1.9.1 = See: http://codex.buddypress.org/releases/version-1-9-1/

= 1.9 = See: http://codex.buddypress.org/releases/version-1-9/

= 1.8.1 = See: http://codex.buddypress.org/releases/version-1-8-1/

= 1.8 = See: http://codex.buddypress.org/releases/version-1-8/

= 1.7.3 = See: http://codex.buddypress.org/releases/version-1-7-3/

= 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 johnjamesjacoby
Plugin Icon 128x128 BuddyPress
Version 2.2-rc1
Comparing to
See all releases

Code changes from version 2.2-beta2 to 2.2-rc1

Files changed (71) hide show
  1. bp-activity/admin/css/admin-rtl.min.css +1 -1
  2. bp-activity/admin/css/admin.min.css +1 -1
  3. bp-activity/admin/js/admin.min.js +1 -1
  4. bp-activity/bp-activity-actions.php +11 -0
  5. bp-activity/bp-activity-cache.php +1 -0
  6. bp-activity/bp-activity-classes.php +132 -81
  7. bp-activity/bp-activity-filters.php +1 -1
  8. bp-activity/bp-activity-functions.php +60 -4
  9. bp-activity/css/mentions-rtl.min.css +1 -1
  10. bp-activity/css/mentions.min.css +1 -1
  11. bp-activity/js/mentions.min.js +1 -1
  12. bp-blogs/bp-blogs-activity.php +42 -9
  13. bp-core/admin/css/common-rtl.min.css +1 -1
  14. bp-core/admin/css/common.min.css +1 -1
  15. bp-core/bp-core-admin.php +39 -31
  16. bp-core/bp-core-avatars.php +18 -1
  17. bp-core/bp-core-filters.php +3 -3
  18. bp-core/bp-core-moderation.php +81 -61
  19. bp-core/bp-core-template-loader.php +23 -46
  20. bp-core/bp-core-theme-compatibility.php +11 -7
  21. bp-core/css/admin-bar-rtl.min.css +1 -1
  22. bp-core/css/admin-bar.min.css +1 -1
  23. bp-core/css/buddybar-rtl.min.css +1 -1
  24. bp-core/css/buddybar.min.css +1 -1
  25. bp-core/deprecated/css/autocomplete/jquery.autocompletefb-rtl.min.css +1 -1
  26. bp-core/deprecated/css/autocomplete/jquery.autocompletefb.min.css +1 -1
  27. bp-core/deprecated/js/autocomplete/jquery.autocomplete.min.js +1 -1
  28. bp-core/deprecated/js/autocomplete/jquery.autocompletefb.min.js +1 -1
  29. bp-core/deprecated/js/autocomplete/jquery.bgiframe.min.js +1 -1
  30. bp-core/deprecated/js/autocomplete/jquery.dimensions.min.js +1 -1
  31. bp-core/deprecated/js/jquery-scroll-to.min.js +1 -1
  32. bp-core/js/confirm.min.js +1 -1
  33. bp-core/js/jquery-cookie.min.js +1 -1
  34. bp-core/js/jquery-query.min.js +1 -1
  35. bp-core/js/jquery.atwho.min.js +1 -1
  36. bp-core/js/jquery.caret.min.js +1 -1
  37. bp-core/js/widget-members.min.js +1 -1
  38. bp-forums/bp-forums-bbpress-sa.php +22 -0
  39. bp-forums/bp-forums-filters.php +14 -0
  40. bp-forums/bp-forums-functions.php +113 -2
  41. bp-forums/bp-forums-screens.php +80 -0
  42. bp-forums/bp-forums-template.php +567 -9
  43. bp-friends/bp-friends-activity.php +1 -1
  44. bp-friends/js/widget-friends.min.js +1 -1
  45. bp-groups/admin/css/admin-rtl.min.css +1 -1
  46. bp-groups/admin/css/admin.min.css +1 -1
  47. bp-groups/admin/js/admin.min.js +1 -1
  48. bp-groups/bp-groups-activity.php +1 -1
  49. bp-groups/bp-groups-classes.php +24 -7
  50. bp-groups/js/widget-groups.min.js +1 -1
  51. bp-loader.php +2 -2
  52. bp-members/admin/css/admin-rtl.min.css +1 -1
  53. bp-members/admin/css/admin.min.css +1 -1
  54. bp-members/admin/js/admin.min.js +1 -1
  55. bp-members/bp-members-admin.php +1 -1
  56. bp-members/bp-members-functions.php +34 -40
  57. bp-members/bp-members-screens.php +27 -13
  58. bp-messages/bp-messages-template.php +1 -1
  59. bp-notifications/bp-notifications-loader.php +1 -1
  60. bp-templates/bp-legacy/buddypress-functions.php +65 -3
  61. bp-templates/bp-legacy/buddypress/activity/post-form.php +2 -5
  62. bp-templates/bp-legacy/css/buddypress-rtl.css +4 -0
  63. bp-templates/bp-legacy/css/buddypress-rtl.min.css +2 -2
  64. bp-templates/bp-legacy/css/buddypress.css +4 -0
  65. bp-templates/bp-legacy/css/buddypress.min.css +2 -2
  66. bp-templates/bp-legacy/js/buddypress.min.js +1 -1
  67. bp-templates/bp-legacy/js/password-verify.min.js +1 -1
  68. bp-xprofile/admin/css/admin-rtl.min.css +1 -1
  69. bp-xprofile/admin/css/admin.min.css +1 -1
  70. bp-xprofile/admin/js/admin.min.js +1 -1
  71. buddypress.pot +176 -167
bp-activity/admin/css/admin-rtl.min.css CHANGED
@@ -1,2 +1,2 @@
1
- /*! buddypress - v2.1.0 - 2015-01-15 12:34:34 AM UTC - https://wordpress.org/plugins/buddypress/ */
2
  .akismet-status{float:left}.akismet-status a{color:#AAA;font-style:italic}.akismet-history{margin:13px}.akismet-history div{margin-bottom:13px}.akismet-history span{color:#999}#wp-bp-activities-wrap{padding:5px 0}#bp-activities{height:120px}#bp-replyhead{font-size:1em;line-height:1.4em;margin:0}#bp-replysubmit{margin:0;padding:0 0 3px;text-align:center}#bp-replysubmit .error{color:red;line-height:21px;text-align:center;vertical-align:center}#bp-replysubmit img.waiting{float:left;padding:4px 10px 0;vertical-align:top}#bp-activities-form .column-response img{float:right;margin-left:10px;margin-top:1px}.activity-errors{list-style-type:disc;margin-right:2em}#bp_activity_action div.inside,#bp_activity_content div.inside{line-height:0}#bp_activity_action h3,#bp_activity_content h3{cursor:auto}#bp_activity_action td.mceIframeContainer,#bp_activity_content td.mceIframeContainer{background-color:#fff}#post-body #bp-activities-action_resize,#post-body #bp-activities-content_resize{position:inherit;margin-top:-2px}#bp_activity_link input{width:99%}#bp-activities-primaryid{margin-bottom:1em}.column-action{width:12%}
1
+ /*! buddypress - v2.1.0 - 2015-01-22 9:58:52 PM UTC - https://wordpress.org/plugins/buddypress/ */
2
  .akismet-status{float:left}.akismet-status a{color:#AAA;font-style:italic}.akismet-history{margin:13px}.akismet-history div{margin-bottom:13px}.akismet-history span{color:#999}#wp-bp-activities-wrap{padding:5px 0}#bp-activities{height:120px}#bp-replyhead{font-size:1em;line-height:1.4em;margin:0}#bp-replysubmit{margin:0;padding:0 0 3px;text-align:center}#bp-replysubmit .error{color:red;line-height:21px;text-align:center;vertical-align:center}#bp-replysubmit img.waiting{float:left;padding:4px 10px 0;vertical-align:top}#bp-activities-form .column-response img{float:right;margin-left:10px;margin-top:1px}.activity-errors{list-style-type:disc;margin-right:2em}#bp_activity_action div.inside,#bp_activity_content div.inside{line-height:0}#bp_activity_action h3,#bp_activity_content h3{cursor:auto}#bp_activity_action td.mceIframeContainer,#bp_activity_content td.mceIframeContainer{background-color:#fff}#post-body #bp-activities-action_resize,#post-body #bp-activities-content_resize{position:inherit;margin-top:-2px}#bp_activity_link input{width:99%}#bp-activities-primaryid{margin-bottom:1em}.column-action{width:12%}
bp-activity/admin/css/admin.min.css CHANGED
@@ -1,2 +1,2 @@
1
- /*! buddypress - v2.1.0 - 2015-01-15 12:34:34 AM UTC - https://wordpress.org/plugins/buddypress/ */
2
  .akismet-status{float:right}.akismet-status a{color:#AAA;font-style:italic}.akismet-history{margin:13px}.akismet-history div{margin-bottom:13px}.akismet-history span{color:#999}#wp-bp-activities-wrap{padding:5px 0}#bp-activities{height:120px}#bp-replyhead{font-size:1em;line-height:1.4em;margin:0}#bp-replysubmit{margin:0;padding:0 0 3px;text-align:center}#bp-replysubmit .error{color:red;line-height:21px;text-align:center;vertical-align:center}#bp-replysubmit img.waiting{float:right;padding:4px 10px 0;vertical-align:top}#bp-activities-form .column-response img{float:left;margin-right:10px;margin-top:1px}.activity-errors{list-style-type:disc;margin-left:2em}#bp_activity_action div.inside,#bp_activity_content div.inside{line-height:0}#bp_activity_action h3,#bp_activity_content h3{cursor:auto}#bp_activity_action td.mceIframeContainer,#bp_activity_content td.mceIframeContainer{background-color:#fff}#post-body #bp-activities-action_resize,#post-body #bp-activities-content_resize{position:inherit;margin-top:-2px}#bp_activity_link input{width:99%}#bp-activities-primaryid{margin-bottom:1em}.column-action{width:12%}
1
+ /*! buddypress - v2.1.0 - 2015-01-22 9:58:52 PM UTC - https://wordpress.org/plugins/buddypress/ */
2
  .akismet-status{float:right}.akismet-status a{color:#AAA;font-style:italic}.akismet-history{margin:13px}.akismet-history div{margin-bottom:13px}.akismet-history span{color:#999}#wp-bp-activities-wrap{padding:5px 0}#bp-activities{height:120px}#bp-replyhead{font-size:1em;line-height:1.4em;margin:0}#bp-replysubmit{margin:0;padding:0 0 3px;text-align:center}#bp-replysubmit .error{color:red;line-height:21px;text-align:center;vertical-align:center}#bp-replysubmit img.waiting{float:right;padding:4px 10px 0;vertical-align:top}#bp-activities-form .column-response img{float:left;margin-right:10px;margin-top:1px}.activity-errors{list-style-type:disc;margin-left:2em}#bp_activity_action div.inside,#bp_activity_content div.inside{line-height:0}#bp_activity_action h3,#bp_activity_content h3{cursor:auto}#bp_activity_action td.mceIframeContainer,#bp_activity_content td.mceIframeContainer{background-color:#fff}#post-body #bp-activities-action_resize,#post-body #bp-activities-content_resize{position:inherit;margin-top:-2px}#bp_activity_link input{width:99%}#bp-activities-primaryid{margin-bottom:1em}.column-action{width:12%}
bp-activity/admin/js/admin.min.js CHANGED
@@ -1,2 +1,2 @@
1
- /*! buddypress - v2.1.0 - 2015-01-15 12:34:33 AM UTC - https://wordpress.org/plugins/buddypress/ */
2
  !function(a){var b={init:function(){a(document).on("click",".row-actions a.reply",b.open),a(document).on("click","#bp-activities-container a.cancel",b.close),a(document).on("click","#bp-activities-container a.save",b.send),a(document).on("keyup","#bp-activities:visible",function(a){27===a.which&&b.close()})},open:function(){var b=a("#bp-activities-container").hide();return a(this).parents("tr").after(b),b.fadeIn("300"),a("#bp-activities").focus(),!1},close:function(){return a("#bp-activities-container").fadeOut("200",function(){a("#bp-activities").val("").blur(),a("#bp-replysubmit .error").html("").hide(),a("#bp-replysubmit .waiting").hide()}),!1},send:function(){a("#bp-replysubmit .error").hide(),a("#bp-replysubmit .waiting").show();var c={};return c["_ajax_nonce-bp-activity-admin-reply"]=a('#bp-activities-container input[name="_ajax_nonce-bp-activity-admin-reply"]').val(),c.action="bp-activity-admin-reply",c.content=a("#bp-activities").val(),c.parent_id=a("#bp-activities-container").prev().data("parent_id"),c.root_id=a("#bp-activities-container").prev().data("root_id"),a.ajax({data:c,type:"POST",url:ajaxurl,error:function(a){b.error(a)},success:function(a){b.show(a)}}),!1},error:function(b){var c=b.statusText;a("#bp-replysubmit .waiting").hide(),b.responseText&&(c=b.responseText.replace(/<.[^<>]*?>/g,"")),c&&a("#bp-replysubmit .error").html(c).show()},show:function(c){var d,e,f;return"string"==typeof c?(b.error({responseText:c}),!1):(f=wpAjax.parseAjaxResponse(c),f.errors?(b.error({responseText:wpAjax.broken}),!1):(f=f.responses[0],void a("#bp-activities-container").fadeOut("200",function(){a("#bp-activities").val("").blur(),a("#bp-replysubmit .error").html("").hide(),a("#bp-replysubmit .waiting").hide(),a("#bp-activities-container").before(f.data),e=a("#activity-"+f.id),d=e.closest(".widefat").css("backgroundColor"),e.animate({backgroundColor:"#CEB"},300).animate({backgroundColor:d},300)})))}};a(document).ready(function(){b.init(),a("#bp_activity_action h3, #bp_activity_content h3").unbind("click"),"undefined"!=typeof postboxes&&postboxes.add_postbox_toggles(bp_activity_admin_vars.page)})}(jQuery);
1
+ /*! buddypress - v2.1.0 - 2015-01-22 9:58:49 PM UTC - https://wordpress.org/plugins/buddypress/ */
2
  !function(a){var b={init:function(){a(document).on("click",".row-actions a.reply",b.open),a(document).on("click","#bp-activities-container a.cancel",b.close),a(document).on("click","#bp-activities-container a.save",b.send),a(document).on("keyup","#bp-activities:visible",function(a){27===a.which&&b.close()})},open:function(){var b=a("#bp-activities-container").hide();return a(this).parents("tr").after(b),b.fadeIn("300"),a("#bp-activities").focus(),!1},close:function(){return a("#bp-activities-container").fadeOut("200",function(){a("#bp-activities").val("").blur(),a("#bp-replysubmit .error").html("").hide(),a("#bp-replysubmit .waiting").hide()}),!1},send:function(){a("#bp-replysubmit .error").hide(),a("#bp-replysubmit .waiting").show();var c={};return c["_ajax_nonce-bp-activity-admin-reply"]=a('#bp-activities-container input[name="_ajax_nonce-bp-activity-admin-reply"]').val(),c.action="bp-activity-admin-reply",c.content=a("#bp-activities").val(),c.parent_id=a("#bp-activities-container").prev().data("parent_id"),c.root_id=a("#bp-activities-container").prev().data("root_id"),a.ajax({data:c,type:"POST",url:ajaxurl,error:function(a){b.error(a)},success:function(a){b.show(a)}}),!1},error:function(b){var c=b.statusText;a("#bp-replysubmit .waiting").hide(),b.responseText&&(c=b.responseText.replace(/<.[^<>]*?>/g,"")),c&&a("#bp-replysubmit .error").html(c).show()},show:function(c){var d,e,f;return"string"==typeof c?(b.error({responseText:c}),!1):(f=wpAjax.parseAjaxResponse(c),f.errors?(b.error({responseText:wpAjax.broken}),!1):(f=f.responses[0],void a("#bp-activities-container").fadeOut("200",function(){a("#bp-activities").val("").blur(),a("#bp-replysubmit .error").html("").hide(),a("#bp-replysubmit .waiting").hide(),a("#bp-activities-container").before(f.data),e=a("#activity-"+f.id),d=e.closest(".widefat").css("backgroundColor"),e.animate({backgroundColor:"#CEB"},300).animate({backgroundColor:d},300)})))}};a(document).ready(function(){b.init(),a("#bp_activity_action h3, #bp_activity_content h3").unbind("click"),"undefined"!=typeof postboxes&&postboxes.add_postbox_toggles(bp_activity_admin_vars.page)})}(jQuery);
bp-activity/bp-activity-actions.php CHANGED
@@ -804,6 +804,17 @@ function bp_activity_catch_transition_post_type_status( $new_status, $old_status
804
  if ( 'publish' === $new_status ) {
805
  // Untrashing the post type - nothing here yet.
806
  if ( 'trash' == $old_status ) {
 
 
 
 
 
 
 
 
 
 
 
807
  do_action( 'bp_activity_post_type_untrash_' . $post->post_type, $post );
808
  } else {
809
  // Record the post.
804
  if ( 'publish' === $new_status ) {
805
  // Untrashing the post type - nothing here yet.
806
  if ( 'trash' == $old_status ) {
807
+
808
+ /**
809
+ * Fires if untrashing post in a post type.
810
+ *
811
+ * This is a variable filter that is dependent on the post type
812
+ * being untrashed.
813
+ *
814
+ * @since BuddyPress (2.2.0)
815
+ *
816
+ * @param WP_Post $post Post data.
817
+ */
818
  do_action( 'bp_activity_post_type_untrash_' . $post->post_type, $post );
819
  } else {
820
  // Record the post.
bp-activity/bp-activity-cache.php CHANGED
@@ -43,6 +43,7 @@ function bp_activity_update_meta_cache( $activity_ids = false ) {
43
  */
44
  function bp_activity_clear_cache_for_activity( $activity ) {
45
  wp_cache_delete( $activity->id, 'bp_activity' );
 
46
  }
47
  add_action( 'bp_activity_after_save', 'bp_activity_clear_cache_for_activity' );
48
 
43
  */
44
  function bp_activity_clear_cache_for_activity( $activity ) {
45
  wp_cache_delete( $activity->id, 'bp_activity' );
46
+ wp_cache_delete( 'bp_activity_sitewide_front', 'bp' );
47
  }
48
  add_action( 'bp_activity_after_save', 'bp_activity_clear_cache_for_activity' );
49
 
bp-activity/bp-activity-classes.php CHANGED
@@ -135,11 +135,12 @@ class BP_Activity_Activity {
135
  * Populate the object with data about the specific activity item.
136
  */
137
  public function populate() {
138
- global $wpdb, $bp;
139
 
140
  $row = wp_cache_get( $this->id, 'bp_activity' );
141
 
142
  if ( false === $row ) {
 
143
  $row = $wpdb->get_row( $wpdb->prepare( "SELECT * FROM {$bp->activity->table_name} WHERE id = %d", $this->id ) );
144
 
145
  wp_cache_set( $this->id, $row, 'bp_activity' );
@@ -184,7 +185,9 @@ class BP_Activity_Activity {
184
  * @return bool True on success.
185
  */
186
  public function save() {
187
- global $wpdb, $bp;
 
 
188
 
189
  $this->id = apply_filters_ref_array( 'bp_activity_id_before_save', array( $this->id, &$this ) );
190
  $this->item_id = apply_filters_ref_array( 'bp_activity_item_id_before_save', array( $this->item_id, &$this ) );
@@ -212,28 +215,33 @@ class BP_Activity_Activity {
212
  */
213
  do_action_ref_array( 'bp_activity_before_save', array( &$this ) );
214
 
215
- if ( !$this->component || !$this->type )
216
  return false;
 
217
 
218
- if ( !$this->primary_link )
219
  $this->primary_link = bp_loggedin_user_domain();
 
220
 
221
  // If we have an existing ID, update the activity item, otherwise insert it.
222
- if ( $this->id )
223
  $q = $wpdb->prepare( "UPDATE {$bp->activity->table_name} SET user_id = %d, component = %s, type = %s, action = %s, content = %s, primary_link = %s, date_recorded = %s, item_id = %d, secondary_item_id = %d, hide_sitewide = %d, is_spam = %d WHERE id = %d", $this->user_id, $this->component, $this->type, $this->action, $this->content, $this->primary_link, $this->date_recorded, $this->item_id, $this->secondary_item_id, $this->hide_sitewide, $this->is_spam, $this->id );
224
- else
225
  $q = $wpdb->prepare( "INSERT INTO {$bp->activity->table_name} ( user_id, component, type, action, content, primary_link, date_recorded, item_id, secondary_item_id, hide_sitewide, is_spam ) VALUES ( %d, %s, %s, %s, %s, %s, %s, %d, %d, %d, %d )", $this->user_id, $this->component, $this->type, $this->action, $this->content, $this->primary_link, $this->date_recorded, $this->item_id, $this->secondary_item_id, $this->hide_sitewide, $this->is_spam );
 
226
 
227
- if ( false === $wpdb->query( $q ) )
228
  return false;
 
229
 
230
  // If this is a new activity item, set the $id property
231
- if ( empty( $this->id ) )
232
  $this->id = $wpdb->insert_id;
233
 
234
  // If an existing activity item, prevent any changes to the content generating new @mention notifications.
235
- else
236
  add_filter( 'bp_activity_at_name_do_notifications', '__return_false' );
 
237
 
238
  /**
239
  * Fires after an activity item has been saved to the database.
@@ -286,7 +294,7 @@ class BP_Activity_Activity {
286
  * - 'activities' is an array of the located activities
287
  */
288
  public static function get( $args = array() ) {
289
- global $wpdb, $bp;
290
 
291
  // Backward compatibility with old method of passing arguments
292
  if ( !is_array( $args ) || func_num_args() > 1 ) {
@@ -310,7 +318,8 @@ class BP_Activity_Activity {
310
  $args = bp_core_parse_args_array( $old_args_keys, $func_args );
311
  }
312
 
313
- $defaults = array(
 
314
  'page' => 1, // The current page
315
  'per_page' => 25, // Activity items per page
316
  'max' => false, // Max number of items to return
@@ -328,8 +337,7 @@ class BP_Activity_Activity {
328
  'spam' => 'ham_only', // Spam status
329
  'update_meta_cache' => true,
330
  'count_total' => false,
331
- );
332
- $r = wp_parse_args( $args, $defaults );
333
 
334
  // Select conditions
335
  $select_sql = "SELECT DISTINCT a.id";
@@ -351,20 +359,18 @@ class BP_Activity_Activity {
351
  // Add our SQL conditions if matches were found
352
  if ( ! empty( $scope_query['sql'] ) ) {
353
  $where_conditions['scope_query_sql'] = $scope_query['sql'];
354
-
355
- // No matches, so we should alter the SQL statement to match nothing
356
- } else {
357
- $where_conditions['scope_no_results'] = '0 = 1';
358
  }
359
 
360
  // override some arguments if needed
361
  if ( ! empty( $scope_query['override'] ) ) {
362
  $r = self::array_replace_recursive( $r, $scope_query['override'] );
363
  }
 
364
  // Advanced filtering
365
  } elseif ( ! empty( $r['filter_query'] ) ) {
366
  $filter_query = new BP_Activity_Query( $r['filter_query'] );
367
- if ( $sql = $filter_query->get_sql() ) {
 
368
  $where_conditions['filter_query_sql'] = $sql;
369
  }
370
  }
@@ -394,8 +400,9 @@ class BP_Activity_Activity {
394
  }
395
 
396
  // Hide Hidden Items?
397
- if ( ! $r['show_hidden'] )
398
  $where_conditions['hidden_sql'] = "a.hide_sitewide = 0";
 
399
 
400
  // Exclude specified items
401
  if ( ! empty( $r['exclude'] ) ) {
@@ -465,7 +472,7 @@ class BP_Activity_Activity {
465
  /**
466
  * Filters the preferred order of indexes for activity item.
467
  *
468
- * @since Buddypress (1.6.0)
469
  *
470
  * @param array Array of indexes in preferred order.
471
  */
@@ -607,8 +614,9 @@ class BP_Activity_Activity {
607
  $total_activities = $wpdb->get_var( $total_activities_sql );
608
 
609
  if ( !empty( $r['max'] ) ) {
610
- if ( (int) $total_activities > (int) $r['max'] )
611
  $total_activities = $r['max'];
 
612
  }
613
 
614
  $retval['total'] = $total_activities;
@@ -843,27 +851,33 @@ class BP_Activity_Activity {
843
  *
844
  * @since BuddyPress (2.2.0)
845
  *
846
- * @param string $scope The activity scope
847
- * @param array $r Current activity arguments. Same as those of BP_Activity_Activity::get(),
848
  * but merged with defaults.
849
  * @return array 'sql' WHERE SQL string and 'override' activity args
850
  */
851
- public static function get_scope_query_sql( $scope = '', $r = array() ) {
 
 
852
  $query_args = array();
853
  $override = array();
854
  $retval = array();
855
 
856
- if ( ! is_array( $scope ) ) {
857
- $scopes = explode( ',', $scope );
858
- } else {
859
  $scopes = $scope;
 
 
 
 
860
  }
861
 
 
862
  if ( empty( $scopes ) ) {
863
- return $sql;
864
  }
865
 
866
- // helper to easily grab the 'user_id'
867
  if ( ! empty( $r['filter']['user_id'] ) ) {
868
  $r['user_id'] = $r['filter']['user_id'];
869
  }
@@ -918,7 +932,8 @@ class BP_Activity_Activity {
918
  $query_args['relation'] = 'OR';
919
 
920
  $query = new BP_Activity_Query( $query_args );
921
- if ( $sql = $query->get_sql() ) {
 
922
  $retval['sql'] = $sql;
923
  }
924
  }
@@ -956,51 +971,64 @@ class BP_Activity_Activity {
956
  /**
957
  * Get the first activity ID that matches a set of criteria.
958
  *
959
- * @param int $user_id The user ID to filter by.
960
- * @param string $component The component to filter by.
961
- * @param string $type The activity type to filter by.
962
- * @param int $item_id The associated item to filter by.
963
- * @param int $secondary_item_id The secondary associated item to filter by.
964
- * @param string $action The action to filter by.
965
- * @param string $content The content to filter by.
966
- * @param string $date_recorded The date to filter by.
 
 
 
967
  * @return int|bool Activity ID on success, false if none is found.
968
  */
969
  public static function get_id( $user_id, $component, $type, $item_id, $secondary_item_id, $action, $content, $date_recorded ) {
970
- global $bp, $wpdb;
 
 
971
 
972
  $where_args = false;
973
 
974
- if ( !empty( $user_id ) )
975
  $where_args[] = $wpdb->prepare( "user_id = %d", $user_id );
 
976
 
977
- if ( !empty( $component ) )
978
  $where_args[] = $wpdb->prepare( "component = %s", $component );
 
979
 
980
- if ( !empty( $type ) )
981
  $where_args[] = $wpdb->prepare( "type = %s", $type );
 
982
 
983
- if ( !empty( $item_id ) )
984
  $where_args[] = $wpdb->prepare( "item_id = %d", $item_id );
 
985
 
986
- if ( !empty( $secondary_item_id ) )
987
  $where_args[] = $wpdb->prepare( "secondary_item_id = %d", $secondary_item_id );
 
988
 
989
- if ( !empty( $action ) )
990
  $where_args[] = $wpdb->prepare( "action = %s", $action );
 
991
 
992
- if ( !empty( $content ) )
993
  $where_args[] = $wpdb->prepare( "content = %s", $content );
 
994
 
995
- if ( !empty( $date_recorded ) )
996
  $where_args[] = $wpdb->prepare( "date_recorded = %s", $date_recorded );
 
997
 
998
- if ( !empty( $where_args ) )
999
  $where_sql = 'WHERE ' . join( ' AND ', $where_args );
1000
- else
1001
- return false;
1002
 
1003
- return $wpdb->get_var( "SELECT id FROM {$bp->activity->table_name} {$where_sql}" );
1004
  }
1005
 
1006
  /**
@@ -1027,7 +1055,9 @@ class BP_Activity_Activity {
1027
  * @return array|bool An array of deleted activity IDs on success, false on failure.
1028
  */
1029
  public static function delete( $args = array() ) {
1030
- global $wpdb, $bp;
 
 
1031
 
1032
  $defaults = array(
1033
  'id' => false,
@@ -1128,10 +1158,11 @@ class BP_Activity_Activity {
1128
  * @return bool True on success.
1129
  */
1130
  public static function delete_activity_item_comments( $activity_ids = array(), $delete_meta = true ) {
1131
- global $bp, $wpdb;
1132
 
1133
- $delete_meta = (bool) $delete_meta;
1134
 
 
1135
  $activity_ids = implode( ',', wp_parse_id_list( $activity_ids ) );
1136
 
1137
  if ( $delete_meta ) {
@@ -1199,7 +1230,6 @@ class BP_Activity_Activity {
1199
  *
1200
  * @since BuddyPress (1.2)
1201
  *
1202
- * @global BuddyPress $bp The one true BuddyPress instance.
1203
  * @global wpdb $wpdb WordPress database object.
1204
  *
1205
  * @param int $activity_id Activity ID to fetch comments for.
@@ -1210,7 +1240,7 @@ class BP_Activity_Activity {
1210
  * @return array The updated activities with nested comments.
1211
  */
1212
  public static function get_activity_comments( $activity_id, $left, $right, $spam = 'ham_only', $top_level_parent_id = 0 ) {
1213
- global $wpdb, $bp;
1214
 
1215
  if ( empty( $top_level_parent_id ) ) {
1216
  $top_level_parent_id = $activity_id;
@@ -1226,6 +1256,8 @@ class BP_Activity_Activity {
1226
  // A true cache miss
1227
  } elseif ( empty( $comments ) ) {
1228
 
 
 
1229
  // Select the user's fullname with the query
1230
  if ( bp_is_active( 'xprofile' ) ) {
1231
  $fullname_select = ", pd.value as user_fullname";
@@ -1352,35 +1384,39 @@ class BP_Activity_Activity {
1352
  *
1353
  * @since BuddyPress (1.2)
1354
  *
1355
- * @global BuddyPress $bp The one true BuddyPress instance.
1356
- * @global wpdb $wpdb WordPress database object.
1357
  *
1358
- * @param int $parent_id ID of an activity or activity comment.
1359
- * @param int $left Node boundary start for activity or activity comment.
1360
- * @return int Right node boundary of activity or activity comment.
1361
  */
1362
  public static function rebuild_activity_comment_tree( $parent_id, $left = 1 ) {
1363
- global $wpdb, $bp;
 
 
1364
 
1365
  // The right value of this node is the left value + 1
1366
- $right = $left + 1;
1367
 
1368
  // Get all descendants of this node
1369
- $descendants = BP_Activity_Activity::get_child_comments( $parent_id );
 
1370
 
1371
  // Loop the descendants and recalculate the left and right values
1372
- foreach ( (array) $descendants as $descendant )
1373
- $right = BP_Activity_Activity::rebuild_activity_comment_tree( $descendant->id, $right );
 
1374
 
1375
  // We've got the left value, and now that we've processed the children
1376
  // of this node we also know the right value
1377
- if ( 1 == $left )
1378
  $wpdb->query( $wpdb->prepare( "UPDATE {$bp->activity->table_name} SET mptt_left = %d, mptt_right = %d WHERE id = %d", $left, $right, $parent_id ) );
1379
- else
1380
  $wpdb->query( $wpdb->prepare( "UPDATE {$bp->activity->table_name} SET mptt_left = %d, mptt_right = %d WHERE type = 'activity_comment' AND id = %d", $left, $right, $parent_id ) );
 
1381
 
1382
  // Return the right value of this node + 1
1383
- return $right + 1;
1384
  }
1385
 
1386
  /**
@@ -1388,14 +1424,15 @@ class BP_Activity_Activity {
1388
  *
1389
  * @since BuddyPress (1.2)
1390
  *
1391
- * @global BuddyPress $bp The one true BuddyPress instance.
1392
  * @global wpdb $wpdb WordPress database object.
1393
  *
1394
  * @param int $parent_id ID of an activity or activity comment.
1395
  * @return object Numerically indexed array of child comments.
1396
  */
1397
  public static function get_child_comments( $parent_id ) {
1398
- global $bp, $wpdb;
 
 
1399
 
1400
  return $wpdb->get_results( $wpdb->prepare( "SELECT id FROM {$bp->activity->table_name} WHERE type = 'activity_comment' AND secondary_item_id = %d", $parent_id ) );
1401
  }
@@ -1411,9 +1448,11 @@ class BP_Activity_Activity {
1411
  * @return array List of component names.
1412
  */
1413
  public static function get_recorded_components( $skip_last_activity = true ) {
1414
- global $wpdb, $bp;
 
 
1415
 
1416
- if ( $skip_last_activity ) {
1417
  $components = $wpdb->get_col( "SELECT DISTINCT component FROM {$bp->activity->table_name} WHERE action != '' AND action != 'last_activity' ORDER BY component ASC" );
1418
  } else {
1419
  $components = $wpdb->get_col( "SELECT DISTINCT component FROM {$bp->activity->table_name} ORDER BY component ASC" );
@@ -1565,7 +1604,9 @@ class BP_Activity_Activity {
1565
  * @return string ISO timestamp.
1566
  */
1567
  public static function get_last_updated() {
1568
- global $bp, $wpdb;
 
 
1569
 
1570
  return $wpdb->get_var( "SELECT date_recorded FROM {$bp->activity->table_name} ORDER BY date_recorded DESC LIMIT 1" );
1571
  }
@@ -1579,10 +1620,15 @@ class BP_Activity_Activity {
1579
  * @return int A count of the user's favorites.
1580
  */
1581
  public static function total_favorite_count( $user_id ) {
1582
- if ( !$favorite_activity_entries = bp_get_user_meta( $user_id, 'bp_favorite_activities', true ) )
1583
- return 0;
1584
 
1585
- return count( maybe_unserialize( $favorite_activity_entries ) );
 
 
 
 
 
 
 
1586
  }
1587
 
1588
  /**
@@ -1592,7 +1638,9 @@ class BP_Activity_Activity {
1592
  * @return int|bool The ID of the first matching item if found, otherwise false.
1593
  */
1594
  public static function check_exists_by_content( $content ) {
1595
- global $wpdb, $bp;
 
 
1596
 
1597
  return $wpdb->get_var( $wpdb->prepare( "SELECT id FROM {$bp->activity->table_name} WHERE content = %s", $content ) );
1598
  }
@@ -1604,7 +1652,9 @@ class BP_Activity_Activity {
1604
  * @param int
1605
  */
1606
  public static function hide_all_for_user( $user_id ) {
1607
- global $wpdb, $bp;
 
 
1608
 
1609
  return $wpdb->get_var( $wpdb->prepare( "UPDATE {$bp->activity->table_name} SET hide_sitewide = 1 WHERE user_id = %d", $user_id ) );
1610
  }
@@ -1879,7 +1929,7 @@ class BP_Activity_Query extends BP_Recursive_Query {
1879
  * @since BuddyPress (2.2.0)
1880
  * @access protected
1881
  *
1882
- * @param array $q Clause to check.
1883
  * @return bool
1884
  */
1885
  protected function is_first_order_clause( $query ) {
@@ -2225,7 +2275,8 @@ class BP_Activity_Feed {
2225
  $client_etag = trim( $client_etag, '"' );
2226
 
2227
  // Strip suffixes from ETag if they exist (eg. "-gzip")
2228
- if ( $etag_suffix_pos = strpos( $client_etag, '-' ) ) {
 
2229
  $client_etag = substr( $client_etag, 0, $etag_suffix_pos );
2230
  }
2231
 
135
  * Populate the object with data about the specific activity item.
136
  */
137
  public function populate() {
138
+ global $wpdb;
139
 
140
  $row = wp_cache_get( $this->id, 'bp_activity' );
141
 
142
  if ( false === $row ) {
143
+ $bp = buddypress();
144
  $row = $wpdb->get_row( $wpdb->prepare( "SELECT * FROM {$bp->activity->table_name} WHERE id = %d", $this->id ) );
145
 
146
  wp_cache_set( $this->id, $row, 'bp_activity' );
185
  * @return bool True on success.
186
  */
187
  public function save() {
188
+ global $wpdb;
189
+
190
+ $bp = buddypress();
191
 
192
  $this->id = apply_filters_ref_array( 'bp_activity_id_before_save', array( $this->id, &$this ) );
193
  $this->item_id = apply_filters_ref_array( 'bp_activity_item_id_before_save', array( $this->item_id, &$this ) );
215
  */
216
  do_action_ref_array( 'bp_activity_before_save', array( &$this ) );
217
 
218
+ if ( empty( $this->component ) || empty( $this->type ) ) {
219
  return false;
220
+ }
221
 
222
+ if ( empty( $this->primary_link ) ) {
223
  $this->primary_link = bp_loggedin_user_domain();
224
+ }
225
 
226
  // If we have an existing ID, update the activity item, otherwise insert it.
227
+ if ( ! empty( $this->id ) ) {
228
  $q = $wpdb->prepare( "UPDATE {$bp->activity->table_name} SET user_id = %d, component = %s, type = %s, action = %s, content = %s, primary_link = %s, date_recorded = %s, item_id = %d, secondary_item_id = %d, hide_sitewide = %d, is_spam = %d WHERE id = %d", $this->user_id, $this->component, $this->type, $this->action, $this->content, $this->primary_link, $this->date_recorded, $this->item_id, $this->secondary_item_id, $this->hide_sitewide, $this->is_spam, $this->id );
229
+ } else {
230
  $q = $wpdb->prepare( "INSERT INTO {$bp->activity->table_name} ( user_id, component, type, action, content, primary_link, date_recorded, item_id, secondary_item_id, hide_sitewide, is_spam ) VALUES ( %d, %s, %s, %s, %s, %s, %s, %d, %d, %d, %d )", $this->user_id, $this->component, $this->type, $this->action, $this->content, $this->primary_link, $this->date_recorded, $this->item_id, $this->secondary_item_id, $this->hide_sitewide, $this->is_spam );
231
+ }
232
 
233
+ if ( false === $wpdb->query( $q ) ) {
234
  return false;
235
+ }
236
 
237
  // If this is a new activity item, set the $id property
238
+ if ( empty( $this->id ) ) {
239
  $this->id = $wpdb->insert_id;
240
 
241
  // If an existing activity item, prevent any changes to the content generating new @mention notifications.
242
+ } else {
243
  add_filter( 'bp_activity_at_name_do_notifications', '__return_false' );
244
+ }
245
 
246
  /**
247
  * Fires after an activity item has been saved to the database.
294
  * - 'activities' is an array of the located activities
295
  */
296
  public static function get( $args = array() ) {
297
+ global $wpdb;
298
 
299
  // Backward compatibility with old method of passing arguments
300
  if ( !is_array( $args ) || func_num_args() > 1 ) {
318
  $args = bp_core_parse_args_array( $old_args_keys, $func_args );
319
  }
320
 
321
+ $bp = buddypress();
322
+ $r = wp_parse_args( $args, array(
323
  'page' => 1, // The current page
324
  'per_page' => 25, // Activity items per page
325
  'max' => false, // Max number of items to return
337
  'spam' => 'ham_only', // Spam status
338
  'update_meta_cache' => true,
339
  'count_total' => false,
340
+ ) );
 
341
 
342
  // Select conditions
343
  $select_sql = "SELECT DISTINCT a.id";
359
  // Add our SQL conditions if matches were found
360
  if ( ! empty( $scope_query['sql'] ) ) {
361
  $where_conditions['scope_query_sql'] = $scope_query['sql'];
 
 
 
 
362
  }
363
 
364
  // override some arguments if needed
365
  if ( ! empty( $scope_query['override'] ) ) {
366
  $r = self::array_replace_recursive( $r, $scope_query['override'] );
367
  }
368
+
369
  // Advanced filtering
370
  } elseif ( ! empty( $r['filter_query'] ) ) {
371
  $filter_query = new BP_Activity_Query( $r['filter_query'] );
372
+ $sql = $filter_query->get_sql();
373
+ if ( ! empty( $sql ) ) {
374
  $where_conditions['filter_query_sql'] = $sql;
375
  }
376
  }
400
  }
401
 
402
  // Hide Hidden Items?
403
+ if ( ! $r['show_hidden'] ) {
404
  $where_conditions['hidden_sql'] = "a.hide_sitewide = 0";
405
+ }
406
 
407
  // Exclude specified items
408
  if ( ! empty( $r['exclude'] ) ) {
472
  /**
473
  * Filters the preferred order of indexes for activity item.
474
  *
475
+ * @since BuddyPress (1.6.0)
476
  *
477
  * @param array Array of indexes in preferred order.
478
  */
614
  $total_activities = $wpdb->get_var( $total_activities_sql );
615
 
616
  if ( !empty( $r['max'] ) ) {
617
+ if ( (int) $total_activities > (int) $r['max'] ) {
618
  $total_activities = $r['max'];
619
+ }
620
  }
621
 
622
  $retval['total'] = $total_activities;
851
  *
852
  * @since BuddyPress (2.2.0)
853
  *
854
+ * @param mixed $scope The activity scope. Accepts string or array of scopes
855
+ * @param array $r Current activity arguments. Same as those of BP_Activity_Activity::get(),
856
  * but merged with defaults.
857
  * @return array 'sql' WHERE SQL string and 'override' activity args
858
  */
859
+ public static function get_scope_query_sql( $scope = false, $r = array() ) {
860
+
861
+ // Define arrays for future use
862
  $query_args = array();
863
  $override = array();
864
  $retval = array();
865
 
866
+ // Check for array of scopes
867
+ if ( is_array( $scope ) ) {
 
868
  $scopes = $scope;
869
+
870
+ // Explode a comma separated string of scopes
871
+ } elseif ( is_string( $scope ) ) {
872
+ $scopes = explode( ',', $scope );
873
  }
874
 
875
+ // Bail if no scope passed
876
  if ( empty( $scopes ) ) {
877
+ return false;
878
  }
879
 
880
+ // Helper to easily grab the 'user_id'
881
  if ( ! empty( $r['filter']['user_id'] ) ) {
882
  $r['user_id'] = $r['filter']['user_id'];
883
  }
932
  $query_args['relation'] = 'OR';
933
 
934
  $query = new BP_Activity_Query( $query_args );
935
+ $sql = $query->get_sql();
936
+ if ( ! empty( $sql ) ) {
937
  $retval['sql'] = $sql;
938
  }
939
  }
971
  /**
972
  * Get the first activity ID that matches a set of criteria.
973
  *
974
+ * @param int $user_id User ID to filter by
975
+ * @param string $component Component to filter by
976
+ * @param string $type Activity type to filter by
977
+ * @param int $item_id Associated item to filter by
978
+ * @param int $secondary_item_id Secondary associated item to filter by
979
+ * @param string $action Action to filter by
980
+ * @param string $content Content to filter by
981
+ * @param string $date_recorded Date to filter by
982
+ *
983
+ * @todo Should parameters be optional?
984
+ *
985
  * @return int|bool Activity ID on success, false if none is found.
986
  */
987
  public static function get_id( $user_id, $component, $type, $item_id, $secondary_item_id, $action, $content, $date_recorded ) {
988
+ global $wpdb;
989
+
990
+ $bp = buddypress();
991
 
992
  $where_args = false;
993
 
994
+ if ( ! empty( $user_id ) ) {
995
  $where_args[] = $wpdb->prepare( "user_id = %d", $user_id );
996
+ }
997
 
998
+ if ( ! empty( $component ) ) {
999
  $where_args[] = $wpdb->prepare( "component = %s", $component );
1000
+ }
1001
 
1002
+ if ( ! empty( $type ) ) {
1003
  $where_args[] = $wpdb->prepare( "type = %s", $type );
1004
+ }
1005
 
1006
+ if ( ! empty( $item_id ) ) {
1007
  $where_args[] = $wpdb->prepare( "item_id = %d", $item_id );
1008
+ }
1009
 
1010
+ if ( ! empty( $secondary_item_id ) ) {
1011
  $where_args[] = $wpdb->prepare( "secondary_item_id = %d", $secondary_item_id );
1012
+ }
1013
 
1014
+ if ( ! empty( $action ) ) {
1015
  $where_args[] = $wpdb->prepare( "action = %s", $action );
1016
+ }
1017
 
1018
+ if ( ! empty( $content ) ) {
1019
  $where_args[] = $wpdb->prepare( "content = %s", $content );
1020
+ }
1021
 
1022
+ if ( ! empty( $date_recorded ) ) {
1023
  $where_args[] = $wpdb->prepare( "date_recorded = %s", $date_recorded );
1024
+ }
1025
 
1026
+ if ( ! empty( $where_args ) ) {
1027
  $where_sql = 'WHERE ' . join( ' AND ', $where_args );
1028
+ return $wpdb->get_var( "SELECT id FROM {$bp->activity->table_name} {$where_sql}" );
1029
+ }
1030
 
1031
+ return false;
1032
  }
1033
 
1034
  /**
1055
  * @return array|bool An array of deleted activity IDs on success, false on failure.
1056
  */
1057
  public static function delete( $args = array() ) {
1058
+ global $wpdb;
1059
+
1060
+ $bp = buddypress();
1061
 
1062
  $defaults = array(
1063
  'id' => false,
1158
  * @return bool True on success.
1159
  */
1160
  public static function delete_activity_item_comments( $activity_ids = array(), $delete_meta = true ) {
1161
+ global $wpdb;
1162
 
1163
+ $bp = buddypress();
1164
 
1165
+ $delete_meta = (bool) $delete_meta;
1166
  $activity_ids = implode( ',', wp_parse_id_list( $activity_ids ) );
1167
 
1168
  if ( $delete_meta ) {
1230
  *
1231
  * @since BuddyPress (1.2)
1232
  *
 
1233
  * @global wpdb $wpdb WordPress database object.
1234
  *
1235
  * @param int $activity_id Activity ID to fetch comments for.
1240
  * @return array The updated activities with nested comments.
1241
  */
1242
  public static function get_activity_comments( $activity_id, $left, $right, $spam = 'ham_only', $top_level_parent_id = 0 ) {
1243
+ global $wpdb;
1244
 
1245
  if ( empty( $top_level_parent_id ) ) {
1246
  $top_level_parent_id = $activity_id;
1256
  // A true cache miss
1257
  } elseif ( empty( $comments ) ) {
1258
 
1259
+ $bp = buddypress();
1260
+
1261
  // Select the user's fullname with the query
1262
  if ( bp_is_active( 'xprofile' ) ) {
1263
  $fullname_select = ", pd.value as user_fullname";
1384
  *
1385
  * @since BuddyPress (1.2)
1386
  *
1387
+ * @global wpdb $wpdb WordPress database object
 
1388
  *
1389
+ * @param int $parent_id ID of an activity or activity comment
1390
+ * @param int $left Node boundary start for activity or activity comment
1391
+ * @return int Right Node boundary of activity or activity comment
1392
  */
1393
  public static function rebuild_activity_comment_tree( $parent_id, $left = 1 ) {
1394
+ global $wpdb;
1395
+
1396
+ $bp = buddypress();
1397
 
1398
  // The right value of this node is the left value + 1
1399
+ $right = intval( $left + 1 );
1400
 
1401
  // Get all descendants of this node
1402
+ $comments = BP_Activity_Activity::get_child_comments( $parent_id );
1403
+ $descendants = wp_list_pluck( $comments, 'id' );
1404
 
1405
  // Loop the descendants and recalculate the left and right values
1406
+ foreach ( (array) $descendants as $descendant_id ) {
1407
+ $right = BP_Activity_Activity::rebuild_activity_comment_tree( $descendant_id, $right );
1408
+ }
1409
 
1410
  // We've got the left value, and now that we've processed the children
1411
  // of this node we also know the right value
1412
+ if ( 1 === $left ) {
1413
  $wpdb->query( $wpdb->prepare( "UPDATE {$bp->activity->table_name} SET mptt_left = %d, mptt_right = %d WHERE id = %d", $left, $right, $parent_id ) );
1414
+ } else {
1415
  $wpdb->query( $wpdb->prepare( "UPDATE {$bp->activity->table_name} SET mptt_left = %d, mptt_right = %d WHERE type = 'activity_comment' AND id = %d", $left, $right, $parent_id ) );
1416
+ }
1417
 
1418
  // Return the right value of this node + 1
1419
+ return intval( $right + 1 );
1420
  }
1421
 
1422
  /**
1424
  *
1425
  * @since BuddyPress (1.2)
1426
  *
 
1427
  * @global wpdb $wpdb WordPress database object.
1428
  *
1429
  * @param int $parent_id ID of an activity or activity comment.
1430
  * @return object Numerically indexed array of child comments.
1431
  */
1432
  public static function get_child_comments( $parent_id ) {
1433
+ global $wpdb;
1434
+
1435
+ $bp = buddypress();
1436
 
1437
  return $wpdb->get_results( $wpdb->prepare( "SELECT id FROM {$bp->activity->table_name} WHERE type = 'activity_comment' AND secondary_item_id = %d", $parent_id ) );
1438
  }
1448
  * @return array List of component names.
1449
  */
1450
  public static function get_recorded_components( $skip_last_activity = true ) {
1451
+ global $wpdb;
1452
+
1453
+ $bp = buddypress();
1454
 
1455
+ if ( true === $skip_last_activity ) {
1456
  $components = $wpdb->get_col( "SELECT DISTINCT component FROM {$bp->activity->table_name} WHERE action != '' AND action != 'last_activity' ORDER BY component ASC" );
1457
  } else {
1458
  $components = $wpdb->get_col( "SELECT DISTINCT component FROM {$bp->activity->table_name} ORDER BY component ASC" );
1604
  * @return string ISO timestamp.
1605
  */
1606
  public static function get_last_updated() {
1607
+ global $wpdb;
1608
+
1609
+ $bp = buddypress();
1610
 
1611
  return $wpdb->get_var( "SELECT date_recorded FROM {$bp->activity->table_name} ORDER BY date_recorded DESC LIMIT 1" );
1612
  }
1620
  * @return int A count of the user's favorites.
1621
  */
1622
  public static function total_favorite_count( $user_id ) {
 
 
1623
 
1624
+ // Get activities from user meta
1625
+ $favorite_activity_entries = bp_get_user_meta( $user_id, 'bp_favorite_activities', true );
1626
+ if ( ! empty( $favorite_activity_entries ) ) {
1627
+ return count( maybe_unserialize( $favorite_activity_entries ) );
1628
+ }
1629
+
1630
+ // No favorites
1631
+ return 0;
1632
  }
1633
 
1634
  /**
1638
  * @return int|bool The ID of the first matching item if found, otherwise false.
1639
  */
1640
  public static function check_exists_by_content( $content ) {
1641
+ global $wpdb;
1642
+
1643
+ $bp = buddypress();
1644
 
1645
  return $wpdb->get_var( $wpdb->prepare( "SELECT id FROM {$bp->activity->table_name} WHERE content = %s", $content ) );
1646
  }
1652
  * @param int
1653
  */
1654
  public static function hide_all_for_user( $user_id ) {
1655
+ global $wpdb;
1656
+
1657
+ $bp = buddypress();
1658
 
1659
  return $wpdb->get_var( $wpdb->prepare( "UPDATE {$bp->activity->table_name} SET hide_sitewide = 1 WHERE user_id = %d", $user_id ) );
1660
  }
1929
  * @since BuddyPress (2.2.0)
1930
  * @access protected
1931
  *
1932
+ * @param array $query Clause to check.
1933
  * @return bool
1934
  */
1935
  protected function is_first_order_clause( $query ) {
2275
  $client_etag = trim( $client_etag, '"' );
2276
 
2277
  // Strip suffixes from ETag if they exist (eg. "-gzip")
2278
+ $etag_suffix_pos = strpos( $client_etag, '-' );
2279
+ if ( ! empty( $etag_suffix_pos ) ) {
2280
  $client_etag = substr( $client_etag, 0, $etag_suffix_pos );
2281
  }
2282
 
bp-activity/bp-activity-filters.php CHANGED
@@ -677,7 +677,7 @@ add_filter( 'bp_activity_set_just-me_scope_args', 'bp_activity_filter_just_me_sc
677
  function bp_activity_filter_favorites_scope( $retval, $filter ) {
678
  $favs = bp_activity_get_user_favorites( $filter['user_id'] );
679
  if ( empty( $favs ) ) {
680
- return $retval;
681
  }
682
 
683
  $retval = array(
677
  function bp_activity_filter_favorites_scope( $retval, $filter ) {
678
  $favs = bp_activity_get_user_favorites( $filter['user_id'] );
679
  if ( empty( $favs ) ) {
680
+ $favs = array( 0 );
681
  }
682
 
683
  $retval = array(
bp-activity/bp-activity-functions.php CHANGED
@@ -484,6 +484,14 @@ function bp_activity_get_post_type_tracking_args( $post_type ) {
484
  $post_type_activity->new_post_type_action_ms = $post_type_object->labels->bp_activity_new_post_ms;
485
  }
486
 
 
 
 
 
 
 
 
 
487
  return apply_filters( 'bp_activity_get_post_type_tracking_args', $post_type_activity, $post_type );
488
  }
489
 
@@ -509,6 +517,14 @@ function bp_activity_get_post_types_tracking_args() {
509
 
510
  }
511
 
 
 
 
 
 
 
 
 
512
  return apply_filters( 'bp_activity_get_post_types_tracking_args', $post_types_tracking_args );
513
  }
514
 
@@ -1249,12 +1265,13 @@ function bp_activity_generate_action_string( $activity ) {
1249
  }
1250
 
1251
  // Check for registered format callback
1252
- if ( empty( buddypress()->activity->actions->{$activity->component}->{$activity->type}['format_callback'] ) ) {
 
1253
  return false;
1254
  }
1255
 
1256
  // We apply the format_callback as a filter
1257
- add_filter( 'bp_activity_generate_action_string', buddypress()->activity->actions->{$activity->component}->{$activity->type}['format_callback'], 10, 2 );
1258
 
1259
  /**
1260
  * Filters the string for the activity action being returned.
@@ -1267,7 +1284,7 @@ function bp_activity_generate_action_string( $activity ) {
1267
  $action = apply_filters( 'bp_activity_generate_action_string', $activity->action, $activity );
1268
 
1269
  // Remove the filter for future activity items
1270
- remove_filter( 'bp_activity_generate_action_string', buddypress()->activity->actions->{$activity->component}->{$activity->type}['format_callback'], 10, 2 );
1271
 
1272
  return $action;
1273
  }
@@ -1810,7 +1827,19 @@ function bp_activity_post_type_publish( $post_id = 0, $post = null, $user_id = 0
1810
  return;
1811
  }
1812
 
1813
- // Let components/plugins bail before the activity is posted.
 
 
 
 
 
 
 
 
 
 
 
 
1814
  if ( false === apply_filters( "bp_activity_{$post->post_type}_pre_publish", true, $blog_id, $post_id, $user_id ) ) {
1815
  return;
1816
  }
@@ -1880,6 +1909,15 @@ function bp_activity_post_type_publish( $post_id = 0, $post = null, $user_id = 0
1880
 
1881
  $activity_id = bp_activity_add( $activity_args );
1882
 
 
 
 
 
 
 
 
 
 
1883
  do_action( 'bp_activity_post_type_published', $activity_id, $post, $activity_args );
1884
 
1885
  return $activity_id;
@@ -1945,6 +1983,14 @@ function bp_activity_post_type_update( $post = null ) {
1945
  // Save the updated activity.
1946
  $updated = $activity->save();
1947
 
 
 
 
 
 
 
 
 
1948
  do_action( 'bp_activity_post_type_updated', $post, $activity );
1949
 
1950
  return $updated;
@@ -1987,6 +2033,16 @@ function bp_activity_post_type_unpublish( $post_id = 0, $post = null ) {
1987
 
1988
  $deleted = bp_activity_delete_by_item_id( $delete_activity_args );
1989
 
 
 
 
 
 
 
 
 
 
 
1990
  do_action( 'bp_activity_post_type_unpublished', $delete_activity_args, $post, $deleted );
1991
 
1992
  return $deleted;
484
  $post_type_activity->new_post_type_action_ms = $post_type_object->labels->bp_activity_new_post_ms;
485
  }
486
 
487
+ /**
488
+ * Filters tracking arguments for a specific post type.
489
+ *
490
+ * @since BuddyPress (2.2.0)
491
+ *
492
+ * @param object $post_type_activity The tracking arguments of the post type.
493
+ * @param string $post_type Name of the post type.
494
+ */
495
  return apply_filters( 'bp_activity_get_post_type_tracking_args', $post_type_activity, $post_type );
496
  }
497
 
517
 
518
  }
519
 
520
+ /**
521
+ * Filters tracking arguments for all post types.
522
+ *
523
+ * @since BuddyPress (2.2.0)
524
+ *
525
+ * @param array $post_types_tracking_args Array of post types with
526
+ * their tracking arguments.
527
+ */
528
  return apply_filters( 'bp_activity_get_post_types_tracking_args', $post_types_tracking_args );
529
  }
530
 
1265
  }
1266
 
1267
  // Check for registered format callback
1268
+ $actions = bp_activity_get_actions();
1269
+ if ( empty( $actions->{$activity->component}->{$activity->type}['format_callback'] ) ) {
1270
  return false;
1271
  }
1272
 
1273
  // We apply the format_callback as a filter
1274
+ add_filter( 'bp_activity_generate_action_string', $actions->{$activity->component}->{$activity->type}['format_callback'], 10, 2 );
1275
 
1276
  /**
1277
  * Filters the string for the activity action being returned.
1284
  $action = apply_filters( 'bp_activity_generate_action_string', $activity->action, $activity );
1285
 
1286
  // Remove the filter for future activity items
1287
+ remove_filter( 'bp_activity_generate_action_string', $actions->{$activity->component}->{$activity->type}['format_callback'], 10, 2 );
1288
 
1289
  return $action;
1290
  }
1827
  return;
1828
  }
1829
 
1830
+ /**
1831
+ * Filters whether or not to post the activity.
1832
+ *
1833
+ * This is a variable filter, dependent on the post type,
1834
+ * that lets components or plugins bail early if needed.
1835
+ *
1836
+ * @since BuddyPress (2.2.0)
1837
+ *
1838
+ * @param bool $value Whether or not to continue.
1839
+ * @param int $blog_id ID of the current site.
1840
+ * @param int $post_id ID of the current post being published.
1841
+ * @param int $user_id ID of the current user or post author.
1842
+ */
1843
  if ( false === apply_filters( "bp_activity_{$post->post_type}_pre_publish", true, $blog_id, $post_id, $user_id ) ) {
1844
  return;
1845
  }
1909
 
1910
  $activity_id = bp_activity_add( $activity_args );
1911
 
1912
+ /**
1913
+ * Fires after the publishing of an activity item for a newly published post type post.
1914
+ *
1915
+ * @since BuddyPress (2.2.0)
1916
+ *
1917
+ * @param int $activity_id ID of the newly published activity item.
1918
+ * @param WP_Post $post Post object.
1919
+ * @param array $activity_args Array of activity arguments.
1920
+ */
1921
  do_action( 'bp_activity_post_type_published', $activity_id, $post, $activity_args );
1922
 
1923
  return $activity_id;
1983
  // Save the updated activity.
1984
  $updated = $activity->save();
1985
 
1986
+ /**
1987
+ * Fires after the updating of an activity item for a custom post type entry.
1988
+ *
1989
+ * @since BuddyPress (2.2.0)
1990
+ *
1991
+ * @param WP_Post $post Post object.
1992
+ * @param BP_Activity_Activity $activity Activity object.
1993
+ */
1994
  do_action( 'bp_activity_post_type_updated', $post, $activity );
1995
 
1996
  return $updated;
2033
 
2034
  $deleted = bp_activity_delete_by_item_id( $delete_activity_args );
2035
 
2036
+ /**
2037
+ * Fires after the unpublishing for the custom post type.
2038
+ *
2039
+ * @since BuddyPress (2.2.0)
2040
+ *
2041
+ * @param array $delete_activity_args Array of arguments for activity deletion.
2042
+ * @param WP_Post $post Post object.
2043
+ * @param bool $activity Whether or not the activity
2044
+ * was successfully deleted.
2045
+ */
2046
  do_action( 'bp_activity_post_type_unpublished', $delete_activity_args, $post, $deleted );
2047
 
2048
  return $deleted;
bp-activity/css/mentions-rtl.min.css CHANGED
@@ -1,2 +1,2 @@
1
- /*! buddypress - v2.1.0 - 2015-01-15 12:34:34 AM UTC - https://wordpress.org/plugins/buddypress/ */
2
  .atwho-view{background:rgba(204,204,204,.8);border-radius:2px;border:1px solid #ccc;box-shadow:0 0 5px rgba(204,204,204,.25),0 0 1px #FFF;color:#D84800;display:none;font-family:sans-serif;margin-top:18px;position:absolute;top:0;z-index:1000;left:0}.atwho-view ul{background:#FFF;list-style:none;margin:auto;padding:0}.atwho-view ul li{border-bottom:1px solid #EFEFEF;box-sizing:content-box;cursor:pointer;display:block;font-size:14px;height:20px;line-height:20px;margin:0;overflow:hidden;padding:5px 10px}.atwho-view img{border-radius:2px;float:left;height:20px;margin-top:0;width:20px}.atwho-view strong{background:#EFEFEF;font:700}.atwho-view .username strong{color:#D54E21}.atwho-view small{color:#AAA;float:left;font-size:smaller;font-weight:400;margin:0 40px 0 10px}.atwho-view .cur{background:rgba(239,239,239,.5)}@media (max-width:900px){.atwho-view img{float:right;margin:0 0 0 10px}}@media (max-width:400px){.atwho-view ul li{font-size:16px;line-height:23px;padding:13px}.atwho-view ul li img{height:30px;margin-top:-5px;width:30px}.atwho-view{border-radius:0;height:100%;right:0!important;width:100%}.atwho-view ul li .username{display:inline-block;margin:-10px 0 0;padding:10px 0}.atwho-view ul li small{display:inline-block;margin-right:20px}}
1
+ /*! buddypress - v2.1.0 - 2015-01-22 9:58:52 PM UTC - https://wordpress.org/plugins/buddypress/ */
2
  .atwho-view{background:rgba(204,204,204,.8);border-radius:2px;border:1px solid #ccc;box-shadow:0 0 5px rgba(204,204,204,.25),0 0 1px #FFF;color:#D84800;display:none;font-family:sans-serif;margin-top:18px;position:absolute;top:0;z-index:1000;left:0}.atwho-view ul{background:#FFF;list-style:none;margin:auto;padding:0}.atwho-view ul li{border-bottom:1px solid #EFEFEF;box-sizing:content-box;cursor:pointer;display:block;font-size:14px;height:20px;line-height:20px;margin:0;overflow:hidden;padding:5px 10px}.atwho-view img{border-radius:2px;float:left;height:20px;margin-top:0;width:20px}.atwho-view strong{background:#EFEFEF;font:700}.atwho-view .username strong{color:#D54E21}.atwho-view small{color:#AAA;float:left;font-size:smaller;font-weight:400;margin:0 40px 0 10px}.atwho-view .cur{background:rgba(239,239,239,.5)}@media (max-width:900px){.atwho-view img{float:right;margin:0 0 0 10px}}@media (max-width:400px){.atwho-view ul li{font-size:16px;line-height:23px;padding:13px}.atwho-view ul li img{height:30px;margin-top:-5px;width:30px}.atwho-view{border-radius:0;height:100%;right:0!important;width:100%}.atwho-view ul li .username{display:inline-block;margin:-10px 0 0;padding:10px 0}.atwho-view ul li small{display:inline-block;margin-right:20px}}
bp-activity/css/mentions.min.css CHANGED
@@ -1,2 +1,2 @@
1
- /*! buddypress - v2.1.0 - 2015-01-15 12:34:34 AM UTC - https://wordpress.org/plugins/buddypress/ */
2
  .atwho-view{background:rgba(204,204,204,.8);border-radius:2px;border:1px solid #ccc;box-shadow:0 0 5px rgba(204,204,204,.25),0 0 1px #FFF;color:#D84800;display:none;font-family:sans-serif;margin-top:18px;position:absolute;top:0;z-index:1000;left:0}.atwho-view ul{background:#FFF;list-style:none;margin:auto;padding:0}.atwho-view ul li{border-bottom:1px solid #EFEFEF;box-sizing:content-box;cursor:pointer;display:block;font-size:14px;height:20px;line-height:20px;margin:0;overflow:hidden;padding:5px 10px}.atwho-view img{border-radius:2px;float:right;height:20px;margin-top:0;width:20px}.atwho-view strong{background:#EFEFEF;font:700}.atwho-view .username strong{color:#D54E21}.atwho-view small{color:#AAA;float:right;font-size:smaller;font-weight:400;margin:0 10px 0 40px}.atwho-view .cur{background:rgba(239,239,239,.5)}@media (max-width:900px){.atwho-view img{float:left;margin:0 10px 0 0}}@media (max-width:400px){.atwho-view ul li{font-size:16px;line-height:23px;padding:13px}.atwho-view ul li img{height:30px;margin-top:-5px;width:30px}.atwho-view{border-radius:0;height:100%;left:0!important;width:100%}.atwho-view ul li .username{display:inline-block;margin:-10px 0 0;padding:10px 0}.atwho-view ul li small{display:inline-block;margin-left:20px}}
1
+ /*! buddypress - v2.1.0 - 2015-01-22 9:58:52 PM UTC - https://wordpress.org/plugins/buddypress/ */
2
  .atwho-view{background:rgba(204,204,204,.8);border-radius:2px;border:1px solid #ccc;box-shadow:0 0 5px rgba(204,204,204,.25),0 0 1px #FFF;color:#D84800;display:none;font-family:sans-serif;margin-top:18px;position:absolute;top:0;z-index:1000;left:0}.atwho-view ul{background:#FFF;list-style:none;margin:auto;padding:0}.atwho-view ul li{border-bottom:1px solid #EFEFEF;box-sizing:content-box;cursor:pointer;display:block;font-size:14px;height:20px;line-height:20px;margin:0;overflow:hidden;padding:5px 10px}.atwho-view img{border-radius:2px;float:right;height:20px;margin-top:0;width:20px}.atwho-view strong{background:#EFEFEF;font:700}.atwho-view .username strong{color:#D54E21}.atwho-view small{color:#AAA;float:right;font-size:smaller;font-weight:400;margin:0 10px 0 40px}.atwho-view .cur{background:rgba(239,239,239,.5)}@media (max-width:900px){.atwho-view img{float:left;margin:0 10px 0 0}}@media (max-width:400px){.atwho-view ul li{font-size:16px;line-height:23px;padding:13px}.atwho-view ul li img{height:30px;margin-top:-5px;width:30px}.atwho-view{border-radius:0;height:100%;left:0!important;width:100%}.atwho-view ul li .username{display:inline-block;margin:-10px 0 0;padding:10px 0}.atwho-view ul li small{display:inline-block;margin-left:20px}}
bp-activity/js/mentions.min.js CHANGED
@@ -1,2 +1,2 @@
1
- /*! buddypress - v2.1.0 - 2015-01-15 12:34:33 AM UTC - https://wordpress.org/plugins/buddypress/ */
2
  !function(a){var b,c=[];a.fn.bp_mentions=function(d){a.isArray(d)&&(d={data:d});var e={delay:200,hide_without_suffix:!0,insert_tpl:"</>${atwho-data-value}</>",limit:10,start_with_space:!1,suffix:"",callbacks:{filter:function(a,b,c){var d,e,f,g=[],h=new RegExp("^"+a+"| "+a,"ig");for(e=0,f=b.length;f>e;e++)d=b[e],d[c].toLowerCase().match(h)&&g.push(d);return g},highlighter:function(a,b){if(!b)return a;var c=new RegExp(">(\\s*|[\\w\\s]*)("+this.at.replace("+","\\+")+"?"+b.replace("+","\\+")+")([\\w ]*)\\s*<","ig");return a.replace(c,function(a,b,c,d){return">"+b+"<strong>"+c+"</strong>"+d+"<"})},before_reposition:function(b){var c,d,e,f,g=a("#atwho-ground-"+this.id+" .atwho-view"),h=a("body"),i=this.$inputor.data("atwho");"undefined"!==i&&"undefined"!==i.iframe&&null!==i.iframe?(c=this.$inputor.caret("offset",{iframe:i.iframe}),e=a(i.iframe).offset(),"undefined"!==e&&(c.left+=e.left,c.top+=e.top)):c=this.$inputor.caret("offset"),c.left>h.width()/2?(g.addClass("right"),f=c.left-b.left-this.view.$el.width()):(g.removeClass("right"),f=c.left-b.left+1),h.width()<=400&&a(document).scrollTop(c.top-6),d=parseInt(this.$inputor.css("line-height").substr(0,this.$inputor.css("line-height").length-2),10),(!d||5>d)&&(d=19),b.top=c.top+d,b.left+=f},inserting_wrapper:function(a,b,c){return""+b+c}}},f={callbacks:{remote_filter:function(d,e){var f=a(this),g={};return b=c[d],"object"==typeof b?void e(b):(f.xhr&&f.xhr.abort(),g={action:"bp_get_suggestions",term:d,type:"members"},a.isNumeric(this.$inputor.data("suggestions-group-id"))&&(g["group-id"]=parseInt(this.$inputor.data("suggestions-group-id"),10)),void(f.xhr=a.getJSON(ajaxurl,g).done(function(b){if(b.success){var f=a.map(b.data,function(a){return a.search=a.search||a.ID+" "+a.name,a});c[d]=f,e(f)}})))}},data:a.map(d.data,function(a){return a.search=a.search||a.ID+" "+a.name,a}),at:"@",search_key:"search",tpl:'<li data-value="@${ID}"><img src="${image}" /><span class="username">@${ID}</span><small>${name}</small></li>'},g=a.extend(!0,{},e,f,d);return a.fn.atwho.call(this,g)},a(document).ready(function(){var b,c=0,d=[];"object"==typeof window.BP_Suggestions&&(d=window.BP_Suggestions.friends||d),b=function(){return(4>c||!a("body").hasClass("wp-admin"))&&(c++,"undefined"==typeof window.tinyMCE||null===window.tinyMCE.activeEditor||"undefined"==typeof window.tinyMCE.activeEditor)?void setTimeout(b,500):void a(window.tinyMCE.activeEditor.contentDocument.activeElement).atwho("setIframe",a("#content_ifr")[0]).bp_mentions(d)},a(".bp-suggestions, #comments form textarea, .wp-editor-area").bp_mentions(d),b()})}(jQuery);
1
+ /*! buddypress - v2.1.0 - 2015-01-22 9:58:49 PM UTC - https://wordpress.org/plugins/buddypress/ */
2
  !function(a){var b,c=[];a.fn.bp_mentions=function(d){a.isArray(d)&&(d={data:d});var e={delay:200,hide_without_suffix:!0,insert_tpl:"</>${atwho-data-value}</>",limit:10,start_with_space:!1,suffix:"",callbacks:{filter:function(a,b,c){var d,e,f,g=[],h=new RegExp("^"+a+"| "+a,"ig");for(e=0,f=b.length;f>e;e++)d=b[e],d[c].toLowerCase().match(h)&&g.push(d);return g},highlighter:function(a,b){if(!b)return a;var c=new RegExp(">(\\s*|[\\w\\s]*)("+this.at.replace("+","\\+")+"?"+b.replace("+","\\+")+")([\\w ]*)\\s*<","ig");return a.replace(c,function(a,b,c,d){return">"+b+"<strong>"+c+"</strong>"+d+"<"})},before_reposition:function(b){var c,d,e,f,g=a("#atwho-ground-"+this.id+" .atwho-view"),h=a("body"),i=this.$inputor.data("atwho");"undefined"!==i&&"undefined"!==i.iframe&&null!==i.iframe?(c=this.$inputor.caret("offset",{iframe:i.iframe}),e=a(i.iframe).offset(),"undefined"!==e&&(c.left+=e.left,c.top+=e.top)):c=this.$inputor.caret("offset"),c.left>h.width()/2?(g.addClass("right"),f=c.left-b.left-this.view.$el.width()):(g.removeClass("right"),f=c.left-b.left+1),h.width()<=400&&a(document).scrollTop(c.top-6),d=parseInt(this.$inputor.css("line-height").substr(0,this.$inputor.css("line-height").length-2),10),(!d||5>d)&&(d=19),b.top=c.top+d,b.left+=f},inserting_wrapper:function(a,b,c){return""+b+c}}},f={callbacks:{remote_filter:function(d,e){var f=a(this),g={};return b=c[d],"object"==typeof b?void e(b):(f.xhr&&f.xhr.abort(),g={action:"bp_get_suggestions",term:d,type:"members"},a.isNumeric(this.$inputor.data("suggestions-group-id"))&&(g["group-id"]=parseInt(this.$inputor.data("suggestions-group-id"),10)),void(f.xhr=a.getJSON(ajaxurl,g).done(function(b){if(b.success){var f=a.map(b.data,function(a){return a.search=a.search||a.ID+" "+a.name,a});c[d]=f,e(f)}})))}},data:a.map(d.data,function(a){return a.search=a.search||a.ID+" "+a.name,a}),at:"@",search_key:"search",tpl:'<li data-value="@${ID}"><img src="${image}" /><span class="username">@${ID}</span><small>${name}</small></li>'},g=a.extend(!0,{},e,f,d);return a.fn.atwho.call(this,g)},a(document).ready(function(){var b,c=0,d=[];"object"==typeof window.BP_Suggestions&&(d=window.BP_Suggestions.friends||d),b=function(){return(4>c||!a("body").hasClass("wp-admin"))&&(c++,"undefined"==typeof window.tinyMCE||null===window.tinyMCE.activeEditor||"undefined"==typeof window.tinyMCE.activeEditor)?void setTimeout(b,500):void a(window.tinyMCE.activeEditor.contentDocument.activeElement).atwho("setIframe",a("#content_ifr")[0]).bp_mentions(d)},a(".bp-suggestions, #comments form textarea, .wp-editor-area").bp_mentions(d),b()})}(jQuery);
bp-blogs/bp-blogs-activity.php CHANGED
@@ -117,35 +117,68 @@ function bp_blogs_format_activity_action_new_blog_post( $action, $activity ) {
117
  bp_blogs_update_blogmeta( $activity->item_id, 'name', $blog_name );
118
  }
119
 
120
- if ( empty( $activity->post_url ) ) {
121
- $post_url = add_query_arg( 'p', $activity->secondary_item_id, trailingslashit( $blog_url ) );
122
- } else {
 
 
 
 
 
 
 
123
  $post_url = $activity->post_url;
124
- }
125
 
126
- if ( empty( $activity->post_title ) ) {
127
- $post_title = bp_activity_get_meta( $activity->id, 'post_title' );
 
 
 
128
  } else {
 
 
 
 
 
129
  $post_title = $activity->post_title;
 
 
 
 
130
  }
131
 
132
- // Should only be empty at the time of post creation
 
 
 
133
  if ( empty( $post_title ) ) {
 
 
 
134
  switch_to_blog( $activity->item_id );
135
 
136
  $post = get_post( $activity->secondary_item_id );
137
  if ( is_a( $post, 'WP_Post' ) ) {
138
- $post_title = $post->post_title;
139
- bp_activity_update_meta( $activity->id, 'post_title', $post_title );
 
 
 
 
 
 
 
140
  }
141
 
142
  restore_current_blog();
143
  }
144
 
 
145
  $post_link = '<a href="' . $post_url . '">' . $post_title . '</a>';
146
 
147
  $user_link = bp_core_get_userlink( $activity->user_id );
148
 
 
149
  if ( is_multisite() ) {
150
  $action = sprintf( __( '%1$s wrote a new post, %2$s, on the site %3$s', 'buddypress' ), $user_link, $post_link, '<a href="' . esc_url( $blog_url ) . '">' . esc_html( $blog_name ) . '</a>' );
151
  } else {
117
  bp_blogs_update_blogmeta( $activity->item_id, 'name', $blog_name );
118
  }
119
 
120
+ /**
121
+ * When the post is published we are faking an activity object
122
+ * to which we add 2 properties :
123
+ * - the post url
124
+ * - the post title
125
+ * This is done to build the 'post link' part of the activity
126
+ * action string.
127
+ * NB: in this case the activity has not yet been created.
128
+ */
129
+ if ( isset( $activity->post_url ) ) {
130
  $post_url = $activity->post_url;
 
131
 
132
+ /**
133
+ * The post_url property is not set, we need to build the url
134
+ * thanks to the post id which is also saved as the secondary
135
+ * item id property of the activity object.
136
+ */
137
  } else {
138
+ $post_url = add_query_arg( 'p', $activity->secondary_item_id, trailingslashit( $blog_url ) );
139
+ }
140
+
141
+ // Should be the case when the post has just been published
142
+ if ( isset( $activity->post_title ) ) {
143
  $post_title = $activity->post_title;
144
+
145
+ // If activity already exists try to get the post title from activity meta
146
+ } else if ( ! empty( $activity->id ) ) {
147
+ $post_title = bp_activity_get_meta( $activity->id, 'post_title' );
148
  }
149
 
150
+ /**
151
+ * In case the post was published without a title
152
+ * or the activity meta was not found
153
+ */
154
  if ( empty( $post_title ) ) {
155
+ // Defaults to no title
156
+ $post_title = esc_html__( '(no title)', 'buddypress' );
157
+
158
  switch_to_blog( $activity->item_id );
159
 
160
  $post = get_post( $activity->secondary_item_id );
161
  if ( is_a( $post, 'WP_Post' ) ) {
162
+ // Does the post have a title ?
163
+ if ( ! empty( $post->post_title ) ) {
164
+ $post_title = $post->post_title;
165
+ }
166
+
167
+ // Make sure the activity exists before saving the post title in activity meta
168
+ if ( ! empty( $activity->id ) ) {
169
+ bp_activity_update_meta( $activity->id, 'post_title', $post_title );
170
+ }
171
  }
172
 
173
  restore_current_blog();
174
  }
175
 
176
+ // Build the 'post link' part of the activity action string
177
  $post_link = '<a href="' . $post_url . '">' . $post_title . '</a>';
178
 
179
  $user_link = bp_core_get_userlink( $activity->user_id );
180
 
181
+ // Build the complete activity action string
182
  if ( is_multisite() ) {
183
  $action = sprintf( __( '%1$s wrote a new post, %2$s, on the site %3$s', 'buddypress' ), $user_link, $post_link, '<a href="' . esc_url( $blog_url ) . '">' . esc_html( $blog_name ) . '</a>' );
184
  } else {
bp-core/admin/css/common-rtl.min.css CHANGED
@@ -1,2 +1,2 @@
1
- /*! buddypress - v2.1.0 - 2015-01-15 12:34:34 AM UTC - https://wordpress.org/plugins/buddypress/ */
2
  body.site-users-php th#role,body.users-php th#role,body.users_page_bp-signups th#count_sent{width:10%}body.site-users-php th#email,body.site-users-php th#name,body.users-php th#email,body.users-php th#name,body.users-php th#registered,body.users_page_bp-signups th#date_sent,body.users_page_bp-signups th#email,body.users_page_bp-signups th#name,body.users_page_bp-signups th#registered{width:15%}body.users-php th#blogs,body.users_page_bp-signups th#blogs{width:20%}body.users_page_bp-signups td.count_sent,body.users_page_bp-signups th.column-count_sent{text-align:center}body.branch-3-6 div#icon-buddypress,body.branch-3-7 div#icon-buddypress{background:url(../images/icons32.png) -370px -6px no-repeat}body.branch-3-6 div#icon-buddypress-activity,body.branch-3-7 div#icon-buddypress-activity{background:url(../images/icons32.png) -10px -6px no-repeat}body.branch-3-6 div#icon-buddypress-groups,body.branch-3-7 div#icon-buddypress-groups{background:url(../images/icons32.png) -250px -6px no-repeat}body.branch-3-6 ul#adminmenu li.toplevel_page_bp-components .wp-menu-image,body.branch-3-6 ul#adminmenu li.toplevel_page_bp-general-settings .wp-menu-image,body.branch-3-7 ul#adminmenu li.toplevel_page_bp-components .wp-menu-image,body.branch-3-7 ul#adminmenu li.toplevel_page_bp-general-settings .wp-menu-image{background-image:url(../images/menu.png)!important;background-position:-178px -34px}body.branch-3-6 ul#adminmenu li.toplevel_page_bp-components.wp-has-current-submenu .wp-menu-image,body.branch-3-6 ul#adminmenu li.toplevel_page_bp-components:hover .wp-menu-image,body.branch-3-6 ul#adminmenu li.toplevel_page_bp-general-settings.wp-has-current-submenu .wp-menu-image,body.branch-3-6 ul#adminmenu li.toplevel_page_bp-general-settings:hover .wp-menu-image,body.branch-3-7 ul#adminmenu li.toplevel_page_bp-components.wp-has-current-submenu .wp-menu-image,body.branch-3-7 ul#adminmenu li.toplevel_page_bp-components:hover .wp-menu-image,body.branch-3-7 ul#adminmenu li.toplevel_page_bp-general-settings.wp-has-current-submenu .wp-menu-image,body.branch-3-7 ul#adminmenu li.toplevel_page_bp-general-settings:hover .wp-menu-image{background-position:-178px -2px}body.branch-3-6 ul#adminmenu li.toplevel_page_bp-activity .wp-menu-image,body.branch-3-6 ul#adminmenu li.toplevel_page_bp-activity_network .wp-menu-image,body.branch-3-7 ul#adminmenu li.toplevel_page_bp-activity .wp-menu-image,body.branch-3-7 ul#adminmenu li.toplevel_page_bp-activity_network .wp-menu-image{background-image:url(../images/menu.png);background-position:0 -34px}body.branch-3-6 ul#adminmenu li.toplevel_page_bp-activity.current .wp-menu-image,body.branch-3-6 ul#adminmenu li.toplevel_page_bp-activity.wp-has-current-submenu .wp-menu-image,body.branch-3-6 ul#adminmenu li.toplevel_page_bp-activity:hover .wp-menu-image,body.branch-3-6 ul#adminmenu li.toplevel_page_bp-activity_network.current .wp-menu-image,body.branch-3-6 ul#adminmenu li.toplevel_page_bp-activity_network.wp-has-current-submenu .wp-menu-image,body.branch-3-6 ul#adminmenu li.toplevel_page_bp-activity_network:hover .wp-menu-image,body.branch-3-7 ul#adminmenu li.toplevel_page_bp-activity.current .wp-menu-image,body.branch-3-7 ul#adminmenu li.toplevel_page_bp-activity.wp-has-current-submenu .wp-menu-image,body.branch-3-7 ul#adminmenu li.toplevel_page_bp-activity:hover .wp-menu-image,body.branch-3-7 ul#adminmenu li.toplevel_page_bp-activity_network.current .wp-menu-image,body.branch-3-7 ul#adminmenu li.toplevel_page_bp-activity_network.wp-has-current-submenu .wp-menu-image,body.branch-3-7 ul#adminmenu li.toplevel_page_bp-activity_network:hover .wp-menu-image{background-position:0 -2px}body.branch-3-6 ul#adminmenu li.toplevel_page_bp-groups .wp-menu-image,body.branch-3-6 ul#adminmenu li.toplevel_page_bp-groups_network .wp-menu-image,body.branch-3-7 ul#adminmenu li.toplevel_page_bp-groups .wp-menu-image,body.branch-3-7 ul#adminmenu li.toplevel_page_bp-groups_network .wp-menu-image{background-image:url(../images/menu.png);background-position:-61px -34px}body.branch-3-6 ul#adminmenu li.toplevel_page_bp-groups.current .wp-menu-image,body.branch-3-6 ul#adminmenu li.toplevel_page_bp-groups.wp-has-current-submenu .wp-menu-image,body.branch-3-6 ul#adminmenu li.toplevel_page_bp-groups:hover .wp-menu-image,body.branch-3-6 ul#adminmenu li.toplevel_page_bp-groups_network.current .wp-menu-image,body.branch-3-6 ul#adminmenu li.toplevel_page_bp-groups_network.wp-has-current-submenu .wp-menu-image,body.branch-3-6 ul#adminmenu li.toplevel_page_bp-groups_network:hover .wp-menu-image,body.branch-3-7 ul#adminmenu li.toplevel_page_bp-groups.current .wp-menu-image,body.branch-3-7 ul#adminmenu li.toplevel_page_bp-groups.wp-has-current-submenu .wp-menu-image,body.branch-3-7 ul#adminmenu li.toplevel_page_bp-groups:hover .wp-menu-image,body.branch-3-7 ul#adminmenu li.toplevel_page_bp-groups_network.current .wp-menu-image,body.branch-3-7 ul#adminmenu li.toplevel_page_bp-groups_network.wp-has-current-submenu .wp-menu-image,body.branch-3-7 ul#adminmenu li.toplevel_page_bp-groups_network:hover .wp-menu-image{background-position:-61px -2px}#adminmenu .toplevel_page_network-tools div.wp-menu-image:before{content:""}#adminmenu #toplevel_page_bp-activity .wp-menu-image:before,#adminmenu #toplevel_page_bp-activity_network .wp-menu-image:before,#adminmenu #toplevel_page_bp-activity_user .wp-menu-image:before{content:"\f452"}#adminmenu #toplevel_page_bp-groups .wp-menu-image:before,#adminmenu #toplevel_page_bp-groups_network .wp-menu-image:before,#adminmenu #toplevel_page_bp-groups_user .wp-menu-image:before{content:"\f456"}#adminmenu #toplevel_page_bp-notifications .wp-menu-image:before,#adminmenu #toplevel_page_bp-notifications_network .wp-menu-image:before,#adminmenu #toplevel_page_bp-notifications_user .wp-menu-image:before{content:"\f439"}#adminmenu #toplevel_page_bp-messages .wp-menu-image:before,#adminmenu #toplevel_page_bp-messages_network .wp-menu-image:before,#adminmenu #toplevel_page_bp-messages_user .wp-menu-image:before{content:"\f457"}#adminmenu #toplevel_page_bp-friends .wp-menu-image:before,#adminmenu #toplevel_page_bp-friends_network .wp-menu-image:before,#adminmenu #toplevel_page_bp-friends_user .wp-menu-image:before{content:"\f454"}#adminmenu #toplevel_page_bp-settings .wp-menu-image:before,#adminmenu #toplevel_page_bp-settings_network .wp-menu-image:before,#adminmenu #toplevel_page_bp-settings_user .wp-menu-image:before{content:"\f108"}#adminmenu li.toplevel_page_bp-components .wp-menu-image,#adminmenu li.toplevel_page_bp-general-settings .wp-menu-image{content:"\f448"}body.branch-3-6 #adminmenu #toplevel_page_bp-activity .wp-menu-image:before,body.branch-3-6 #adminmenu #toplevel_page_bp-activity_network .wp-menu-image:before,body.branch-3-6 #adminmenu #toplevel_page_bp-groups .wp-menu-image:before,body.branch-3-6 #adminmenu #toplevel_page_bp-groups_network .wp-menu-image:before,body.branch-3-6 #adminmenu li.toplevel_page_bp-components .wp-menu-image,body.branch-3-6 #adminmenu li.toplevel_page_bp-general-settings .wp-menu-image,body.branch-3-7 #adminmenu #toplevel_page_bp-activity .wp-menu-image:before,body.branch-3-7 #adminmenu #toplevel_page_bp-activity_network .wp-menu-image:before,body.branch-3-7 #adminmenu #toplevel_page_bp-groups .wp-menu-image:before,body.branch-3-7 #adminmenu #toplevel_page_bp-groups_network .wp-menu-image:before,body.branch-3-7 #adminmenu li.toplevel_page_bp-components .wp-menu-image,body.branch-3-7 #adminmenu li.toplevel_page_bp-general-settings .wp-menu-image{content:""}.settings_page_bp-components td.plugin-title span{float:right;width:18px;height:18px;margin-left:5px}.settings_page_bp-components td.plugin-title span:before{font-family:dashicons;font-size:18px}.settings_page_bp-components tr.activity td.plugin-title span:before{content:"\f452"}.settings_page_bp-components tr.notifications td.plugin-title span:before{content:"\f339"}.settings_page_bp-components tr.xprofile td.plugin-title span:before{content:"\f336"}.settings_page_bp-components tr.settings td.plugin-title span:before{content:"\f108"}.settings_page_bp-components tr.groups td.plugin-title span:before{content:"\f456"}.settings_page_bp-components tr.messages td.plugin-title span:before{content:"\f457"}.settings_page_bp-components tr.forums td.plugin-title span:before{content:"\f452"}.settings_page_bp-components tr.blogs td.plugin-title span:before{content:"\f120"}.settings_page_bp-components tr.friends td.plugin-title span:before{content:"\f454"}body.branch-3-6.settings_page_bp-components tr.activity td.plugin-title span:before,body.branch-3-6.settings_page_bp-components tr.blogs td.plugin-title span:before,body.branch-3-6.settings_page_bp-components tr.forums td.plugin-title span:before,body.branch-3-6.settings_page_bp-components tr.friends td.plugin-title span:before,body.branch-3-6.settings_page_bp-components tr.groups td.plugin-title span:before,body.branch-3-6.settings_page_bp-components tr.messages td.plugin-title span:before,body.branch-3-6.settings_page_bp-components tr.notifications td.plugin-title span:before,body.branch-3-6.settings_page_bp-components tr.settings td.plugin-title span:before,body.branch-3-6.settings_page_bp-components tr.xprofile td.plugin-title span:before,body.branch-3-7.settings_page_bp-components tr.activity td.plugin-title span:before,body.branch-3-7.settings_page_bp-components tr.blogs td.plugin-title span:before,body.branch-3-7.settings_page_bp-components tr.forums td.plugin-title span:before,body.branch-3-7.settings_page_bp-components tr.friends td.plugin-title span:before,body.branch-3-7.settings_page_bp-components tr.groups td.plugin-title span:before,body.branch-3-7.settings_page_bp-components tr.messages td.plugin-title span:before,body.branch-3-7.settings_page_bp-components tr.notifications td.plugin-title span:before,body.branch-3-7.settings_page_bp-components tr.settings td.plugin-title span:before,body.branch-3-7.settings_page_bp-components tr.xprofile td.plugin-title span:before{content:""}body.branch-3-6.settings_page_bp-components td.plugin-title span,body.branch-3-7.settings_page_bp-components td.plugin-title span{background-image:url(../images/menu.png);background-position:-4px -40px;background-repeat:no-repeat}body.branch-3-6.settings_page_bp-components tr.active td.plugin-title span,body.branch-3-7.settings_page_bp-components tr.active td.plugin-title span{background-position-y:-7px}body.branch-3-6.settings_page_bp-components tr.activity td.plugin-title span,body.branch-3-7.settings_page_bp-components tr.activity td.plugin-title span{background-position:-4px -40px}body.branch-3-6.settings_page_bp-components tr.activity.active td.plugin-title span,body.branch-3-7.settings_page_bp-components tr.activity.active td.plugin-title span{background-position:-4px -7px}body.branch-3-6.settings_page_bp-components tr.xprofile td.plugin-title span,body.branch-3-7.settings_page_bp-components tr.xprofile td.plugin-title span{background-image:url(../images/menu-wp.png);background-position:-305px -40px}body.branch-3-6.settings_page_bp-components tr.xprofile.active td.plugin-title span,body.branch-3-7.settings_page_bp-components tr.xprofile.active td.plugin-title span{background-position:-305px -7px}body.branch-3-6.settings_page_bp-components tr.settings td.plugin-title span,body.branch-3-7.settings_page_bp-components tr.settings td.plugin-title span{background-image:url(../images/menu-wp.png);background-position:-334px -40px}body.branch-3-6.settings_page_bp-components tr.settings.active td.plugin-title span,body.branch-3-7.settings_page_bp-components tr.settings.active td.plugin-title span{background-position:-334px -7px}body.branch-3-6.settings_page_bp-components tr.groups td.plugin-title span,body.branch-3-7.settings_page_bp-components tr.groups td.plugin-title span{background-position:-66px -40px}body.branch-3-6.settings_page_bp-components tr.groups.active td.plugin-title span,body.branch-3-7.settings_page_bp-components tr.groups.active td.plugin-title span{background-position:-66px -7px}body.branch-3-6.settings_page_bp-components tr.messages td.plugin-title span,body.branch-3-7.settings_page_bp-components tr.messages td.plugin-title span{background-position:-154px -40px}body.branch-3-6.settings_page_bp-components tr.messages.active td.plugin-title span,body.branch-3-7.settings_page_bp-components tr.messages.active td.plugin-title span{background-position:-154px -7px}body.branch-3-6.settings_page_bp-components tr.forums td.plugin-title span,body.branch-3-7.settings_page_bp-components tr.forums td.plugin-title span{background-image:url(../images/menu-wp.png);background-position:-36px -40px}body.branch-3-6.settings_page_bp-components tr.forums.active td.plugin-title span,body.branch-3-7.settings_page_bp-components tr.forums.active td.plugin-title span{background-position:-36px -7px}body.branch-3-6.settings_page_bp-components tr.blogs td.plugin-title span,body.branch-3-7.settings_page_bp-components tr.blogs td.plugin-title span{background-position:-125px -40px}body.branch-3-6.settings_page_bp-components tr.blogs.active td.plugin-title span,body.branch-3-7.settings_page_bp-components tr.blogs.active td.plugin-title span{background-position:-125px -7px}body.branch-3-6.settings_page_bp-components tr.friends td.plugin-title span,body.branch-3-7.settings_page_bp-components tr.friends td.plugin-title span{background-position:-95px -40px}body.branch-3-6.settings_page_bp-components tr.friends.active td.plugin-title span,body.branch-3-7.settings_page_bp-components tr.friends.active td.plugin-title span{background-position:-95px -7px}body.branch-3-6.settings_page_bp-components tr.core td.plugin-title span,body.branch-3-7.settings_page_bp-components tr.core td.plugin-title span{background-position:-184px -40px}body.branch-3-6.settings_page_bp-components tr.core.active td.plugin-title span,body.branch-3-7.settings_page_bp-components tr.core.active td.plugin-title span{background-position:-184px -7px}body.branch-3-6.settings_page_bp-components tr.members td.plugin-title span,body.branch-3-7.settings_page_bp-components tr.members td.plugin-title span{background-position:-36px -40px}body.branch-3-6.settings_page_bp-components tr.members.active td.plugin-title span,body.branch-3-7.settings_page_bp-components tr.members.active td.plugin-title span{background-position:-36px -7px}#bp-admin-component-form .widefat th{display:table-cell;vertical-align:top}.bp-badge{font:400 150px/1 dashicons!important;color:#D84800;display:inline-block}.bp-badge:before{content:"\f448"}.about-wrap .bp-badge{position:absolute;top:0;left:0}@media only screen and (-webkit-min-device-pixel-ratio:1.5){body.branch-3-6 div#icon-buddypress,body.branch-3-6 div#icon-buddypress-activity,body.branch-3-6 div#icon-buddypress-groups,body.branch-3-7 div#icon-buddypress,body.branch-3-7 div#icon-buddypress-activity,body.branch-3-7 div#icon-buddypress-groups{background-image:url(../images/icons64.png);background-size:419px 45px}body.branch-3-6 ul#adminmenu li.toplevel_page_bp-activity .wp-menu-image,body.branch-3-6 ul#adminmenu li.toplevel_page_bp-activity_network .wp-menu-image,body.branch-3-6 ul#adminmenu li.toplevel_page_bp-components .wp-menu-image,body.branch-3-6 ul#adminmenu li.toplevel_page_bp-general-settings .wp-menu-image,body.branch-3-6 ul#adminmenu li.toplevel_page_bp-groups .wp-menu-image,body.branch-3-6 ul#adminmenu li.toplevel_page_bp-groups_network .wp-menu-image,body.branch-3-7 ul#adminmenu li.toplevel_page_bp-activity .wp-menu-image,body.branch-3-7 ul#adminmenu li.toplevel_page_bp-activity_network .wp-menu-image,body.branch-3-7 ul#adminmenu li.toplevel_page_bp-components .wp-menu-image,body.branch-3-7 ul#adminmenu li.toplevel_page_bp-general-settings .wp-menu-image,body.branch-3-7 ul#adminmenu li.toplevel_page_bp-groups .wp-menu-image,body.branch-3-7 ul#adminmenu li.toplevel_page_bp-groups_network .wp-menu-image{background-image:url(../images/menu-2x.png)!important;background-size:209px 64px}}
1
+ /*! buddypress - v2.1.0 - 2015-01-22 9:58:52 PM UTC - https://wordpress.org/plugins/buddypress/ */
2
  body.site-users-php th#role,body.users-php th#role,body.users_page_bp-signups th#count_sent{width:10%}body.site-users-php th#email,body.site-users-php th#name,body.users-php th#email,body.users-php th#name,body.users-php th#registered,body.users_page_bp-signups th#date_sent,body.users_page_bp-signups th#email,body.users_page_bp-signups th#name,body.users_page_bp-signups th#registered{width:15%}body.users-php th#blogs,body.users_page_bp-signups th#blogs{width:20%}body.users_page_bp-signups td.count_sent,body.users_page_bp-signups th.column-count_sent{text-align:center}body.branch-3-6 div#icon-buddypress,body.branch-3-7 div#icon-buddypress{background:url(../images/icons32.png) -370px -6px no-repeat}body.branch-3-6 div#icon-buddypress-activity,body.branch-3-7 div#icon-buddypress-activity{background:url(../images/icons32.png) -10px -6px no-repeat}body.branch-3-6 div#icon-buddypress-groups,body.branch-3-7 div#icon-buddypress-groups{background:url(../images/icons32.png) -250px -6px no-repeat}body.branch-3-6 ul#adminmenu li.toplevel_page_bp-components .wp-menu-image,body.branch-3-6 ul#adminmenu li.toplevel_page_bp-general-settings .wp-menu-image,body.branch-3-7 ul#adminmenu li.toplevel_page_bp-components .wp-menu-image,body.branch-3-7 ul#adminmenu li.toplevel_page_bp-general-settings .wp-menu-image{background-image:url(../images/menu.png)!important;background-position:-178px -34px}body.branch-3-6 ul#adminmenu li.toplevel_page_bp-components.wp-has-current-submenu .wp-menu-image,body.branch-3-6 ul#adminmenu li.toplevel_page_bp-components:hover .wp-menu-image,body.branch-3-6 ul#adminmenu li.toplevel_page_bp-general-settings.wp-has-current-submenu .wp-menu-image,body.branch-3-6 ul#adminmenu li.toplevel_page_bp-general-settings:hover .wp-menu-image,body.branch-3-7 ul#adminmenu li.toplevel_page_bp-components.wp-has-current-submenu .wp-menu-image,body.branch-3-7 ul#adminmenu li.toplevel_page_bp-components:hover .wp-menu-image,body.branch-3-7 ul#adminmenu li.toplevel_page_bp-general-settings.wp-has-current-submenu .wp-menu-image,body.branch-3-7 ul#adminmenu li.toplevel_page_bp-general-settings:hover .wp-menu-image{background-position:-178px -2px}body.branch-3-6 ul#adminmenu li.toplevel_page_bp-activity .wp-menu-image,body.branch-3-6 ul#adminmenu li.toplevel_page_bp-activity_network .wp-menu-image,body.branch-3-7 ul#adminmenu li.toplevel_page_bp-activity .wp-menu-image,body.branch-3-7 ul#adminmenu li.toplevel_page_bp-activity_network .wp-menu-image{background-image:url(../images/menu.png);background-position:0 -34px}body.branch-3-6 ul#adminmenu li.toplevel_page_bp-activity.current .wp-menu-image,body.branch-3-6 ul#adminmenu li.toplevel_page_bp-activity.wp-has-current-submenu .wp-menu-image,body.branch-3-6 ul#adminmenu li.toplevel_page_bp-activity:hover .wp-menu-image,body.branch-3-6 ul#adminmenu li.toplevel_page_bp-activity_network.current .wp-menu-image,body.branch-3-6 ul#adminmenu li.toplevel_page_bp-activity_network.wp-has-current-submenu .wp-menu-image,body.branch-3-6 ul#adminmenu li.toplevel_page_bp-activity_network:hover .wp-menu-image,body.branch-3-7 ul#adminmenu li.toplevel_page_bp-activity.current .wp-menu-image,body.branch-3-7 ul#adminmenu li.toplevel_page_bp-activity.wp-has-current-submenu .wp-menu-image,body.branch-3-7 ul#adminmenu li.toplevel_page_bp-activity:hover .wp-menu-image,body.branch-3-7 ul#adminmenu li.toplevel_page_bp-activity_network.current .wp-menu-image,body.branch-3-7 ul#adminmenu li.toplevel_page_bp-activity_network.wp-has-current-submenu .wp-menu-image,body.branch-3-7 ul#adminmenu li.toplevel_page_bp-activity_network:hover .wp-menu-image{background-position:0 -2px}body.branch-3-6 ul#adminmenu li.toplevel_page_bp-groups .wp-menu-image,body.branch-3-6 ul#adminmenu li.toplevel_page_bp-groups_network .wp-menu-image,body.branch-3-7 ul#adminmenu li.toplevel_page_bp-groups .wp-menu-image,body.branch-3-7 ul#adminmenu li.toplevel_page_bp-groups_network .wp-menu-image{background-image:url(../images/menu.png);background-position:-61px -34px}body.branch-3-6 ul#adminmenu li.toplevel_page_bp-groups.current .wp-menu-image,body.branch-3-6 ul#adminmenu li.toplevel_page_bp-groups.wp-has-current-submenu .wp-menu-image,body.branch-3-6 ul#adminmenu li.toplevel_page_bp-groups:hover .wp-menu-image,body.branch-3-6 ul#adminmenu li.toplevel_page_bp-groups_network.current .wp-menu-image,body.branch-3-6 ul#adminmenu li.toplevel_page_bp-groups_network.wp-has-current-submenu .wp-menu-image,body.branch-3-6 ul#adminmenu li.toplevel_page_bp-groups_network:hover .wp-menu-image,body.branch-3-7 ul#adminmenu li.toplevel_page_bp-groups.current .wp-menu-image,body.branch-3-7 ul#adminmenu li.toplevel_page_bp-groups.wp-has-current-submenu .wp-menu-image,body.branch-3-7 ul#adminmenu li.toplevel_page_bp-groups:hover .wp-menu-image,body.branch-3-7 ul#adminmenu li.toplevel_page_bp-groups_network.current .wp-menu-image,body.branch-3-7 ul#adminmenu li.toplevel_page_bp-groups_network.wp-has-current-submenu .wp-menu-image,body.branch-3-7 ul#adminmenu li.toplevel_page_bp-groups_network:hover .wp-menu-image{background-position:-61px -2px}#adminmenu .toplevel_page_network-tools div.wp-menu-image:before{content:""}#adminmenu #toplevel_page_bp-activity .wp-menu-image:before,#adminmenu #toplevel_page_bp-activity_network .wp-menu-image:before,#adminmenu #toplevel_page_bp-activity_user .wp-menu-image:before{content:"\f452"}#adminmenu #toplevel_page_bp-groups .wp-menu-image:before,#adminmenu #toplevel_page_bp-groups_network .wp-menu-image:before,#adminmenu #toplevel_page_bp-groups_user .wp-menu-image:before{content:"\f456"}#adminmenu #toplevel_page_bp-notifications .wp-menu-image:before,#adminmenu #toplevel_page_bp-notifications_network .wp-menu-image:before,#adminmenu #toplevel_page_bp-notifications_user .wp-menu-image:before{content:"\f439"}#adminmenu #toplevel_page_bp-messages .wp-menu-image:before,#adminmenu #toplevel_page_bp-messages_network .wp-menu-image:before,#adminmenu #toplevel_page_bp-messages_user .wp-menu-image:before{content:"\f457"}#adminmenu #toplevel_page_bp-friends .wp-menu-image:before,#adminmenu #toplevel_page_bp-friends_network .wp-menu-image:before,#adminmenu #toplevel_page_bp-friends_user .wp-menu-image:before{content:"\f454"}#adminmenu #toplevel_page_bp-settings .wp-menu-image:before,#adminmenu #toplevel_page_bp-settings_network .wp-menu-image:before,#adminmenu #toplevel_page_bp-settings_user .wp-menu-image:before{content:"\f108"}#adminmenu li.toplevel_page_bp-components .wp-menu-image,#adminmenu li.toplevel_page_bp-general-settings .wp-menu-image{content:"\f448"}body.branch-3-6 #adminmenu #toplevel_page_bp-activity .wp-menu-image:before,body.branch-3-6 #adminmenu #toplevel_page_bp-activity_network .wp-menu-image:before,body.branch-3-6 #adminmenu #toplevel_page_bp-groups .wp-menu-image:before,body.branch-3-6 #adminmenu #toplevel_page_bp-groups_network .wp-menu-image:before,body.branch-3-6 #adminmenu li.toplevel_page_bp-components .wp-menu-image,body.branch-3-6 #adminmenu li.toplevel_page_bp-general-settings .wp-menu-image,body.branch-3-7 #adminmenu #toplevel_page_bp-activity .wp-menu-image:before,body.branch-3-7 #adminmenu #toplevel_page_bp-activity_network .wp-menu-image:before,body.branch-3-7 #adminmenu #toplevel_page_bp-groups .wp-menu-image:before,body.branch-3-7 #adminmenu #toplevel_page_bp-groups_network .wp-menu-image:before,body.branch-3-7 #adminmenu li.toplevel_page_bp-components .wp-menu-image,body.branch-3-7 #adminmenu li.toplevel_page_bp-general-settings .wp-menu-image{content:""}.settings_page_bp-components td.plugin-title span{float:right;width:18px;height:18px;margin-left:5px}.settings_page_bp-components td.plugin-title span:before{font-family:dashicons;font-size:18px}.settings_page_bp-components tr.activity td.plugin-title span:before{content:"\f452"}.settings_page_bp-components tr.notifications td.plugin-title span:before{content:"\f339"}.settings_page_bp-components tr.xprofile td.plugin-title span:before{content:"\f336"}.settings_page_bp-components tr.settings td.plugin-title span:before{content:"\f108"}.settings_page_bp-components tr.groups td.plugin-title span:before{content:"\f456"}.settings_page_bp-components tr.messages td.plugin-title span:before{content:"\f457"}.settings_page_bp-components tr.forums td.plugin-title span:before{content:"\f452"}.settings_page_bp-components tr.blogs td.plugin-title span:before{content:"\f120"}.settings_page_bp-components tr.friends td.plugin-title span:before{content:"\f454"}body.branch-3-6.settings_page_bp-components tr.activity td.plugin-title span:before,body.branch-3-6.settings_page_bp-components tr.blogs td.plugin-title span:before,body.branch-3-6.settings_page_bp-components tr.forums td.plugin-title span:before,body.branch-3-6.settings_page_bp-components tr.friends td.plugin-title span:before,body.branch-3-6.settings_page_bp-components tr.groups td.plugin-title span:before,body.branch-3-6.settings_page_bp-components tr.messages td.plugin-title span:before,body.branch-3-6.settings_page_bp-components tr.notifications td.plugin-title span:before,body.branch-3-6.settings_page_bp-components tr.settings td.plugin-title span:before,body.branch-3-6.settings_page_bp-components tr.xprofile td.plugin-title span:before,body.branch-3-7.settings_page_bp-components tr.activity td.plugin-title span:before,body.branch-3-7.settings_page_bp-components tr.blogs td.plugin-title span:before,body.branch-3-7.settings_page_bp-components tr.forums td.plugin-title span:before,body.branch-3-7.settings_page_bp-components tr.friends td.plugin-title span:before,body.branch-3-7.settings_page_bp-components tr.groups td.plugin-title span:before,body.branch-3-7.settings_page_bp-components tr.messages td.plugin-title span:before,body.branch-3-7.settings_page_bp-components tr.notifications td.plugin-title span:before,body.branch-3-7.settings_page_bp-components tr.settings td.plugin-title span:before,body.branch-3-7.settings_page_bp-components tr.xprofile td.plugin-title span:before{content:""}body.branch-3-6.settings_page_bp-components td.plugin-title span,body.branch-3-7.settings_page_bp-components td.plugin-title span{background-image:url(../images/menu.png);background-position:-4px -40px;background-repeat:no-repeat}body.branch-3-6.settings_page_bp-components tr.active td.plugin-title span,body.branch-3-7.settings_page_bp-components tr.active td.plugin-title span{background-position-y:-7px}body.branch-3-6.settings_page_bp-components tr.activity td.plugin-title span,body.branch-3-7.settings_page_bp-components tr.activity td.plugin-title span{background-position:-4px -40px}body.branch-3-6.settings_page_bp-components tr.activity.active td.plugin-title span,body.branch-3-7.settings_page_bp-components tr.activity.active td.plugin-title span{background-position:-4px -7px}body.branch-3-6.settings_page_bp-components tr.xprofile td.plugin-title span,body.branch-3-7.settings_page_bp-components tr.xprofile td.plugin-title span{background-image:url(../images/menu-wp.png);background-position:-305px -40px}body.branch-3-6.settings_page_bp-components tr.xprofile.active td.plugin-title span,body.branch-3-7.settings_page_bp-components tr.xprofile.active td.plugin-title span{background-position:-305px -7px}body.branch-3-6.settings_page_bp-components tr.settings td.plugin-title span,body.branch-3-7.settings_page_bp-components tr.settings td.plugin-title span{background-image:url(../images/menu-wp.png);background-position:-334px -40px}body.branch-3-6.settings_page_bp-components tr.settings.active td.plugin-title span,body.branch-3-7.settings_page_bp-components tr.settings.active td.plugin-title span{background-position:-334px -7px}body.branch-3-6.settings_page_bp-components tr.groups td.plugin-title span,body.branch-3-7.settings_page_bp-components tr.groups td.plugin-title span{background-position:-66px -40px}body.branch-3-6.settings_page_bp-components tr.groups.active td.plugin-title span,body.branch-3-7.settings_page_bp-components tr.groups.active td.plugin-title span{background-position:-66px -7px}body.branch-3-6.settings_page_bp-components tr.messages td.plugin-title span,body.branch-3-7.settings_page_bp-components tr.messages td.plugin-title span{background-position:-154px -40px}body.branch-3-6.settings_page_bp-components tr.messages.active td.plugin-title span,body.branch-3-7.settings_page_bp-components tr.messages.active td.plugin-title span{background-position:-154px -7px}body.branch-3-6.settings_page_bp-components tr.forums td.plugin-title span,body.branch-3-7.settings_page_bp-components tr.forums td.plugin-title span{background-image:url(../images/menu-wp.png);background-position:-36px -40px}body.branch-3-6.settings_page_bp-components tr.forums.active td.plugin-title span,body.branch-3-7.settings_page_bp-components tr.forums.active td.plugin-title span{background-position:-36px -7px}body.branch-3-6.settings_page_bp-components tr.blogs td.plugin-title span,body.branch-3-7.settings_page_bp-components tr.blogs td.plugin-title span{background-position:-125px -40px}body.branch-3-6.settings_page_bp-components tr.blogs.active td.plugin-title span,body.branch-3-7.settings_page_bp-components tr.blogs.active td.plugin-title span{background-position:-125px -7px}body.branch-3-6.settings_page_bp-components tr.friends td.plugin-title span,body.branch-3-7.settings_page_bp-components tr.friends td.plugin-title span{background-position:-95px -40px}body.branch-3-6.settings_page_bp-components tr.friends.active td.plugin-title span,body.branch-3-7.settings_page_bp-components tr.friends.active td.plugin-title span{background-position:-95px -7px}body.branch-3-6.settings_page_bp-components tr.core td.plugin-title span,body.branch-3-7.settings_page_bp-components tr.core td.plugin-title span{background-position:-184px -40px}body.branch-3-6.settings_page_bp-components tr.core.active td.plugin-title span,body.branch-3-7.settings_page_bp-components tr.core.active td.plugin-title span{background-position:-184px -7px}body.branch-3-6.settings_page_bp-components tr.members td.plugin-title span,body.branch-3-7.settings_page_bp-components tr.members td.plugin-title span{background-position:-36px -40px}body.branch-3-6.settings_page_bp-components tr.members.active td.plugin-title span,body.branch-3-7.settings_page_bp-components tr.members.active td.plugin-title span{background-position:-36px -7px}#bp-admin-component-form .widefat th{display:table-cell;vertical-align:top}.bp-badge{font:400 150px/1 dashicons!important;color:#D84800;display:inline-block}.bp-badge:before{content:"\f448"}.about-wrap .bp-badge{position:absolute;top:0;left:0}@media only screen and (-webkit-min-device-pixel-ratio:1.5){body.branch-3-6 div#icon-buddypress,body.branch-3-6 div#icon-buddypress-activity,body.branch-3-6 div#icon-buddypress-groups,body.branch-3-7 div#icon-buddypress,body.branch-3-7 div#icon-buddypress-activity,body.branch-3-7 div#icon-buddypress-groups{background-image:url(../images/icons64.png);background-size:419px 45px}body.branch-3-6 ul#adminmenu li.toplevel_page_bp-activity .wp-menu-image,body.branch-3-6 ul#adminmenu li.toplevel_page_bp-activity_network .wp-menu-image,body.branch-3-6 ul#adminmenu li.toplevel_page_bp-components .wp-menu-image,body.branch-3-6 ul#adminmenu li.toplevel_page_bp-general-settings .wp-menu-image,body.branch-3-6 ul#adminmenu li.toplevel_page_bp-groups .wp-menu-image,body.branch-3-6 ul#adminmenu li.toplevel_page_bp-groups_network .wp-menu-image,body.branch-3-7 ul#adminmenu li.toplevel_page_bp-activity .wp-menu-image,body.branch-3-7 ul#adminmenu li.toplevel_page_bp-activity_network .wp-menu-image,body.branch-3-7 ul#adminmenu li.toplevel_page_bp-components .wp-menu-image,body.branch-3-7 ul#adminmenu li.toplevel_page_bp-general-settings .wp-menu-image,body.branch-3-7 ul#adminmenu li.toplevel_page_bp-groups .wp-menu-image,body.branch-3-7 ul#adminmenu li.toplevel_page_bp-groups_network .wp-menu-image{background-image:url(../images/menu-2x.png)!important;background-size:209px 64px}}
bp-core/admin/css/common.min.css CHANGED
@@ -1,2 +1,2 @@
1
- /*! buddypress - v2.1.0 - 2015-01-15 12:34:34 AM UTC - https://wordpress.org/plugins/buddypress/ */
2
  body.site-users-php th#role,body.users-php th#role,body.users_page_bp-signups th#count_sent{width:10%}body.site-users-php th#email,body.site-users-php th#name,body.users-php th#email,body.users-php th#name,body.users-php th#registered,body.users_page_bp-signups th#date_sent,body.users_page_bp-signups th#email,body.users_page_bp-signups th#name,body.users_page_bp-signups th#registered{width:15%}body.users-php th#blogs,body.users_page_bp-signups th#blogs{width:20%}body.users_page_bp-signups td.count_sent,body.users_page_bp-signups th.column-count_sent{text-align:center}body.branch-3-6 div#icon-buddypress,body.branch-3-7 div#icon-buddypress{background:url(../images/icons32.png) -370px -6px no-repeat}body.branch-3-6 div#icon-buddypress-activity,body.branch-3-7 div#icon-buddypress-activity{background:url(../images/icons32.png) -10px -6px no-repeat}body.branch-3-6 div#icon-buddypress-groups,body.branch-3-7 div#icon-buddypress-groups{background:url(../images/icons32.png) -250px -6px no-repeat}body.branch-3-6 ul#adminmenu li.toplevel_page_bp-components .wp-menu-image,body.branch-3-6 ul#adminmenu li.toplevel_page_bp-general-settings .wp-menu-image,body.branch-3-7 ul#adminmenu li.toplevel_page_bp-components .wp-menu-image,body.branch-3-7 ul#adminmenu li.toplevel_page_bp-general-settings .wp-menu-image{background-image:url(../images/menu.png)!important;background-position:-178px -34px}body.branch-3-6 ul#adminmenu li.toplevel_page_bp-components.wp-has-current-submenu .wp-menu-image,body.branch-3-6 ul#adminmenu li.toplevel_page_bp-components:hover .wp-menu-image,body.branch-3-6 ul#adminmenu li.toplevel_page_bp-general-settings.wp-has-current-submenu .wp-menu-image,body.branch-3-6 ul#adminmenu li.toplevel_page_bp-general-settings:hover .wp-menu-image,body.branch-3-7 ul#adminmenu li.toplevel_page_bp-components.wp-has-current-submenu .wp-menu-image,body.branch-3-7 ul#adminmenu li.toplevel_page_bp-components:hover .wp-menu-image,body.branch-3-7 ul#adminmenu li.toplevel_page_bp-general-settings.wp-has-current-submenu .wp-menu-image,body.branch-3-7 ul#adminmenu li.toplevel_page_bp-general-settings:hover .wp-menu-image{background-position:-178px -2px}body.branch-3-6 ul#adminmenu li.toplevel_page_bp-activity .wp-menu-image,body.branch-3-6 ul#adminmenu li.toplevel_page_bp-activity_network .wp-menu-image,body.branch-3-7 ul#adminmenu li.toplevel_page_bp-activity .wp-menu-image,body.branch-3-7 ul#adminmenu li.toplevel_page_bp-activity_network .wp-menu-image{background-image:url(../images/menu.png);background-position:0 -34px}body.branch-3-6 ul#adminmenu li.toplevel_page_bp-activity.current .wp-menu-image,body.branch-3-6 ul#adminmenu li.toplevel_page_bp-activity.wp-has-current-submenu .wp-menu-image,body.branch-3-6 ul#adminmenu li.toplevel_page_bp-activity:hover .wp-menu-image,body.branch-3-6 ul#adminmenu li.toplevel_page_bp-activity_network.current .wp-menu-image,body.branch-3-6 ul#adminmenu li.toplevel_page_bp-activity_network.wp-has-current-submenu .wp-menu-image,body.branch-3-6 ul#adminmenu li.toplevel_page_bp-activity_network:hover .wp-menu-image,body.branch-3-7 ul#adminmenu li.toplevel_page_bp-activity.current .wp-menu-image,body.branch-3-7 ul#adminmenu li.toplevel_page_bp-activity.wp-has-current-submenu .wp-menu-image,body.branch-3-7 ul#adminmenu li.toplevel_page_bp-activity:hover .wp-menu-image,body.branch-3-7 ul#adminmenu li.toplevel_page_bp-activity_network.current .wp-menu-image,body.branch-3-7 ul#adminmenu li.toplevel_page_bp-activity_network.wp-has-current-submenu .wp-menu-image,body.branch-3-7 ul#adminmenu li.toplevel_page_bp-activity_network:hover .wp-menu-image{background-position:0 -2px}body.branch-3-6 ul#adminmenu li.toplevel_page_bp-groups .wp-menu-image,body.branch-3-6 ul#adminmenu li.toplevel_page_bp-groups_network .wp-menu-image,body.branch-3-7 ul#adminmenu li.toplevel_page_bp-groups .wp-menu-image,body.branch-3-7 ul#adminmenu li.toplevel_page_bp-groups_network .wp-menu-image{background-image:url(../images/menu.png);background-position:-61px -34px}body.branch-3-6 ul#adminmenu li.toplevel_page_bp-groups.current .wp-menu-image,body.branch-3-6 ul#adminmenu li.toplevel_page_bp-groups.wp-has-current-submenu .wp-menu-image,body.branch-3-6 ul#adminmenu li.toplevel_page_bp-groups:hover .wp-menu-image,body.branch-3-6 ul#adminmenu li.toplevel_page_bp-groups_network.current .wp-menu-image,body.branch-3-6 ul#adminmenu li.toplevel_page_bp-groups_network.wp-has-current-submenu .wp-menu-image,body.branch-3-6 ul#adminmenu li.toplevel_page_bp-groups_network:hover .wp-menu-image,body.branch-3-7 ul#adminmenu li.toplevel_page_bp-groups.current .wp-menu-image,body.branch-3-7 ul#adminmenu li.toplevel_page_bp-groups.wp-has-current-submenu .wp-menu-image,body.branch-3-7 ul#adminmenu li.toplevel_page_bp-groups:hover .wp-menu-image,body.branch-3-7 ul#adminmenu li.toplevel_page_bp-groups_network.current .wp-menu-image,body.branch-3-7 ul#adminmenu li.toplevel_page_bp-groups_network.wp-has-current-submenu .wp-menu-image,body.branch-3-7 ul#adminmenu li.toplevel_page_bp-groups_network:hover .wp-menu-image{background-position:-61px -2px}#adminmenu .toplevel_page_network-tools div.wp-menu-image:before{content:""}#adminmenu #toplevel_page_bp-activity .wp-menu-image:before,#adminmenu #toplevel_page_bp-activity_network .wp-menu-image:before,#adminmenu #toplevel_page_bp-activity_user .wp-menu-image:before{content:"\f452"}#adminmenu #toplevel_page_bp-groups .wp-menu-image:before,#adminmenu #toplevel_page_bp-groups_network .wp-menu-image:before,#adminmenu #toplevel_page_bp-groups_user .wp-menu-image:before{content:"\f456"}#adminmenu #toplevel_page_bp-notifications .wp-menu-image:before,#adminmenu #toplevel_page_bp-notifications_network .wp-menu-image:before,#adminmenu #toplevel_page_bp-notifications_user .wp-menu-image:before{content:"\f439"}#adminmenu #toplevel_page_bp-messages .wp-menu-image:before,#adminmenu #toplevel_page_bp-messages_network .wp-menu-image:before,#adminmenu #toplevel_page_bp-messages_user .wp-menu-image:before{content:"\f457"}#adminmenu #toplevel_page_bp-friends .wp-menu-image:before,#adminmenu #toplevel_page_bp-friends_network .wp-menu-image:before,#adminmenu #toplevel_page_bp-friends_user .wp-menu-image:before{content:"\f454"}#adminmenu #toplevel_page_bp-settings .wp-menu-image:before,#adminmenu #toplevel_page_bp-settings_network .wp-menu-image:before,#adminmenu #toplevel_page_bp-settings_user .wp-menu-image:before{content:"\f108"}#adminmenu li.toplevel_page_bp-components .wp-menu-image,#adminmenu li.toplevel_page_bp-general-settings .wp-menu-image{content:"\f448"}body.branch-3-6 #adminmenu #toplevel_page_bp-activity .wp-menu-image:before,body.branch-3-6 #adminmenu #toplevel_page_bp-activity_network .wp-menu-image:before,body.branch-3-6 #adminmenu #toplevel_page_bp-groups .wp-menu-image:before,body.branch-3-6 #adminmenu #toplevel_page_bp-groups_network .wp-menu-image:before,body.branch-3-6 #adminmenu li.toplevel_page_bp-components .wp-menu-image,body.branch-3-6 #adminmenu li.toplevel_page_bp-general-settings .wp-menu-image,body.branch-3-7 #adminmenu #toplevel_page_bp-activity .wp-menu-image:before,body.branch-3-7 #adminmenu #toplevel_page_bp-activity_network .wp-menu-image:before,body.branch-3-7 #adminmenu #toplevel_page_bp-groups .wp-menu-image:before,body.branch-3-7 #adminmenu #toplevel_page_bp-groups_network .wp-menu-image:before,body.branch-3-7 #adminmenu li.toplevel_page_bp-components .wp-menu-image,body.branch-3-7 #adminmenu li.toplevel_page_bp-general-settings .wp-menu-image{content:""}.settings_page_bp-components td.plugin-title span{float:left;width:18px;height:18px;margin-right:5px}.settings_page_bp-components td.plugin-title span:before{font-family:dashicons;font-size:18px}.settings_page_bp-components tr.activity td.plugin-title span:before{content:"\f452"}.settings_page_bp-components tr.notifications td.plugin-title span:before{content:"\f339"}.settings_page_bp-components tr.xprofile td.plugin-title span:before{content:"\f336"}.settings_page_bp-components tr.settings td.plugin-title span:before{content:"\f108"}.settings_page_bp-components tr.groups td.plugin-title span:before{content:"\f456"}.settings_page_bp-components tr.messages td.plugin-title span:before{content:"\f457"}.settings_page_bp-components tr.forums td.plugin-title span:before{content:"\f452"}.settings_page_bp-components tr.blogs td.plugin-title span:before{content:"\f120"}.settings_page_bp-components tr.friends td.plugin-title span:before{content:"\f454"}body.branch-3-6.settings_page_bp-components tr.activity td.plugin-title span:before,body.branch-3-6.settings_page_bp-components tr.blogs td.plugin-title span:before,body.branch-3-6.settings_page_bp-components tr.forums td.plugin-title span:before,body.branch-3-6.settings_page_bp-components tr.friends td.plugin-title span:before,body.branch-3-6.settings_page_bp-components tr.groups td.plugin-title span:before,body.branch-3-6.settings_page_bp-components tr.messages td.plugin-title span:before,body.branch-3-6.settings_page_bp-components tr.notifications td.plugin-title span:before,body.branch-3-6.settings_page_bp-components tr.settings td.plugin-title span:before,body.branch-3-6.settings_page_bp-components tr.xprofile td.plugin-title span:before,body.branch-3-7.settings_page_bp-components tr.activity td.plugin-title span:before,body.branch-3-7.settings_page_bp-components tr.blogs td.plugin-title span:before,body.branch-3-7.settings_page_bp-components tr.forums td.plugin-title span:before,body.branch-3-7.settings_page_bp-components tr.friends td.plugin-title span:before,body.branch-3-7.settings_page_bp-components tr.groups td.plugin-title span:before,body.branch-3-7.settings_page_bp-components tr.messages td.plugin-title span:before,body.branch-3-7.settings_page_bp-components tr.notifications td.plugin-title span:before,body.branch-3-7.settings_page_bp-components tr.settings td.plugin-title span:before,body.branch-3-7.settings_page_bp-components tr.xprofile td.plugin-title span:before{content:""}body.branch-3-6.settings_page_bp-components td.plugin-title span,body.branch-3-7.settings_page_bp-components td.plugin-title span{background-image:url(../images/menu.png);background-position:-4px -40px;background-repeat:no-repeat}body.branch-3-6.settings_page_bp-components tr.active td.plugin-title span,body.branch-3-7.settings_page_bp-components tr.active td.plugin-title span{background-position-y:-7px}body.branch-3-6.settings_page_bp-components tr.activity td.plugin-title span,body.branch-3-7.settings_page_bp-components tr.activity td.plugin-title span{background-position:-4px -40px}body.branch-3-6.settings_page_bp-components tr.activity.active td.plugin-title span,body.branch-3-7.settings_page_bp-components tr.activity.active td.plugin-title span{background-position:-4px -7px}body.branch-3-6.settings_page_bp-components tr.xprofile td.plugin-title span,body.branch-3-7.settings_page_bp-components tr.xprofile td.plugin-title span{background-image:url(../images/menu-wp.png);background-position:-305px -40px}body.branch-3-6.settings_page_bp-components tr.xprofile.active td.plugin-title span,body.branch-3-7.settings_page_bp-components tr.xprofile.active td.plugin-title span{background-position:-305px -7px}body.branch-3-6.settings_page_bp-components tr.settings td.plugin-title span,body.branch-3-7.settings_page_bp-components tr.settings td.plugin-title span{background-image:url(../images/menu-wp.png);background-position:-334px -40px}body.branch-3-6.settings_page_bp-components tr.settings.active td.plugin-title span,body.branch-3-7.settings_page_bp-components tr.settings.active td.plugin-title span{background-position:-334px -7px}body.branch-3-6.settings_page_bp-components tr.groups td.plugin-title span,body.branch-3-7.settings_page_bp-components tr.groups td.plugin-title span{background-position:-66px -40px}body.branch-3-6.settings_page_bp-components tr.groups.active td.plugin-title span,body.branch-3-7.settings_page_bp-components tr.groups.active td.plugin-title span{background-position:-66px -7px}body.branch-3-6.settings_page_bp-components tr.messages td.plugin-title span,body.branch-3-7.settings_page_bp-components tr.messages td.plugin-title span{background-position:-154px -40px}body.branch-3-6.settings_page_bp-components tr.messages.active td.plugin-title span,body.branch-3-7.settings_page_bp-components tr.messages.active td.plugin-title span{background-position:-154px -7px}body.branch-3-6.settings_page_bp-components tr.forums td.plugin-title span,body.branch-3-7.settings_page_bp-components tr.forums td.plugin-title span{background-image:url(../images/menu-wp.png);background-position:-36px -40px}body.branch-3-6.settings_page_bp-components tr.forums.active td.plugin-title span,body.branch-3-7.settings_page_bp-components tr.forums.active td.plugin-title span{background-position:-36px -7px}body.branch-3-6.settings_page_bp-components tr.blogs td.plugin-title span,body.branch-3-7.settings_page_bp-components tr.blogs td.plugin-title span{background-position:-125px -40px}body.branch-3-6.settings_page_bp-components tr.blogs.active td.plugin-title span,body.branch-3-7.settings_page_bp-components tr.blogs.active td.plugin-title span{background-position:-125px -7px}body.branch-3-6.settings_page_bp-components tr.friends td.plugin-title span,body.branch-3-7.settings_page_bp-components tr.friends td.plugin-title span{background-position:-95px -40px}body.branch-3-6.settings_page_bp-components tr.friends.active td.plugin-title span,body.branch-3-7.settings_page_bp-components tr.friends.active td.plugin-title span{background-position:-95px -7px}body.branch-3-6.settings_page_bp-components tr.core td.plugin-title span,body.branch-3-7.settings_page_bp-components tr.core td.plugin-title span{background-position:-184px -40px}body.branch-3-6.settings_page_bp-components tr.core.active td.plugin-title span,body.branch-3-7.settings_page_bp-components tr.core.active td.plugin-title span{background-position:-184px -7px}body.branch-3-6.settings_page_bp-components tr.members td.plugin-title span,body.branch-3-7.settings_page_bp-components tr.members td.plugin-title span{background-position:-36px -40px}body.branch-3-6.settings_page_bp-components tr.members.active td.plugin-title span,body.branch-3-7.settings_page_bp-components tr.members.active td.plugin-title span{background-position:-36px -7px}#bp-admin-component-form .widefat th{display:table-cell;vertical-align:top}.bp-badge{font:400 150px/1 dashicons!important;color:#D84800;display:inline-block}.bp-badge:before{content:"\f448"}.about-wrap .bp-badge{position:absolute;top:0;right:0}@media only screen and (-webkit-min-device-pixel-ratio:1.5){body.branch-3-6 div#icon-buddypress,body.branch-3-6 div#icon-buddypress-activity,body.branch-3-6 div#icon-buddypress-groups,body.branch-3-7 div#icon-buddypress,body.branch-3-7 div#icon-buddypress-activity,body.branch-3-7 div#icon-buddypress-groups{background-image:url(../images/icons64.png);background-size:419px 45px}body.branch-3-6 ul#adminmenu li.toplevel_page_bp-activity .wp-menu-image,body.branch-3-6 ul#adminmenu li.toplevel_page_bp-activity_network .wp-menu-image,body.branch-3-6 ul#adminmenu li.toplevel_page_bp-components .wp-menu-image,body.branch-3-6 ul#adminmenu li.toplevel_page_bp-general-settings .wp-menu-image,body.branch-3-6 ul#adminmenu li.toplevel_page_bp-groups .wp-menu-image,body.branch-3-6 ul#adminmenu li.toplevel_page_bp-groups_network .wp-menu-image,body.branch-3-7 ul#adminmenu li.toplevel_page_bp-activity .wp-menu-image,body.branch-3-7 ul#adminmenu li.toplevel_page_bp-activity_network .wp-menu-image,body.branch-3-7 ul#adminmenu li.toplevel_page_bp-components .wp-menu-image,body.branch-3-7 ul#adminmenu li.toplevel_page_bp-general-settings .wp-menu-image,body.branch-3-7 ul#adminmenu li.toplevel_page_bp-groups .wp-menu-image,body.branch-3-7 ul#adminmenu li.toplevel_page_bp-groups_network .wp-menu-image{background-image:url(../images/menu-2x.png)!important;background-size:209px 64px}}
1
+ /*! buddypress - v2.1.0 - 2015-01-22 9:58:52 PM UTC - https://wordpress.org/plugins/buddypress/ */
2
  body.site-users-php th#role,body.users-php th#role,body.users_page_bp-signups th#count_sent{width:10%}body.site-users-php th#email,body.site-users-php th#name,body.users-php th#email,body.users-php th#name,body.users-php th#registered,body.users_page_bp-signups th#date_sent,body.users_page_bp-signups th#email,body.users_page_bp-signups th#name,body.users_page_bp-signups th#registered{width:15%}body.users-php th#blogs,body.users_page_bp-signups th#blogs{width:20%}body.users_page_bp-signups td.count_sent,body.users_page_bp-signups th.column-count_sent{text-align:center}body.branch-3-6 div#icon-buddypress,body.branch-3-7 div#icon-buddypress{background:url(../images/icons32.png) -370px -6px no-repeat}body.branch-3-6 div#icon-buddypress-activity,body.branch-3-7 div#icon-buddypress-activity{background:url(../images/icons32.png) -10px -6px no-repeat}body.branch-3-6 div#icon-buddypress-groups,body.branch-3-7 div#icon-buddypress-groups{background:url(../images/icons32.png) -250px -6px no-repeat}body.branch-3-6 ul#adminmenu li.toplevel_page_bp-components .wp-menu-image,body.branch-3-6 ul#adminmenu li.toplevel_page_bp-general-settings .wp-menu-image,body.branch-3-7 ul#adminmenu li.toplevel_page_bp-components .wp-menu-image,body.branch-3-7 ul#adminmenu li.toplevel_page_bp-general-settings .wp-menu-image{background-image:url(../images/menu.png)!important;background-position:-178px -34px}body.branch-3-6 ul#adminmenu li.toplevel_page_bp-components.wp-has-current-submenu .wp-menu-image,body.branch-3-6 ul#adminmenu li.toplevel_page_bp-components:hover .wp-menu-image,body.branch-3-6 ul#adminmenu li.toplevel_page_bp-general-settings.wp-has-current-submenu .wp-menu-image,body.branch-3-6 ul#adminmenu li.toplevel_page_bp-general-settings:hover .wp-menu-image,body.branch-3-7 ul#adminmenu li.toplevel_page_bp-components.wp-has-current-submenu .wp-menu-image,body.branch-3-7 ul#adminmenu li.toplevel_page_bp-components:hover .wp-menu-image,body.branch-3-7 ul#adminmenu li.toplevel_page_bp-general-settings.wp-has-current-submenu .wp-menu-image,body.branch-3-7 ul#adminmenu li.toplevel_page_bp-general-settings:hover .wp-menu-image{background-position:-178px -2px}body.branch-3-6 ul#adminmenu li.toplevel_page_bp-activity .wp-menu-image,body.branch-3-6 ul#adminmenu li.toplevel_page_bp-activity_network .wp-menu-image,body.branch-3-7 ul#adminmenu li.toplevel_page_bp-activity .wp-menu-image,body.branch-3-7 ul#adminmenu li.toplevel_page_bp-activity_network .wp-menu-image{background-image:url(../images/menu.png);background-position:0 -34px}body.branch-3-6 ul#adminmenu li.toplevel_page_bp-activity.current .wp-menu-image,body.branch-3-6 ul#adminmenu li.toplevel_page_bp-activity.wp-has-current-submenu .wp-menu-image,body.branch-3-6 ul#adminmenu li.toplevel_page_bp-activity:hover .wp-menu-image,body.branch-3-6 ul#adminmenu li.toplevel_page_bp-activity_network.current .wp-menu-image,body.branch-3-6 ul#adminmenu li.toplevel_page_bp-activity_network.wp-has-current-submenu .wp-menu-image,body.branch-3-6 ul#adminmenu li.toplevel_page_bp-activity_network:hover .wp-menu-image,body.branch-3-7 ul#adminmenu li.toplevel_page_bp-activity.current .wp-menu-image,body.branch-3-7 ul#adminmenu li.toplevel_page_bp-activity.wp-has-current-submenu .wp-menu-image,body.branch-3-7 ul#adminmenu li.toplevel_page_bp-activity:hover .wp-menu-image,body.branch-3-7 ul#adminmenu li.toplevel_page_bp-activity_network.current .wp-menu-image,body.branch-3-7 ul#adminmenu li.toplevel_page_bp-activity_network.wp-has-current-submenu .wp-menu-image,body.branch-3-7 ul#adminmenu li.toplevel_page_bp-activity_network:hover .wp-menu-image{background-position:0 -2px}body.branch-3-6 ul#adminmenu li.toplevel_page_bp-groups .wp-menu-image,body.branch-3-6 ul#adminmenu li.toplevel_page_bp-groups_network .wp-menu-image,body.branch-3-7 ul#adminmenu li.toplevel_page_bp-groups .wp-menu-image,body.branch-3-7 ul#adminmenu li.toplevel_page_bp-groups_network .wp-menu-image{background-image:url(../images/menu.png);background-position:-61px -34px}body.branch-3-6 ul#adminmenu li.toplevel_page_bp-groups.current .wp-menu-image,body.branch-3-6 ul#adminmenu li.toplevel_page_bp-groups.wp-has-current-submenu .wp-menu-image,body.branch-3-6 ul#adminmenu li.toplevel_page_bp-groups:hover .wp-menu-image,body.branch-3-6 ul#adminmenu li.toplevel_page_bp-groups_network.current .wp-menu-image,body.branch-3-6 ul#adminmenu li.toplevel_page_bp-groups_network.wp-has-current-submenu .wp-menu-image,body.branch-3-6 ul#adminmenu li.toplevel_page_bp-groups_network:hover .wp-menu-image,body.branch-3-7 ul#adminmenu li.toplevel_page_bp-groups.current .wp-menu-image,body.branch-3-7 ul#adminmenu li.toplevel_page_bp-groups.wp-has-current-submenu .wp-menu-image,body.branch-3-7 ul#adminmenu li.toplevel_page_bp-groups:hover .wp-menu-image,body.branch-3-7 ul#adminmenu li.toplevel_page_bp-groups_network.current .wp-menu-image,body.branch-3-7 ul#adminmenu li.toplevel_page_bp-groups_network.wp-has-current-submenu .wp-menu-image,body.branch-3-7 ul#adminmenu li.toplevel_page_bp-groups_network:hover .wp-menu-image{background-position:-61px -2px}#adminmenu .toplevel_page_network-tools div.wp-menu-image:before{content:""}#adminmenu #toplevel_page_bp-activity .wp-menu-image:before,#adminmenu #toplevel_page_bp-activity_network .wp-menu-image:before,#adminmenu #toplevel_page_bp-activity_user .wp-menu-image:before{content:"\f452"}#adminmenu #toplevel_page_bp-groups .wp-menu-image:before,#adminmenu #toplevel_page_bp-groups_network .wp-menu-image:before,#adminmenu #toplevel_page_bp-groups_user .wp-menu-image:before{content:"\f456"}#adminmenu #toplevel_page_bp-notifications .wp-menu-image:before,#adminmenu #toplevel_page_bp-notifications_network .wp-menu-image:before,#adminmenu #toplevel_page_bp-notifications_user .wp-menu-image:before{content:"\f439"}#adminmenu #toplevel_page_bp-messages .wp-menu-image:before,#adminmenu #toplevel_page_bp-messages_network .wp-menu-image:before,#adminmenu #toplevel_page_bp-messages_user .wp-menu-image:before{content:"\f457"}#adminmenu #toplevel_page_bp-friends .wp-menu-image:before,#adminmenu #toplevel_page_bp-friends_network .wp-menu-image:before,#adminmenu #toplevel_page_bp-friends_user .wp-menu-image:before{content:"\f454"}#adminmenu #toplevel_page_bp-settings .wp-menu-image:before,#adminmenu #toplevel_page_bp-settings_network .wp-menu-image:before,#adminmenu #toplevel_page_bp-settings_user .wp-menu-image:before{content:"\f108"}#adminmenu li.toplevel_page_bp-components .wp-menu-image,#adminmenu li.toplevel_page_bp-general-settings .wp-menu-image{content:"\f448"}body.branch-3-6 #adminmenu #toplevel_page_bp-activity .wp-menu-image:before,body.branch-3-6 #adminmenu #toplevel_page_bp-activity_network .wp-menu-image:before,body.branch-3-6 #adminmenu #toplevel_page_bp-groups .wp-menu-image:before,body.branch-3-6 #adminmenu #toplevel_page_bp-groups_network .wp-menu-image:before,body.branch-3-6 #adminmenu li.toplevel_page_bp-components .wp-menu-image,body.branch-3-6 #adminmenu li.toplevel_page_bp-general-settings .wp-menu-image,body.branch-3-7 #adminmenu #toplevel_page_bp-activity .wp-menu-image:before,body.branch-3-7 #adminmenu #toplevel_page_bp-activity_network .wp-menu-image:before,body.branch-3-7 #adminmenu #toplevel_page_bp-groups .wp-menu-image:before,body.branch-3-7 #adminmenu #toplevel_page_bp-groups_network .wp-menu-image:before,body.branch-3-7 #adminmenu li.toplevel_page_bp-components .wp-menu-image,body.branch-3-7 #adminmenu li.toplevel_page_bp-general-settings .wp-menu-image{content:""}.settings_page_bp-components td.plugin-title span{float:left;width:18px;height:18px;margin-right:5px}.settings_page_bp-components td.plugin-title span:before{font-family:dashicons;font-size:18px}.settings_page_bp-components tr.activity td.plugin-title span:before{content:"\f452"}.settings_page_bp-components tr.notifications td.plugin-title span:before{content:"\f339"}.settings_page_bp-components tr.xprofile td.plugin-title span:before{content:"\f336"}.settings_page_bp-components tr.settings td.plugin-title span:before{content:"\f108"}.settings_page_bp-components tr.groups td.plugin-title span:before{content:"\f456"}.settings_page_bp-components tr.messages td.plugin-title span:before{content:"\f457"}.settings_page_bp-components tr.forums td.plugin-title span:before{content:"\f452"}.settings_page_bp-components tr.blogs td.plugin-title span:before{content:"\f120"}.settings_page_bp-components tr.friends td.plugin-title span:before{content:"\f454"}body.branch-3-6.settings_page_bp-components tr.activity td.plugin-title span:before,body.branch-3-6.settings_page_bp-components tr.blogs td.plugin-title span:before,body.branch-3-6.settings_page_bp-components tr.forums td.plugin-title span:before,body.branch-3-6.settings_page_bp-components tr.friends td.plugin-title span:before,body.branch-3-6.settings_page_bp-components tr.groups td.plugin-title span:before,body.branch-3-6.settings_page_bp-components tr.messages td.plugin-title span:before,body.branch-3-6.settings_page_bp-components tr.notifications td.plugin-title span:before,body.branch-3-6.settings_page_bp-components tr.settings td.plugin-title span:before,body.branch-3-6.settings_page_bp-components tr.xprofile td.plugin-title span:before,body.branch-3-7.settings_page_bp-components tr.activity td.plugin-title span:before,body.branch-3-7.settings_page_bp-components tr.blogs td.plugin-title span:before,body.branch-3-7.settings_page_bp-components tr.forums td.plugin-title span:before,body.branch-3-7.settings_page_bp-components tr.friends td.plugin-title span:before,body.branch-3-7.settings_page_bp-components tr.groups td.plugin-title span:before,body.branch-3-7.settings_page_bp-components tr.messages td.plugin-title span:before,body.branch-3-7.settings_page_bp-components tr.notifications td.plugin-title span:before,body.branch-3-7.settings_page_bp-components tr.settings td.plugin-title span:before,body.branch-3-7.settings_page_bp-components tr.xprofile td.plugin-title span:before{content:""}body.branch-3-6.settings_page_bp-components td.plugin-title span,body.branch-3-7.settings_page_bp-components td.plugin-title span{background-image:url(../images/menu.png);background-position:-4px -40px;background-repeat:no-repeat}body.branch-3-6.settings_page_bp-components tr.active td.plugin-title span,body.branch-3-7.settings_page_bp-components tr.active td.plugin-title span{background-position-y:-7px}body.branch-3-6.settings_page_bp-components tr.activity td.plugin-title span,body.branch-3-7.settings_page_bp-components tr.activity td.plugin-title span{background-position:-4px -40px}body.branch-3-6.settings_page_bp-components tr.activity.active td.plugin-title span,body.branch-3-7.settings_page_bp-components tr.activity.active td.plugin-title span{background-position:-4px -7px}body.branch-3-6.settings_page_bp-components tr.xprofile td.plugin-title span,body.branch-3-7.settings_page_bp-components tr.xprofile td.plugin-title span{background-image:url(../images/menu-wp.png);background-position:-305px -40px}body.branch-3-6.settings_page_bp-components tr.xprofile.active td.plugin-title span,body.branch-3-7.settings_page_bp-components tr.xprofile.active td.plugin-title span{background-position:-305px -7px}body.branch-3-6.settings_page_bp-components tr.settings td.plugin-title span,body.branch-3-7.settings_page_bp-components tr.settings td.plugin-title span{background-image:url(../images/menu-wp.png);background-position:-334px -40px}body.branch-3-6.settings_page_bp-components tr.settings.active td.plugin-title span,body.branch-3-7.settings_page_bp-components tr.settings.active td.plugin-title span{background-position:-334px -7px}body.branch-3-6.settings_page_bp-components tr.groups td.plugin-title span,body.branch-3-7.settings_page_bp-components tr.groups td.plugin-title span{background-position:-66px -40px}body.branch-3-6.settings_page_bp-components tr.groups.active td.plugin-title span,body.branch-3-7.settings_page_bp-components tr.groups.active td.plugin-title span{background-position:-66px -7px}body.branch-3-6.settings_page_bp-components tr.messages td.plugin-title span,body.branch-3-7.settings_page_bp-components tr.messages td.plugin-title span{background-position:-154px -40px}body.branch-3-6.settings_page_bp-components tr.messages.active td.plugin-title span,body.branch-3-7.settings_page_bp-components tr.messages.active td.plugin-title span{background-position:-154px -7px}body.branch-3-6.settings_page_bp-components tr.forums td.plugin-title span,body.branch-3-7.settings_page_bp-components tr.forums td.plugin-title span{background-image:url(../images/menu-wp.png);background-position:-36px -40px}body.branch-3-6.settings_page_bp-components tr.forums.active td.plugin-title span,body.branch-3-7.settings_page_bp-components tr.forums.active td.plugin-title span{background-position:-36px -7px}body.branch-3-6.settings_page_bp-components tr.blogs td.plugin-title span,body.branch-3-7.settings_page_bp-components tr.blogs td.plugin-title span{background-position:-125px -40px}body.branch-3-6.settings_page_bp-components tr.blogs.active td.plugin-title span,body.branch-3-7.settings_page_bp-components tr.blogs.active td.plugin-title span{background-position:-125px -7px}body.branch-3-6.settings_page_bp-components tr.friends td.plugin-title span,body.branch-3-7.settings_page_bp-components tr.friends td.plugin-title span{background-position:-95px -40px}body.branch-3-6.settings_page_bp-components tr.friends.active td.plugin-title span,body.branch-3-7.settings_page_bp-components tr.friends.active td.plugin-title span{background-position:-95px -7px}body.branch-3-6.settings_page_bp-components tr.core td.plugin-title span,body.branch-3-7.settings_page_bp-components tr.core td.plugin-title span{background-position:-184px -40px}body.branch-3-6.settings_page_bp-components tr.core.active td.plugin-title span,body.branch-3-7.settings_page_bp-components tr.core.active td.plugin-title span{background-position:-184px -7px}body.branch-3-6.settings_page_bp-components tr.members td.plugin-title span,body.branch-3-7.settings_page_bp-components tr.members td.plugin-title span{background-position:-36px -40px}body.branch-3-6.settings_page_bp-components tr.members.active td.plugin-title span,body.branch-3-7.settings_page_bp-components tr.members.active td.plugin-title span{background-position:-36px -7px}#bp-admin-component-form .widefat th{display:table-cell;vertical-align:top}.bp-badge{font:400 150px/1 dashicons!important;color:#D84800;display:inline-block}.bp-badge:before{content:"\f448"}.about-wrap .bp-badge{position:absolute;top:0;right:0}@media only screen and (-webkit-min-device-pixel-ratio:1.5){body.branch-3-6 div#icon-buddypress,body.branch-3-6 div#icon-buddypress-activity,body.branch-3-6 div#icon-buddypress-groups,body.branch-3-7 div#icon-buddypress,body.branch-3-7 div#icon-buddypress-activity,body.branch-3-7 div#icon-buddypress-groups{background-image:url(../images/icons64.png);background-size:419px 45px}body.branch-3-6 ul#adminmenu li.toplevel_page_bp-activity .wp-menu-image,body.branch-3-6 ul#adminmenu li.toplevel_page_bp-activity_network .wp-menu-image,body.branch-3-6 ul#adminmenu li.toplevel_page_bp-components .wp-menu-image,body.branch-3-6 ul#adminmenu li.toplevel_page_bp-general-settings .wp-menu-image,body.branch-3-6 ul#adminmenu li.toplevel_page_bp-groups .wp-menu-image,body.branch-3-6 ul#adminmenu li.toplevel_page_bp-groups_network .wp-menu-image,body.branch-3-7 ul#adminmenu li.toplevel_page_bp-activity .wp-menu-image,body.branch-3-7 ul#adminmenu li.toplevel_page_bp-activity_network .wp-menu-image,body.branch-3-7 ul#adminmenu li.toplevel_page_bp-components .wp-menu-image,body.branch-3-7 ul#adminmenu li.toplevel_page_bp-general-settings .wp-menu-image,body.branch-3-7 ul#adminmenu li.toplevel_page_bp-groups .wp-menu-image,body.branch-3-7 ul#adminmenu li.toplevel_page_bp-groups_network .wp-menu-image{background-image:url(../images/menu-2x.png)!important;background-size:209px 64px}}
bp-core/bp-core-admin.php CHANGED
@@ -728,14 +728,20 @@ class BP_Admin {
728
  <a class="web" href="http://profiles.wordpress.org/mercime">Mercime</a>
729
  <span class="title"><?php _e( 'Navigator', 'buddypress' ); ?></span>
730
  </li>
731
- </ul>
732
-
733
- <h4 class="wp-people-group"><?php _e( 'Recent Rockstars', 'buddypress' ); ?></h4>
734
- <ul class="wp-people-group " id="wp-people-group-rockstars">
735
  <li class="wp-person" id="wp-person-dcavins">
736
  <a href="http://profiles.wordpress.org/dcavins"><img src="http://0.gravatar.com/avatar/a5fa7e83d59cb45ebb616235a176595a?s=60" class="gravatar" alt="David Cavins" /></a>
737
  <a class="web" href="http://profiles.wordpress.org/dcavins">David Cavins</a>
 
 
 
 
 
 
738
  </li>
 
 
 
 
739
  <li class="wp-person" id="wp-person-henry-wright">
740
  <a href="http://profiles.wordpress.org/henry.wright"><img src="http://0.gravatar.com/avatar/0da2f1a9340d6af196b870f6c107a248?s=60" class="gravatar" alt="Henry Wright" /></a>
741
  <a class="web" href="http://profiles.wordpress.org/henry.wright">Henry Wright</a>
@@ -756,49 +762,51 @@ class BP_Admin {
756
 
757
  <h4 class="wp-people-group"><?php printf( __( 'Contributors to BuddyPress %s', 'buddypress' ), $display_version ); ?></h4>
758
  <p class="wp-credits-list">
759
- <a href="https://profiles.wordpress.org/adamt19/">adamt19</a>,
760
- <a href="https://profiles.wordpress.org/Viper007Bond/">Alex Mills (Viper007Bond)</a>,
761
- <a href="https://profiles.wordpress.org/allendav/">allendav</a>,
762
- <a href="https://profiles.wordpress.org/alternatekev/">alternatekev</a>,
763
- <a href="https://profiles.wordpress.org/automattic/">Automattic</a>,
764
- <a href="https://profiles.wordpress.org/beaulebens/">Beau Lebens (beaulebens)</a>,
765
  <a href="https://profiles.wordpress.org/boonebgorges/">Boone B Gorges (boonebgorges)</a>,
766
- <a href="https://profiles.wordpress.org/williamsba1/">Brad Williams (williamsba1)</a>,
767
- <a href="https://profiles.wordpress.org/sbrajesh/">Brajesh Singh (sbrajesh)</a>,
 
 
768
  <a href="https://profiles.wordpress.org/danbp/">danbp</a>,
769
  <a href="https://profiles.wordpress.org/dcavins/">David Cavins (dcavins)</a>,
770
- <a href="https://profiles.wordpress.org/ebellempire/">Erin B. (ebellempire)</a>,
771
- <a href="https://profiles.wordpress.org/esroyo/">esroyo</a>,
772
- <a href="https://profiles.wordpress.org/godavid33">godavid33</a>,
773
- <a href="http://profiles.wordpress.org/henry.wright">Henry Wright (henry.wright)</a>,
774
  <a href="https://profiles.wordpress.org/hnla/">Hugo (hnla)</a>,
775
- <a href="https://profiles.wordpress.org/imath/">Mathieu Viet (imath)</a>,
 
776
  <a href="https://profiles.wordpress.org/johnjamesjacoby/">John James Jacoby (johnjamesjacoby)</a>,
777
- <a href="https://profiles.wordpress.org/jconti/">Jose Conti (jconti)</a>,
778
  <a href="https://profiles.wordpress.org/jreeve/">jreeve</a>,
 
779
  <a href="https://profiles.wordpress.org/Offereins">Laurens Offereins (Offereins)</a>
780
  <a href="https://profiles.wordpress.org/lenasterg/">lenasterg</a>,
 
 
781
  <a href="https://profiles.wordpress.org/mercime/">mercime</a>,
782
  <a href="https://profiles.wordpress.org/tw2113/">Michael Beckwith (tw2113)</a>,
783
- <a href="https://profiles.wordpress.org/milesstewart88/">Miles Stewart (milesstewart88)</a>,
784
- <a href="https://profiles.wordpress.org/needle/">needle</a>,
785
  <a href="https://profiles.wordpress.org/sooskriszta/">OC2PS (sooskriszta)</a>,
786
  <a href="https://profiles.wordpress.org/DJPaul/">Paul Gibbs (DJPaul)</a>,
 
 
787
  <a href="https://profiles.wordpress.org/r-a-y/">r-a-y</a>,
788
- <a href="https://profiles.wordpress.org/rogercoathup/">Roger Coathup (rogercoathup)</a>,
789
- <a href="https://profiles.wordpress.org/pollyplummer/">Sarah Gooding (pollyplummer)</a>,
790
  <a href="https://profiles.wordpress.org/SGr33n/">Sergio De Falco (SGr33n)</a>,
791
- <a href="https://profiles.wordpress.org/shanebp/">shanebp</a>,
792
  <a href="https://profiles.wordpress.org/slaFFik/">Slava UA (slaFFik)</a>,
 
793
  <a href="https://profiles.wordpress.org/netweb/">Stephen Edgar (netweb)</a>,
794
- <a href="https://profiles.wordpress.org/karmatosed/">Tammie (karmatosed)</a>,
795
- <a href="https://profiles.wordpress.org/tomdxw/">tomdxw</a>,
796
- <a href="https://profiles.wordpress.org/treyhunner/">treyhunner</a>,
797
- <a href="https://profiles.wordpress.org/ubernaut/">ubernaut</a>,
798
- <a href="https://profiles.wordpress.org/wbajzek/">wbajzek</a>,
799
- <a href="https://profiles.wordpress.org/WCUADD/">WCUADD</a>,
800
- <a href="https://profiles.wordpress.org/wpdennis/">wpdennis</a>,
801
- <a href="https://profiles.wordpress.org/wolfhoundjesse/">wolfhoundjesse</a>.
802
  </p>
803
 
804
  <h4 class="wp-people-group"><?php _e( 'External Libraries', 'buddypress' ); ?></h4>
728
  <a class="web" href="http://profiles.wordpress.org/mercime">Mercime</a>
729
  <span class="title"><?php _e( 'Navigator', 'buddypress' ); ?></span>
730
  </li>
 
 
 
 
731
  <li class="wp-person" id="wp-person-dcavins">
732
  <a href="http://profiles.wordpress.org/dcavins"><img src="http://0.gravatar.com/avatar/a5fa7e83d59cb45ebb616235a176595a?s=60" class="gravatar" alt="David Cavins" /></a>
733
  <a class="web" href="http://profiles.wordpress.org/dcavins">David Cavins</a>
734
+ <span class="title"><?php _e( 'Core Developer', 'buddypress' ); ?></span>
735
+ </li>
736
+ <li class="wp-person" id="wp-person-tw2113">
737
+ <a href="http://profiles.wordpress.org/tw2113"><img src="http://0.gravatar.com/avatar/a5d7c934621fa1c025b83ee79bc62366?s=60" class="gravatar" alt="Michael Beckwith" /></a>
738
+ <a class="web" href="http://profiles.wordpress.org/tw2113">Michael Beckwith</a>
739
+ <span class="title"><?php _e( 'Core Developer', 'buddypress' ); ?></span>
740
  </li>
741
+ </ul>
742
+
743
+ <h4 class="wp-people-group"><?php _e( 'Recent Rockstars', 'buddypress' ); ?></h4>
744
+ <ul class="wp-people-group " id="wp-people-group-rockstars">
745
  <li class="wp-person" id="wp-person-henry-wright">
746
  <a href="http://profiles.wordpress.org/henry.wright"><img src="http://0.gravatar.com/avatar/0da2f1a9340d6af196b870f6c107a248?s=60" class="gravatar" alt="Henry Wright" /></a>
747
  <a class="web" href="http://profiles.wordpress.org/henry.wright">Henry Wright</a>
762
 
763
  <h4 class="wp-people-group"><?php printf( __( 'Contributors to BuddyPress %s', 'buddypress' ), $display_version ); ?></h4>
764
  <p class="wp-credits-list">
765
+ <a href="https://profiles.wordpress.org/andemann/">andemann</a>,
766
+ <a href="https://profiles.wordpress.org/dontdream/">Andrea Tarantini (dontdream)</a>,
 
 
 
 
767
  <a href="https://profiles.wordpress.org/boonebgorges/">Boone B Gorges (boonebgorges)</a>,
768
+ <a href="https://profiles.wordpress.org/thebrandonallen/">Brandon Allen (thebrandonallen)</a>,
769
+ <a href="https://profiles.wordpress.org/Clean-Cole/">Clean-Cole</a>,
770
+ <a href="https://profiles.wordpress.org/colabsadmin/">colabsadmin</a>,
771
+ <a href="https://profiles.wordpress.org/colorful-tones/">Damon Cook (colorful tones)</a>,
772
  <a href="https://profiles.wordpress.org/danbp/">danbp</a>,
773
  <a href="https://profiles.wordpress.org/dcavins/">David Cavins (dcavins)</a>,
774
+ <a href="https://profiles.wordpress.org/fahmiadib/">Fahmi Adib (fahmiadib)</a>,
775
+ <a href="https://profiles.wordpress.org/Mamaduka/">George Mamadashvili (Mamaduka)</a>,
776
+ <a href="https://profiles.wordpress.org/gregrickaby/">Greg Rickaby (gregrickaby)</a>,
 
777
  <a href="https://profiles.wordpress.org/hnla/">Hugo (hnla)</a>,
778
+ <a href="https://profiles.wordpress.org/whyisjake/">Jake Spurlock (whyisjake)</a>,
779
+ <a href="https://profiles.wordpress.org/ev3rywh3re/">Jess Planck (ev3rywh3re)</a>,
780
  <a href="https://profiles.wordpress.org/johnjamesjacoby/">John James Jacoby (johnjamesjacoby)</a>,
781
+ <a href="https://profiles.wordpress.org/joshshashaty/">Josh (joshshashaty)</a>,
782
  <a href="https://profiles.wordpress.org/jreeve/">jreeve</a>,
783
+ <a href="https://profiles.wordpress.org/lakrisgubben/">lakrisgubben</a>,
784
  <a href="https://profiles.wordpress.org/Offereins">Laurens Offereins (Offereins)</a>
785
  <a href="https://profiles.wordpress.org/lenasterg/">lenasterg</a>,
786
+ <a href="https://profiles.wordpress.org/nofearinc/">Mario Peshev (nofearinc)</a>,
787
+ <a href="https://profiles.wordpress.org/imath/">Mathieu Viet (imath)</a>,
788
  <a href="https://profiles.wordpress.org/mercime/">mercime</a>,
789
  <a href="https://profiles.wordpress.org/tw2113/">Michael Beckwith (tw2113)</a>,
790
+ <a href="https://profiles.wordpress.org/modemlooper/">modemlooper</a>,
 
791
  <a href="https://profiles.wordpress.org/sooskriszta/">OC2PS (sooskriszta)</a>,
792
  <a href="https://profiles.wordpress.org/DJPaul/">Paul Gibbs (DJPaul)</a>,
793
+ <a href="https://profiles.wordpress.org/pro120/">pro120</a>,
794
+ <a href="https://profiles.wordpress.org/psycleuk/">psycleuk</a>,
795
  <a href="https://profiles.wordpress.org/r-a-y/">r-a-y</a>,
796
+ <a href="https://profiles.wordpress.org/espellcaste/">Renato Alves (espellcaste)</a>,
 
797
  <a href="https://profiles.wordpress.org/SGr33n/">Sergio De Falco (SGr33n)</a>,
798
+ <a href="https://profiles.wordpress.org/shpitzyl/">shpitzyl</a>,
799
  <a href="https://profiles.wordpress.org/slaFFik/">Slava UA (slaFFik)</a>,
800
+ <a href="https://profiles.wordpress.org/standardspace/">standardspace</a>,
801
  <a href="https://profiles.wordpress.org/netweb/">Stephen Edgar (netweb)</a>,
802
+ <a href="https://profiles.wordpress.org/svenl77/">svenl77</a>,
803
+ <a href="https://profiles.wordpress.org/tharsheblows/">tharsheblows</a>,
804
+ <a href="https://profiles.wordpress.org/thebigA/">thebigA</a>,
805
+ <a href="https://profiles.wordpress.org/thomaslhotta/">thomaslhotta</a>,
806
+ <a href="https://profiles.wordpress.org/tometzky/">Tomasz Ostrowski (tometzky)</a>,
807
+ <a href="https://profiles.wordpress.org/unsalkorkmaz/">Unsal Korkmaz (unsalkorkmaz)</a>,
808
+ <a href="https://profiles.wordpress.org/vimes1984/">vimes1984</a>,
809
+ <a href="https://profiles.wordpress.org/wonderboymusic/">Scott Taylor (wonderboymusic)</a>.
810
  </p>
811
 
812
  <h4 class="wp-people-group"><?php _e( 'External Libraries', 'buddypress' ); ?></h4>
bp-core/bp-core-avatars.php CHANGED
@@ -334,7 +334,24 @@ function bp_core_fetch_avatar( $args = '' ) {
334
 
335
  // Create CSS class html string
336
  $params['class'] = apply_filters( 'bp_core_avatar_class', $params['class'], $params['item_id'], $params['object'], $params );
337
- $html_class = ' class="' . sanitize_html_class( $params['class'] ) . ' ' . sanitize_html_class( $params['object'] . '-' . $params['item_id'] . '-avatar' ) . ' ' . sanitize_html_class( 'avatar-' . $params['width'] ) . ' photo"';
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
338
 
339
  // Set img URL and DIR based on prepopulated constants
340
  $avatar_loc = new stdClass();
334
 
335
  // Create CSS class html string
336
  $params['class'] = apply_filters( 'bp_core_avatar_class', $params['class'], $params['item_id'], $params['object'], $params );
337
+
338
+ // Use an alias to leave the param unchanged
339
+ $avatar_classes = $params['class'];
340
+ if ( ! is_array( $avatar_classes ) ) {
341
+ $avatar_classes = explode( ' ', $avatar_classes );
342
+ }
343
+
344
+ // merge classes
345
+ $avatar_classes = array_merge( $avatar_classes, array(
346
+ $params['object'] . '-' . $params['item_id'] . '-avatar',
347
+ 'avatar-' . $params['width'],
348
+ ) );
349
+
350
+ // Sanitize each class
351
+ $avatar_classes = array_map( 'sanitize_html_class', $avatar_classes );
352
+
353
+ // populate the class attribute
354
+ $html_class = ' class="' . join( ' ', $avatar_classes ) . ' photo"';
355
 
356
  // Set img URL and DIR based on prepopulated constants
357
  $avatar_loc = new stdClass();
bp-core/bp-core-filters.php CHANGED
@@ -63,7 +63,7 @@ add_filter( 'bp_template_include', 'bp_template_include_theme_supports', 2, 1
63
  add_filter( 'bp_template_include', 'bp_template_include_theme_compat', 4, 2 );
64
 
65
  // Filter BuddyPress template locations
66
- add_filter( 'bp_get_template_stack', 'bp_add_template_stack_locations' );
67
 
68
  // Turn comments off for BuddyPress pages
69
  add_filter( 'comments_open', 'bp_comments_open', 10, 2 );
@@ -751,8 +751,8 @@ function bp_filter_metaid_column_name( $q ) {
751
  *
752
  * @since BuddyPress (2.1.0)
753
  *
754
- * @param string $link The edit link.
755
- * @param int $post_id Post ID.
756
  * @return mixed Will be a boolean (false) if $post_id is 0. Will be a string (the unchanged edit link)
757
  * otherwise
758
  */
63
  add_filter( 'bp_template_include', 'bp_template_include_theme_compat', 4, 2 );
64
 
65
  // Filter BuddyPress template locations
66
+ add_filter( 'bp_get_template_stack', 'bp_add_template_stack_locations' );
67
 
68
  // Turn comments off for BuddyPress pages
69
  add_filter( 'comments_open', 'bp_comments_open', 10, 2 );
751
  *
752
  * @since BuddyPress (2.1.0)
753
  *
754
+ * @param string $edit_link The edit link.
755
+ * @param int $post_id Post ID.
756
  * @return mixed Will be a boolean (false) if $post_id is 0. Will be a string (the unchanged edit link)
757
  * otherwise
758
  */
bp-core/bp-core-moderation.php CHANGED
@@ -31,16 +31,19 @@ defined( 'ABSPATH' ) || exit;
31
  function bp_core_check_for_flood( $user_id = 0 ) {
32
 
33
  // Option disabled. No flood checks.
34
- if ( !$throttle_time = bp_get_option( '_bp_throttle_time' ) )
35
  return true;
 
36
 
37
  // Bail if no user ID passed
38
- if ( empty( $user_id ) )
39
  return false;
 
40
 
41
  $last_posted = get_user_meta( $user_id, '_bp_last_posted', true );
42
- if ( isset( $last_posted ) && ( time() < ( $last_posted + $throttle_time ) ) && !current_user_can( 'throttle' ) )
43
  return false;
 
44
 
45
  return true;
46
  }
@@ -61,56 +64,55 @@ function bp_core_check_for_flood( $user_id = 0 ) {
61
  */
62
  function bp_core_check_for_moderation( $user_id = 0, $title = '', $content = '' ) {
63
 
 
 
 
 
 
64
  // Bail if super admin is author
65
- if ( is_super_admin( $user_id ) )
66
  return true;
 
67
 
68
  // Define local variable(s)
69
- $post = array();
70
  $match_out = '';
71
 
72
- /** Blacklist *************************************************************/
73
-
74
- // Get the moderation keys
75
- $blacklist = trim( get_option( 'moderation_keys' ) );
76
-
77
- // Bail if blacklist is empty
78
- if ( empty( $blacklist ) )
79
- return true;
80
-
81
  /** User Data *************************************************************/
82
 
83
- if ( !empty( $user_id ) ) {
84
 
85
  // Get author data
86
  $user = get_userdata( $user_id );
87
 
88
  // If data exists, map it
89
- if ( !empty( $user ) ) {
90
- $post['author'] = $user->display_name;
91
- $post['email'] = $user->user_email;
92
- $post['url'] = $user->user_url;
93
  }
94
  }
95
 
96
  // Current user IP and user agent
97
- $post['user_ip'] = bp_core_current_user_ip();
98
- $post['user_ua'] = bp_core_current_user_ua();
99
 
100
  // Post title and content
101
- $post['title'] = $title;
102
- $post['content'] = $content;
103
 
104
  /** Max Links *************************************************************/
105
 
106
  $max_links = get_option( 'comment_max_links' );
107
- if ( !empty( $max_links ) ) {
108
 
109
  // How many links?
110
- $num_links = preg_match_all( '/<a [^>]*href/i', $content, $match_out );
111
 
112
  // Allow for bumping the max to include the user's URL
113
- $num_links = apply_filters( 'comment_max_links_url', $num_links, $post['url'] );
 
 
114
 
115
  // Das ist zu viele links!
116
  if ( $num_links >= $max_links ) {
@@ -118,33 +120,42 @@ function bp_core_check_for_moderation( $user_id = 0, $title = '', $content = ''
118
  }
119
  }
120
 
121
- /** Words *****************************************************************/
122
 
123
- // Get words separated by new lines
124
- $words = explode( "\n", $blacklist );
125
 
126
- // Loop through words
127
- foreach ( (array) $words as $word ) {
128
 
129
- // Trim the whitespace from the word
130
- $word = trim( $word );
131
 
132
- // Skip empty lines
133
- if ( empty( $word ) ) { continue; }
134
 
135
- // Do some escaping magic so that '#' chars in the
136
- // spam words don't break things:
137
- $word = preg_quote( $word, '#' );
138
- $pattern = "#$word#i";
139
 
140
- // Loop through post data
141
- foreach( $post as $post_data ) {
 
 
142
 
143
- // Check each user data for current word
144
- if ( preg_match( $pattern, $post_data ) ) {
 
 
145
 
146
- // Post does not pass
147
- return false;
 
 
 
 
 
 
 
148
  }
149
  }
150
  }
@@ -169,12 +180,18 @@ function bp_core_check_for_moderation( $user_id = 0, $title = '', $content = ''
169
  */
170
  function bp_core_check_for_blacklist( $user_id = 0, $title = '', $content = '' ) {
171
 
 
 
 
 
 
172
  // Bail if super admin is author
173
- if ( is_super_admin( $user_id ) )
174
  return true;
 
175
 
176
  // Define local variable
177
- $post = array();
178
 
179
  /** Blacklist *************************************************************/
180
 
@@ -182,32 +199,33 @@ function bp_core_check_for_blacklist( $user_id = 0, $title = '', $content = '' )
182
  $blacklist = trim( get_option( 'blacklist_keys' ) );
183
 
184
  // Bail if blacklist is empty
185
- if ( empty( $blacklist ) )
186
  return true;
 
187
 
188
  /** User Data *************************************************************/
189
 
190
  // Map current user data
191
- if ( !empty( $user_id ) ) {
192
 
193
  // Get author data
194
  $user = get_userdata( $user_id );
195
 
196
  // If data exists, map it
197
- if ( !empty( $user ) ) {
198
- $post['author'] = $user->display_name;
199
- $post['email'] = $user->user_email;
200
- $post['url'] = $user->user_url;
201
  }
202
  }
203
 
204
  // Current user IP and user agent
205
- $post['user_ip'] = bp_core_current_user_ip();
206
- $post['user_ua'] = bp_core_current_user_ua();
207
 
208
  // Post title and content
209
- $post['title'] = $title;
210
- $post['content'] = $content;
211
 
212
  /** Words *****************************************************************/
213
 
@@ -223,12 +241,13 @@ function bp_core_check_for_blacklist( $user_id = 0, $title = '', $content = '' )
223
  // Skip empty lines
224
  if ( empty( $word ) ) { continue; }
225
 
226
- // Do some escaping magic so that '#' chars in the spam words don't break things:
 
227
  $word = preg_quote( $word, '#' );
228
  $pattern = "#$word#i";
229
 
230
  // Loop through post data
231
- foreach( $post as $post_data ) {
232
 
233
  // Check each user data for current word
234
  if ( preg_match( $pattern, $post_data ) ) {
@@ -266,10 +285,11 @@ function bp_core_current_user_ip() {
266
  function bp_core_current_user_ua() {
267
 
268
  // Sanity check the user agent
269
- if ( !empty( $_SERVER['HTTP_USER_AGENT'] ) )
270
  $retval = substr( $_SERVER['HTTP_USER_AGENT'], 0, 254 );
271
- else
272
  $retval = '';
 
273
 
274
  return apply_filters( 'bp_core_current_user_ua', $retval );
275
  }
31
  function bp_core_check_for_flood( $user_id = 0 ) {
32
 
33
  // Option disabled. No flood checks.
34
+ if ( !$throttle_time = bp_get_option( '_bp_throttle_time' ) ) {
35
  return true;
36
+ }
37
 
38
  // Bail if no user ID passed
39
+ if ( empty( $user_id ) ) {
40
  return false;
41
+ }
42
 
43
  $last_posted = get_user_meta( $user_id, '_bp_last_posted', true );
44
+ if ( isset( $last_posted ) && ( time() < ( $last_posted + $throttle_time ) ) && !current_user_can( 'throttle' ) ) {
45
  return false;
46
+ }
47
 
48
  return true;
49
  }
64
  */
65
  function bp_core_check_for_moderation( $user_id = 0, $title = '', $content = '' ) {
66
 
67
+ // Allow for moderation check to be skipped
68
+ if ( apply_filters( 'bp_bypass_check_for_moderation', false, $user_id, $title, $content ) ) {
69
+ return true;
70
+ }
71
+
72
  // Bail if super admin is author
73
+ if ( is_super_admin( $user_id ) ) {
74
  return true;
75
+ }
76
 
77
  // Define local variable(s)
78
+ $_post = array();
79
  $match_out = '';
80
 
 
 
 
 
 
 
 
 
 
81
  /** User Data *************************************************************/
82
 
83
+ if ( ! empty( $user_id ) ) {
84
 
85
  // Get author data
86
  $user = get_userdata( $user_id );
87
 
88
  // If data exists, map it
89
+ if ( ! empty( $user ) ) {
90
+ $_post['author'] = $user->display_name;
91
+ $_post['email'] = $user->user_email;
92
+ $_post['url'] = $user->user_url;
93
  }
94
  }
95
 
96
  // Current user IP and user agent
97
+ $_post['user_ip'] = bp_core_current_user_ip();
98
+ $_post['user_ua'] = bp_core_current_user_ua();
99
 
100
  // Post title and content
101
+ $_post['title'] = $title;
102
+ $_post['content'] = $content;
103
 
104
  /** Max Links *************************************************************/
105
 
106
  $max_links = get_option( 'comment_max_links' );
107
+ if ( ! empty( $max_links ) ) {
108
 
109
  // How many links?
110
+ $num_links = preg_match_all( '/(http|ftp|https):\/\//i', $content, $match_out );
111
 
112
  // Allow for bumping the max to include the user's URL
113
+ if ( ! empty( $_post['url'] ) ) {
114
+ $num_links = apply_filters( 'comment_max_links_url', $num_links, $_post['url'] );
115
+ }
116
 
117
  // Das ist zu viele links!
118
  if ( $num_links >= $max_links ) {
120
  }
121
  }
122
 
123
+ /** Blacklist *************************************************************/
124
 
125
+ // Get the moderation keys
126
+ $blacklist = trim( get_option( 'moderation_keys' ) );
127
 
128
+ // Bail if blacklist is empty
129
+ if ( ! empty( $blacklist ) ) {
130
 
131
+ // Get words separated by new lines
132
+ $words = explode( "\n", $blacklist );
133
 
134
+ // Loop through words
135
+ foreach ( (array) $words as $word ) {
136
 
137
+ // Trim the whitespace from the word
138
+ $word = trim( $word );
 
 
139
 
140
+ // Skip empty lines
141
+ if ( empty( $word ) ) {
142
+ continue;
143
+ }
144
 
145
+ // Do some escaping magic so that '#' chars in the
146
+ // spam words don't break things:
147
+ $word = preg_quote( $word, '#' );
148
+ $pattern = "#$word#i";
149
 
150
+ // Loop through post data
151
+ foreach ( $_post as $post_data ) {
152
+
153
+ // Check each user data for current word
154
+ if ( preg_match( $pattern, $post_data ) ) {
155
+
156
+ // Post does not pass
157
+ return false;
158
+ }
159
  }
160
  }
161
  }
180
  */
181
  function bp_core_check_for_blacklist( $user_id = 0, $title = '', $content = '' ) {
182
 
183
+ // Allow for blacklist check to be skipped
184
+ if ( apply_filters( 'bp_bypass_check_for_blacklist', false, $user_id, $title, $content ) ) {
185
+ return true;
186
+ }
187
+
188
  // Bail if super admin is author
189
+ if ( is_super_admin( $user_id ) ) {
190
  return true;
191
+ }
192
 
193
  // Define local variable
194
+ $_post = array();
195
 
196
  /** Blacklist *************************************************************/
197
 
199
  $blacklist = trim( get_option( 'blacklist_keys' ) );
200
 
201
  // Bail if blacklist is empty
202
+ if ( empty( $blacklist ) ) {
203
  return true;
204
+ }
205
 
206
  /** User Data *************************************************************/
207
 
208
  // Map current user data
209
+ if ( ! empty( $user_id ) ) {
210
 
211
  // Get author data
212
  $user = get_userdata( $user_id );
213
 
214
  // If data exists, map it
215
+ if ( ! empty( $user ) ) {
216
+ $_post['author'] = $user->display_name;
217
+ $_post['email'] = $user->user_email;
218
+ $_post['url'] = $user->user_url;
219
  }
220
  }
221
 
222
  // Current user IP and user agent
223
+ $_post['user_ip'] = bp_core_current_user_ip();
224
+ $_post['user_ua'] = bp_core_current_user_ua();
225
 
226
  // Post title and content
227
+ $_post['title'] = $title;
228
+ $_post['content'] = $content;
229
 
230
  /** Words *****************************************************************/
231
 
241
  // Skip empty lines
242
  if ( empty( $word ) ) { continue; }
243
 
244
+ // Do some escaping magic so that '#' chars in the
245
+ // spam words don't break things:
246
  $word = preg_quote( $word, '#' );
247
  $pattern = "#$word#i";
248
 
249
  // Loop through post data
250
+ foreach( $_post as $post_data ) {
251
 
252
  // Check each user data for current word
253
  if ( preg_match( $pattern, $post_data ) ) {
285
  function bp_core_current_user_ua() {
286
 
287
  // Sanity check the user agent
288
+ if ( ! empty( $_SERVER['HTTP_USER_AGENT'] ) ) {
289
  $retval = substr( $_SERVER['HTTP_USER_AGENT'], 0, 254 );
290
+ } else {
291
  $retval = '';
292
+ }
293
 
294
  return apply_filters( 'bp_core_current_user_ua', $retval );
295
  }
bp-core/bp-core-template-loader.php CHANGED
@@ -36,8 +36,9 @@ function bp_get_template_part( $slug, $name = null ) {
36
 
37
  // Setup possible parts
38
  $templates = array();
39
- if ( isset( $name ) )
40
  $templates[] = $slug . '-' . $name . '.php';
 
41
  $templates[] = $slug . '.php';
42
 
43
  // Allow template parts to be filtered
@@ -73,8 +74,9 @@ function bp_locate_template( $template_names, $load = false, $require_once = tru
73
  foreach ( (array) $template_names as $template_name ) {
74
 
75
  // Continue if template is empty
76
- if ( empty( $template_name ) )
77
  continue;
 
78
 
79
  // Trim off any slashes from the template name
80
  $template_name = ltrim( $template_name, '/' );
@@ -83,8 +85,9 @@ function bp_locate_template( $template_names, $load = false, $require_once = tru
83
  foreach ( (array) $template_locations as $template_location ) {
84
 
85
  // Continue if $template_location is empty
86
- if ( empty( $template_location ) )
87
  continue;
 
88
 
89
  // Check child theme first
90
  if ( file_exists( trailingslashit( $template_location ) . $template_name ) ) {
@@ -271,8 +274,9 @@ function bp_buffer_template_part( $slug, $name = null, $echo = true ) {
271
  function bp_get_query_template( $type, $templates = array() ) {
272
  $type = preg_replace( '|[^a-z0-9-]+|', '', $type );
273
 
274
- if ( empty( $templates ) )
275
  $templates = array( "{$type}.php" );
 
276
 
277
  // Filter possible templates, try to match one, and set any BuddyPress theme
278
  // compat properties so they can be cross-checked later.
@@ -315,9 +319,11 @@ function bp_add_template_stack_locations( $stacks = array() ) {
315
  $locations = bp_get_template_locations();
316
 
317
  // Loop through locations and stacks and combine
318
- foreach ( (array) $stacks as $stack )
319
- foreach ( (array) $locations as $custom_location )
320
  $retval[] = untrailingslashit( trailingslashit( $stack ) . $custom_location );
 
 
321
 
322
  return apply_filters( 'bp_add_template_stack_locations', array_unique( $retval ), $stacks );
323
  }
@@ -332,16 +338,19 @@ function bp_add_template_stack_locations( $stacks = array() ) {
332
  function bp_parse_query( $posts_query ) {
333
 
334
  // Bail if $posts_query is not the main loop
335
- if ( ! $posts_query->is_main_query() )
336
  return;
 
337
 
338
  // Bail if filters are suppressed on this query
339
- if ( true == $posts_query->get( 'suppress_filters' ) )
340
  return;
 
341
 
342
  // Bail if in admin
343
- if ( is_admin() )
344
  return;
 
345
 
346
  // Allow BuddyPress components to parse the main query
347
  do_action_ref_array( 'bp_parse_query', array( &$posts_query ) );
@@ -369,7 +378,7 @@ function bp_template_include_theme_supports( $template = '' ) {
369
 
370
  // A BuddyPress template file was located, so override the WordPress
371
  // template and use it to switch off BuddyPress's theme compatibility.
372
- if ( !empty( $new_template ) ) {
373
  $template = bp_set_template_included( $new_template );
374
  }
375
 
@@ -417,8 +426,9 @@ function bp_load_theme_functions() {
417
  }
418
 
419
  // Do not include on BuddyPress deactivation
420
- if ( bp_is_deactivation() )
421
  return;
 
422
 
423
  // If the $wp_query global is empty (the main query has not been run,
424
  // or has been reset), load_template() will fail at setting certain
@@ -442,29 +452,7 @@ function bp_load_theme_functions() {
442
  * @return array Array of possible root level wrapper template files.
443
  */
444
  function bp_get_theme_compat_templates() {
445
- $page_id = 0;
446
-
447
- // Get the WordPress Page ID for the current view.
448
- foreach ( (array) buddypress()->pages as $component => $bp_page ) {
449
-
450
- // Handles the majority of components.
451
- if ( bp_is_current_component( $component ) ) {
452
- $page_id = (int) $bp_page->id;
453
- }
454
-
455
- // Stop if not on a user page.
456
- if ( ! bp_is_user() && ! empty( $page_id ) ) {
457
- break;
458
- }
459
-
460
- // The Members component requires an explicit check due to overlapping components.
461
- if ( bp_is_user() && 'members' === $component ) {
462
- $page_id = (int) $bp_page->id;
463
- break;
464
- }
465
- }
466
-
467
- $templates = array(
468
  'plugin-buddypress.php',
469
  'buddypress.php',
470
  'community.php',
@@ -472,16 +460,5 @@ function bp_get_theme_compat_templates() {
472
  'page.php',
473
  'single.php',
474
  'index.php'
475
- );
476
-
477
- // If the Page has a Page Template set, use that.
478
- if ( $page_id ) {
479
- $template_file = get_page_template_slug( $page_id );
480
-
481
- if ( $template_file ) {
482
- $templates = array( $template_file );
483
- }
484
- }
485
-
486
- return bp_get_query_template( 'buddypress', $templates );
487
  }
36
 
37
  // Setup possible parts
38
  $templates = array();
39
+ if ( isset( $name ) ) {
40
  $templates[] = $slug . '-' . $name . '.php';
41
+ }
42
  $templates[] = $slug . '.php';
43
 
44
  // Allow template parts to be filtered
74
  foreach ( (array) $template_names as $template_name ) {
75
 
76
  // Continue if template is empty
77
+ if ( empty( $template_name ) ) {
78
  continue;
79
+ }
80
 
81
  // Trim off any slashes from the template name
82
  $template_name = ltrim( $template_name, '/' );
85
  foreach ( (array) $template_locations as $template_location ) {
86
 
87
  // Continue if $template_location is empty
88
+ if ( empty( $template_location ) ) {
89
  continue;
90
+ }
91
 
92
  // Check child theme first
93
  if ( file_exists( trailingslashit( $template_location ) . $template_name ) ) {
274
  function bp_get_query_template( $type, $templates = array() ) {
275
  $type = preg_replace( '|[^a-z0-9-]+|', '', $type );
276
 
277
+ if ( empty( $templates ) ) {
278
  $templates = array( "{$type}.php" );
279
+ }
280
 
281
  // Filter possible templates, try to match one, and set any BuddyPress theme
282
  // compat properties so they can be cross-checked later.
319
  $locations = bp_get_template_locations();
320
 
321
  // Loop through locations and stacks and combine
322
+ foreach ( (array) $stacks as $stack ) {
323
+ foreach ( (array) $locations as $custom_location ) {
324
  $retval[] = untrailingslashit( trailingslashit( $stack ) . $custom_location );
325
+ }
326
+ }
327
 
328
  return apply_filters( 'bp_add_template_stack_locations', array_unique( $retval ), $stacks );
329
  }
338
  function bp_parse_query( $posts_query ) {
339
 
340
  // Bail if $posts_query is not the main loop
341
+ if ( ! $posts_query->is_main_query() ) {
342
  return;
343
+ }
344
 
345
  // Bail if filters are suppressed on this query
346
+ if ( true == $posts_query->get( 'suppress_filters' ) ) {
347
  return;
348
+ }
349
 
350
  // Bail if in admin
351
+ if ( is_admin() ) {
352
  return;
353
+ }
354
 
355
  // Allow BuddyPress components to parse the main query
356
  do_action_ref_array( 'bp_parse_query', array( &$posts_query ) );
378
 
379
  // A BuddyPress template file was located, so override the WordPress
380
  // template and use it to switch off BuddyPress's theme compatibility.
381
+ if ( ! empty( $new_template ) ) {
382
  $template = bp_set_template_included( $new_template );
383
  }
384
 
426
  }
427
 
428
  // Do not include on BuddyPress deactivation
429
+ if ( bp_is_deactivation() ) {
430
  return;
431
+ }
432
 
433
  // If the $wp_query global is empty (the main query has not been run,
434
  // or has been reset), load_template() will fail at setting certain
452
  * @return array Array of possible root level wrapper template files.
453
  */
454
  function bp_get_theme_compat_templates() {
455
+ return bp_get_query_template( 'buddypress', array(
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
456
  'plugin-buddypress.php',
457
  'buddypress.php',
458
  'community.php',
460
  'page.php',
461
  'single.php',
462
  'index.php'
463
+ ) );
 
 
 
 
 
 
 
 
 
 
 
464
  }
bp-core/bp-core-theme-compatibility.php CHANGED
@@ -309,8 +309,9 @@ function bp_detect_theme_compat_with_current_theme() {
309
  function bp_is_theme_compat_active() {
310
  $bp = buddypress();
311
 
312
- if ( empty( $bp->theme_compat->active ) )
313
  return false;
 
314
 
315
  return $bp->theme_compat->active;
316
  }
@@ -392,8 +393,9 @@ function bp_set_theme_compat_original_template( $template = '' ) {
392
  function bp_is_theme_compat_original_template( $template = '' ) {
393
  $bp = buddypress();
394
 
395
- if ( empty( $bp->theme_compat->original_template ) )
396
  return false;
 
397
 
398
  return (bool) ( $bp->theme_compat->original_template == $template );
399
  }
@@ -602,8 +604,9 @@ function bp_template_include_theme_compat( $template = '' ) {
602
  do_action( 'bp_template_include_reset_dummy_post_data' );
603
 
604
  // Bail if the template already matches a BuddyPress template
605
- if ( !empty( buddypress()->theme_compat->found_template ) )
606
  return $template;
 
607
 
608
  /**
609
  * If we are relying on BuddyPress's built in theme compatibility to load
@@ -651,8 +654,9 @@ function bp_template_include_theme_compat( $template = '' ) {
651
  function bp_replace_the_content( $content = '' ) {
652
 
653
  // Bail if not the main loop where theme compat is happening
654
- if ( ! bp_do_theme_compat() )
655
  return $content;
 
656
 
657
  // Set theme compat to false early, to avoid recursion from nested calls to
658
  // the_content() that execute before theme compat has unhooked itself.
@@ -662,7 +666,7 @@ function bp_replace_the_content( $content = '' ) {
662
  $new_content = apply_filters( 'bp_replace_the_content', $content );
663
 
664
  // Juggle the content around and try to prevent unsightly comments
665
- if ( !empty( $new_content ) && ( $new_content !== $content ) ) {
666
 
667
  // Set the content to be the new content
668
  $content = $new_content;
@@ -718,7 +722,7 @@ function bp_remove_all_filters( $tag, $priority = false ) {
718
  if ( isset( $wp_filter[$tag] ) ) {
719
 
720
  // Filters exist in this priority
721
- if ( !empty( $priority ) && isset( $wp_filter[$tag][$priority] ) ) {
722
 
723
  // Store filters in a backup
724
  $bp->filters->wp_filter[$tag][$priority] = $wp_filter[$tag][$priority];
@@ -774,7 +778,7 @@ function bp_restore_all_filters( $tag, $priority = false ) {
774
  if ( isset( $bp->filters->wp_filter[$tag] ) ) {
775
 
776
  // Filters exist in this priority
777
- if ( !empty( $priority ) && isset( $bp->filters->wp_filter[$tag][$priority] ) ) {
778
 
779
  // Store filters in a backup
780
  $wp_filter[$tag][$priority] = $bp->filters->wp_filter[$tag][$priority];
309
  function bp_is_theme_compat_active() {
310
  $bp = buddypress();
311
 
312
+ if ( empty( $bp->theme_compat->active ) ) {
313
  return false;
314
+ }
315
 
316
  return $bp->theme_compat->active;
317
  }
393
  function bp_is_theme_compat_original_template( $template = '' ) {
394
  $bp = buddypress();
395
 
396
+ if ( empty( $bp->theme_compat->original_template ) ) {
397
  return false;
398
+ }
399
 
400
  return (bool) ( $bp->theme_compat->original_template == $template );
401
  }
604
  do_action( 'bp_template_include_reset_dummy_post_data' );
605
 
606
  // Bail if the template already matches a BuddyPress template
607
+ if ( ! empty( buddypress()->theme_compat->found_template ) ) {
608
  return $template;
609
+ }
610
 
611
  /**
612
  * If we are relying on BuddyPress's built in theme compatibility to load
654
  function bp_replace_the_content( $content = '' ) {
655
 
656
  // Bail if not the main loop where theme compat is happening
657
+ if ( ! bp_do_theme_compat() ) {
658
  return $content;
659
+ }
660
 
661
  // Set theme compat to false early, to avoid recursion from nested calls to
662
  // the_content() that execute before theme compat has unhooked itself.
666
  $new_content = apply_filters( 'bp_replace_the_content', $content );
667
 
668
  // Juggle the content around and try to prevent unsightly comments
669
+ if ( ! empty( $new_content ) && ( $new_content !== $content ) ) {
670
 
671
  // Set the content to be the new content
672
  $content = $new_content;
722
  if ( isset( $wp_filter[$tag] ) ) {
723
 
724
  // Filters exist in this priority
725
+ if ( ! empty( $priority ) && isset( $wp_filter[$tag][$priority] ) ) {
726
 
727
  // Store filters in a backup
728
  $bp->filters->wp_filter[$tag][$priority] = $wp_filter[$tag][$priority];
778
  if ( isset( $bp->filters->wp_filter[$tag] ) ) {
779
 
780
  // Filters exist in this priority
781
+ if ( ! empty( $priority ) && isset( $bp->filters->wp_filter[$tag][$priority] ) ) {
782
 
783
  // Store filters in a backup
784
  $wp_filter[$tag][$priority] = $bp->filters->wp_filter[$tag][$priority];
bp-core/css/admin-bar-rtl.min.css CHANGED
@@ -1,2 +1,2 @@
1
- /*! buddypress - v2.1.0 - 2015-01-15 12:34:34 AM UTC - https://wordpress.org/plugins/buddypress/ */
2
  #wpadminbar .quicklinks li#wp-admin-bar-group-admin-with-avatar>a img,#wpadminbar .quicklinks li#wp-admin-bar-user-admin-with-avatar>a img{width:16px;height:16px;display:inline;border:1px solid #999;vertical-align:middle;margin:-2px -5px 0 10px;padding:0;background:#eee;float:none}#wpadminbar .quicklinks li#wp-admin-bar-group-admin-with-avatar ul,#wpadminbar .quicklinks li#wp-admin-bar-group-admin-with-avatar ul ul{right:0}#wpadminbar .quicklinks li#wp-admin-bar-bp-notifications #ab-pending-notifications,#wpadminbar .quicklinks li#wp-admin-bar-my-account a span.count,#wpadminbar .quicklinks li#wp-admin-bar-my-account-with-avatar a span.count{background:#21759B;color:#fff;text-shadow:none;display:inline;padding:2px 5px;font-size:10px;font-weight:700;-moz-border-radius:10px;-khtml-border-radius:10px;-webkit-border-radius:10px;border-radius:10px}#wpadminbar .quicklinks li#wp-admin-bar-bp-notifications #ab-pending-notifications{background:#ddd;color:#333;margin:0}#wpadminbar .quicklinks li#wp-admin-bar-bp-notifications #ab-pending-notifications.alert{background-color:#1fb3dd;color:#fff}#wpadminbar .quicklinks li#wp-admin-bar-bp-notifications>a{padding:0 .5em}#wp-admin-bar-user-info img.avatar{height:64px;width:64px}
1
+ /*! buddypress - v2.1.0 - 2015-01-22 9:58:52 PM UTC - https://wordpress.org/plugins/buddypress/ */
2
  #wpadminbar .quicklinks li#wp-admin-bar-group-admin-with-avatar>a img,#wpadminbar .quicklinks li#wp-admin-bar-user-admin-with-avatar>a img{width:16px;height:16px;display:inline;border:1px solid #999;vertical-align:middle;margin:-2px -5px 0 10px;padding:0;background:#eee;float:none}#wpadminbar .quicklinks li#wp-admin-bar-group-admin-with-avatar ul,#wpadminbar .quicklinks li#wp-admin-bar-group-admin-with-avatar ul ul{right:0}#wpadminbar .quicklinks li#wp-admin-bar-bp-notifications #ab-pending-notifications,#wpadminbar .quicklinks li#wp-admin-bar-my-account a span.count,#wpadminbar .quicklinks li#wp-admin-bar-my-account-with-avatar a span.count{background:#21759B;color:#fff;text-shadow:none;display:inline;padding:2px 5px;font-size:10px;font-weight:700;-moz-border-radius:10px;-khtml-border-radius:10px;-webkit-border-radius:10px;border-radius:10px}#wpadminbar .quicklinks li#wp-admin-bar-bp-notifications #ab-pending-notifications{background:#ddd;color:#333;margin:0}#wpadminbar .quicklinks li#wp-admin-bar-bp-notifications #ab-pending-notifications.alert{background-color:#1fb3dd;color:#fff}#wpadminbar .quicklinks li#wp-admin-bar-bp-notifications>a{padding:0 .5em}#wp-admin-bar-user-info img.avatar{height:64px;width:64px}
bp-core/css/admin-bar.min.css CHANGED
@@ -1,2 +1,2 @@
1
- /*! buddypress - v2.1.0 - 2015-01-15 12:34:34 AM UTC - https://wordpress.org/plugins/buddypress/ */
2
  #wpadminbar .quicklinks li#wp-admin-bar-group-admin-with-avatar>a img,#wpadminbar .quicklinks li#wp-admin-bar-user-admin-with-avatar>a img{width:16px;height:16px;display:inline;border:1px solid #999;vertical-align:middle;margin:-2px 10px 0 -5px;padding:0;background:#eee;float:none}#wpadminbar .quicklinks li#wp-admin-bar-group-admin-with-avatar ul,#wpadminbar .quicklinks li#wp-admin-bar-group-admin-with-avatar ul ul{left:0}#wpadminbar .quicklinks li#wp-admin-bar-bp-notifications #ab-pending-notifications,#wpadminbar .quicklinks li#wp-admin-bar-my-account a span.count,#wpadminbar .quicklinks li#wp-admin-bar-my-account-with-avatar a span.count{background:#21759B;color:#fff;text-shadow:none;display:inline;padding:2px 5px;font-size:10px;font-weight:700;-moz-border-radius:10px;-khtml-border-radius:10px;-webkit-border-radius:10px;border-radius:10px}#wpadminbar .quicklinks li#wp-admin-bar-bp-notifications #ab-pending-notifications{background:#ddd;color:#333;margin:0}#wpadminbar .quicklinks li#wp-admin-bar-bp-notifications #ab-pending-notifications.alert{background-color:#1fb3dd;color:#fff}#wpadminbar .quicklinks li#wp-admin-bar-bp-notifications>a{padding:0 .5em}#wp-admin-bar-user-info img.avatar{height:64px;width:64px}
1
+ /*! buddypress - v2.1.0 - 2015-01-22 9:58:52 PM UTC - https://wordpress.org/plugins/buddypress/ */
2
  #wpadminbar .quicklinks li#wp-admin-bar-group-admin-with-avatar>a img,#wpadminbar .quicklinks li#wp-admin-bar-user-admin-with-avatar>a img{width:16px;height:16px;display:inline;border:1px solid #999;vertical-align:middle;margin:-2px 10px 0 -5px;padding:0;background:#eee;float:none}#wpadminbar .quicklinks li#wp-admin-bar-group-admin-with-avatar ul,#wpadminbar .quicklinks li#wp-admin-bar-group-admin-with-avatar ul ul{left:0}#wpadminbar .quicklinks li#wp-admin-bar-bp-notifications #ab-pending-notifications,#wpadminbar .quicklinks li#wp-admin-bar-my-account a span.count,#wpadminbar .quicklinks li#wp-admin-bar-my-account-with-avatar a span.count{background:#21759B;color:#fff;text-shadow:none;display:inline;padding:2px 5px;font-size:10px;font-weight:700;-moz-border-radius:10px;-khtml-border-radius:10px;-webkit-border-radius:10px;border-radius:10px}#wpadminbar .quicklinks li#wp-admin-bar-bp-notifications #ab-pending-notifications{background:#ddd;color:#333;margin:0}#wpadminbar .quicklinks li#wp-admin-bar-bp-notifications #ab-pending-notifications.alert{background-color:#1fb3dd;color:#fff}#wpadminbar .quicklinks li#wp-admin-bar-bp-notifications>a{padding:0 .5em}#wp-admin-bar-user-info img.avatar{height:64px;width:64px}
bp-core/css/buddybar-rtl.min.css CHANGED
@@ -1,2 +1,2 @@
1
- /*! buddypress - v2.1.0 - 2015-01-15 12:34:34 AM UTC - https://wordpress.org/plugins/buddypress/ */
2
  body:not(.wp-admin){padding-top:25px!important}#wp-admin-bar{position:fixed;top:0;right:0;height:25px;font-size:11px;width:100%;z-index:9999}#wp-admin-bar .padder{position:relative;padding:0;width:100%;margin:0 auto;background:url(../images/60pc_black.png);height:25px}body#bp-default #wp-admin-bar .padder{max-width:1250px}#wp-admin-bar *{z-index:999}#wp-admin-bar div#admin-bar-logo{position:absolute;top:5px;right:10px}#wp-admin-bar a img{border:none}#wp-admin-bar li{list-style:none;margin:0;padding:0;line-height:100%;text-align:right}#wp-admin-bar li a{padding:7px 15px;color:#eee;text-decoration:none;font-size:11px}#wp-admin-bar li.alt{border:none}#wp-admin-bar li.no-arrow a{padding-left:15px}#wp-admin-bar ul li ul li a span{display:none}#wp-admin-bar li.hover,#wp-admin-bar li:hover{position:static}#admin-bar-logo{float:right;font-weight:700;font-size:11px;padding:5px 8px;margin:0;text-decoration:none;color:#fff}body#bp-default #admin-bar-logo{padding:2px 8px}#wp-admin-bar ul{margin:0;list-style:none;line-height:1;cursor:pointer;height:auto;padding:0}#wp-admin-bar ul li{padding:0 0 0 11px;float:right;position:relative;background:url(../images/admin-menu-arrow.gif) 12% 53% no-repeat}#wp-admin-bar ul li.no-arrow{background:0 0;padding-left:0}#wp-admin-bar ul li ul li{background-image:none}#wp-admin-bar ul li.align-right{position:absolute;left:0}#wp-admin-bar ul li a{display:block}#wp-admin-bar ul.main-nav li ul li.sfhover,#wp-admin-bar ul.main-nav li.sfhover,#wp-admin-bar ul.main-nav li:hover{background-color:#333}#wp-admin-bar ul li ul{position:absolute;width:185px;right:-999em;margin-right:0;background:#333;border:1px solid #222;-moz-box-shadow:0 4px 8px rgba(0,0,0,.1);-webkit-box-shadow:0 4px 8px rgba(0,0,0,.1);-moz-border-radius:3px;-webkit-border-radius:0 0 3px 3px;-moz-border-radius-topleft:0;-moz-border-radius-topright:0}#wp-admin-bar ul li>ul{border-top:none}#wp-admin-bar ul li ul a{color:#eee}#wp-admin-bar ul li ul li{float:right;width:174px;margin:0}#wp-admin-bar ul li ul li:hover a{color:#fff}#wp-admin-bar ul li div.admin-bar-clear{clear:both}#wp-admin-bar ul.main-nav li ul li.sfhover,#wp-admin-bar ul.main-nav li ul li:hover{background-color:#222}#wp-admin-bar ul li ul ul{margin:-25px 184px 0 0;-moz-border-radius:3px;-webkit-border-radius:3px}#wp-admin-bar ul li ul li:hover ul li a{color:#eee}#wp-admin-bar ul li ul li ul li:hover a{color:#fff}#wp-admin-bar ul li ul li.sfhover ul,#wp-admin-bar ul li ul li:hover ul,#wp-admin-bar ul li.sfhover ul,#wp-admin-bar ul li:hover ul{right:auto}#wp-admin-bar ul li.align-right:hover ul{left:0}#wp-admin-bar li.sfhover ul li ul,#wp-admin-bar ul li:hover ul ul{right:-999em}#wp-admin-bar img.avatar{float:right;margin-left:8px}#wp-admin-bar span.activity{display:block;margin-right:34px;padding:0}#wp-admin-bar ul.author-list li a{height:17px}#wp-admin-bar ul li#bp-adminbar-notifications-menu a span{padding:0 6px;margin-right:2px;background:#fff;color:#000;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px}#wp-admin-bar-user-info img.avatar{height:64px;width:64px}
1
+ /*! buddypress - v2.1.0 - 2015-01-22 9:58:52 PM UTC - https://wordpress.org/plugins/buddypress/ */
2
  body:not(.wp-admin){padding-top:25px!important}#wp-admin-bar{position:fixed;top:0;right:0;height:25px;font-size:11px;width:100%;z-index:9999}#wp-admin-bar .padder{position:relative;padding:0;width:100%;margin:0 auto;background:url(../images/60pc_black.png);height:25px}body#bp-default #wp-admin-bar .padder{max-width:1250px}#wp-admin-bar *{z-index:999}#wp-admin-bar div#admin-bar-logo{position:absolute;top:5px;right:10px}#wp-admin-bar a img{border:none}#wp-admin-bar li{list-style:none;margin:0;padding:0;line-height:100%;text-align:right}#wp-admin-bar li a{padding:7px 15px;color:#eee;text-decoration:none;font-size:11px}#wp-admin-bar li.alt{border:none}#wp-admin-bar li.no-arrow a{padding-left:15px}#wp-admin-bar ul li ul li a span{display:none}#wp-admin-bar li.hover,#wp-admin-bar li:hover{position:static}#admin-bar-logo{float:right;font-weight:700;font-size:11px;padding:5px 8px;margin:0;text-decoration:none;color:#fff}body#bp-default #admin-bar-logo{padding:2px 8px}#wp-admin-bar ul{margin:0;list-style:none;line-height:1;cursor:pointer;height:auto;padding:0}#wp-admin-bar ul li{padding:0 0 0 11px;float:right;position:relative;background:url(../images/admin-menu-arrow.gif) 12% 53% no-repeat}#wp-admin-bar ul li.no-arrow{background:0 0;padding-left:0}#wp-admin-bar ul li ul li{background-image:none}#wp-admin-bar ul li.align-right{position:absolute;left:0}#wp-admin-bar ul li a{display:block}#wp-admin-bar ul.main-nav li ul li.sfhover,#wp-admin-bar ul.main-nav li.sfhover,#wp-admin-bar ul.main-nav li:hover{background-color:#333}#wp-admin-bar ul li ul{position:absolute;width:185px;right:-999em;margin-right:0;background:#333;border:1px solid #222;-moz-box-shadow:0 4px 8px rgba(0,0,0,.1);-webkit-box-shadow:0 4px 8px rgba(0,0,0,.1);-moz-border-radius:3px;-webkit-border-radius:0 0 3px 3px;-moz-border-radius-topleft:0;-moz-border-radius-topright:0}#wp-admin-bar ul li>ul{border-top:none}#wp-admin-bar ul li ul a{color:#eee}#wp-admin-bar ul li ul li{float:right;width:174px;margin:0}#wp-admin-bar ul li ul li:hover a{color:#fff}#wp-admin-bar ul li div.admin-bar-clear{clear:both}#wp-admin-bar ul.main-nav li ul li.sfhover,#wp-admin-bar ul.main-nav li ul li:hover{background-color:#222}#wp-admin-bar ul li ul ul{margin:-25px 184px 0 0;-moz-border-radius:3px;-webkit-border-radius:3px}#wp-admin-bar ul li ul li:hover ul li a{color:#eee}#wp-admin-bar ul li ul li ul li:hover a{color:#fff}#wp-admin-bar ul li ul li.sfhover ul,#wp-admin-bar ul li ul li:hover ul,#wp-admin-bar ul li.sfhover ul,#wp-admin-bar ul li:hover ul{right:auto}#wp-admin-bar ul li.align-right:hover ul{left:0}#wp-admin-bar li.sfhover ul li ul,#wp-admin-bar ul li:hover ul ul{right:-999em}#wp-admin-bar img.avatar{float:right;margin-left:8px}#wp-admin-bar span.activity{display:block;margin-right:34px;padding:0}#wp-admin-bar ul.author-list li a{height:17px}#wp-admin-bar ul li#bp-adminbar-notifications-menu a span{padding:0 6px;margin-right:2px;background:#fff;color:#000;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px}#wp-admin-bar-user-info img.avatar{height:64px;width:64px}
bp-core/css/buddybar.min.css CHANGED
@@ -1,2 +1,2 @@
1
- /*! buddypress - v2.1.0 - 2015-01-15 12:34:34 AM UTC - https://wordpress.org/plugins/buddypress/ */
2
  body:not(.wp-admin){padding-top:25px!important}#wp-admin-bar{position:fixed;top:0;left:0;height:25px;font-size:11px;width:100%;z-index:9999}#wp-admin-bar .padder{position:relative;padding:0;width:100%;margin:0 auto;background:url(../images/60pc_black.png);height:25px}body#bp-default #wp-admin-bar .padder{max-width:1250px}#wp-admin-bar *{z-index:999}#wp-admin-bar div#admin-bar-logo{position:absolute;top:5px;left:10px}#wp-admin-bar a img{border:none}#wp-admin-bar li{list-style:none;margin:0;padding:0;line-height:100%;text-align:left}#wp-admin-bar li a{padding:7px 15px;color:#eee;text-decoration:none;font-size:11px}#wp-admin-bar li.alt{border:none}#wp-admin-bar li.no-arrow a{padding-right:15px}#wp-admin-bar ul li ul li a span{display:none}#wp-admin-bar li.hover,#wp-admin-bar li:hover{position:static}#admin-bar-logo{float:left;font-weight:700;font-size:11px;padding:5px 8px;margin:0;text-decoration:none;color:#fff}body#bp-default #admin-bar-logo{padding:2px 8px}#wp-admin-bar ul{margin:0;list-style:none;line-height:1;cursor:pointer;height:auto;padding:0}#wp-admin-bar ul li{padding:0 11px 0 0;float:left;position:relative;background:url(../images/admin-menu-arrow.gif) 88% 53% no-repeat}#wp-admin-bar ul li.no-arrow{background:0 0;padding-right:0}#wp-admin-bar ul li ul li{background-image:none}#wp-admin-bar ul li.align-right{position:absolute;right:0}#wp-admin-bar ul li a{display:block}#wp-admin-bar ul.main-nav li ul li.sfhover,#wp-admin-bar ul.main-nav li.sfhover,#wp-admin-bar ul.main-nav li:hover{background-color:#333}#wp-admin-bar ul li ul{position:absolute;width:185px;left:-999em;margin-left:0;background:#333;border:1px solid #222;-moz-box-shadow:0 4px 8px rgba(0,0,0,.1);-webkit-box-shadow:0 4px 8px rgba(0,0,0,.1);-moz-border-radius:3px;-webkit-border-radius:0 0 3px 3px;-moz-border-radius-topleft:0;-moz-border-radius-topright:0}#wp-admin-bar ul li>ul{border-top:none}#wp-admin-bar ul li ul a{color:#eee}#wp-admin-bar ul li ul li{float:left;width:174px;margin:0}#wp-admin-bar ul li ul li:hover a{color:#fff}#wp-admin-bar ul li div.admin-bar-clear{clear:both}#wp-admin-bar ul.main-nav li ul li.sfhover,#wp-admin-bar ul.main-nav li ul li:hover{background-color:#222}#wp-admin-bar ul li ul ul{margin:-25px 0 0 184px;-moz-border-radius:3px;-webkit-border-radius:3px}#wp-admin-bar ul li ul li:hover ul li a{color:#eee}#wp-admin-bar ul li ul li ul li:hover a{color:#fff}#wp-admin-bar ul li ul li.sfhover ul,#wp-admin-bar ul li ul li:hover ul,#wp-admin-bar ul li.sfhover ul,#wp-admin-bar ul li:hover ul{left:auto}#wp-admin-bar ul li.align-right:hover ul{right:0}#wp-admin-bar li.sfhover ul li ul,#wp-admin-bar ul li:hover ul ul{left:-999em}#wp-admin-bar img.avatar{float:left;margin-right:8px}#wp-admin-bar span.activity{display:block;margin-left:34px;padding:0}#wp-admin-bar ul.author-list li a{height:17px}#wp-admin-bar ul li#bp-adminbar-notifications-menu a span{padding:0 6px;margin-left:2px;background:#fff;color:#000;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px}#wp-admin-bar-user-info img.avatar{height:64px;width:64px}
1
+ /*! buddypress - v2.1.0 - 2015-01-22 9:58:52 PM UTC - https://wordpress.org/plugins/buddypress/ */
2
  body:not(.wp-admin){padding-top:25px!important}#wp-admin-bar{position:fixed;top:0;left:0;height:25px;font-size:11px;width:100%;z-index:9999}#wp-admin-bar .padder{position:relative;padding:0;width:100%;margin:0 auto;background:url(../images/60pc_black.png);height:25px}body#bp-default #wp-admin-bar .padder{max-width:1250px}#wp-admin-bar *{z-index:999}#wp-admin-bar div#admin-bar-logo{position:absolute;top:5px;left:10px}#wp-admin-bar a img{border:none}#wp-admin-bar li{list-style:none;margin:0;padding:0;line-height:100%;text-align:left}#wp-admin-bar li a{padding:7px 15px;color:#eee;text-decoration:none;font-size:11px}#wp-admin-bar li.alt{border:none}#wp-admin-bar li.no-arrow a{padding-right:15px}#wp-admin-bar ul li ul li a span{display:none}#wp-admin-bar li.hover,#wp-admin-bar li:hover{position:static}#admin-bar-logo{float:left;font-weight:700;font-size:11px;padding:5px 8px;margin:0;text-decoration:none;color:#fff}body#bp-default #admin-bar-logo{padding:2px 8px}#wp-admin-bar ul{margin:0;list-style:none;line-height:1;cursor:pointer;height:auto;padding:0}#wp-admin-bar ul li{padding:0 11px 0 0;float:left;position:relative;background:url(../images/admin-menu-arrow.gif) 88% 53% no-repeat}#wp-admin-bar ul li.no-arrow{background:0 0;padding-right:0}#wp-admin-bar ul li ul li{background-image:none}#wp-admin-bar ul li.align-right{position:absolute;right:0}#wp-admin-bar ul li a{display:block}#wp-admin-bar ul.main-nav li ul li.sfhover,#wp-admin-bar ul.main-nav li.sfhover,#wp-admin-bar ul.main-nav li:hover{background-color:#333}#wp-admin-bar ul li ul{position:absolute;width:185px;left:-999em;margin-left:0;background:#333;border:1px solid #222;-moz-box-shadow:0 4px 8px rgba(0,0,0,.1);-webkit-box-shadow:0 4px 8px rgba(0,0,0,.1);-moz-border-radius:3px;-webkit-border-radius:0 0 3px 3px;-moz-border-radius-topleft:0;-moz-border-radius-topright:0}#wp-admin-bar ul li>ul{border-top:none}#wp-admin-bar ul li ul a{color:#eee}#wp-admin-bar ul li ul li{float:left;width:174px;margin:0}#wp-admin-bar ul li ul li:hover a{color:#fff}#wp-admin-bar ul li div.admin-bar-clear{clear:both}#wp-admin-bar ul.main-nav li ul li.sfhover,#wp-admin-bar ul.main-nav li ul li:hover{background-color:#222}#wp-admin-bar ul li ul ul{margin:-25px 0 0 184px;-moz-border-radius:3px;-webkit-border-radius:3px}#wp-admin-bar ul li ul li:hover ul li a{color:#eee}#wp-admin-bar ul li ul li ul li:hover a{color:#fff}#wp-admin-bar ul li ul li.sfhover ul,#wp-admin-bar ul li ul li:hover ul,#wp-admin-bar ul li.sfhover ul,#wp-admin-bar ul li:hover ul{left:auto}#wp-admin-bar ul li.align-right:hover ul{right:0}#wp-admin-bar li.sfhover ul li ul,#wp-admin-bar ul li:hover ul ul{left:-999em}#wp-admin-bar img.avatar{float:left;margin-right:8px}#wp-admin-bar span.activity{display:block;margin-left:34px;padding:0}#wp-admin-bar ul.author-list li a{height:17px}#wp-admin-bar ul li#bp-adminbar-notifications-menu a span{padding:0 6px;margin-left:2px;background:#fff;color:#000;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px}#wp-admin-bar-user-info img.avatar{height:64px;width:64px}
bp-core/deprecated/css/autocomplete/jquery.autocompletefb-rtl.min.css CHANGED
@@ -1,2 +1,2 @@
1
- /*! buddypress - v2.1.0 - 2015-01-15 12:34:34 AM UTC - https://wordpress.org/plugins/buddypress/ */
2
  .ac_results{padding:0;overflow:hidden;z-index:99999;background:#fff;border:1px solid #ccc;-moz-border-radius-bottomleft:3px;-khtml-border-bottom-right-radius:3px;-webkit-border-bottom-right-radius:3px;border-bottom-right-radius:3px;-moz-border-radius-bottomright:3px;-khtml-border-bottom-left-radius:3px;-webkit-border-bottom-left-radius:3px;border-bottom-left-radius:3px}.ac_results ul{width:100%;list-style:none;padding:0;margin:0}.ac_results li{margin:0;padding:5px 10px;cursor:pointer;display:block;font-size:1em;line-height:16px;overflow:hidden}.ac_results li img{margin-left:5px}.ac_odd{background-color:#f0f0f0}.ac_over{background-color:#888;color:#fff}ul.acfb-holder{margin:0;height:auto!important;height:1%;overflow:hidden;padding:0;list-style:none}ul.acfb-holder li{float:right;margin:0 0 4px 5px;list-style-type:none}ul.acfb-holder li.friend-tab{border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;border:1px solid #ffe7c7;padding:2px 7px;background:#FFF9DF;font-size:1em}li.friend-tab img.avatar{border-width:2px!important;vertical-align:middle}li.friend-tab span.p{padding-right:5px;font-size:.8em;cursor:pointer}input#send-to-input{width:275px}
1
+ /*! buddypress - v2.1.0 - 2015-01-22 9:58:52 PM UTC - https://wordpress.org/plugins/buddypress/ */
2
  .ac_results{padding:0;overflow:hidden;z-index:99999;background:#fff;border:1px solid #ccc;-moz-border-radius-bottomleft:3px;-khtml-border-bottom-right-radius:3px;-webkit-border-bottom-right-radius:3px;border-bottom-right-radius:3px;-moz-border-radius-bottomright:3px;-khtml-border-bottom-left-radius:3px;-webkit-border-bottom-left-radius:3px;border-bottom-left-radius:3px}.ac_results ul{width:100%;list-style:none;padding:0;margin:0}.ac_results li{margin:0;padding:5px 10px;cursor:pointer;display:block;font-size:1em;line-height:16px;overflow:hidden}.ac_results li img{margin-left:5px}.ac_odd{background-color:#f0f0f0}.ac_over{background-color:#888;color:#fff}ul.acfb-holder{margin:0;height:auto!important;height:1%;overflow:hidden;padding:0;list-style:none}ul.acfb-holder li{float:right;margin:0 0 4px 5px;list-style-type:none}ul.acfb-holder li.friend-tab{border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;border:1px solid #ffe7c7;padding:2px 7px;background:#FFF9DF;font-size:1em}li.friend-tab img.avatar{border-width:2px!important;vertical-align:middle}li.friend-tab span.p{padding-right:5px;font-size:.8em;cursor:pointer}input#send-to-input{width:275px}
bp-core/deprecated/css/autocomplete/jquery.autocompletefb.min.css CHANGED
@@ -1,2 +1,2 @@
1
- /*! buddypress - v2.1.0 - 2015-01-15 12:34:34 AM UTC - https://wordpress.org/plugins/buddypress/ */
2
  .ac_results{padding:0;overflow:hidden;z-index:99999;background:#fff;border:1px solid #ccc;-moz-border-radius-bottomleft:3px;-khtml-border-bottom-left-radius:3px;-webkit-border-bottom-left-radius:3px;border-bottom-left-radius:3px;-moz-border-radius-bottomright:3px;-khtml-border-bottom-right-radius:3px;-webkit-border-bottom-right-radius:3px;border-bottom-right-radius:3px}.ac_results ul{width:100%;list-style:none;padding:0;margin:0}.ac_results li{margin:0;padding:5px 10px;cursor:pointer;display:block;font-size:1em;line-height:16px;overflow:hidden}.ac_results li img{margin-right:5px}.ac_odd{background-color:#f0f0f0}.ac_over{background-color:#888;color:#fff}ul.acfb-holder{margin:0;height:auto!important;height:1%;overflow:hidden;padding:0;list-style:none}ul.acfb-holder li{float:left;margin:0 5px 4px 0;list-style-type:none}ul.acfb-holder li.friend-tab{border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;border:1px solid #ffe7c7;padding:2px 7px;background:#FFF9DF;font-size:1em}li.friend-tab img.avatar{border-width:2px!important;vertical-align:middle}li.friend-tab span.p{padding-left:5px;font-size:.8em;cursor:pointer}input#send-to-input{width:275px}
1
+ /*! buddypress - v2.1.0 - 2015-01-22 9:58:52 PM UTC - https://wordpress.org/plugins/buddypress/ */
2
  .ac_results{padding:0;overflow:hidden;z-index:99999;background:#fff;border:1px solid #ccc;-moz-border-radius-bottomleft:3px;-khtml-border-bottom-left-radius:3px;-webkit-border-bottom-left-radius:3px;border-bottom-left-radius:3px;-moz-border-radius-bottomright:3px;-khtml-border-bottom-right-radius:3px;-webkit-border-bottom-right-radius:3px;border-bottom-right-radius:3px}.ac_results ul{width:100%;list-style:none;padding:0;margin:0}.ac_results li{margin:0;padding:5px 10px;cursor:pointer;display:block;font-size:1em;line-height:16px;overflow:hidden}.ac_results li img{margin-right:5px}.ac_odd{background-color:#f0f0f0}.ac_over{background-color:#888;color:#fff}ul.acfb-holder{margin:0;height:auto!important;height:1%;overflow:hidden;padding:0;list-style:none}ul.acfb-holder li{float:left;margin:0 5px 4px 0;list-style-type:none}ul.acfb-holder li.friend-tab{border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;border:1px solid #ffe7c7;padding:2px 7px;background:#FFF9DF;font-size:1em}li.friend-tab img.avatar{border-width:2px!important;vertical-align:middle}li.friend-tab span.p{padding-left:5px;font-size:.8em;cursor:pointer}input#send-to-input{width:275px}
bp-core/deprecated/js/autocomplete/jquery.autocomplete.min.js CHANGED
@@ -1,2 +1,2 @@
1
- /*! buddypress - v2.1.0 - 2015-01-15 12:34:33 AM UTC - https://wordpress.org/plugins/buddypress/ */
2
  !function(a){a.fn.extend({autocomplete:function(b,c){var d="string"==typeof b;return c=a.extend({},a.Autocompleter.defaults,{url:d?b:null,data:d?null:b,delay:d?a.Autocompleter.defaults.delay:10,max:c&&!c.scroll?10:150},c),c.highlight=c.highlight||function(a){return a},this.each(function(){new a.Autocompleter(this,c)})},result:function(a){return this.bind("result",a)},search:function(a){return this.trigger("search",[a])},flushCache:function(){return this.trigger("flushCache")},setOptions:function(a){return this.trigger("setOptions",[a])},unautocomplete:function(){return this.trigger("unautocomplete")}}),a.Autocompleter=function(b,c){function d(){var a=x.selected();if(!a)return!1;var b=a.result;if(t=b,c.multiple){var d=f(s.val());d.length>1&&(b=d.slice(0,d.length-1).join(c.multipleSeparator)+c.multipleSeparator+b),b+=c.multipleSeparator}return s.val(b),j(),s.trigger("result",[a.data,a.value]),!0}function e(a,b){if(q==r.DEL)return void x.hide();var d=s.val();(b||d!=t)&&(t=d,d=g(d),d.length>=c.minChars?(s.addClass(c.loadingClass),jQuery("#send-to-input").addClass("loading"),c.matchCase||(d=d.toLowerCase()),l(d,k,j)):(n(),x.hide()))}function f(b){if(!b)return[""];var d=b.split(a.trim(c.multipleSeparator)),e=[];return a.each(d,function(b,c){a.trim(c)&&(e[b]=a.trim(c))}),e}function g(a){if(!c.multiple)return a;var b=f(a);return b[b.length-1]}function h(d,e){c.autoFill&&g(s.val()).toLowerCase()==d.toLowerCase()&&8!=q&&(s.val(s.val()+e.substring(g(t).length)),a.Autocompleter.Selection(b,t.length,t.length+e.length))}function i(){clearTimeout(p),p=setTimeout(j,200)}function j(){x.hide(),clearTimeout(p),n(),c.mustMatch&&s.search(function(a){a||s.val("")})}function k(a,b){if(b&&b.length&&v){n(),x.display(b,a);var c=b[0].value.split(";");b.value=c[0],h(a,b.value),x.show()}else j()}function l(d,e,f){c.matchCase||(d=d.toLowerCase());var h=u.load(d);if(h&&h.length)e(d,h);else if("string"==typeof c.url&&c.url.length>0){var i={};a.each(c.extraParams,function(a,b){i[a]="function"==typeof b?b():b}),a.ajax({mode:"abort",port:"autocomplete"+b.name,dataType:c.dataType,url:c.url,data:a.extend({q:g(d),limit:c.max,action:"messages_autocomplete_results",cookie:o()},i),success:function(a){var b=c.parse&&c.parse(a)||m(a);u.add(d,b),e(d,b)}})}else f(d)}function m(b){for(var d=[],e=b.split("\n"),f=0;f<e.length;f++){var g=a.trim(e[f]);g&&(g=g.split("|"),d[d.length]={data:g,value:g[0],result:c.formatResult&&c.formatResult(g,g[0])||g[0]})}return d}function n(){s.removeClass(c.loadingClass),jQuery("#send-to-input").removeClass("loading")}function o(){var a,b,c,d,e,f=document.cookie.split(";"),g={},h="bp-";for(a=0;a<f.length;a++)b=f[a],c=b.indexOf("="),d=jq.trim(unescape(b.slice(0,c))),e=unescape(b.slice(c+1)),0===d.indexOf(h)&&(g[d]=e);return encodeURIComponent(jq.param(g))}var p,q,r={UP:38,DOWN:40,DEL:46,TAB:9,RETURN:13,ESC:27,COMMA:188,PAGEUP:33,PAGEDOWN:34},s=a(b).attr("autocomplete","off").addClass(c.inputClass),t="",u=a.Autocompleter.Cache(c),v=0,w={mouseDownOnSelect:!1},x=a.Autocompleter.Select(c,b,d,w);s.keydown(function(b){switch(q=b.keyCode,b.keyCode){case r.UP:b.preventDefault(),x.visible()?x.prev():e(0,!0);break;case r.DOWN:b.preventDefault(),x.visible()?x.next():e(0,!0);break;case r.PAGEUP:b.preventDefault(),x.visible()?x.pageUp():e(0,!0);break;case r.PAGEDOWN:b.preventDefault(),x.visible()?x.pageDown():e(0,!0);break;case c.multiple&&","==a.trim(c.multipleSeparator)&&r.COMMA:case r.TAB:case r.RETURN:d()&&(c.multiple||s.blur(),b.preventDefault(),s.focus());break;case r.ESC:x.hide();break;default:clearTimeout(p),p=setTimeout(e,c.delay)}}).keypress(function(){}).focus(function(){v++}).blur(function(){v=0,w.mouseDownOnSelect||i()}).click(function(){v++>1&&!x.visible()&&e(0,!0)}).bind("search",function(){function b(a,b){var d;if(b&&b.length)for(var e=0;e<b.length;e++)if(b[e].result.toLowerCase()==a.toLowerCase()){d=b[e];break}"function"==typeof c?c(d):s.trigger("result",d&&[d.data,d.value])}var c=arguments.length>1?arguments[1]:null;a.each(f(s.val()),function(a,c){l(c,b,b)})}).bind("flushCache",function(){u.flush()}).bind("setOptions",function(){a.extend(c,arguments[1]),"data"in arguments[1]&&u.populate()}).bind("unautocomplete",function(){x.unbind(),s.unbind()})},a.Autocompleter.defaults={inputClass:"ac_input",resultsClass:"ac_results",loadingClass:"ac_loading",minChars:1,delay:400,matchCase:!1,matchSubset:!0,matchContains:!1,cacheLength:10,max:100,mustMatch:!1,extraParams:{},selectFirst:!0,formatItem:function(a){return a[0]},autoFill:!1,width:0,multiple:!1,multipleSeparator:", ",highlight:function(a,b){return a.replace(new RegExp("(?![^&;]+;)(?!<[^<>]*)("+b.replace(/([\^\$\(\)\[\]\{\}\*\.\+\?\|\\])/gi,"\\$1")+")(?![^<>]*>)(?![^&;]+;)","gi"),"<strong>$1</strong>")},scroll:!0,scrollHeight:250,attachTo:"body"},a.Autocompleter.Cache=function(b){function c(a,c){b.matchCase||(a=a.toLowerCase());var d=a.indexOf(c);return-1==d?!1:0==d||b.matchContains}function d(a,c){h>b.cacheLength&&f(),g[a]||h++,g[a]=c}function e(){if(!b.data)return!1;var c={},e=0;b.url||(b.cacheLength=1),c[""]=[];for(var f=0,g=b.data.length;g>f;f++){var h=b.data[f];h="string"==typeof h?[h]:h;var i=b.formatItem(h,f+1,b.data.length);if(i!==!1){var j=i.charAt(0).toLowerCase();c[j]||(c[j]=[]);var k={value:i,data:h,result:b.formatResult&&b.formatResult(h)||i};c[j].push(k),e++<b.max&&c[""].push(k)}}a.each(c,function(a,c){b.cacheLength++,d(a,c)})}function f(){g={},h=0}var g={},h=0;return setTimeout(e,25),{flush:f,add:d,populate:e,load:function(d){if(!b.cacheLength||!h)return null;if(!b.url&&b.matchContains){var e=[];for(var f in g)if(f.length>0){var i=g[f];a.each(i,function(a,b){c(b.value,d)&&e.push(b)})}return e}if(g[d])return g[d];if(b.matchSubset)for(var j=d.length-1;j>=b.minChars;j--){var i=g[d.substr(0,j)];if(i){var e=[];return a.each(i,function(a,b){c(b.value,d)&&(e[e.length]=b)}),e}}return null}}},a.Autocompleter.Select=function(b,c,d,e){function f(){s&&(n=a("<div/>").hide().addClass(b.resultsClass).css("position","absolute").appendTo(b.attachTo),o=a("<ul>").appendTo(n).mouseover(function(b){g(b).nodeName&&"LI"==g(b).nodeName.toUpperCase()&&(q=a("li",o).removeClass(p.ACTIVE).index(g(b)),a(g(b)).addClass(p.ACTIVE))}).click(function(b){return a(g(b)).addClass(p.ACTIVE),d(),c.focus(),!1}).mousedown(function(){e.mouseDownOnSelect=!0}).mouseup(function(){e.mouseDownOnSelect=!1}),b.width>0&&n.css("width",b.width),s=!1)}function g(a){for(var b=a.target;b&&"LI"!=b.tagName;)b=b.parentNode;return b?b:[]}function h(a){l.slice(q,q+1).removeClass(),i(a);var c=l.slice(q,q+1).addClass(p.ACTIVE);if(b.scroll){var d=0;l.slice(0,q).each(function(){d+=this.offsetHeight}),d+c[0].offsetHeight-o.scrollTop()>o[0].clientHeight?o.scrollTop(d+c[0].offsetHeight-o.innerHeight()):d<o.scrollTop()&&o.scrollTop(d)}}function i(a){q+=a,0>q?q=l.size()-1:q>=l.size()&&(q=0)}function j(a){return b.max&&b.max<a?b.max:a}function k(){o.empty();for(var c=j(m.length),d=0;c>d;d++)if(m[d]){var e=b.formatItem(m[d].data,d+1,c,m[d].value,r);if(e!==!1){var f=a("<li>").html(b.highlight(e,r)).addClass(d%2==0?"ac_event":"ac_odd").appendTo(o)[0];a.data(f,"ac_data",m[d])}}l=o.find("li"),b.selectFirst&&(l.slice(0,1).addClass(p.ACTIVE),q=0),o.bgiframe()}var l,m,n,o,p={ACTIVE:"ac_over"},q=-1,r="",s=!0;return{display:function(a,b){f(),m=a,r=b,k()},next:function(){h(1)},prev:function(){h(-1)},pageUp:function(){h(0!=q&&0>q-8?-q:-8)},pageDown:function(){h(q!=l.size()-1&&q+8>l.size()?l.size()-1-q:8)},hide:function(){n&&n.hide(),q=-1},visible:function(){return n&&n.is(":visible")},current:function(){return this.visible()&&(l.filter("."+p.ACTIVE)[0]||b.selectFirst&&l[0])},show:function(){var d=a(c).offset();if(n.css({width:"string"==typeof b.width||b.width>0?b.width:a(c).width(),top:d.top+c.offsetHeight,left:d.left}).show(),b.scroll&&(o.scrollTop(0),o.css({maxHeight:b.scrollHeight,overflow:"auto"}),a.browser.msie&&"undefined"==typeof document.body.style.maxHeight)){var e=0;l.each(function(){e+=this.offsetHeight});var f=e>b.scrollHeight;o.css("height",f?b.scrollHeight:e),f||l.width(o.width()-parseInt(l.css("padding-left"))-parseInt(l.css("padding-right")))}},selected:function(){var b=l&&l.filter("."+p.ACTIVE).removeClass(p.ACTIVE);return b&&b.length&&a.data(b[0],"ac_data")},unbind:function(){n&&n.remove()}}},a.Autocompleter.Selection=function(a,b,c){if(a.createTextRange){var d=a.createTextRange();d.collapse(!0),d.moveStart("character",b),d.moveEnd("character",c),d.select()}else a.setSelectionRange?a.setSelectionRange(b,c):a.selectionStart&&(a.selectionStart=b,a.selectionEnd=c);a.focus()}}(jQuery);
1
+ /*! buddypress - v2.1.0 - 2015-01-22 9:58:49 PM UTC - https://wordpress.org/plugins/buddypress/ */
2
  !function(a){a.fn.extend({autocomplete:function(b,c){var d="string"==typeof b;return c=a.extend({},a.Autocompleter.defaults,{url:d?b:null,data:d?null:b,delay:d?a.Autocompleter.defaults.delay:10,max:c&&!c.scroll?10:150},c),c.highlight=c.highlight||function(a){return a},this.each(function(){new a.Autocompleter(this,c)})},result:function(a){return this.bind("result",a)},search:function(a){return this.trigger("search",[a])},flushCache:function(){return this.trigger("flushCache")},setOptions:function(a){return this.trigger("setOptions",[a])},unautocomplete:function(){return this.trigger("unautocomplete")}}),a.Autocompleter=function(b,c){function d(){var a=x.selected();if(!a)return!1;var b=a.result;if(t=b,c.multiple){var d=f(s.val());d.length>1&&(b=d.slice(0,d.length-1).join(c.multipleSeparator)+c.multipleSeparator+b),b+=c.multipleSeparator}return s.val(b),j(),s.trigger("result",[a.data,a.value]),!0}function e(a,b){if(q==r.DEL)return void x.hide();var d=s.val();(b||d!=t)&&(t=d,d=g(d),d.length>=c.minChars?(s.addClass(c.loadingClass),jQuery("#send-to-input").addClass("loading"),c.matchCase||(d=d.toLowerCase()),l(d,k,j)):(n(),x.hide()))}function f(b){if(!b)return[""];var d=b.split(a.trim(c.multipleSeparator)),e=[];return a.each(d,function(b,c){a.trim(c)&&(e[b]=a.trim(c))}),e}function g(a){if(!c.multiple)return a;var b=f(a);return b[b.length-1]}function h(d,e){c.autoFill&&g(s.val()).toLowerCase()==d.toLowerCase()&&8!=q&&(s.val(s.val()+e.substring(g(t).length)),a.Autocompleter.Selection(b,t.length,t.length+e.length))}function i(){clearTimeout(p),p=setTimeout(j,200)}function j(){x.hide(),clearTimeout(p),n(),c.mustMatch&&s.search(function(a){a||s.val("")})}function k(a,b){if(b&&b.length&&v){n(),x.display(b,a);var c=b[0].value.split(";");b.value=c[0],h(a,b.value),x.show()}else j()}function l(d,e,f){c.matchCase||(d=d.toLowerCase());var h=u.load(d);if(h&&h.length)e(d,h);else if("string"==typeof c.url&&c.url.length>0){var i={};a.each(c.extraParams,function(a,b){i[a]="function"==typeof b?b():b}),a.ajax({mode:"abort",port:"autocomplete"+b.name,dataType:c.dataType,url:c.url,data:a.extend({q:g(d),limit:c.max,action:"messages_autocomplete_results",cookie:o()},i),success:function(a){var b=c.parse&&c.parse(a)||m(a);u.add(d,b),e(d,b)}})}else f(d)}function m(b){for(var d=[],e=b.split("\n"),f=0;f<e.length;f++){var g=a.trim(e[f]);g&&(g=g.split("|"),d[d.length]={data:g,value:g[0],result:c.formatResult&&c.formatResult(g,g[0])||g[0]})}return d}function n(){s.removeClass(c.loadingClass),jQuery("#send-to-input").removeClass("loading")}function o(){var a,b,c,d,e,f=document.cookie.split(";"),g={},h="bp-";for(a=0;a<f.length;a++)b=f[a],c=b.indexOf("="),d=jq.trim(unescape(b.slice(0,c))),e=unescape(b.slice(c+1)),0===d.indexOf(h)&&(g[d]=e);return encodeURIComponent(jq.param(g))}var p,q,r={UP:38,DOWN:40,DEL:46,TAB:9,RETURN:13,ESC:27,COMMA:188,PAGEUP:33,PAGEDOWN:34},s=a(b).attr("autocomplete","off").addClass(c.inputClass),t="",u=a.Autocompleter.Cache(c),v=0,w={mouseDownOnSelect:!1},x=a.Autocompleter.Select(c,b,d,w);s.keydown(function(b){switch(q=b.keyCode,b.keyCode){case r.UP:b.preventDefault(),x.visible()?x.prev():e(0,!0);break;case r.DOWN:b.preventDefault(),x.visible()?x.next():e(0,!0);break;case r.PAGEUP:b.preventDefault(),x.visible()?x.pageUp():e(0,!0);break;case r.PAGEDOWN:b.preventDefault(),x.visible()?x.pageDown():e(0,!0);break;case c.multiple&&","==a.trim(c.multipleSeparator)&&r.COMMA:case r.TAB:case r.RETURN:d()&&(c.multiple||s.blur(),b.preventDefault(),s.focus());break;case r.ESC:x.hide();break;default:clearTimeout(p),p=setTimeout(e,c.delay)}}).keypress(function(){}).focus(function(){v++}).blur(function(){v=0,w.mouseDownOnSelect||i()}).click(function(){v++>1&&!x.visible()&&e(0,!0)}).bind("search",function(){function b(a,b){var d;if(b&&b.length)for(var e=0;e<b.length;e++)if(b[e].result.toLowerCase()==a.toLowerCase()){d=b[e];break}"function"==typeof c?c(d):s.trigger("result",d&&[d.data,d.value])}var c=arguments.length>1?arguments[1]:null;a.each(f(s.val()),function(a,c){l(c,b,b)})}).bind("flushCache",function(){u.flush()}).bind("setOptions",function(){a.extend(c,arguments[1]),"data"in arguments[1]&&u.populate()}).bind("unautocomplete",function(){x.unbind(),s.unbind()})},a.Autocompleter.defaults={inputClass:"ac_input",resultsClass:"ac_results",loadingClass:"ac_loading",minChars:1,delay:400,matchCase:!1,matchSubset:!0,matchContains:!1,cacheLength:10,max:100,mustMatch:!1,extraParams:{},selectFirst:!0,formatItem:function(a){return a[0]},autoFill:!1,width:0,multiple:!1,multipleSeparator:", ",highlight:function(a,b){return a.replace(new RegExp("(?![^&;]+;)(?!<[^<>]*)("+b.replace(/([\^\$\(\)\[\]\{\}\*\.\+\?\|\\])/gi,"\\$1")+")(?![^<>]*>)(?![^&;]+;)","gi"),"<strong>$1</strong>")},scroll:!0,scrollHeight:250,attachTo:"body"},a.Autocompleter.Cache=function(b){function c(a,c){b.matchCase||(a=a.toLowerCase());var d=a.indexOf(c);return-1==d?!1:0==d||b.matchContains}function d(a,c){h>b.cacheLength&&f(),g[a]||h++,g[a]=c}function e(){if(!b.data)return!1;var c={},e=0;b.url||(b.cacheLength=1),c[""]=[];for(var f=0,g=b.data.length;g>f;f++){var h=b.data[f];h="string"==typeof h?[h]:h;var i=b.formatItem(h,f+1,b.data.length);if(i!==!1){var j=i.charAt(0).toLowerCase();c[j]||(c[j]=[]);var k={value:i,data:h,result:b.formatResult&&b.formatResult(h)||i};c[j].push(k),e++<b.max&&c[""].push(k)}}a.each(c,function(a,c){b.cacheLength++,d(a,c)})}function f(){g={},h=0}var g={},h=0;return setTimeout(e,25),{flush:f,add:d,populate:e,load:function(d){if(!b.cacheLength||!h)return null;if(!b.url&&b.matchContains){var e=[];for(var f in g)if(f.length>0){var i=g[f];a.each(i,function(a,b){c(b.value,d)&&e.push(b)})}return e}if(g[d])return g[d];if(b.matchSubset)for(var j=d.length-1;j>=b.minChars;j--){var i=g[d.substr(0,j)];if(i){var e=[];return a.each(i,function(a,b){c(b.value,d)&&(e[e.length]=b)}),e}}return null}}},a.Autocompleter.Select=function(b,c,d,e){function f(){s&&(n=a("<div/>").hide().addClass(b.resultsClass).css("position","absolute").appendTo(b.attachTo),o=a("<ul>").appendTo(n).mouseover(function(b){g(b).nodeName&&"LI"==g(b).nodeName.toUpperCase()&&(q=a("li",o).removeClass(p.ACTIVE).index(g(b)),a(g(b)).addClass(p.ACTIVE))}).click(function(b){return a(g(b)).addClass(p.ACTIVE),d(),c.focus(),!1}).mousedown(function(){e.mouseDownOnSelect=!0}).mouseup(function(){e.mouseDownOnSelect=!1}),b.width>0&&n.css("width",b.width),s=!1)}function g(a){for(var b=a.target;b&&"LI"!=b.tagName;)b=b.parentNode;return b?b:[]}function h(a){l.slice(q,q+1).removeClass(),i(a);var c=l.slice(q,q+1).addClass(p.ACTIVE);if(b.scroll){var d=0;l.slice(0,q).each(function(){d+=this.offsetHeight}),d+c[0].offsetHeight-o.scrollTop()>o[0].clientHeight?o.scrollTop(d+c[0].offsetHeight-o.innerHeight()):d<o.scrollTop()&&o.scrollTop(d)}}function i(a){q+=a,0>q?q=l.size()-1:q>=l.size()&&(q=0)}function j(a){return b.max&&b.max<a?b.max:a}function k(){o.empty();for(var c=j(m.length),d=0;c>d;d++)if(m[d]){var e=b.formatItem(m[d].data,d+1,c,m[d].value,r);if(e!==!1){var f=a("<li>").html(b.highlight(e,r)).addClass(d%2==0?"ac_event":"ac_odd").appendTo(o)[0];a.data(f,"ac_data",m[d])}}l=o.find("li"),b.selectFirst&&(l.slice(0,1).addClass(p.ACTIVE),q=0),o.bgiframe()}var l,m,n,o,p={ACTIVE:"ac_over"},q=-1,r="",s=!0;return{display:function(a,b){f(),m=a,r=b,k()},next:function(){h(1)},prev:function(){h(-1)},pageUp:function(){h(0!=q&&0>q-8?-q:-8)},pageDown:function(){h(q!=l.size()-1&&q+8>l.size()?l.size()-1-q:8)},hide:function(){n&&n.hide(),q=-1},visible:function(){return n&&n.is(":visible")},current:function(){return this.visible()&&(l.filter("."+p.ACTIVE)[0]||b.selectFirst&&l[0])},show:function(){var d=a(c).offset();if(n.css({width:"string"==typeof b.width||b.width>0?b.width:a(c).width(),top:d.top+c.offsetHeight,left:d.left}).show(),b.scroll&&(o.scrollTop(0),o.css({maxHeight:b.scrollHeight,overflow:"auto"}),a.browser.msie&&"undefined"==typeof document.body.style.maxHeight)){var e=0;l.each(function(){e+=this.offsetHeight});var f=e>b.scrollHeight;o.css("height",f?b.scrollHeight:e),f||l.width(o.width()-parseInt(l.css("padding-left"))-parseInt(l.css("padding-right")))}},selected:function(){var b=l&&l.filter("."+p.ACTIVE).removeClass(p.ACTIVE);return b&&b.length&&a.data(b[0],"ac_data")},unbind:function(){n&&n.remove()}}},a.Autocompleter.Selection=function(a,b,c){if(a.createTextRange){var d=a.createTextRange();d.collapse(!0),d.moveStart("character",b),d.moveEnd("character",c),d.select()}else a.setSelectionRange?a.setSelectionRange(b,c):a.selectionStart&&(a.selectionStart=b,a.selectionEnd=c);a.focus()}}(jQuery);
bp-core/deprecated/js/autocomplete/jquery.autocompletefb.min.js CHANGED
@@ -1,2 +1,2 @@
1
- /*! buddypress - v2.1.0 - 2015-01-15 12:34:33 AM UTC - https://wordpress.org/plugins/buddypress/ */
2
  jQuery.fn.autoCompletefb=function(a){var b=this,c={ul:b,urlLookup:[""],acOptions:{},foundClass:".friend-tab",inputClass:".send-to-input"};a&&jQuery.extend(c,a);var d={params:c,removeFind:function(a){return d.removeUsername(a),jQuery(a).unbind("click").parent().remove(),jQuery(c.inputClass,b).focus(),b.acfb},removeUsername:function(a){var b=a.parentNode.id.substr(a.parentNode.id.indexOf("-")+1);jQuery("#send-to-usernames").removeClass(b)}};return jQuery(c.foundClass+" img.p").click(function(){d.removeFind(this)}),jQuery(c.inputClass,b).autocomplete(c.urlLookup,c.acOptions),jQuery(c.inputClass,b).result(function(a,e,f){var f=c.foundClass.replace(/\./,""),e=String(e).split(" ("),g=e[1].substr(0,e[1].length-1);if(0===jQuery(c.inputClass).siblings("#un-"+g).length){var h="#link-"+g,i=jQuery(h).attr("href"),j='<li class="'+f+'" id="un-'+g+'"><span><a href="'+i+'">'+e[0]+'</a></span> <span class="p">X</span></li>',k=jQuery(c.inputClass,b).before(j);jQuery("#send-to-usernames").addClass(g),jQuery(".p",k[0].previousSibling).click(function(){d.removeFind(this)})}jQuery(c.inputClass,b).val("")}),jQuery(c.inputClass,b).focus(),d};
1
+ /*! buddypress - v2.1.0 - 2015-01-22 9:58:49 PM UTC - https://wordpress.org/plugins/buddypress/ */
2
  jQuery.fn.autoCompletefb=function(a){var b=this,c={ul:b,urlLookup:[""],acOptions:{},foundClass:".friend-tab",inputClass:".send-to-input"};a&&jQuery.extend(c,a);var d={params:c,removeFind:function(a){return d.removeUsername(a),jQuery(a).unbind("click").parent().remove(),jQuery(c.inputClass,b).focus(),b.acfb},removeUsername:function(a){var b=a.parentNode.id.substr(a.parentNode.id.indexOf("-")+1);jQuery("#send-to-usernames").removeClass(b)}};return jQuery(c.foundClass+" img.p").click(function(){d.removeFind(this)}),jQuery(c.inputClass,b).autocomplete(c.urlLookup,c.acOptions),jQuery(c.inputClass,b).result(function(a,e,f){var f=c.foundClass.replace(/\./,""),e=String(e).split(" ("),g=e[1].substr(0,e[1].length-1);if(0===jQuery(c.inputClass).siblings("#un-"+g).length){var h="#link-"+g,i=jQuery(h).attr("href"),j='<li class="'+f+'" id="un-'+g+'"><span><a href="'+i+'">'+e[0]+'</a></span> <span class="p">X</span></li>',k=jQuery(c.inputClass,b).before(j);jQuery("#send-to-usernames").addClass(g),jQuery(".p",k[0].previousSibling).click(function(){d.removeFind(this)})}jQuery(c.inputClass,b).val("")}),jQuery(c.inputClass,b).focus(),d};
bp-core/deprecated/js/autocomplete/jquery.bgiframe.min.js CHANGED
@@ -1,2 +1,2 @@
1
- /*! buddypress - v2.1.0 - 2015-01-15 12:34:33 AM UTC - https://wordpress.org/plugins/buddypress/ */
2
  !function(a){function b(a){return a&&a.constructor===Number?a+"px":a}a.fn.bgiframe=a.browser.msie&&/msie 6\.0/i.test(navigator.userAgent)?function(c){c=a.extend({top:"auto",left:"auto",width:"auto",height:"auto",opacity:!0,src:"javascript:false;"},c);var d='<iframe class="bgiframe"frameborder="0"tabindex="-1"src="'+c.src+'"style="display:block;position:absolute;z-index:-1;'+(c.opacity!==!1?"filter:Alpha(Opacity='0');":"")+"top:"+("auto"==c.top?"expression(((parseInt(this.parentNode.currentStyle.borderTopWidth)||0)*-1)+'px')":b(c.top))+";left:"+("auto"==c.left?"expression(((parseInt(this.parentNode.currentStyle.borderLeftWidth)||0)*-1)+'px')":b(c.left))+";width:"+("auto"==c.width?"expression(this.parentNode.offsetWidth+'px')":b(c.width))+";height:"+("auto"==c.height?"expression(this.parentNode.offsetHeight+'px')":b(c.height))+';"/>';return this.each(function(){0===a(this).children("iframe.bgiframe").length&&this.insertBefore(document.createElement(d),this.firstChild)})}:function(){return this},a.fn.bgIframe=a.fn.bgiframe}(jQuery);
1
+ /*! buddypress - v2.1.0 - 2015-01-22 9:58:49 PM UTC - https://wordpress.org/plugins/buddypress/ */
2
  !function(a){function b(a){return a&&a.constructor===Number?a+"px":a}a.fn.bgiframe=a.browser.msie&&/msie 6\.0/i.test(navigator.userAgent)?function(c){c=a.extend({top:"auto",left:"auto",width:"auto",height:"auto",opacity:!0,src:"javascript:false;"},c);var d='<iframe class="bgiframe"frameborder="0"tabindex="-1"src="'+c.src+'"style="display:block;position:absolute;z-index:-1;'+(c.opacity!==!1?"filter:Alpha(Opacity='0');":"")+"top:"+("auto"==c.top?"expression(((parseInt(this.parentNode.currentStyle.borderTopWidth)||0)*-1)+'px')":b(c.top))+";left:"+("auto"==c.left?"expression(((parseInt(this.parentNode.currentStyle.borderLeftWidth)||0)*-1)+'px')":b(c.left))+";width:"+("auto"==c.width?"expression(this.parentNode.offsetWidth+'px')":b(c.width))+";height:"+("auto"==c.height?"expression(this.parentNode.offsetHeight+'px')":b(c.height))+';"/>';return this.each(function(){0===a(this).children("iframe.bgiframe").length&&this.insertBefore(document.createElement(d),this.firstChild)})}:function(){return this},a.fn.bgIframe=a.fn.bgiframe}(jQuery);
bp-core/deprecated/js/autocomplete/jquery.dimensions.min.js CHANGED
@@ -1,2 +1,2 @@
1
- /*! buddypress - v2.1.0 - 2015-01-15 12:34:33 AM UTC - https://wordpress.org/plugins/buddypress/ */
2
  !function(a){a.dimensions={version:"@VERSION"},a.each(["Height","Width"],function(c,d){a.fn["inner"+d]=function(){if(this[0]){var a="Height"==d?"Top":"Left",c="Height"==d?"Bottom":"Right";return this[d.toLowerCase()]()+b(this,"padding"+a)+b(this,"padding"+c)}},a.fn["outer"+d]=function(c){if(this[0]){var e="Height"==d?"Top":"Left",f="Height"==d?"Bottom":"Right";return c=a.extend({margin:!1},c||{}),this[d.toLowerCase()]()+b(this,"border"+e+"Width")+b(this,"border"+f+"Width")+b(this,"padding"+e)+b(this,"padding"+f)+(c.margin?b(this,"margin"+e)+b(this,"margin"+f):0)}}}),a.each(["Left","Top"],function(b,c){a.fn["scroll"+c]=function(b){return this[0]?void 0!=b?this.each(function(){this==window||this==document?window.scrollTo("Left"==c?b:a(window).scrollLeft(),"Top"==c?b:a(window).scrollTop()):this["scroll"+c]=b}):this[0]==window||this[0]==document?self["Left"==c?"pageXOffset":"pageYOffset"]||a.boxModel&&document.documentElement["scroll"+c]||document.body["scroll"+c]:this[0]["scroll"+c]:void 0}}),a.fn.extend({position:function(){var a,c,d,e,f=this[0];return f&&(d=this.offsetParent(),a=this.offset(),c=d.offset(),a.top-=b(f,"marginTop"),a.left-=b(f,"marginLeft"),c.top+=b(d,"borderTopWidth"),c.left+=b(d,"borderLeftWidth"),e={top:a.top-c.top,left:a.left-c.left}),e},offsetParent:function(){for(var b=this[0].offsetParent;b&&!/^body|html$/i.test(b.tagName)&&"static"==a.css(b,"position");)b=b.offsetParent;return a(b)}});var b=function(b,c){return parseInt(a.css(b.jquery?b[0]:b,c))||0}}(jQuery);
1
+ /*! buddypress - v2.1.0 - 2015-01-22 9:58:49 PM UTC - https://wordpress.org/plugins/buddypress/ */
2
  !function(a){a.dimensions={version:"@VERSION"},a.each(["Height","Width"],function(c,d){a.fn["inner"+d]=function(){if(this[0]){var a="Height"==d?"Top":"Left",c="Height"==d?"Bottom":"Right";return this[d.toLowerCase()]()+b(this,"padding"+a)+b(this,"padding"+c)}},a.fn["outer"+d]=function(c){if(this[0]){var e="Height"==d?"Top":"Left",f="Height"==d?"Bottom":"Right";return c=a.extend({margin:!1},c||{}),this[d.toLowerCase()]()+b(this,"border"+e+"Width")+b(this,"border"+f+"Width")+b(this,"padding"+e)+b(this,"padding"+f)+(c.margin?b(this,"margin"+e)+b(this,"margin"+f):0)}}}),a.each(["Left","Top"],function(b,c){a.fn["scroll"+c]=function(b){return this[0]?void 0!=b?this.each(function(){this==window||this==document?window.scrollTo("Left"==c?b:a(window).scrollLeft(),"Top"==c?b:a(window).scrollTop()):this["scroll"+c]=b}):this[0]==window||this[0]==document?self["Left"==c?"pageXOffset":"pageYOffset"]||a.boxModel&&document.documentElement["scroll"+c]||document.body["scroll"+c]:this[0]["scroll"+c]:void 0}}),a.fn.extend({position:function(){var a,c,d,e,f=this[0];return f&&(d=this.offsetParent(),a=this.offset(),c=d.offset(),a.top-=b(f,"marginTop"),a.left-=b(f,"marginLeft"),c.top+=b(d,"borderTopWidth"),c.left+=b(d,"borderLeftWidth"),e={top:a.top-c.top,left:a.left-c.left}),e},offsetParent:function(){for(var b=this[0].offsetParent;b&&!/^body|html$/i.test(b.tagName)&&"static"==a.css(b,"position");)b=b.offsetParent;return a(b)}});var b=function(b,c){return parseInt(a.css(b.jquery?b[0]:b,c))||0}}(jQuery);
bp-core/deprecated/js/jquery-scroll-to.min.js CHANGED
@@ -1,2 +1,2 @@
1
- /*! buddypress - v2.1.0 - 2015-01-15 12:34:33 AM UTC - https://wordpress.org/plugins/buddypress/ */
2
  !function(a){"function"==typeof define&&define.amd?define(["jquery"],a):a("object"==typeof exports?require("jquery"):jQuery)}(function(a){function b(b){return a.isFunction(b)||"object"==typeof b?b:{top:b,left:b}}var c=a.scrollTo=function(b,c,d){return a(window).scrollTo(b,c,d)};return c.defaults={axis:"xy",duration:parseFloat(a.fn.jquery)>=1.3?0:1,limit:!0},c.window=function(){return a(window)._scrollable()},a.fn._scrollable=function(){return this.map(function(){var b=this,c=!b.nodeName||-1!==a.inArray(b.nodeName.toLowerCase(),["iframe","#document","html","body"]);if(!c)return b;var d=(b.contentWindow||b).document||b.ownerDocument||b;return/webkit/i.test(navigator.userAgent)||"BackCompat"===d.compatMode?d.body:d.documentElement})},a.fn.scrollTo=function(d,e,f){return"object"==typeof e&&(f=e,e=0),"function"==typeof f&&(f={onAfter:f}),"max"===d&&(d=9e9),f=a.extend({},c.defaults,f),e=e||f.duration,f.queue=f.queue&&f.axis.length>1,f.queue&&(e/=2),f.offset=b(f.offset),f.over=b(f.over),this._scrollable().each(function(){function g(a){j.animate(l,e,f.easing,a&&function(){a.call(this,k,f)})}if(null!==d){var h,i=this,j=a(i),k=d,l={},m=j.is("html,body");switch(typeof k){case"number":case"string":if(/^([+-]=?)?\d+(\.\d+)?(px|%)?$/.test(k)){k=b(k);break}if(k=m?a(k):a(k,this),!k.length)return;case"object":(k.is||k.style)&&(h=(k=a(k)).offset())}var n=a.isFunction(f.offset)&&f.offset(i,k)||f.offset;a.each(f.axis.split(""),function(a,b){var d="x"===b?"Left":"Top",e=d.toLowerCase(),o="scroll"+d,p=i[o],q=c.max(i,b);if(h)l[o]=h[e]+(m?0:p-j.offset()[e]),f.margin&&(l[o]-=parseInt(k.css("margin"+d))||0,l[o]-=parseInt(k.css("border"+d+"Width"))||0),l[o]+=n[e]||0,f.over[e]&&(l[o]+=k["x"===b?"width":"height"]()*f.over[e]);else{var r=k[e];l[o]=r.slice&&"%"===r.slice(-1)?parseFloat(r)/100*q:r}f.limit&&/^\d+$/.test(l[o])&&(l[o]=l[o]<=0?0:Math.min(l[o],q)),!a&&f.queue&&(p!==l[o]&&g(f.onAfterFirst),delete l[o])}),g(f.onAfter)}}).end()},c.max=function(b,c){var d="x"===c?"Width":"Height",e="scroll"+d;if(!a(b).is("html,body"))return b[e]-a(b)[d.toLowerCase()]();var f="client"+d,g=b.ownerDocument.documentElement,h=b.ownerDocument.body;return Math.max(g[e],h[e])-Math.min(g[f],h[f])},c});
1
+ /*! buddypress - v2.1.0 - 2015-01-22 9:58:49 PM UTC - https://wordpress.org/plugins/buddypress/ */
2
  !function(a){"function"==typeof define&&define.amd?define(["jquery"],a):a("object"==typeof exports?require("jquery"):jQuery)}(function(a){function b(b){return a.isFunction(b)||"object"==typeof b?b:{top:b,left:b}}var c=a.scrollTo=function(b,c,d){return a(window).scrollTo(b,c,d)};return c.defaults={axis:"xy",duration:parseFloat(a.fn.jquery)>=1.3?0:1,limit:!0},c.window=function(){return a(window)._scrollable()},a.fn._scrollable=function(){return this.map(function(){var b=this,c=!b.nodeName||-1!==a.inArray(b.nodeName.toLowerCase(),["iframe","#document","html","body"]);if(!c)return b;var d=(b.contentWindow||b).document||b.ownerDocument||b;return/webkit/i.test(navigator.userAgent)||"BackCompat"===d.compatMode?d.body:d.documentElement})},a.fn.scrollTo=function(d,e,f){return"object"==typeof e&&(f=e,e=0),"function"==typeof f&&(f={onAfter:f}),"max"===d&&(d=9e9),f=a.extend({},c.defaults,f),e=e||f.duration,f.queue=f.queue&&f.axis.length>1,f.queue&&(e/=2),f.offset=b(f.offset),f.over=b(f.over),this._scrollable().each(function(){function g(a){j.animate(l,e,f.easing,a&&function(){a.call(this,k,f)})}if(null!==d){var h,i=this,j=a(i),k=d,l={},m=j.is("html,body");switch(typeof k){case"number":case"string":if(/^([+-]=?)?\d+(\.\d+)?(px|%)?$/.test(k)){k=b(k);break}if(k=m?a(k):a(k,this),!k.length)return;case"object":(k.is||k.style)&&(h=(k=a(k)).offset())}var n=a.isFunction(f.offset)&&f.offset(i,k)||f.offset;a.each(f.axis.split(""),function(a,b){var d="x"===b?"Left":"Top",e=d.toLowerCase(),o="scroll"+d,p=i[o],q=c.max(i,b);if(h)l[o]=h[e]+(m?0:p-j.offset()[e]),f.margin&&(l[o]-=parseInt(k.css("margin"+d))||0,l[o]-=parseInt(k.css("border"+d+"Width"))||0),l[o]+=n[e]||0,f.over[e]&&(l[o]+=k["x"===b?"width":"height"]()*f.over[e]);else{var r=k[e];l[o]=r.slice&&"%"===r.slice(-1)?parseFloat(r)/100*q:r}f.limit&&/^\d+$/.test(l[o])&&(l[o]=l[o]<=0?0:Math.min(l[o],q)),!a&&f.queue&&(p!==l[o]&&g(f.onAfterFirst),delete l[o])}),g(f.onAfter)}}).end()},c.max=function(b,c){var d="x"===c?"Width":"Height",e="scroll"+d;if(!a(b).is("html,body"))return b[e]-a(b)[d.toLowerCase()]();var f="client"+d,g=b.ownerDocument.documentElement,h=b.ownerDocument.body;return Math.max(g[e],h[e])-Math.min(g[f],h[f])},c});
bp-core/js/confirm.min.js CHANGED
@@ -1,2 +1,2 @@
1
- /*! buddypress - v2.1.0 - 2015-01-15 12:34:33 AM UTC - https://wordpress.org/plugins/buddypress/ */
2
  jQuery(document).ready(function(){jQuery("a.confirm").click(function(){return confirm(BP_Confirm.are_you_sure)?!0:!1})});
1
+ /*! buddypress - v2.1.0 - 2015-01-22 9:58:49 PM UTC - https://wordpress.org/plugins/buddypress/ */
2
  jQuery(document).ready(function(){jQuery("a.confirm").click(function(){return confirm(BP_Confirm.are_you_sure)?!0:!1})});
bp-core/js/jquery-cookie.min.js CHANGED
@@ -1,2 +1,2 @@
1
- /*! buddypress - v2.1.0 - 2015-01-15 12:34:33 AM UTC - https://wordpress.org/plugins/buddypress/ */
2
  !function(a){"function"==typeof define&&define.amd?define(["jquery"],a):a("object"==typeof exports?require("jquery"):jQuery)}(function(a){function b(a){return h.raw?a:encodeURIComponent(a)}function c(a){return h.raw?a:decodeURIComponent(a)}function d(a){return b(h.json?JSON.stringify(a):String(a))}function e(a){0===a.indexOf('"')&&(a=a.slice(1,-1).replace(/\\"/g,'"').replace(/\\\\/g,"\\"));try{return a=decodeURIComponent(a.replace(g," ")),h.json?JSON.parse(a):a}catch(b){}}function f(b,c){var d=h.raw?b:e(b);return a.isFunction(c)?c(d):d}var g=/\+/g,h=a.cookie=function(e,g,i){if(void 0!==g&&!a.isFunction(g)){if(i=a.extend({},h.defaults,i),"number"==typeof i.expires){var j=i.expires,k=i.expires=new Date;k.setTime(+k+864e5*j)}return document.cookie=[b(e),"=",d(g),i.expires?"; expires="+i.expires.toUTCString():"",i.path?"; path="+i.path:"",i.domain?"; domain="+i.domain:"",i.secure?"; secure":""].join("")}for(var l=e?void 0:{},m=document.cookie?document.cookie.split("; "):[],n=0,o=m.length;o>n;n++){var p=m[n].split("="),q=c(p.shift()),r=p.join("=");if(e&&e===q){l=f(r,g);break}e||void 0===(r=f(r))||(l[q]=r)}return l};h.defaults={},a.removeCookie=function(b,c){return void 0===a.cookie(b)?!1:(a.cookie(b,"",a.extend({},c,{expires:-1})),!a.cookie(b))}});
1
+ /*! buddypress - v2.1.0 - 2015-01-22 9:58:49 PM UTC - https://wordpress.org/plugins/buddypress/ */
2
  !function(a){"function"==typeof define&&define.amd?define(["jquery"],a):a("object"==typeof exports?require("jquery"):jQuery)}(function(a){function b(a){return h.raw?a:encodeURIComponent(a)}function c(a){return h.raw?a:decodeURIComponent(a)}function d(a){return b(h.json?JSON.stringify(a):String(a))}function e(a){0===a.indexOf('"')&&(a=a.slice(1,-1).replace(/\\"/g,'"').replace(/\\\\/g,"\\"));try{return a=decodeURIComponent(a.replace(g," ")),h.json?JSON.parse(a):a}catch(b){}}function f(b,c){var d=h.raw?b:e(b);return a.isFunction(c)?c(d):d}var g=/\+/g,h=a.cookie=function(e,g,i){if(void 0!==g&&!a.isFunction(g)){if(i=a.extend({},h.defaults,i),"number"==typeof i.expires){var j=i.expires,k=i.expires=new Date;k.setTime(+k+864e5*j)}return document.cookie=[b(e),"=",d(g),i.expires?"; expires="+i.expires.toUTCString():"",i.path?"; path="+i.path:"",i.domain?"; domain="+i.domain:"",i.secure?"; secure":""].join("")}for(var l=e?void 0:{},m=document.cookie?document.cookie.split("; "):[],n=0,o=m.length;o>n;n++){var p=m[n].split("="),q=c(p.shift()),r=p.join("=");if(e&&e===q){l=f(r,g);break}e||void 0===(r=f(r))||(l[q]=r)}return l};h.defaults={},a.removeCookie=function(b,c){return void 0===a.cookie(b)?!1:(a.cookie(b,"",a.extend({},c,{expires:-1})),!a.cookie(b))}});
bp-core/js/jquery-query.min.js CHANGED
@@ -1,2 +1,2 @@
1
- /*! buddypress - v2.1.0 - 2015-01-15 12:34:33 AM UTC - https://wordpress.org/plugins/buddypress/ */
2
  function bp_get_querystring(a){var b=location.search.split(a+"=")[1];return b?decodeURIComponent(b.split("&")[0]):null}
1
+ /*! buddypress - v2.1.0 - 2015-01-22 9:58:49 PM UTC - https://wordpress.org/plugins/buddypress/ */
2
  function bp_get_querystring(a){var b=location.search.split(a+"=")[1];return b?decodeURIComponent(b.split("&")[0]):null}
bp-core/js/jquery.atwho.min.js CHANGED
@@ -1,2 +1,2 @@
1
- /*! buddypress - v2.1.0 - 2015-01-15 12:34:33 AM UTC - https://wordpress.org/plugins/buddypress/ */
2
  !function(a,b){"function"==typeof define&&define.amd?define(["jquery"],function(c){return a.returnExportsGlobal=b(c)}):"object"==typeof exports?module.exports=b(require("jquery")):b(jQuery)}(this,function(a){var b,c,d,e,f,g,h,i=[].slice;c=function(){function b(b){this.current_flag=null,this.controllers={},this.alias_maps={},this.$inputor=a(b),this.setIframe(),this.listen()}return b.prototype.createContainer=function(b){return 0===(this.$el=a("#atwho-container",b)).length?a(b.body).append(this.$el=a("<div id='atwho-container'></div>")):void 0},b.prototype.setIframe=function(a,b){var c;return null==b&&(b=!1),a?(this.window=a.contentWindow,this.document=a.contentDocument||this.window.document,this.iframe=a):(this.document=document,this.window=window,this.iframe=null),(this.iframeStandalone=b)?(null!=(c=this.$el)&&c.remove(),this.createContainer(this.document)):this.createContainer(document)},b.prototype.controller=function(a){var b,c,d,e;if(this.alias_maps[a])c=this.controllers[this.alias_maps[a]];else{e=this.controllers;for(d in e)if(b=e[d],d===a){c=b;break}}return c?c:this.controllers[this.current_flag]},b.prototype.set_context_for=function(a){return this.current_flag=a,this},b.prototype.reg=function(a,b){var c,e;return c=(e=this.controllers)[a]||(e[a]=new d(this,a)),b.alias&&(this.alias_maps[b.alias]=a),c.init(b),this},b.prototype.listen=function(){return this.$inputor.on("keyup.atwhoInner",function(a){return function(b){return a.on_keyup(b)}}(this)).on("keydown.atwhoInner",function(a){return function(b){return a.on_keydown(b)}}(this)).on("scroll.atwhoInner",function(a){return function(b){var c;return null!=(c=a.controller())?c.view.hide(b):void 0}}(this)).on("blur.atwhoInner",function(a){return function(b){var c;return(c=a.controller())?c.view.hide(b,c.get_opt("display_timeout")):void 0}}(this)).on("click.atwhoInner",function(a){return function(){return a.dispatch()}}(this))},b.prototype.shutdown=function(){var a,b,c;c=this.controllers;for(b in c)a=c[b],a.destroy(),delete this.controllers[b];return this.$inputor.off(".atwhoInner"),this.$el.remove()},b.prototype.dispatch=function(){return a.map(this.controllers,function(a){return function(b){var c;return(c=b.get_opt("delay"))?(clearTimeout(a.delayedCallback),a.delayedCallback=setTimeout(function(){return b.look_up()?a.set_context_for(b.at):void 0},c)):b.look_up()?a.set_context_for(b.at):void 0}}(this))},b.prototype.on_keyup=function(b){var c;switch(b.keyCode){case f.ESC:b.preventDefault(),null!=(c=this.controller())&&c.view.hide();break;case f.DOWN:case f.UP:case f.CTRL:a.noop();break;case f.P:case f.N:b.ctrlKey||this.dispatch();break;default:this.dispatch()}},b.prototype.on_keydown=function(b){var c,d;if(c=null!=(d=this.controller())?d.view:void 0,c&&c.visible())switch(b.keyCode){case f.ESC:b.preventDefault(),c.hide(b);break;case f.UP:b.preventDefault(),c.prev();break;case f.DOWN:b.preventDefault(),c.next();break;case f.P:if(!b.ctrlKey)return;b.preventDefault(),c.prev();break;case f.N:if(!b.ctrlKey)return;b.preventDefault(),c.next();break;case f.TAB:case f.ENTER:if(!c.visible())return;b.preventDefault(),c.choose(b);break;default:a.noop()}},b}(),d=function(){function b(b,c){this.app=b,this.at=c,this.$inputor=this.app.$inputor,this.id=this.$inputor[0].id||this.uid(),this.setting=null,this.query=null,this.pos=0,this.cur_rect=null,this.range=null,0===(this.$el=a("#atwho-ground-"+this.id,this.app.$el)).length&&this.app.$el.append(this.$el=a("<div id='atwho-ground-"+this.id+"'></div>")),this.model=new g(this),this.view=new h(this)}return b.prototype.uid=function(){return(Math.random().toString(16)+"000000000").substr(2,8)+(new Date).getTime()},b.prototype.init=function(b){return this.setting=a.extend({},this.setting||a.fn.atwho["default"],b),this.view.init(),this.model.reload(this.setting.data)},b.prototype.destroy=function(){return this.trigger("beforeDestroy"),this.model.destroy(),this.view.destroy(),this.$el.remove()},b.prototype.call_default=function(){var b,c,d;d=arguments[0],b=2<=arguments.length?i.call(arguments,1):[];try{return e[d].apply(this,b)}catch(f){return c=f,a.error(""+c+" Or maybe At.js doesn't have function "+d)}},b.prototype.trigger=function(a,b){var c,d;return null==b&&(b=[]),b.push(this),c=this.get_opt("alias"),d=c?""+a+"-"+c+".atwho":""+a+".atwho",this.$inputor.trigger(d,b)},b.prototype.callbacks=function(a){return this.get_opt("callbacks")[a]||e[a]},b.prototype.get_opt=function(a){var b;try{return this.setting[a]}catch(c){return b=c,null}},b.prototype.content=function(){var a;if(this.$inputor.is("textarea, input"))return this.$inputor.val();if(a=this.mark_range())return(a.startContainer.textContent||"").slice(0,a.startOffset)},b.prototype.catch_query=function(){var a,b,c,d,e,f;return b=this.content(),a=this.$inputor.caret("pos",{iframe:this.app.iframe}),f=b.slice(0,a),d=this.callbacks("matcher").call(this,this.at,f,this.get_opt("start_with_space")),"string"==typeof d&&d.length<=this.get_opt("max_len",20)?(e=a-d.length,c=e+d.length,this.pos=e,d={text:d,head_pos:e,end_pos:c},this.trigger("matched",[this.at,d.text])):(d=null,this.view.hide()),this.query=d},b.prototype.rect=function(){var b,c,d;if(b=this.$inputor.caret("offset",this.pos-1,{iframe:this.app.iframe}))return this.app.iframe&&!this.app.iframeStandalone&&(c=a(this.app.iframe).offset(),b.left+=c.left,b.top+=c.top),this.$inputor.is("[contentEditable]")&&(b=this.cur_rect||(this.cur_rect=b)),d=this.app.document.selection?0:2,{left:b.left,top:b.top,bottom:b.top+b.height+d}},b.prototype.reset_rect=function(){return this.$inputor.is("[contentEditable]")?this.cur_rect=null:void 0},b.prototype.mark_range=function(){var a;if(this.$inputor.is("[contentEditable]"))return this.app.window.getSelection&&(a=this.app.window.getSelection()).rangeCount>0?this.range=a.getRangeAt(0):this.app.document.selection?this.ie8_range=this.app.document.selection.createRange():void 0},b.prototype.insert_content_for=function(b){var c,d,e;return d=b.data("value"),e=this.get_opt("insert_tpl"),this.$inputor.is("textarea, input")||!e?d:(c=a.extend({},b.data("item-data"),{"atwho-data-value":d,"atwho-at":this.at}),this.callbacks("tpl_eval").call(this,e,c))},b.prototype.insert=function(b){var c,d,e,f,g,h,i,j,k,l,m,n;if(c=this.$inputor,k=this.callbacks("inserting_wrapper").call(this,c,b,this.get_opt("suffix")),c.is("textarea, input"))h=c.val(),i=h.slice(0,Math.max(this.query.head_pos-this.at.length,0)),j=""+i+k+h.slice(this.query.end_pos||0),c.val(j),c.caret("pos",i.length+k.length,{iframe:this.app.iframe});else if(f=this.range){for(e=f.startOffset-(this.query.end_pos-this.query.head_pos)-this.at.length,f.setStart(f.endContainer,Math.max(e,0)),f.setEnd(f.endContainer,f.endOffset),f.deleteContents(),n=a(k,this.app.document),l=0,m=n.length;m>l;l++)d=n[l],f.insertNode(d),f.setEndAfter(d),f.collapse(!1);g=this.app.window.getSelection(),g.removeAllRanges(),g.addRange(f)}else(f=this.ie8_range)&&(f.moveStart("character",this.query.end_pos-this.query.head_pos-this.at.length),f.pasteHTML(k),f.collapse(!1),f.select());return c.is(":focus")||c.focus(),c.change()},b.prototype.render_view=function(a){var b;return b=this.get_opt("search_key"),a=this.callbacks("sorter").call(this,this.query.text,a.slice(0,1001),b),this.view.render(a.slice(0,this.get_opt("limit")))},b.prototype.look_up=function(){var b,c;if(b=this.catch_query())return c=function(a){return a&&a.length>0?this.render_view(a):this.view.hide()},this.model.query(b.text,a.proxy(c,this)),b},b}(),g=function(){function b(a){this.context=a,this.at=this.context.at,this.storage=this.context.$inputor}return b.prototype.destroy=function(){return this.storage.data(this.at,null)},b.prototype.saved=function(){return this.fetch()>0},b.prototype.query=function(a,b){var c,d,e;return c=this.fetch(),d=this.context.get_opt("search_key"),c=this.context.callbacks("filter").call(this.context,a,c,d)||[],e=this.context.callbacks("remote_filter"),c.length>0||!e&&0===c.length?b(c):e.call(this.context,a,b)},b.prototype.fetch=function(){return this.storage.data(this.at)||[]},b.prototype.save=function(a){return this.storage.data(this.at,this.context.callbacks("before_save").call(this.context,a||[]))},b.prototype.load=function(a){return!this.saved()&&a?this._load(a):void 0},b.prototype.reload=function(a){return this._load(a)},b.prototype._load=function(b){return"string"==typeof b?a.ajax(b,{dataType:"json"}).done(function(a){return function(b){return a.save(b)}}(this)):this.save(b)},b}(),h=function(){function b(b){this.context=b,this.$el=a("<div class='atwho-view'><ul class='atwho-view-ul'></ul></div>"),this.timeout_id=null,this.context.$el.append(this.$el),this.bind_event()}return b.prototype.init=function(){var a;return a=this.context.get_opt("alias")||this.context.at.charCodeAt(0),this.$el.attr({id:"at-view-"+a})},b.prototype.destroy=function(){return this.$el.remove()},b.prototype.bind_event=function(){var b;return b=this.$el.find("ul"),b.on("mouseenter.atwho-view","li",function(c){return b.find(".cur").removeClass("cur"),a(c.currentTarget).addClass("cur")}).on("click.atwho-view","li",function(c){return function(d){return b.find(".cur").removeClass("cur"),a(d.currentTarget).addClass("cur"),c.choose(d),d.preventDefault()}}(this))},b.prototype.visible=function(){return this.$el.is(":visible")},b.prototype.choose=function(a){var b,c;return(b=this.$el.find(".cur")).length&&(c=this.context.insert_content_for(b),this.context.insert(this.context.callbacks("before_insert").call(this.context,c,b),b),this.context.trigger("inserted",[b,a]),this.hide(a)),this.context.get_opt("hide_without_suffix")?this.stop_showing=!0:void 0},b.prototype.reposition=function(b){var c,d,e,f;return f=this.context.app.iframeStandalone?this.context.app.window:window,b.bottom+this.$el.height()-a(f).scrollTop()>a(f).height()&&(b.bottom=b.top-this.$el.height()),b.left>(d=a(f).width()-this.$el.width()-5)&&(b.left=d),c={left:b.left,top:b.bottom},null!=(e=this.context.callbacks("before_reposition"))&&e.call(this.context,c),this.$el.offset(c),this.context.trigger("reposition",[c])},b.prototype.next=function(){var a,b;return a=this.$el.find(".cur").removeClass("cur"),b=a.next(),b.length||(b=this.$el.find("li:first")),b.addClass("cur"),this.$el.animate({scrollTop:Math.max(0,a.innerHeight()*(b.index()+2)-this.$el.height())},150)},b.prototype.prev=function(){var a,b;return a=this.$el.find(".cur").removeClass("cur"),b=a.prev(),b.length||(b=this.$el.find("li:last")),b.addClass("cur"),this.$el.animate({scrollTop:Math.max(0,a.innerHeight()*(b.index()+2)-this.$el.height())},150)},b.prototype.show=function(){var a;return this.stop_showing?void(this.stop_showing=!1):(this.context.mark_range(),this.visible()||(this.$el.show(),this.$el.scrollTop(0),this.context.trigger("shown")),(a=this.context.rect())?this.reposition(a):void 0)},b.prototype.hide=function(a,b){var c;if(this.visible())return isNaN(b)?(this.context.reset_rect(),this.$el.hide(),this.context.trigger("hidden",[a])):(c=function(a){return function(){return a.hide()}}(this),clearTimeout(this.timeout_id),this.timeout_id=setTimeout(c,b))},b.prototype.render=function(b){var c,d,e,f,g,h,i;if(!(a.isArray(b)&&b.length>0))return void this.hide();for(this.$el.find("ul").empty(),d=this.$el.find("ul"),g=this.context.get_opt("tpl"),h=0,i=b.length;i>h;h++)e=b[h],e=a.extend({},e,{"atwho-at":this.context.at}),f=this.context.callbacks("tpl_eval").call(this.context,g,e),c=a(this.context.callbacks("highlighter").call(this.context,f,this.context.query.text)),c.data("item-data",e),d.append(c);return this.show(),this.context.get_opt("highlight_first")?d.find("li:first").addClass("cur"):void 0},b}(),f={DOWN:40,UP:38,ESC:27,TAB:9,ENTER:13,CTRL:17,P:80,N:78},e={before_save:function(b){var c,d,e,f;if(!a.isArray(b))return b;for(f=[],d=0,e=b.length;e>d;d++)c=b[d],f.push(a.isPlainObject(c)?c:{name:c});return f},matcher:function(a,b,c){var d,e,f,g;return a=a.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"),c&&(a="(?:^|\\s)"+a),f=decodeURI("%C3%80"),g=decodeURI("%C3%BF"),e=new RegExp(""+a+"([A-Za-z"+f+"-"+g+"0-9_+-]*)$|"+a+"([^\\x00-\\xff]*)$","gi"),d=e.exec(b),d?d[2]||d[1]:null},filter:function(a,b,c){var d,e,f,g;for(g=[],e=0,f=b.length;f>e;e++)d=b[e],~new String(d[c]).toLowerCase().indexOf(a.toLowerCase())&&g.push(d);return g},remote_filter:null,sorter:function(a,b,c){var d,e,f,g;if(!a)return b;for(g=[],e=0,f=b.length;f>e;e++)d=b[e],d.atwho_order=new String(d[c]).toLowerCase().indexOf(a.toLowerCase()),d.atwho_order>-1&&g.push(d);return g.sort(function(a,b){return a.atwho_order-b.atwho_order})},tpl_eval:function(a,b){var c;try{return a.replace(/\$\{([^\}]*)\}/g,function(a,c){return b[c]})}catch(d){return c=d,""}},highlighter:function(a,b){var c;return b?(c=new RegExp(">\\s*(\\w*?)("+b.replace("+","\\+")+")(\\w*)\\s*<","ig"),a.replace(c,function(a,b,c,d){return"> "+b+"<strong>"+c+"</strong>"+d+" <"})):a},before_insert:function(a){return a},inserting_wrapper:function(a,b,c){var d;return c=""===c?c:c||" ",a.is("textarea, input")?""+b+c:"true"===a.attr("contentEditable")?(c=" "===c?"&nbsp;":c,/firefox/i.test(navigator.userAgent)?d="<span>"+b+c+"</span>":(c="<span contenteditable='false'>"+c+"</span>",d="<span contenteditable='false'>"+b+c+"</span>"),this.app.document.selection&&(d="<span contenteditable='true'>"+b+"</span>"),d+"<span></span>"):void 0}},b={load:function(a,b){var c;return(c=this.controller(a))?c.model.load(b):void 0},setIframe:function(a,b){return this.setIframe(a,b),null},run:function(){return this.dispatch()},destroy:function(){return this.shutdown(),this.$inputor.data("atwho",null)}},a.fn.atwho=function(d){var e,f;return f=arguments,e=null,this.filter('textarea, input, [contenteditable=""], [contenteditable=true]').each(function(){var g,h;return(h=(g=a(this)).data("atwho"))||g.data("atwho",h=new c(this)),"object"!=typeof d&&d?b[d]&&h?e=b[d].apply(h,Array.prototype.slice.call(f,1)):a.error("Method "+d+" does not exist on jQuery.caret"):h.reg(d.at,d)}),e||this},a.fn.atwho["default"]={at:void 0,alias:void 0,data:null,tpl:"<li data-value='${atwho-at}${name}'>${name}</li>",insert_tpl:"<span id='${id}'>${atwho-data-value}</span>",callbacks:e,search_key:"name",suffix:void 0,hide_without_suffix:!1,start_with_space:!0,highlight_first:!0,limit:5,max_len:20,display_timeout:300,delay:null}});
1
+ /*! buddypress - v2.1.0 - 2015-01-22 9:58:49 PM UTC - https://wordpress.org/plugins/buddypress/ */
2
  !function(a,b){"function"==typeof define&&define.amd?define(["jquery"],function(c){return a.returnExportsGlobal=b(c)}):"object"==typeof exports?module.exports=b(require("jquery")):b(jQuery)}(this,function(a){var b,c,d,e,f,g,h,i=[].slice;c=function(){function b(b){this.current_flag=null,this.controllers={},this.alias_maps={},this.$inputor=a(b),this.setIframe(),this.listen()}return b.prototype.createContainer=function(b){return 0===(this.$el=a("#atwho-container",b)).length?a(b.body).append(this.$el=a("<div id='atwho-container'></div>")):void 0},b.prototype.setIframe=function(a,b){var c;return null==b&&(b=!1),a?(this.window=a.contentWindow,this.document=a.contentDocument||this.window.document,this.iframe=a):(this.document=document,this.window=window,this.iframe=null),(this.iframeStandalone=b)?(null!=(c=this.$el)&&c.remove(),this.createContainer(this.document)):this.createContainer(document)},b.prototype.controller=function(a){var b,c,d,e;if(this.alias_maps[a])c=this.controllers[this.alias_maps[a]];else{e=this.controllers;for(d in e)if(b=e[d],d===a){c=b;break}}return c?c:this.controllers[this.current_flag]},b.prototype.set_context_for=function(a){return this.current_flag=a,this},b.prototype.reg=function(a,b){var c,e;return c=(e=this.controllers)[a]||(e[a]=new d(this,a)),b.alias&&(this.alias_maps[b.alias]=a),c.init(b),this},b.prototype.listen=function(){return this.$inputor.on("keyup.atwhoInner",function(a){return function(b){return a.on_keyup(b)}}(this)).on("keydown.atwhoInner",function(a){return function(b){return a.on_keydown(b)}}(this)).on("scroll.atwhoInner",function(a){return function(b){var c;return null!=(c=a.controller())?c.view.hide(b):void 0}}(this)).on("blur.atwhoInner",function(a){return function(b){var c;return(c=a.controller())?c.view.hide(b,c.get_opt("display_timeout")):void 0}}(this)).on("click.atwhoInner",function(a){return function(){return a.dispatch()}}(this))},b.prototype.shutdown=function(){var a,b,c;c=this.controllers;for(b in c)a=c[b],a.destroy(),delete this.controllers[b];return this.$inputor.off(".atwhoInner"),this.$el.remove()},b.prototype.dispatch=function(){return a.map(this.controllers,function(a){return function(b){var c;return(c=b.get_opt("delay"))?(clearTimeout(a.delayedCallback),a.delayedCallback=setTimeout(function(){return b.look_up()?a.set_context_for(b.at):void 0},c)):b.look_up()?a.set_context_for(b.at):void 0}}(this))},b.prototype.on_keyup=function(b){var c;switch(b.keyCode){case f.ESC:b.preventDefault(),null!=(c=this.controller())&&c.view.hide();break;case f.DOWN:case f.UP:case f.CTRL:a.noop();break;case f.P:case f.N:b.ctrlKey||this.dispatch();break;default:this.dispatch()}},b.prototype.on_keydown=function(b){var c,d;if(c=null!=(d=this.controller())?d.view:void 0,c&&c.visible())switch(b.keyCode){case f.ESC:b.preventDefault(),c.hide(b);break;case f.UP:b.preventDefault(),c.prev();break;case f.DOWN:b.preventDefault(),c.next();break;case f.P:if(!b.ctrlKey)return;b.preventDefault(),c.prev();break;case f.N:if(!b.ctrlKey)return;b.preventDefault(),c.next();break;case f.TAB:case f.ENTER:if(!c.visible())return;b.preventDefault(),c.choose(b);break;default:a.noop()}},b}(),d=function(){function b(b,c){this.app=b,this.at=c,this.$inputor=this.app.$inputor,this.id=this.$inputor[0].id||this.uid(),this.setting=null,this.query=null,this.pos=0,this.cur_rect=null,this.range=null,0===(this.$el=a("#atwho-ground-"+this.id,this.app.$el)).length&&this.app.$el.append(this.$el=a("<div id='atwho-ground-"+this.id+"'></div>")),this.model=new g(this),this.view=new h(this)}return b.prototype.uid=function(){return(Math.random().toString(16)+"000000000").substr(2,8)+(new Date).getTime()},b.prototype.init=function(b){return this.setting=a.extend({},this.setting||a.fn.atwho["default"],b),this.view.init(),this.model.reload(this.setting.data)},b.prototype.destroy=function(){return this.trigger("beforeDestroy"),this.model.destroy(),this.view.destroy(),this.$el.remove()},b.prototype.call_default=function(){var b,c,d;d=arguments[0],b=2<=arguments.length?i.call(arguments,1):[];try{return e[d].apply(this,b)}catch(f){return c=f,a.error(""+c+" Or maybe At.js doesn't have function "+d)}},b.prototype.trigger=function(a,b){var c,d;return null==b&&(b=[]),b.push(this),c=this.get_opt("alias"),d=c?""+a+"-"+c+".atwho":""+a+".atwho",this.$inputor.trigger(d,b)},b.prototype.callbacks=function(a){return this.get_opt("callbacks")[a]||e[a]},b.prototype.get_opt=function(a){var b;try{return this.setting[a]}catch(c){return b=c,null}},b.prototype.content=function(){var a;if(this.$inputor.is("textarea, input"))return this.$inputor.val();if(a=this.mark_range())return(a.startContainer.textContent||"").slice(0,a.startOffset)},b.prototype.catch_query=function(){var a,b,c,d,e,f;return b=this.content(),a=this.$inputor.caret("pos",{iframe:this.app.iframe}),f=b.slice(0,a),d=this.callbacks("matcher").call(this,this.at,f,this.get_opt("start_with_space")),"string"==typeof d&&d.length<=this.get_opt("max_len",20)?(e=a-d.length,c=e+d.length,this.pos=e,d={text:d,head_pos:e,end_pos:c},this.trigger("matched",[this.at,d.text])):(d=null,this.view.hide()),this.query=d},b.prototype.rect=function(){var b,c,d;if(b=this.$inputor.caret("offset",this.pos-1,{iframe:this.app.iframe}))return this.app.iframe&&!this.app.iframeStandalone&&(c=a(this.app.iframe).offset(),b.left+=c.left,b.top+=c.top),this.$inputor.is("[contentEditable]")&&(b=this.cur_rect||(this.cur_rect=b)),d=this.app.document.selection?0:2,{left:b.left,top:b.top,bottom:b.top+b.height+d}},b.prototype.reset_rect=function(){return this.$inputor.is("[contentEditable]")?this.cur_rect=null:void 0},b.prototype.mark_range=function(){var a;if(this.$inputor.is("[contentEditable]"))return this.app.window.getSelection&&(a=this.app.window.getSelection()).rangeCount>0?this.range=a.getRangeAt(0):this.app.document.selection?this.ie8_range=this.app.document.selection.createRange():void 0},b.prototype.insert_content_for=function(b){var c,d,e;return d=b.data("value"),e=this.get_opt("insert_tpl"),this.$inputor.is("textarea, input")||!e?d:(c=a.extend({},b.data("item-data"),{"atwho-data-value":d,"atwho-at":this.at}),this.callbacks("tpl_eval").call(this,e,c))},b.prototype.insert=function(b){var c,d,e,f,g,h,i,j,k,l,m,n;if(c=this.$inputor,k=this.callbacks("inserting_wrapper").call(this,c,b,this.get_opt("suffix")),c.is("textarea, input"))h=c.val(),i=h.slice(0,Math.max(this.query.head_pos-this.at.length,0)),j=""+i+k+h.slice(this.query.end_pos||0),c.val(j),c.caret("pos",i.length+k.length,{iframe:this.app.iframe});else if(f=this.range){for(e=f.startOffset-(this.query.end_pos-this.query.head_pos)-this.at.length,f.setStart(f.endContainer,Math.max(e,0)),f.setEnd(f.endContainer,f.endOffset),f.deleteContents(),n=a(k,this.app.document),l=0,m=n.length;m>l;l++)d=n[l],f.insertNode(d),f.setEndAfter(d),f.collapse(!1);g=this.app.window.getSelection(),g.removeAllRanges(),g.addRange(f)}else(f=this.ie8_range)&&(f.moveStart("character",this.query.end_pos-this.query.head_pos-this.at.length),f.pasteHTML(k),f.collapse(!1),f.select());return c.is(":focus")||c.focus(),c.change()},b.prototype.render_view=function(a){var b;return b=this.get_opt("search_key"),a=this.callbacks("sorter").call(this,this.query.text,a.slice(0,1001),b),this.view.render(a.slice(0,this.get_opt("limit")))},b.prototype.look_up=function(){var b,c;if(b=this.catch_query())return c=function(a){return a&&a.length>0?this.render_view(a):this.view.hide()},this.model.query(b.text,a.proxy(c,this)),b},b}(),g=function(){function b(a){this.context=a,this.at=this.context.at,this.storage=this.context.$inputor}return b.prototype.destroy=function(){return this.storage.data(this.at,null)},b.prototype.saved=function(){return this.fetch()>0},b.prototype.query=function(a,b){var c,d,e;return c=this.fetch(),d=this.context.get_opt("search_key"),c=this.context.callbacks("filter").call(this.context,a,c,d)||[],e=this.context.callbacks("remote_filter"),c.length>0||!e&&0===c.length?b(c):e.call(this.context,a,b)},b.prototype.fetch=function(){return this.storage.data(this.at)||[]},b.prototype.save=function(a){return this.storage.data(this.at,this.context.callbacks("before_save").call(this.context,a||[]))},b.prototype.load=function(a){return!this.saved()&&a?this._load(a):void 0},b.prototype.reload=function(a){return this._load(a)},b.prototype._load=function(b){return"string"==typeof b?a.ajax(b,{dataType:"json"}).done(function(a){return function(b){return a.save(b)}}(this)):this.save(b)},b}(),h=function(){function b(b){this.context=b,this.$el=a("<div class='atwho-view'><ul class='atwho-view-ul'></ul></div>"),this.timeout_id=null,this.context.$el.append(this.$el),this.bind_event()}return b.prototype.init=function(){var a;return a=this.context.get_opt("alias")||this.context.at.charCodeAt(0),this.$el.attr({id:"at-view-"+a})},b.prototype.destroy=function(){return this.$el.remove()},b.prototype.bind_event=function(){var b;return b=this.$el.find("ul"),b.on("mouseenter.atwho-view","li",function(c){return b.find(".cur").removeClass("cur"),a(c.currentTarget).addClass("cur")}).on("click.atwho-view","li",function(c){return function(d){return b.find(".cur").removeClass("cur"),a(d.currentTarget).addClass("cur"),c.choose(d),d.preventDefault()}}(this))},b.prototype.visible=function(){return this.$el.is(":visible")},b.prototype.choose=function(a){var b,c;return(b=this.$el.find(".cur")).length&&(c=this.context.insert_content_for(b),this.context.insert(this.context.callbacks("before_insert").call(this.context,c,b),b),this.context.trigger("inserted",[b,a]),this.hide(a)),this.context.get_opt("hide_without_suffix")?this.stop_showing=!0:void 0},b.prototype.reposition=function(b){var c,d,e,f;return f=this.context.app.iframeStandalone?this.context.app.window:window,b.bottom+this.$el.height()-a(f).scrollTop()>a(f).height()&&(b.bottom=b.top-this.$el.height()),b.left>(d=a(f).width()-this.$el.width()-5)&&(b.left=d),c={left:b.left,top:b.bottom},null!=(e=this.context.callbacks("before_reposition"))&&e.call(this.context,c),this.$el.offset(c),this.context.trigger("reposition",[c])},b.prototype.next=function(){var a,b;return a=this.$el.find(".cur").removeClass("cur"),b=a.next(),b.length||(b=this.$el.find("li:first")),b.addClass("cur"),this.$el.animate({scrollTop:Math.max(0,a.innerHeight()*(b.index()+2)-this.$el.height())},150)},b.prototype.prev=function(){var a,b;return a=this.$el.find(".cur").removeClass("cur"),b=a.prev(),b.length||(b=this.$el.find("li:last")),b.addClass("cur"),this.$el.animate({scrollTop:Math.max(0,a.innerHeight()*(b.index()+2)-this.$el.height())},150)},b.prototype.show=function(){var a;return this.stop_showing?void(this.stop_showing=!1):(this.context.mark_range(),this.visible()||(this.$el.show(),this.$el.scrollTop(0),this.context.trigger("shown")),(a=this.context.rect())?this.reposition(a):void 0)},b.prototype.hide=function(a,b){var c;if(this.visible())return isNaN(b)?(this.context.reset_rect(),this.$el.hide(),this.context.trigger("hidden",[a])):(c=function(a){return function(){return a.hide()}}(this),clearTimeout(this.timeout_id),this.timeout_id=setTimeout(c,b))},b.prototype.render=function(b){var c,d,e,f,g,h,i;if(!(a.isArray(b)&&b.length>0))return void this.hide();for(this.$el.find("ul").empty(),d=this.$el.find("ul"),g=this.context.get_opt("tpl"),h=0,i=b.length;i>h;h++)e=b[h],e=a.extend({},e,{"atwho-at":this.context.at}),f=this.context.callbacks("tpl_eval").call(this.context,g,e),c=a(this.context.callbacks("highlighter").call(this.context,f,this.context.query.text)),c.data("item-data",e),d.append(c);return this.show(),this.context.get_opt("highlight_first")?d.find("li:first").addClass("cur"):void 0},b}(),f={DOWN:40,UP:38,ESC:27,TAB:9,ENTER:13,CTRL:17,P:80,N:78},e={before_save:function(b){var c,d,e,f;if(!a.isArray(b))return b;for(f=[],d=0,e=b.length;e>d;d++)c=b[d],f.push(a.isPlainObject(c)?c:{name:c});return f},matcher:function(a,b,c){var d,e,f,g;return a=a.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"),c&&(a="(?:^|\\s)"+a),f=decodeURI("%C3%80"),g=decodeURI("%C3%BF"),e=new RegExp(""+a+"([A-Za-z"+f+"-"+g+"0-9_+-]*)$|"+a+"([^\\x00-\\xff]*)$","gi"),d=e.exec(b),d?d[2]||d[1]:null},filter:function(a,b,c){var d,e,f,g;for(g=[],e=0,f=b.length;f>e;e++)d=b[e],~new String(d[c]).toLowerCase().indexOf(a.toLowerCase())&&g.push(d);return g},remote_filter:null,sorter:function(a,b,c){var d,e,f,g;if(!a)return b;for(g=[],e=0,f=b.length;f>e;e++)d=b[e],d.atwho_order=new String(d[c]).toLowerCase().indexOf(a.toLowerCase()),d.atwho_order>-1&&g.push(d);return g.sort(function(a,b){return a.atwho_order-b.atwho_order})},tpl_eval:function(a,b){var c;try{return a.replace(/\$\{([^\}]*)\}/g,function(a,c){return b[c]})}catch(d){return c=d,""}},highlighter:function(a,b){var c;return b?(c=new RegExp(">\\s*(\\w*?)("+b.replace("+","\\+")+")(\\w*)\\s*<","ig"),a.replace(c,function(a,b,c,d){return"> "+b+"<strong>"+c+"</strong>"+d+" <"})):a},before_insert:function(a){return a},inserting_wrapper:function(a,b,c){var d;return c=""===c?c:c||" ",a.is("textarea, input")?""+b+c:"true"===a.attr("contentEditable")?(c=" "===c?"&nbsp;":c,/firefox/i.test(navigator.userAgent)?d="<span>"+b+c+"</span>":(c="<span contenteditable='false'>"+c+"</span>",d="<span contenteditable='false'>"+b+c+"</span>"),this.app.document.selection&&(d="<span contenteditable='true'>"+b+"</span>"),d+"<span></span>"):void 0}},b={load:function(a,b){var c;return(c=this.controller(a))?c.model.load(b):void 0},setIframe:function(a,b){return this.setIframe(a,b),null},run:function(){return this.dispatch()},destroy:function(){return this.shutdown(),this.$inputor.data("atwho",null)}},a.fn.atwho=function(d){var e,f;return f=arguments,e=null,this.filter('textarea, input, [contenteditable=""], [contenteditable=true]').each(function(){var g,h;return(h=(g=a(this)).data("atwho"))||g.data("atwho",h=new c(this)),"object"!=typeof d&&d?b[d]&&h?e=b[d].apply(h,Array.prototype.slice.call(f,1)):a.error("Method "+d+" does not exist on jQuery.caret"):h.reg(d.at,d)}),e||this},a.fn.atwho["default"]={at:void 0,alias:void 0,data:null,tpl:"<li data-value='${atwho-at}${name}'>${name}</li>",insert_tpl:"<span id='${id}'>${atwho-data-value}</span>",callbacks:e,search_key:"name",suffix:void 0,hide_without_suffix:!1,start_with_space:!0,highlight_first:!0,limit:5,max_len:20,display_timeout:300,delay:null}});
bp-core/js/jquery.caret.min.js CHANGED
@@ -1,2 +1,2 @@
1
- /*! buddypress - v2.1.0 - 2015-01-15 12:34:33 AM UTC - https://wordpress.org/plugins/buddypress/ */
2
  (function(){!function(a){return"function"==typeof define&&define.amd?define(["jquery"],a):a(window.jQuery)}(function(a){"use strict";var b,c,d,e,f,g,h,i,j,k,l;return k="caret",b=function(){function b(a){this.$inputor=a,this.domInputor=this.$inputor[0]}return b.prototype.setPos=function(){return this.domInputor},b.prototype.getIEPosition=function(){return this.getPosition()},b.prototype.getPosition=function(){var a,b;return b=this.getOffset(),a=this.$inputor.offset(),b.left-=a.left,b.top-=a.top,b},b.prototype.getOldIEPos=function(){var a,b;return b=h.selection.createRange(),a=h.body.createTextRange(),a.moveToElementText(this.domInputor),a.setEndPoint("EndToEnd",b),a.text.length},b.prototype.getPos=function(){var a,b,c;return(c=this.range())?(a=c.cloneRange(),a.selectNodeContents(this.domInputor),a.setEnd(c.endContainer,c.endOffset),b=a.toString().length,a.detach(),b):h.selection?this.getOldIEPos():void 0},b.prototype.getOldIEOffset=function(){var a,b;return a=h.selection.createRange().duplicate(),a.moveStart("character",-1),b=a.getBoundingClientRect(),{height:b.bottom-b.top,left:b.left,top:b.top}},b.prototype.getOffset=function(){var b,c,d,e,f;return j.getSelection&&(d=this.range())?(d.endOffset-1>0&&d.endContainer===!this.domInputor&&(b=d.cloneRange(),b.setStart(d.endContainer,d.endOffset-1),b.setEnd(d.endContainer,d.endOffset),e=b.getBoundingClientRect(),c={height:e.height,left:e.left+e.width,top:e.top},b.detach()),c&&0!==(null!=c?c.height:void 0)||(b=d.cloneRange(),f=a(h.createTextNode("|")),b.insertNode(f[0]),b.selectNode(f[0]),e=b.getBoundingClientRect(),c={height:e.height,left:e.left,top:e.top},f.remove(),b.detach())):h.selection&&(c=this.getOldIEOffset()),c&&(c.top+=a(j).scrollTop(),c.left+=a(j).scrollLeft()),c},b.prototype.range=function(){var a;if(j.getSelection)return a=j.getSelection(),a.rangeCount>0?a.getRangeAt(0):null},b}(),c=function(){function b(a){this.$inputor=a,this.domInputor=this.$inputor[0]}return b.prototype.getIEPos=function(){var a,b,c,d,e,f,g;return b=this.domInputor,f=h.selection.createRange(),e=0,f&&f.parentElement()===b&&(d=b.value.replace(/\r\n/g,"\n"),c=d.length,g=b.createTextRange(),g.moveToBookmark(f.getBookmark()),a=b.createTextRange(),a.collapse(!1),e=g.compareEndPoints("StartToEnd",a)>-1?c:-g.moveStart("character",-c)),e},b.prototype.getPos=function(){return h.selection?this.getIEPos():this.domInputor.selectionStart},b.prototype.setPos=function(a){var b,c;return b=this.domInputor,h.selection?(c=b.createTextRange(),c.move("character",a),c.select()):b.setSelectionRange&&b.setSelectionRange(a,a),b},b.prototype.getIEOffset=function(a){var b,c,d,e;return c=this.domInputor.createTextRange(),a||(a=this.getPos()),c.move("character",a),d=c.boundingLeft,e=c.boundingTop,b=c.boundingHeight,{left:d,top:e,height:b}},b.prototype.getOffset=function(b){var c,d,e;return c=this.$inputor,h.selection?(d=this.getIEOffset(b),d.top+=a(j).scrollTop()+c.scrollTop(),d.left+=a(j).scrollLeft()+c.scrollLeft(),d):(d=c.offset(),e=this.getPosition(b),d={left:d.left+e.left-c.scrollLeft(),top:d.top+e.top-c.scrollTop(),height:e.height})},b.prototype.getPosition=function(b){var c,e,f,g,h,i,j;return c=this.$inputor,g=function(b){return a("<div></div>").text(b).html().replace(/\r\n|\r|\n/g,"<br/>").replace(/\s/g,"&nbsp;")},void 0===b&&(b=this.getPos()),j=c.val().slice(0,b),f=c.val().slice(b),h="<span style='position: relative; display: inline;'>"+g(j)+"</span>",h+="<span id='caret' style='position: relative; display: inline;'>|</span>",h+="<span style='position: relative; display: inline;'>"+g(f)+"</span>",i=new d(c),e=i.create(h).rect()},b.prototype.getIEPosition=function(a){var b,c,d,e,f;return d=this.getIEOffset(a),c=this.$inputor.offset(),e=d.left-c.left,f=d.top-c.top,b=d.height,{left:e,top:f,height:b}},b}(),d=function(){function b(a){this.$inputor=a}return b.prototype.css_attr=["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopStyle","borderRightStyle","borderBottomStyle","borderLeftStyle","borderTopWidth","boxSizing","fontFamily","fontSize","fontWeight","height","letterSpacing","lineHeight","marginBottom","marginLeft","marginRight","marginTop","outlineWidth","overflow","overflowX","overflowY","paddingBottom","paddingLeft","paddingRight","paddingTop","textAlign","textOverflow","textTransform","whiteSpace","wordBreak","wordWrap"],b.prototype.mirrorCss=function(){var b,c=this;return b={position:"absolute",left:-9999,top:0,zIndex:-2e4},"TEXTAREA"===this.$inputor.prop("tagName")&&this.css_attr.push("width"),a.each(this.css_attr,function(a,d){return b[d]=c.$inputor.css(d)}),b},b.prototype.create=function(b){return this.$mirror=a("<div></div>"),this.$mirror.css(this.mirrorCss()),this.$mirror.html(b),this.$inputor.after(this.$mirror),this},b.prototype.rect=function(){var a,b,c;return a=this.$mirror.find("#caret"),b=a.position(),c={left:b.left,top:b.top,height:a.height()},this.$mirror.remove(),c},b}(),e={contentEditable:function(a){return!(!a[0].contentEditable||"true"!==a[0].contentEditable)}},g={pos:function(a){return a||0===a?this.setPos(a):this.getPos()},position:function(a){return h.selection?this.getIEPosition(a):this.getPosition(a)},offset:function(a){var b;return b=this.getOffset(a)}},h=null,j=null,i=null,l=function(a){var b;return(b=null!=a?a.iframe:void 0)?(i=b,j=b.contentWindow,h=b.contentDocument||j.document):(i=void 0,j=window,h=document)},f=function(a){var b;h=a[0].ownerDocument,j=h.defaultView||h.parentWindow;try{return i=j.frameElement}catch(c){b=c}},a.fn.caret=function(d,f,h){var i;return g[d]?(a.isPlainObject(f)?(l(f),f=void 0):l(h),i=e.contentEditable(this)?new b(this):new c(this),g[d].apply(i,[f])):a.error("Method "+d+" does not exist on jQuery.caret")},a.fn.caret.EditableCaret=b,a.fn.caret.InputCaret=c,a.fn.caret.Utils=e,a.fn.caret.apis=g})}).call(this);
1
+ /*! buddypress - v2.1.0 - 2015-01-22 9:58:49 PM UTC - https://wordpress.org/plugins/buddypress/ */
2
  (function(){!function(a){return"function"==typeof define&&define.amd?define(["jquery"],a):a(window.jQuery)}(function(a){"use strict";var b,c,d,e,f,g,h,i,j,k,l;return k="caret",b=function(){function b(a){this.$inputor=a,this.domInputor=this.$inputor[0]}return b.prototype.setPos=function(){return this.domInputor},b.prototype.getIEPosition=function(){return this.getPosition()},b.prototype.getPosition=function(){var a,b;return b=this.getOffset(),a=this.$inputor.offset(),b.left-=a.left,b.top-=a.top,b},b.prototype.getOldIEPos=function(){var a,b;return b=h.selection.createRange(),a=h.body.createTextRange(),a.moveToElementText(this.domInputor),a.setEndPoint("EndToEnd",b),a.text.length},b.prototype.getPos=function(){var a,b,c;return(c=this.range())?(a=c.cloneRange(),a.selectNodeContents(this.domInputor),a.setEnd(c.endContainer,c.endOffset),b=a.toString().length,a.detach(),b):h.selection?this.getOldIEPos():void 0},b.prototype.getOldIEOffset=function(){var a,b;return a=h.selection.createRange().duplicate(),a.moveStart("character",-1),b=a.getBoundingClientRect(),{height:b.bottom-b.top,left:b.left,top:b.top}},b.prototype.getOffset=function(){var b,c,d,e,f;return j.getSelection&&(d=this.range())?(d.endOffset-1>0&&d.endContainer===!this.domInputor&&(b=d.cloneRange(),b.setStart(d.endContainer,d.endOffset-1),b.setEnd(d.endContainer,d.endOffset),e=b.getBoundingClientRect(),c={height:e.height,left:e.left+e.width,top:e.top},b.detach()),c&&0!==(null!=c?c.height:void 0)||(b=d.cloneRange(),f=a(h.createTextNode("|")),b.insertNode(f[0]),b.selectNode(f[0]),e=b.getBoundingClientRect(),c={height:e.height,left:e.left,top:e.top},f.remove(),b.detach())):h.selection&&(c=this.getOldIEOffset()),c&&(c.top+=a(j).scrollTop(),c.left+=a(j).scrollLeft()),c},b.prototype.range=function(){var a;if(j.getSelection)return a=j.getSelection(),a.rangeCount>0?a.getRangeAt(0):null},b}(),c=function(){function b(a){this.$inputor=a,this.domInputor=this.$inputor[0]}return b.prototype.getIEPos=function(){var a,b,c,d,e,f,g;return b=this.domInputor,f=h.selection.createRange(),e=0,f&&f.parentElement()===b&&(d=b.value.replace(/\r\n/g,"\n"),c=d.length,g=b.createTextRange(),g.moveToBookmark(f.getBookmark()),a=b.createTextRange(),a.collapse(!1),e=g.compareEndPoints("StartToEnd",a)>-1?c:-g.moveStart("character",-c)),e},b.prototype.getPos=function(){return h.selection?this.getIEPos():this.domInputor.selectionStart},b.prototype.setPos=function(a){var b,c;return b=this.domInputor,h.selection?(c=b.createTextRange(),c.move("character",a),c.select()):b.setSelectionRange&&b.setSelectionRange(a,a),b},b.prototype.getIEOffset=function(a){var b,c,d,e;return c=this.domInputor.createTextRange(),a||(a=this.getPos()),c.move("character",a),d=c.boundingLeft,e=c.boundingTop,b=c.boundingHeight,{left:d,top:e,height:b}},b.prototype.getOffset=function(b){var c,d,e;return c=this.$inputor,h.selection?(d=this.getIEOffset(b),d.top+=a(j).scrollTop()+c.scrollTop(),d.left+=a(j).scrollLeft()+c.scrollLeft(),d):(d=c.offset(),e=this.getPosition(b),d={left:d.left+e.left-c.scrollLeft(),top:d.top+e.top-c.scrollTop(),height:e.height})},b.prototype.getPosition=function(b){var c,e,f,g,h,i,j;return c=this.$inputor,g=function(b){return a("<div></div>").text(b).html().replace(/\r\n|\r|\n/g,"<br/>").replace(/\s/g,"&nbsp;")},void 0===b&&(b=this.getPos()),j=c.val().slice(0,b),f=c.val().slice(b),h="<span style='position: relative; display: inline;'>"+g(j)+"</span>",h+="<span id='caret' style='position: relative; display: inline;'>|</span>",h+="<span style='position: relative; display: inline;'>"+g(f)+"</span>",i=new d(c),e=i.create(h).rect()},b.prototype.getIEPosition=function(a){var b,c,d,e,f;return d=this.getIEOffset(a),c=this.$inputor.offset(),e=d.left-c.left,f=d.top-c.top,b=d.height,{left:e,top:f,height:b}},b}(),d=function(){function b(a){this.$inputor=a}return b.prototype.css_attr=["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopStyle","borderRightStyle","borderBottomStyle","borderLeftStyle","borderTopWidth","boxSizing","fontFamily","fontSize","fontWeight","height","letterSpacing","lineHeight","marginBottom","marginLeft","marginRight","marginTop","outlineWidth","overflow","overflowX","overflowY","paddingBottom","paddingLeft","paddingRight","paddingTop","textAlign","textOverflow","textTransform","whiteSpace","wordBreak","wordWrap"],b.prototype.mirrorCss=function(){var b,c=this;return b={position:"absolute",left:-9999,top:0,zIndex:-2e4},"TEXTAREA"===this.$inputor.prop("tagName")&&this.css_attr.push("width"),a.each(this.css_attr,function(a,d){return b[d]=c.$inputor.css(d)}),b},b.prototype.create=function(b){return this.$mirror=a("<div></div>"),this.$mirror.css(this.mirrorCss()),this.$mirror.html(b),this.$inputor.after(this.$mirror),this},b.prototype.rect=function(){var a,b,c;return a=this.$mirror.find("#caret"),b=a.position(),c={left:b.left,top:b.top,height:a.height()},this.$mirror.remove(),c},b}(),e={contentEditable:function(a){return!(!a[0].contentEditable||"true"!==a[0].contentEditable)}},g={pos:function(a){return a||0===a?this.setPos(a):this.getPos()},position:function(a){return h.selection?this.getIEPosition(a):this.getPosition(a)},offset:function(a){var b;return b=this.getOffset(a)}},h=null,j=null,i=null,l=function(a){var b;return(b=null!=a?a.iframe:void 0)?(i=b,j=b.contentWindow,h=b.contentDocument||j.document):(i=void 0,j=window,h=document)},f=function(a){var b;h=a[0].ownerDocument,j=h.defaultView||h.parentWindow;try{return i=j.frameElement}catch(c){b=c}},a.fn.caret=function(d,f,h){var i;return g[d]?(a.isPlainObject(f)?(l(f),f=void 0):l(h),i=e.contentEditable(this)?new b(this):new c(this),g[d].apply(i,[f])):a.error("Method "+d+" does not exist on jQuery.caret")},a.fn.caret.EditableCaret=b,a.fn.caret.InputCaret=c,a.fn.caret.Utils=e,a.fn.caret.apis=g})}).call(this);
bp-core/js/widget-members.min.js CHANGED
@@ -1,2 +1,2 @@
1
- /*! buddypress - v2.1.0 - 2015-01-15 12:34:33 AM UTC - https://wordpress.org/plugins/buddypress/ */
2
  function member_widget_response(a){a=a.substr(0,a.length-1),a=a.split("[[SPLIT]]"),"-1"!==a[0]?jQuery(".widget ul#members-list").fadeOut(200,function(){jQuery(".widget ul#members-list").html(a[1]),jQuery(".widget ul#members-list").fadeIn(200)}):jQuery(".widget ul#members-list").fadeOut(200,function(){var b="<p>"+a[1]+"</p>";jQuery(".widget ul#members-list").html(b),jQuery(".widget ul#members-list").fadeIn(200)})}jQuery(document).ready(function(){jQuery(".widget div#members-list-options a").on("click",function(){var a=this;return jQuery(a).addClass("loading"),jQuery(".widget div#members-list-options a").removeClass("selected"),jQuery(this).addClass("selected"),jQuery.post(ajaxurl,{action:"widget_members",cookie:encodeURIComponent(document.cookie),_wpnonce:jQuery("input#_wpnonce-members").val(),"max-members":jQuery("input#members_widget_max").val(),filter:jQuery(this).attr("id")},function(b){jQuery(a).removeClass("loading"),member_widget_response(b)}),!1})});
1
+ /*! buddypress - v2.1.0 - 2015-01-22 9:58:49 PM UTC - https://wordpress.org/plugins/buddypress/ */
2
  function member_widget_response(a){a=a.substr(0,a.length-1),a=a.split("[[SPLIT]]"),"-1"!==a[0]?jQuery(".widget ul#members-list").fadeOut(200,function(){jQuery(".widget ul#members-list").html(a[1]),jQuery(".widget ul#members-list").fadeIn(200)}):jQuery(".widget ul#members-list").fadeOut(200,function(){var b="<p>"+a[1]+"</p>";jQuery(".widget ul#members-list").html(b),jQuery(".widget ul#members-list").fadeIn(200)})}jQuery(document).ready(function(){jQuery(".widget div#members-list-options a").on("click",function(){var a=this;return jQuery(a).addClass("loading"),jQuery(".widget div#members-list-options a").removeClass("selected"),jQuery(this).addClass("selected"),jQuery.post(ajaxurl,{action:"widget_members",cookie:encodeURIComponent(document.cookie),_wpnonce:jQuery("input#_wpnonce-members").val(),"max-members":jQuery("input#members_widget_max").val(),filter:jQuery(this).attr("id")},function(b){jQuery(a).removeClass("loading"),member_widget_response(b)}),!1})});
bp-forums/bp-forums-bbpress-sa.php CHANGED
@@ -86,8 +86,25 @@ function bp_forums_load_bbpress() {
86
  bb_init_roles( $bb_roles );
87
  }
88
 
 
 
 
 
 
89
  do_action( 'bb_got_roles' );
 
 
 
 
 
 
90
  do_action( 'bb_init' );
 
 
 
 
 
 
91
  do_action( 'init_roles' );
92
 
93
  $bb_current_user = $current_user;
@@ -124,6 +141,11 @@ function bp_forums_load_bbpress() {
124
  bb_update_option( 'uri', BB_URL );
125
  }
126
 
 
 
 
 
 
127
  register_shutdown_function( create_function( '', 'do_action("bb_shutdown");' ) );
128
  }
129
  add_action( 'bbpress_init', 'bp_forums_load_bbpress' );
86
  bb_init_roles( $bb_roles );
87
  }
88
 
89
+ /**
90
+ * Fires during the bootstrap setup for bbPress 1.x.
91
+ *
92
+ * @since BuddyPress (1.1.0)
93
+ */
94
  do_action( 'bb_got_roles' );
95
+
96
+ /**
97
+ * Fires during the bootstrap setup for bbPress 1.x.
98
+ *
99
+ * @since BuddyPress (1.1.0)
100
+ */
101
  do_action( 'bb_init' );
102
+
103
+ /**
104
+ * Fires during the bootstrap setup for bbPress 1.x.
105
+ *
106
+ * @since BuddyPress (1.1.0)
107
+ */
108
  do_action( 'init_roles' );
109
 
110
  $bb_current_user = $current_user;
141
  bb_update_option( 'uri', BB_URL );
142
  }
143
 
144
+ /**
145
+ * Fires inside an anonymous function that is run on bbPress shutdown.
146
+ *
147
+ * @since BuddyPress (1.1.0)
148
+ */
149
  register_shutdown_function( create_function( '', 'do_action("bb_shutdown");' ) );
150
  }
151
  add_action( 'bbpress_init', 'bp_forums_load_bbpress' );
bp-forums/bp-forums-filters.php CHANGED
@@ -83,6 +83,13 @@ function bp_forums_filter_kses( $content ) {
83
  $forums_allowedtags['code'] = array();
84
  $forums_allowedtags['blockquote'] = array();
85
 
 
 
 
 
 
 
 
86
  $forums_allowedtags = apply_filters( 'bp_forums_allowed_tags', $forums_allowedtags );
87
  return wp_kses( $content, $forums_allowedtags );
88
  }
@@ -99,6 +106,13 @@ function bp_forums_filter_kses( $content ) {
99
  function bp_forums_filter_tag_link( $link, $tag, $page, $context ) {
100
  global $bp;
101
 
 
 
 
 
 
 
 
102
  return apply_filters( 'bp_forums_filter_tag_link', bp_get_root_domain() . '/' . bp_get_forums_root_slug() . '/tag/' . $tag . '/' );
103
  }
104
  add_filter( 'bb_get_tag_link', 'bp_forums_filter_tag_link', 10, 4);
83
  $forums_allowedtags['code'] = array();
84
  $forums_allowedtags['blockquote'] = array();
85
 
86
+ /**
87
+ * Filters the allowed HTML tags for forum posts.
88
+ *
89
+ * @since BuddyPress (1.2.0)
90
+ *
91
+ * @param array $forums_allowedtags Array of allowed HTML tags.
92
+ */
93
  $forums_allowedtags = apply_filters( 'bp_forums_allowed_tags', $forums_allowedtags );
94
  return wp_kses( $content, $forums_allowedtags );
95
  }
106
  function bp_forums_filter_tag_link( $link, $tag, $page, $context ) {
107
  global $bp;
108
 
109
+ /**
110
+ * Filters the link for a forum topic tags directory.
111
+ *
112
+ * @since BuddyPress (1.1.0)
113
+ *
114
+ * @param string $value Link for the forum topic tag directory.
115
+ */
116
  return apply_filters( 'bp_forums_filter_tag_link', bp_get_root_domain() . '/' . bp_get_forums_root_slug() . '/tag/' . $tag . '/' );
117
  }
118
  add_filter( 'bb_get_tag_link', 'bp_forums_filter_tag_link', 10, 4);
bp-forums/bp-forums-functions.php CHANGED
@@ -79,6 +79,8 @@ function bp_forums_has_directory() {
79
  * @return object bbPress forum object.
80
  */
81
  function bp_forums_get_forum( $forum_id ) {
 
 
82
  do_action( 'bbpress_init' );
83
  return bb_get_forum( $forum_id );
84
  }
@@ -100,6 +102,8 @@ function bp_forums_get_forum( $forum_id ) {
100
  * @return int ID of the newly created forum.
101
  */
102
  function bp_forums_new_forum( $args = '' ) {
 
 
103
  do_action( 'bbpress_init' );
104
 
105
  $r = wp_parse_args( $args, array(
@@ -132,6 +136,8 @@ function bp_forums_new_forum( $args = '' ) {
132
  * @return bool True on success, false on failure.
133
  */
134
  function bp_forums_update_forum( $args = '' ) {
 
 
135
  do_action( 'bbpress_init' );
136
 
137
  $r = wp_parse_args( $args, array(
@@ -157,6 +163,8 @@ function bp_forums_delete_group_forum( $group_id ) {
157
  $forum_id = groups_get_groupmeta( $group_id, 'forum_id' );
158
 
159
  if ( !empty( $forum_id ) && is_int( $forum_id ) ) {
 
 
160
  do_action( 'bbpress_init' );
161
  bb_delete_forum( $forum_id );
162
  }
@@ -188,6 +196,8 @@ add_action( 'groups_delete_group', 'bp_forums_delete_group_forum' );
188
  * @return array Found topics.
189
  */
190
  function bp_forums_get_forum_topics( $args = '' ) {
 
 
191
  do_action( 'bbpress_init' );
192
 
193
  $r = wp_parse_args( $args, array(
@@ -230,6 +240,14 @@ function bp_forums_get_forum_topics( $args = '' ) {
230
  $topics = array();
231
  }
232
 
 
 
 
 
 
 
 
 
233
  return apply_filters_ref_array( 'bp_forums_get_forum_topics', array( &$topics, &$r ) );
234
  }
235
 
@@ -240,6 +258,8 @@ function bp_forums_get_forum_topics( $args = '' ) {
240
  * @return object Details about the topic.
241
  */
242
  function bp_forums_get_topic_details( $topic_id ) {
 
 
243
  do_action( 'bbpress_init' );
244
 
245
  $query = new BB_Query( 'topic', 'topic_id=' . $topic_id . '&page=1' /* Page override so bbPress doesn't use the URI */ );
@@ -256,6 +276,8 @@ function bp_forums_get_topic_details( $topic_id ) {
256
  * @return int|bool ID of the topic (if found), false on failure.
257
  */
258
  function bp_forums_get_topic_id_from_slug( $topic_slug ) {
 
 
259
  do_action( 'bbpress_init' );
260
 
261
  if ( empty( $topic_slug ) )
@@ -295,6 +317,7 @@ function bp_forums_get_topic_id_from_slug( $topic_slug ) {
295
  function bp_forums_new_topic( $args = '' ) {
296
  global $bp;
297
 
 
298
  do_action( 'bbpress_init' );
299
 
300
  $r = wp_parse_args( $args, array(
@@ -334,6 +357,13 @@ function bp_forums_new_topic( $args = '' ) {
334
  if ( !bp_forums_insert_post( array( 'topic_id' => $topic_id, 'post_text' => $topic_text, 'post_time' => $topic_time, 'poster_id' => $topic_poster ) ) )
335
  return false;
336
 
 
 
 
 
 
 
 
337
  do_action( 'bp_forums_new_topic', $topic_id );
338
 
339
  return $topic_id;
@@ -354,6 +384,8 @@ function bp_forums_new_topic( $args = '' ) {
354
  * {@link bp_forums_get_topic_details()}.
355
  */
356
  function bp_forums_update_topic( $args = '' ) {
 
 
357
  do_action( 'bbpress_init' );
358
 
359
  $r = wp_parse_args( $args, array(
@@ -385,6 +417,8 @@ function bp_forums_update_topic( $args = '' ) {
385
  }
386
 
387
  function bp_forums_sticky_topic( $args = '' ) {
 
 
388
  do_action( 'bbpress_init' );
389
 
390
  $r = wp_parse_args( $args, array(
@@ -412,6 +446,8 @@ function bp_forums_sticky_topic( $args = '' ) {
412
  * @return bool True on success, false on failure.
413
  */
414
  function bp_forums_openclose_topic( $args = '' ) {
 
 
415
  do_action( 'bbpress_init' );
416
 
417
  $r = wp_parse_args( $args, array(
@@ -437,6 +473,8 @@ function bp_forums_openclose_topic( $args = '' ) {
437
  * @return bool True on success, false on failure.
438
  */
439
  function bp_forums_delete_topic( $args = '' ) {
 
 
440
  do_action( 'bbpress_init' );
441
 
442
  $r = wp_parse_args( $args, array(
@@ -455,6 +493,7 @@ function bp_forums_delete_topic( $args = '' ) {
455
  function bp_forums_total_topic_count() {
456
  global $bbdb;
457
 
 
458
  do_action( 'bbpress_init' );
459
 
460
  if ( isset( $bbdb ) ) {
@@ -471,6 +510,13 @@ function bp_forums_total_topic_count() {
471
  $count = 0;
472
  }
473
 
 
 
 
 
 
 
 
474
  return apply_filters( 'bp_forums_total_topic_count', $count );
475
  }
476
 
@@ -491,6 +537,8 @@ function bp_forums_reply_exists( $text = '', $topic_id = 0, $user_id = 0 ) {
491
  $reply_exists = false;
492
 
493
  if ( $text && $topic_id && $user_id ) {
 
 
494
  do_action( 'bbpress_init' );
495
 
496
  $args = array(
@@ -512,6 +560,16 @@ function bp_forums_reply_exists( $text = '', $topic_id = 0, $user_id = 0 ) {
512
  $reply_exists = (bool) !empty( $query->results );
513
  }
514
 
 
 
 
 
 
 
 
 
 
 
515
  return (bool) apply_filters( 'bp_forums_reply_exists', $reply_exists, $text, $topic_id, $user_id );
516
  }
517
  /**
@@ -539,6 +597,8 @@ function bp_forums_reply_exists( $text = '', $topic_id = 0, $user_id = 0 ) {
539
  * @return int $count The topic count.
540
  */
541
  function bp_forums_total_topic_count_for_user( $user_id = 0, $type = 'active' ) {
 
 
542
  do_action( 'bbpress_init' );
543
 
544
  if ( !$user_id )
@@ -578,6 +638,8 @@ function bp_forums_total_topic_count_for_user( $user_id = 0, $type = 'active' )
578
  * @return int $count Topic count.
579
  */
580
  function bp_forums_total_replied_count_for_user( $user_id = 0, $type = 'active' ) {
 
 
581
  do_action( 'bbpress_init' );
582
 
583
  if ( !$user_id )
@@ -609,6 +671,14 @@ function bp_forums_total_replied_count_for_user( $user_id = 0, $type = 'active'
609
  $count = 0;
610
  }
611
 
 
 
 
 
 
 
 
 
612
  return apply_filters( 'bp_forums_total_replied_count_for_user', $count, $user_id );
613
  }
614
 
@@ -693,6 +763,8 @@ function bp_forums_get_topic_extras( $topics ) {
693
  * @return array List of posts.
694
  */
695
  function bp_forums_get_topic_posts( $args = '' ) {
 
 
696
  do_action( 'bbpress_init' );
697
 
698
  $defaults = array(
@@ -717,6 +789,8 @@ function bp_forums_get_topic_posts( $args = '' ) {
717
  * @return object Post object.
718
  */
719
  function bp_forums_get_post( $post_id ) {
 
 
720
  do_action( 'bbpress_init' );
721
  return bb_get_post( $post_id );
722
  }
@@ -732,6 +806,8 @@ function bp_forums_get_post( $post_id ) {
732
  * @return bool True on success, false on failure.
733
  */
734
  function bp_forums_delete_post( $args = '' ) {
 
 
735
  do_action( 'bbpress_init' );
736
 
737
  $r = wp_parse_args( $args, array(
@@ -763,6 +839,8 @@ function bp_forums_delete_post( $args = '' ) {
763
  * @return int|bool ID of the new post on success, false on failure.
764
  */
765
  function bp_forums_insert_post( $args = '' ) {
 
 
766
  do_action( 'bbpress_init' );
767
 
768
  $defaults = array(
@@ -802,8 +880,17 @@ function bp_forums_insert_post( $args = '' ) {
802
 
803
  $post_id = bb_insert_post( array( 'post_id' => $post_id, 'topic_id' => $topic_id, 'post_text' => stripslashes( trim( $post_text ) ), 'post_time' => $post_time, 'poster_id' => $poster_id, 'poster_ip' => $poster_ip, 'post_status' => $post_status, 'post_position' => $post_position ) );
804
 
805
- if ( !empty( $post_id ) )
 
 
 
 
 
 
 
 
806
  do_action( 'bp_forums_new_post', $post_id );
 
807
 
808
  return $post_id;
809
  }
@@ -853,6 +940,13 @@ function bp_forums_get_post_extras( $posts ) {
853
  }
854
  }
855
 
 
 
 
 
 
 
 
856
  return apply_filters( 'bp_forums_get_post_extras', $posts );
857
  }
858
 
@@ -866,6 +960,7 @@ function bp_forums_get_post_extras( $posts ) {
866
  function bp_forums_get_forum_topicpost_count( $forum_id ) {
867
  global $wpdb, $bbdb;
868
 
 
869
  do_action( 'bbpress_init' );
870
 
871
  // Need to find a bbPress function that does this
@@ -905,6 +1000,14 @@ add_filter( 'user_has_cap', 'bp_forums_filter_caps' );
905
  * @return int Forum ID.
906
  */
907
  function bp_forums_parent_forum_id() {
 
 
 
 
 
 
 
 
908
  return apply_filters( 'bp_forums_parent_forum_id', BP_FORUMS_PARENT_FORUM_ID );
909
  }
910
 
@@ -920,6 +1023,14 @@ function bp_forums_parent_forum_id() {
920
  * directory, otherwise false.
921
  */
922
  function bp_forums_enable_global_directory_stickies() {
 
 
 
 
 
 
 
 
923
  return apply_filters( 'bp_forums_enable_global_directory_stickies', defined( 'BP_FORUMS_ENABLE_GLOBAL_DIRECTORY_STICKIES' ) && BP_FORUMS_ENABLE_GLOBAL_DIRECTORY_STICKIES );
924
  }
925
 
@@ -964,7 +1075,7 @@ add_action( 'topic_loop_start', 'bp_forums_embed' );
964
  * Wrapper function for {@link bb_get_postmeta()}.
965
  *
966
  * @package BuddyPress_Forums
967
- * @since BuddyPress (1.5)
968
  */
969
  function bp_embed_forum_cache( $cache, $id, $cachekey ) {
970
  return bb_get_postmeta( $id, $cachekey );
79
  * @return object bbPress forum object.
80
  */
81
  function bp_forums_get_forum( $forum_id ) {
82
+
83
+ /** This action is documented in bp-forums/bp-forums-screens */
84
  do_action( 'bbpress_init' );
85
  return bb_get_forum( $forum_id );
86
  }
102
  * @return int ID of the newly created forum.
103
  */
104
  function bp_forums_new_forum( $args = '' ) {
105
+
106
+ /** This action is documented in bp-forums/bp-forums-screens */
107
  do_action( 'bbpress_init' );
108
 
109
  $r = wp_parse_args( $args, array(
136
  * @return bool True on success, false on failure.
137
  */
138
  function bp_forums_update_forum( $args = '' ) {
139
+
140
+ /** This action is documented in bp-forums/bp-forums-screens */
141
  do_action( 'bbpress_init' );
142
 
143
  $r = wp_parse_args( $args, array(
163
  $forum_id = groups_get_groupmeta( $group_id, 'forum_id' );
164
 
165
  if ( !empty( $forum_id ) && is_int( $forum_id ) ) {
166
+
167
+ /** This action is documented in bp-forums/bp-forums-screens */
168
  do_action( 'bbpress_init' );
169
  bb_delete_forum( $forum_id );
170
  }
196
  * @return array Found topics.
197
  */
198
  function bp_forums_get_forum_topics( $args = '' ) {
199
+
200
+ /** This action is documented in bp-forums/bp-forums-screens */
201
  do_action( 'bbpress_init' );
202
 
203
  $r = wp_parse_args( $args, array(
240
  $topics = array();
241
  }
242
 
243
+ /**
244
+ * Filters the found forum topics for provided arguments.
245
+ *
246
+ * @since BuddyPress (1.1.0)
247
+ *
248
+ * @param array $topics Array of found topics. Passed by reference.
249
+ * @param array $r Array of parsed arguments for query. Passed by reference.
250
+ */
251
  return apply_filters_ref_array( 'bp_forums_get_forum_topics', array( &$topics, &$r ) );
252
  }
253
 
258
  * @return object Details about the topic.
259
  */
260
  function bp_forums_get_topic_details( $topic_id ) {
261
+
262
+ /** This action is documented in bp-forums/bp-forums-screens */
263
  do_action( 'bbpress_init' );
264
 
265
  $query = new BB_Query( 'topic', 'topic_id=' . $topic_id . '&page=1' /* Page override so bbPress doesn't use the URI */ );
276
  * @return int|bool ID of the topic (if found), false on failure.
277
  */
278
  function bp_forums_get_topic_id_from_slug( $topic_slug ) {
279
+
280
+ /** This action is documented in bp-forums/bp-forums-screens */
281
  do_action( 'bbpress_init' );
282
 
283
  if ( empty( $topic_slug ) )
317
  function bp_forums_new_topic( $args = '' ) {
318
  global $bp;
319
 
320
+ /** This action is documented in bp-forums/bp-forums-screens */
321
  do_action( 'bbpress_init' );
322
 
323
  $r = wp_parse_args( $args, array(
357
  if ( !bp_forums_insert_post( array( 'topic_id' => $topic_id, 'post_text' => $topic_text, 'post_time' => $topic_time, 'poster_id' => $topic_poster ) ) )
358
  return false;
359
 
360
+ /**
361
+ * Fires after a new forum topic has been created.
362
+ *
363
+ * @since BuddyPress (1.0.0)
364
+ *
365
+ * @param int $topic_id ID of the newly created topic post.
366
+ */
367
  do_action( 'bp_forums_new_topic', $topic_id );
368
 
369
  return $topic_id;
384
  * {@link bp_forums_get_topic_details()}.
385
  */
386
  function bp_forums_update_topic( $args = '' ) {
387
+
388
+ /** This action is documented in bp-forums/bp-forums-screens */
389
  do_action( 'bbpress_init' );
390
 
391
  $r = wp_parse_args( $args, array(
417
  }
418
 
419
  function bp_forums_sticky_topic( $args = '' ) {
420
+
421
+ /** This action is documented in bp-forums/bp-forums-screens */
422
  do_action( 'bbpress_init' );
423
 
424
  $r = wp_parse_args( $args, array(
446
  * @return bool True on success, false on failure.
447
  */
448
  function bp_forums_openclose_topic( $args = '' ) {
449
+
450
+ /** This action is documented in bp-forums/bp-forums-screens */
451
  do_action( 'bbpress_init' );
452
 
453
  $r = wp_parse_args( $args, array(
473
  * @return bool True on success, false on failure.
474
  */
475
  function bp_forums_delete_topic( $args = '' ) {
476
+
477
+ /** This action is documented in bp-forums/bp-forums-screens */
478
  do_action( 'bbpress_init' );
479
 
480
  $r = wp_parse_args( $args, array(
493
  function bp_forums_total_topic_count() {
494
  global $bbdb;
495
 
496
+ /** This action is documented in bp-forums/bp-forums-screens */
497
  do_action( 'bbpress_init' );
498
 
499
  if ( isset( $bbdb ) ) {
510
  $count = 0;
511
  }
512
 
513
+ /**
514
+ * Filters the total topic count for the site.
515
+ *
516
+ * @since BuddyPress (1.5.0)
517
+ *
518
+ * @param int $count Total topic count.
519
+ */
520
  return apply_filters( 'bp_forums_total_topic_count', $count );
521
  }
522
 
537
  $reply_exists = false;
538
 
539
  if ( $text && $topic_id && $user_id ) {
540
+
541
+ /** This action is documented in bp-forums/bp-forums-screens */
542
  do_action( 'bbpress_init' );
543
 
544
  $args = array(
560
  $reply_exists = (bool) !empty( $query->results );
561
  }
562
 
563
+ /**
564
+ * Filters whether a user has already left this particular reply on a given post.
565
+ *
566
+ * @since BuddyPress (1.6.0)
567
+ *
568
+ * @param bool $reply_exists Whether or not a reply exists.
569
+ * @param string $text The text of the comment.
570
+ * @param int $topic_id The topic ID.
571
+ * @param int $user_id The user ID.
572
+ */
573
  return (bool) apply_filters( 'bp_forums_reply_exists', $reply_exists, $text, $topic_id, $user_id );
574
  }
575
  /**
597
  * @return int $count The topic count.
598
  */
599
  function bp_forums_total_topic_count_for_user( $user_id = 0, $type = 'active' ) {
600
+
601
+ /** This action is documented in bp-forums/bp-forums-screens */
602
  do_action( 'bbpress_init' );
603
 
604
  if ( !$user_id )
638
  * @return int $count Topic count.
639
  */
640
  function bp_forums_total_replied_count_for_user( $user_id = 0, $type = 'active' ) {
641
+
642
+ /** This action is documented in bp-forums/bp-forums-screens */
643
  do_action( 'bbpress_init' );
644
 
645
  if ( !$user_id )
671
  $count = 0;
672
  }
673
 
674
+ /**
675
+ * Filters the total number of topics replied to by a given user.
676
+ *
677
+ * @since BuddyPress (1.5.0)
678
+ *
679
+ * @param int $count Total number of topics replied to by a given user.
680
+ * @param int $user_id The user ID.
681
+ */
682
  return apply_filters( 'bp_forums_total_replied_count_for_user', $count, $user_id );
683
  }
684
 
763
  * @return array List of posts.
764
  */
765
  function bp_forums_get_topic_posts( $args = '' ) {
766
+
767
+ /** This action is documented in bp-forums/bp-forums-screens */
768
  do_action( 'bbpress_init' );
769
 
770
  $defaults = array(
789
  * @return object Post object.
790
  */
791
  function bp_forums_get_post( $post_id ) {
792
+
793
+ /** This action is documented in bp-forums/bp-forums-screens */
794
  do_action( 'bbpress_init' );
795
  return bb_get_post( $post_id );
796
  }
806
  * @return bool True on success, false on failure.
807
  */
808
  function bp_forums_delete_post( $args = '' ) {
809
+
810
+ /** This action is documented in bp-forums/bp-forums-screens */
811
  do_action( 'bbpress_init' );
812
 
813
  $r = wp_parse_args( $args, array(
839
  * @return int|bool ID of the new post on success, false on failure.
840
  */
841
  function bp_forums_insert_post( $args = '' ) {
842
+
843
+ /** This action is documented in bp-forums/bp-forums-screens */
844
  do_action( 'bbpress_init' );
845
 
846
  $defaults = array(
880
 
881
  $post_id = bb_insert_post( array( 'post_id' => $post_id, 'topic_id' => $topic_id, 'post_text' => stripslashes( trim( $post_text ) ), 'post_time' => $post_time, 'poster_id' => $poster_id, 'poster_ip' => $poster_ip, 'post_status' => $post_status, 'post_position' => $post_position ) );
882
 
883
+ if ( !empty( $post_id ) ) {
884
+
885
+ /**
886
+ * Fires if there was a new post created.
887
+ *
888
+ * @since BuddyPress (1.0.0)
889
+ *
890
+ * @param int $post_id ID of the newly created forum post.
891
+ */
892
  do_action( 'bp_forums_new_post', $post_id );
893
+ }
894
 
895
  return $post_id;
896
  }
940
  }
941
  }
942
 
943
+ /**
944
+ * Filters BP-specific details about a set of posts.
945
+ *
946
+ * @since BuddyPress (1.5.0)
947
+ *
948
+ * @param array $posts Array of posts holding BP-specific details.
949
+ */
950
  return apply_filters( 'bp_forums_get_post_extras', $posts );
951
  }
952
 
960
  function bp_forums_get_forum_topicpost_count( $forum_id ) {
961
  global $wpdb, $bbdb;
962
 
963
+ /** This action is documented in bp-forums/bp-forums-screens */
964
  do_action( 'bbpress_init' );
965
 
966
  // Need to find a bbPress function that does this
1000
  * @return int Forum ID.
1001
  */
1002
  function bp_forums_parent_forum_id() {
1003
+
1004
+ /**
1005
+ * Filters the parent forum ID for the bbPress abstraction layer.
1006
+ *
1007
+ * @since BuddyPress (1.5.0)
1008
+ *
1009
+ * @param int BP_FORUMS_PARENT_FORUM_ID The Parent forum ID constant.
1010
+ */
1011
  return apply_filters( 'bp_forums_parent_forum_id', BP_FORUMS_PARENT_FORUM_ID );
1012
  }
1013
 
1023
  * directory, otherwise false.
1024
  */
1025
  function bp_forums_enable_global_directory_stickies() {
1026
+
1027
+ /**
1028
+ * Filters whether or not sticky topics should be broken out of regular topic order.
1029
+ *
1030
+ * @since BuddyPress (1.5.0)
1031
+ *
1032
+ * @param bool $value Whether or not to break out of topic order.
1033
+ */
1034
  return apply_filters( 'bp_forums_enable_global_directory_stickies', defined( 'BP_FORUMS_ENABLE_GLOBAL_DIRECTORY_STICKIES' ) && BP_FORUMS_ENABLE_GLOBAL_DIRECTORY_STICKIES );
1035
  }
1036
 
1075
  * Wrapper function for {@link bb_get_postmeta()}.
1076
  *
1077
  * @package BuddyPress_Forums
1078
+ * @since BuddyPress (1.5.0)
1079
  */
1080
  function bp_embed_forum_cache( $cache, $id, $cachekey ) {
1081
  return bb_get_postmeta( $id, $cachekey );
bp-forums/bp-forums-screens.php CHANGED
@@ -28,6 +28,11 @@ function bp_forums_directory_forums_setup() {
28
 
29
  bp_update_is_directory( true, 'forums' );
30
 
 
 
 
 
 
31
  do_action( 'bbpress_init' );
32
 
33
  // Check to see if the user has posted a new topic from the forums page.
@@ -75,8 +80,20 @@ function bp_forums_directory_forums_setup() {
75
  }
76
  }
77
 
 
 
 
 
 
78
  do_action( 'bp_forums_directory_forums_setup' );
79
 
 
 
 
 
 
 
 
80
  bp_core_load_template( apply_filters( 'bp_forums_template_directory_forums_setup', 'forums/index' ) );
81
  }
82
  }
@@ -86,8 +103,21 @@ add_action( 'bp_screens', 'bp_forums_directory_forums_setup', 2 );
86
  * Load the Topics Started screen.
87
  */
88
  function bp_member_forums_screen_topics() {
 
 
 
 
 
 
89
  do_action( 'bp_member_forums_screen_topics' );
90
 
 
 
 
 
 
 
 
91
  bp_core_load_template( apply_filters( 'bp_member_forums_screen_topics', 'members/single/home' ) );
92
  }
93
 
@@ -95,8 +125,21 @@ function bp_member_forums_screen_topics() {
95
  * Load the Replied To screen.
96
  */
97
  function bp_member_forums_screen_replies() {
 
 
 
 
 
 
98
  do_action( 'bp_member_forums_screen_replies' );
99
 
 
 
 
 
 
 
 
100
  bp_core_load_template( apply_filters( 'bp_member_forums_screen_replies', 'members/single/home' ) );
101
  }
102
 
@@ -106,8 +149,21 @@ function bp_member_forums_screen_replies() {
106
  * Note that this feature is not fully implemented at the moment.
107
  */
108
  function bp_member_forums_screen_favorites() {
 
 
 
 
 
 
109
  do_action( 'bp_member_forums_screen_favorites' );
110
 
 
 
 
 
 
 
 
111
  bp_core_load_template( apply_filters( 'bp_member_forums_screen_favorites', 'members/single/home' ) );
112
  }
113
 
@@ -119,8 +175,20 @@ function bp_forums_screen_single_forum() {
119
  if ( !bp_is_forums_component() || !bp_is_current_action( 'forum' ) || !bp_action_variable( 0 ) )
120
  return false;
121
 
 
 
 
 
 
122
  do_action( 'bp_forums_screen_single_forum' );
123
 
 
 
 
 
 
 
 
124
  bp_core_load_template( apply_filters( 'bp_forums_screen_single_forum', 'forums/single/forum' ) );
125
  }
126
  add_action( 'bp_screens', 'bp_forums_screen_single_forum' );
@@ -133,8 +201,20 @@ function bp_forums_screen_single_topic() {
133
  if ( !bp_is_forums_component() || !bp_is_current_action( 'topic' ) || !bp_action_variable( 0 ) )
134
  return false;
135
 
 
 
 
 
 
136
  do_action( 'bp_forums_screen_single_topic' );
137
 
 
 
 
 
 
 
 
138
  bp_core_load_template( apply_filters( 'bp_forums_screen_single_topic', 'forums/single/topic' ) );
139
  }
140
  add_action( 'bp_screens', 'bp_forums_screen_single_topic' );
28
 
29
  bp_update_is_directory( true, 'forums' );
30
 
31
+ /**
32
+ * Fires early in the initialization of bbPress-based areas of BuddyPress.
33
+ *
34
+ * @since BuddyPress (1.1.0)
35
+ */
36
  do_action( 'bbpress_init' );
37
 
38
  // Check to see if the user has posted a new topic from the forums page.
80
  }
81
  }
82
 
83
+ /**
84
+ * Fires right before the loading of the forums directory screen template file.
85
+ *
86
+ * @since BuddyPress (1.1.0)
87
+ */
88
  do_action( 'bp_forums_directory_forums_setup' );
89
 
90
+ /**
91
+ * Filters the template to load for the forums directory screen.
92
+ *
93
+ * @since BuddyPress (1.1.0)
94
+ *
95
+ * @param string $template Path to the forums template to load.
96
+ */
97
  bp_core_load_template( apply_filters( 'bp_forums_template_directory_forums_setup', 'forums/index' ) );
98
  }
99
  }
103
  * Load the Topics Started screen.
104
  */
105
  function bp_member_forums_screen_topics() {
106
+
107
+ /**
108
+ * Fires right before the loading of the forums topics started screen template file.
109
+ *
110
+ * @since BuddyPress (1.5.0)
111
+ */
112
  do_action( 'bp_member_forums_screen_topics' );
113
 
114
+ /**
115
+ * Filters the template to load for the forums topics started screen.
116
+ *
117
+ * @since BuddyPress (1.5.0)
118
+ *
119
+ * @param string $template Path to the forums topics started template to load.
120
+ */
121
  bp_core_load_template( apply_filters( 'bp_member_forums_screen_topics', 'members/single/home' ) );
122
  }
123
 
125
  * Load the Replied To screen.
126
  */
127
  function bp_member_forums_screen_replies() {
128
+
129
+ /**
130
+ * Fires right before the loading of the forums replied to screen template file.
131
+ *
132
+ * @since BuddyPress (1.5.0)
133
+ */
134
  do_action( 'bp_member_forums_screen_replies' );
135
 
136
+ /**
137
+ * Filters the template to load for the forums replied to screen.
138
+ *
139
+ * @since BuddyPress (1.5.0)
140
+ *
141
+ * @param string $template Path to the forums replied to template to load.
142
+ */
143
  bp_core_load_template( apply_filters( 'bp_member_forums_screen_replies', 'members/single/home' ) );
144
  }
145
 
149
  * Note that this feature is not fully implemented at the moment.
150
  */
151
  function bp_member_forums_screen_favorites() {
152
+
153
+ /**
154
+ * Fires right before the loading of the forums favorites screen template file.
155
+ *
156
+ * @since BuddyPress (1.5.0)
157
+ */
158
  do_action( 'bp_member_forums_screen_favorites' );
159
 
160
+ /**
161
+ * Filters the template to load for the forums favorites screen.
162
+ *
163
+ * @since BuddyPress (1.5.0)
164
+ *
165
+ * @param string $template Path to the forums favorites template to load.
166
+ */
167
  bp_core_load_template( apply_filters( 'bp_member_forums_screen_favorites', 'members/single/home' ) );
168
  }
169
 
175
  if ( !bp_is_forums_component() || !bp_is_current_action( 'forum' ) || !bp_action_variable( 0 ) )
176
  return false;
177
 
178
+ /**
179
+ * Fires right before the loading of the forums single forum screen template file.
180
+ *
181
+ * @since BuddyPress (1.5.0)
182
+ */
183
  do_action( 'bp_forums_screen_single_forum' );
184
 
185
+ /**
186
+ * Filters the template to load for the forums single forum screen.
187
+ *
188
+ * @since BuddyPress (1.5.0)
189
+ *
190
+ * @param string $template Path to the forums single forum template to load.
191
+ */
192
  bp_core_load_template( apply_filters( 'bp_forums_screen_single_forum', 'forums/single/forum' ) );
193
  }
194
  add_action( 'bp_screens', 'bp_forums_screen_single_forum' );
201
  if ( !bp_is_forums_component() || !bp_is_current_action( 'topic' ) || !bp_action_variable( 0 ) )
202
  return false;
203
 
204
+ /**
205
+ * Fires right before the loading of the forums single topic screen template file.
206
+ *
207
+ * @since BuddyPress (1.5.0)
208
+ */
209
  do_action( 'bp_forums_screen_single_topic' );
210
 
211
+ /**
212
+ * Filters the template to load for the forums single topic screen.
213
+ *
214
+ * @since BuddyPress (1.5.0)
215
+ *
216
+ * @param string $template Path to the forums single topic template to load.
217
+ */
218
  bp_core_load_template( apply_filters( 'bp_forums_screen_single_topic', 'forums/single/topic' ) );
219
  }
220
  add_action( 'bp_screens', 'bp_forums_screen_single_topic' );
bp-forums/bp-forums-template.php CHANGED
@@ -28,6 +28,14 @@ function bp_forums_slug() {
28
  */
29
  function bp_get_forums_slug() {
30
  global $bp;
 
 
 
 
 
 
 
 
31
  return apply_filters( 'bp_get_forums_slug', $bp->forums->slug );
32
  }
33
 
@@ -50,6 +58,14 @@ function bp_forums_root_slug() {
50
  */
51
  function bp_get_forums_root_slug() {
52
  global $bp;
 
 
 
 
 
 
 
 
53
  return apply_filters( 'bp_get_forums_root_slug', $bp->forums->root_slug );
54
  }
55
 
@@ -76,6 +92,14 @@ function bp_forums_directory_permalink() {
76
  * @return string The permalink for the forums component directory.
77
  */
78
  function bp_get_forums_directory_permalink() {
 
 
 
 
 
 
 
 
79
  return apply_filters( 'bp_get_forums_directory_permalink', trailingslashit( bp_get_root_domain() . '/' . bp_get_forums_root_slug() ) );
80
  }
81
 
@@ -234,6 +258,19 @@ class BP_Forums_Template_Forum {
234
  break;
235
  }
236
 
 
 
 
 
 
 
 
 
 
 
 
 
 
237
  $this->topics = apply_filters( 'bp_forums_template_topics', $this->topics, $type, $forum_id, $per_page, $max, $no_stickies );
238
 
239
  if ( !(int) $this->topics ) {
@@ -281,7 +318,37 @@ class BP_Forums_Template_Forum {
281
  }
282
  }
283
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
284
  $this->topic_count = apply_filters_ref_array( 'bp_forums_template_topic_count', array( $this->topic_count, &$this->topics, $type, $forum_id, $per_page, $max, $no_stickies ) );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
285
  $this->total_topic_count = apply_filters_ref_array( 'bp_forums_template_total_topic_count', array( $this->total_topic_count, $this->topic_count, &$this->topics, $type, $forum_id, $per_page, $max, $no_stickies ) );
286
 
287
  // Fetch extra information for topics, so we don't have to query inside the loop
@@ -352,6 +419,12 @@ class BP_Forums_Template_Forum {
352
  if ( $this->current_topic + 1 < $this->topic_count ) {
353
  return true;
354
  } elseif ( $this->current_topic + 1 == $this->topic_count ) {
 
 
 
 
 
 
355
  do_action('forum_loop_end');
356
  // Do some cleaning up after the loop
357
  $this->rewind_topics();
@@ -373,8 +446,15 @@ class BP_Forums_Template_Forum {
373
  $this->topic = $this->next_topic();
374
  $this->topic = (object)$this->topic;
375
 
376
- if ( $this->current_topic == 0 ) // loop has just started
377
- do_action('forum_loop_start');
 
 
 
 
 
 
 
378
  }
379
  }
380
 
@@ -581,6 +661,14 @@ function bp_has_forum_topics( $args = '' ) {
581
  $forum_template = new BP_Forums_Template_Forum( $type, $forum_id, $user_id, $page, $per_page, $max, 'all', $search_terms );
582
  }
583
 
 
 
 
 
 
 
 
 
584
  return apply_filters( 'bp_has_topics', $forum_template->has_topics(), $forum_template );
585
  }
586
 
@@ -622,6 +710,13 @@ function bp_the_topic_id() {
622
  function bp_get_the_topic_id() {
623
  global $forum_template;
624
 
 
 
 
 
 
 
 
625
  return apply_filters( 'bp_get_the_topic_id', $forum_template->topic->topic_id );
626
  }
627
 
@@ -639,6 +734,13 @@ function bp_the_topic_title() {
639
  function bp_get_the_topic_title() {
640
  global $forum_template;
641
 
 
 
 
 
 
 
 
642
  return apply_filters( 'bp_get_the_topic_title', stripslashes( $forum_template->topic->topic_title ) );
643
  }
644
 
@@ -656,6 +758,13 @@ function bp_the_topic_slug() {
656
  function bp_get_the_topic_slug() {
657
  global $forum_template;
658
 
 
 
 
 
 
 
 
659
  return apply_filters( 'bp_get_the_topic_slug', $forum_template->topic->topic_slug );
660
  }
661
 
@@ -674,6 +783,14 @@ function bp_the_topic_text() {
674
  global $forum_template;
675
 
676
  $post = bb_get_first_post( (int) $forum_template->topic->topic_id, false );
 
 
 
 
 
 
 
 
677
  return apply_filters( 'bp_get_the_topic_text', esc_attr( $post->post_text ) );
678
  }
679
 
@@ -691,6 +808,13 @@ function bp_the_topic_poster_id() {
691
  function bp_get_the_topic_poster_id() {
692
  global $forum_template;
693
 
 
 
 
 
 
 
 
694
  return apply_filters( 'bp_get_the_topic_poster_id', $forum_template->topic->topic_poster );
695
  }
696
 
@@ -735,6 +859,13 @@ function bp_the_topic_poster_avatar( $args = '' ) {
735
  $r = wp_parse_args( $args, $defaults );
736
  extract( $r, EXTR_SKIP );
737
 
 
 
 
 
 
 
 
738
  return apply_filters( 'bp_get_the_topic_poster_avatar', bp_core_fetch_avatar( array( 'item_id' => $forum_template->topic->topic_poster, 'type' => $type, 'width' => $width, 'height' => $height, 'alt' => $alt ) ) );
739
  }
740
 
@@ -757,6 +888,13 @@ function bp_the_topic_poster_name() {
757
  if ( !$name = bp_core_get_userlink( $poster_id ) )
758
  return __( 'Deleted User', 'buddypress' );
759
 
 
 
 
 
 
 
 
760
  return apply_filters( 'bp_get_the_topic_poster_name', $name );
761
  }
762
 
@@ -776,6 +914,15 @@ function bp_the_topic_object_id() {
776
  function bp_get_the_topic_object_id() {
777
  global $forum_template;
778
 
 
 
 
 
 
 
 
 
 
779
  return apply_filters( 'bp_get_the_topic_object_id', $forum_template->topic->object_id );
780
  }
781
 
@@ -801,6 +948,16 @@ function bp_the_topic_object_name() {
801
  else
802
  $retval = '';
803
 
 
 
 
 
 
 
 
 
 
 
804
  return apply_filters( 'bp_get_the_topic_object_name', $retval );
805
  }
806
 
@@ -821,6 +978,16 @@ function bp_the_topic_object_slug() {
821
  function bp_get_the_topic_object_slug() {
822
  global $forum_template;
823
 
 
 
 
 
 
 
 
 
 
 
824
  return apply_filters( 'bp_get_the_topic_object_slug', $forum_template->topic->object_slug );
825
  }
826
 
@@ -846,6 +1013,16 @@ function bp_the_topic_object_permalink() {
846
  else
847
  $permalink = '';
848
 
 
 
 
 
 
 
 
 
 
 
849
  return apply_filters( 'bp_get_the_topic_object_permalink', $permalink );
850
  }
851
 
@@ -871,6 +1048,13 @@ function bp_the_topic_last_poster_name() {
871
  if ( !$domain || $domain == bp_core_get_root_domain() . '/' . bp_get_members_root_slug() . '/' )
872
  return __( 'Deleted User', 'buddypress' );
873
 
 
 
 
 
 
 
 
874
  return apply_filters( 'bp_get_the_topic_last_poster_name', '<a href="' . $domain . '">' . $forum_template->topic->topic_last_poster_displayname . '</a>' );
875
  }
876
 
@@ -921,6 +1105,13 @@ function bp_the_topic_object_avatar( $args = '' ) {
921
  $r = wp_parse_args( $args, $defaults );
922
  extract( $r, EXTR_SKIP );
923
 
 
 
 
 
 
 
 
924
  return apply_filters( 'bp_get_the_topic_object_avatar', bp_core_fetch_avatar( array( 'item_id' => $forum_template->topic->object_id, 'type' => $type, 'object' => 'group', 'width' => $width, 'height' => $height, 'alt' => $alt ) ) );
925
  }
926
 
@@ -965,6 +1156,13 @@ function bp_the_topic_last_poster_avatar( $args = '' ) {
965
  $r = wp_parse_args( $args, $defaults );
966
  extract( $r, EXTR_SKIP );
967
 
 
 
 
 
 
 
 
968
  return apply_filters( 'bp_get_the_topic_last_poster_avatar', bp_core_fetch_avatar( array( 'email' => $forum_template->topic->topic_last_poster_email, 'item_id' => $forum_template->topic->topic_last_poster, 'type' => $type, 'width' => $width, 'height' => $height, 'alt' => $alt ) ) );
969
  }
970
 
@@ -982,6 +1180,13 @@ function bp_the_topic_start_time() {
982
  function bp_get_the_topic_start_time() {
983
  global $forum_template;
984
 
 
 
 
 
 
 
 
985
  return apply_filters( 'bp_get_the_topic_start_time', $forum_template->topic->topic_start_time );
986
  }
987
 
@@ -999,6 +1204,13 @@ function bp_the_topic_time() {
999
  function bp_get_the_topic_time() {
1000
  global $forum_template;
1001
 
 
 
 
 
 
 
 
1002
  return apply_filters( 'bp_get_the_topic_time', $forum_template->topic->topic_time );
1003
  }
1004
 
@@ -1016,6 +1228,13 @@ function bp_the_topic_forum_id() {
1016
  function bp_get_the_topic_forum_id() {
1017
  global $forum_template;
1018
 
 
 
 
 
 
 
 
1019
  return apply_filters( 'bp_get_the_topic_forum_id', $forum_template->topic->forum_id );
1020
  }
1021
 
@@ -1033,6 +1252,13 @@ function bp_the_topic_status() {
1033
  function bp_get_the_topic_status() {
1034
  global $forum_template;
1035
 
 
 
 
 
 
 
 
1036
  return apply_filters( 'bp_get_the_topic_status', $forum_template->topic->topic_status );
1037
  }
1038
 
@@ -1050,6 +1276,13 @@ function bp_the_topic_is_topic_open() {
1050
  function bp_get_the_topic_is_topic_open() {
1051
  global $forum_template;
1052
 
 
 
 
 
 
 
 
1053
  return apply_filters( 'bp_get_the_topic_is_topic_open', $forum_template->topic->topic_open );
1054
  }
1055
 
@@ -1067,6 +1300,13 @@ function bp_the_topic_last_post_id() {
1067
  function bp_get_the_topic_last_post_id() {
1068
  global $forum_template;
1069
 
 
 
 
 
 
 
 
1070
  return apply_filters( 'bp_get_the_topic_last_post_id', $forum_template->topic->topic_last_post_id );
1071
  }
1072
 
@@ -1084,6 +1324,13 @@ function bp_the_topic_is_sticky() {
1084
  function bp_get_the_topic_is_sticky() {
1085
  global $forum_template;
1086
 
 
 
 
 
 
 
 
1087
  return apply_filters( 'bp_get_the_topic_is_sticky', $forum_template->topic->topic_sticky );
1088
  }
1089
 
@@ -1101,10 +1348,21 @@ function bp_the_topic_total_post_count() {
1101
  function bp_get_the_topic_total_post_count() {
1102
  global $forum_template;
1103
 
1104
- if ( $forum_template->topic->topic_posts == 1 )
 
 
 
 
 
 
 
 
1105
  return apply_filters( 'bp_get_the_topic_total_post_count', sprintf( __( '%d post', 'buddypress' ), $forum_template->topic->topic_posts ) );
1106
- else
 
 
1107
  return apply_filters( 'bp_get_the_topic_total_post_count', sprintf( __( '%d posts', 'buddypress' ), $forum_template->topic->topic_posts ) );
 
1108
  }
1109
 
1110
  /**
@@ -1121,6 +1379,13 @@ function bp_the_topic_total_posts() {
1121
  function bp_get_the_topic_total_posts() {
1122
  global $forum_template;
1123
 
 
 
 
 
 
 
 
1124
  return apply_filters( 'bp_get_the_topic_total_posts', $forum_template->topic->topic_posts );
1125
  }
1126
 
@@ -1138,6 +1403,13 @@ function bp_the_topic_tag_count() {
1138
  function bp_get_the_topic_tag_count() {
1139
  global $forum_template;
1140
 
 
 
 
 
 
 
 
1141
  return apply_filters( 'bp_get_the_topic_tag_count', $forum_template->topic->tag_count );
1142
  }
1143
 
@@ -1172,6 +1444,13 @@ function bp_the_topic_permalink() {
1172
  $permalink = trailingslashit( bp_get_root_domain() . '/' . bp_get_forums_root_slug() );
1173
  }
1174
 
 
 
 
 
 
 
 
1175
  return apply_filters( 'bp_get_the_topic_permalink', trailingslashit( $permalink . 'topic/' . $forum_template->topic->topic_slug ) );
1176
  }
1177
 
@@ -1191,6 +1470,13 @@ function bp_the_topic_time_since_created() {
1191
  function bp_get_the_topic_time_since_created() {
1192
  global $forum_template;
1193
 
 
 
 
 
 
 
 
1194
  return apply_filters( 'bp_get_the_topic_time_since_created', bp_core_time_since( strtotime( $forum_template->topic->topic_start_time ) ) );
1195
  }
1196
 
@@ -1221,6 +1507,14 @@ function bp_the_topic_latest_post_excerpt( $args = '' ) {
1221
  $post = bp_forums_get_post( $forum_template->topic->topic_last_post_id );
1222
  $post = bp_create_excerpt( $post->post_text, $length );
1223
 
 
 
 
 
 
 
 
 
1224
  return apply_filters( 'bp_get_the_topic_latest_post_excerpt', $post, $length );
1225
  }
1226
 
@@ -1240,6 +1534,13 @@ function bp_the_topic_time_since_last_post() {
1240
  function bp_get_the_topic_time_since_last_post() {
1241
  global $forum_template;
1242
 
 
 
 
 
 
 
 
1243
  return apply_filters( 'bp_get_the_topic_time_since_last_post', bp_core_time_since( strtotime( $forum_template->topic->topic_time ) ) );
1244
  }
1245
 
@@ -1337,6 +1638,16 @@ function bp_the_topic_css_class() {
1337
  if ( !isset( $forum_template->topic->topic_open ) || 0 == (int) $forum_template->topic->topic_open )
1338
  $class .= ' closed';
1339
 
 
 
 
 
 
 
 
 
 
 
1340
  return apply_filters( 'bp_get_the_topic_css_class', trim( $class ) );
1341
  }
1342
 
@@ -1354,6 +1665,13 @@ function bp_my_forum_topics_link() {
1354
  function bp_get_my_forum_topics_link() {
1355
  global $bp;
1356
 
 
 
 
 
 
 
 
1357
  return apply_filters( 'bp_get_my_forum_topics_link', bp_get_root_domain() . '/' . bp_get_forums_root_slug() . '/personal/' );
1358
  }
1359
 
@@ -1371,6 +1689,13 @@ function bp_unreplied_forum_topics_link() {
1371
  function bp_get_unreplied_forum_topics_link() {
1372
  global $bp;
1373
 
 
 
 
 
 
 
 
1374
  return apply_filters( 'bp_get_unreplied_forum_topics_link', bp_get_root_domain() . '/' . bp_get_forums_root_slug() . '/unreplied/' );
1375
  }
1376
 
@@ -1388,6 +1713,13 @@ function bp_popular_forum_topics_link() {
1388
  function bp_get_popular_forum_topics_link() {
1389
  global $bp;
1390
 
 
 
 
 
 
 
 
1391
  return apply_filters( 'bp_get_popular_forum_topics_link', bp_get_root_domain() . '/' . bp_get_forums_root_slug() . '/popular/' );
1392
  }
1393
 
@@ -1405,6 +1737,13 @@ function bp_newest_forum_topics_link() {
1405
  function bp_get_newest_forum_topics_link() {
1406
  global $bp;
1407
 
 
 
 
 
 
 
 
1408
  return apply_filters( 'bp_get_newest_forum_topics_link', bp_get_root_domain() . '/' . bp_get_forums_root_slug() . '/' );
1409
  }
1410
 
@@ -1427,6 +1766,15 @@ function bp_forum_topic_type() {
1427
  if ( !bp_is_directory() || !bp_current_action() )
1428
  return 'newest';
1429
 
 
 
 
 
 
 
 
 
 
1430
  return apply_filters( 'bp_get_forum_topic_type', bp_current_action() );
1431
  }
1432
 
@@ -1461,7 +1809,13 @@ function bp_forum_topic_new_reply_link() {
1461
  ), bp_get_the_topic_permalink() );
1462
  }
1463
 
1464
- // Tack on the #post-topic-reply anchor before returning
 
 
 
 
 
 
1465
  return apply_filters( 'bp_get_forum_topic_new_reply_link', $link . '#post-topic-reply', $link );
1466
  }
1467
 
@@ -1498,6 +1852,13 @@ function bp_forum_pagination() {
1498
  function bp_get_forum_pagination() {
1499
  global $forum_template;
1500
 
 
 
 
 
 
 
 
1501
  return apply_filters( 'bp_get_forum_pagination', $forum_template->pag_links );
1502
  }
1503
 
@@ -1526,6 +1887,16 @@ function bp_forum_pagination_count() {
1526
  if ( 'tags' == $forum_template->type && !empty( $forum_template->search_terms ) )
1527
  $pag_filter = sprintf( __( ' matching tag "%s"', 'buddypress' ), $forum_template->search_terms );
1528
 
 
 
 
 
 
 
 
 
 
 
1529
  return apply_filters( 'bp_get_forum_pagination_count', sprintf( _n( 'Viewing 1 topic', 'Viewing %1$s - %2$s of %3$s topics', (int) $forum_template->total_topic_count, 'buddypress' ), $from_num, $to_num, $total, $pag_filter ), $from_num, $to_num, $total );
1530
  }
1531
 
@@ -1798,6 +2169,12 @@ class BP_Forums_Template_Topic {
1798
  if ( $this->current_post + 1 < $this->post_count ) {
1799
  return true;
1800
  } elseif ( $this->current_post + 1 == $this->post_count ) {
 
 
 
 
 
 
1801
  do_action('topic_loop_end');
1802
  // Do some cleaning up after the loop
1803
  $this->rewind_posts();
@@ -1819,8 +2196,15 @@ class BP_Forums_Template_Topic {
1819
  $this->post = $this->next_post();
1820
  $this->post = (object)$this->post;
1821
 
1822
- if ( $this->current_post == 0 ) // loop has just started
1823
- do_action('topic_loop_start');
 
 
 
 
 
 
 
1824
  }
1825
  }
1826
 
@@ -1866,6 +2250,14 @@ function bp_has_forum_topic_posts( $args = '' ) {
1866
  return false;
1867
  }
1868
 
 
 
 
 
 
 
 
 
1869
  return apply_filters( 'bp_has_topic_posts', $topic_template->has_posts(), $topic_template );
1870
  }
1871
 
@@ -1903,6 +2295,13 @@ function bp_the_topic_post_id() {
1903
  function bp_get_the_topic_post_id() {
1904
  global $topic_template;
1905
 
 
 
 
 
 
 
 
1906
  return apply_filters( 'bp_get_the_topic_post_id', $topic_template->post->post_id );
1907
  }
1908
 
@@ -1920,6 +2319,13 @@ function bp_the_topic_post_content() {
1920
  function bp_get_the_topic_post_content() {
1921
  global $topic_template;
1922
 
 
 
 
 
 
 
 
1923
  return apply_filters( 'bp_get_the_topic_post_content', stripslashes( $topic_template->post->post_text ) );
1924
  }
1925
 
@@ -1952,6 +2358,16 @@ function bp_the_topic_post_css_class() {
1952
  if ( 0 == (int) $topic_template->post->post_status )
1953
  $class .= ' open';
1954
 
 
 
 
 
 
 
 
 
 
 
1955
  return apply_filters( 'bp_get_the_topic_post_css_class', trim( $class ) );
1956
  }
1957
 
@@ -1996,6 +2412,13 @@ function bp_the_topic_post_poster_avatar( $args = '' ) {
1996
  $r = wp_parse_args( $args, $defaults );
1997
  extract( $r, EXTR_SKIP );
1998
 
 
 
 
 
 
 
 
1999
  return apply_filters( 'bp_get_the_topic_post_poster_avatar', bp_core_fetch_avatar( array( 'item_id' => $topic_template->post->poster_id, 'type' => $type, 'width' => $width, 'height' => $height, 'alt' => $alt ) ) );
2000
  }
2001
 
@@ -2016,6 +2439,13 @@ function bp_the_topic_post_poster_name() {
2016
  if ( empty( $topic_template->post->poster_name ) || ( !$link = bp_core_get_user_domain( $topic_template->post->poster_id ) ) )
2017
  return __( 'Deleted User', 'buddypress' );
2018
 
 
 
 
 
 
 
 
2019
  return apply_filters( 'bp_get_the_topic_post_poster_name', '<a href="' . $link . '" title="' . $topic_template->post->poster_name . '">' . $topic_template->post->poster_name . '</a>' );
2020
  }
2021
 
@@ -2034,6 +2464,13 @@ function bp_the_topic_post_poster_link() {
2034
  function bp_get_the_topic_post_poster_link() {
2035
  global $topic_template;
2036
 
 
 
 
 
 
 
 
2037
  return apply_filters( 'bp_the_topic_post_poster_link', bp_core_get_user_domain( $topic_template->post->poster_id ) );
2038
  }
2039
 
@@ -2053,6 +2490,13 @@ function bp_the_topic_post_time_since() {
2053
  function bp_get_the_topic_post_time_since() {
2054
  global $topic_template;
2055
 
 
 
 
 
 
 
 
2056
  return apply_filters( 'bp_get_the_topic_post_time_since', bp_core_time_since( strtotime( $topic_template->post->post_time ) ) );
2057
  }
2058
 
@@ -2115,6 +2559,13 @@ function bp_the_topic_post_admin_links( $args = '' ) {
2115
  $links[] = '<a href="' . wp_nonce_url( bp_get_the_topic_permalink() . 'edit/post/' . $topic_template->post->post_id . '/' . $query_vars, 'bp_forums_edit_post' ) . '">' . __( 'Edit', 'buddypress' ) . '</a>';
2116
  $links[] .= '<a class="confirm" id="post-delete-link" href="' . wp_nonce_url( bp_get_the_topic_permalink() . 'delete/post/' . $topic_template->post->post_id, 'bp_forums_delete_post' ) . '">' . __( 'Delete', 'buddypress' ) . '</a>';
2117
 
 
 
 
 
 
 
 
2118
  return apply_filters( 'bp_get_the_topic_post_admin_links', implode( $separator, $links ), $links, $r );
2119
  }
2120
 
@@ -2131,6 +2582,14 @@ function bp_the_topic_post_edit_text() {
2131
  */
2132
  function bp_get_the_topic_post_edit_text() {
2133
  $post = bp_forums_get_post( bp_action_variable( 4 ) );
 
 
 
 
 
 
 
 
2134
  return apply_filters( 'bp_get_the_topic_post_edit_text', esc_attr( $post->post_text ) );
2135
  }
2136
 
@@ -2148,6 +2607,14 @@ function bp_the_topic_pagination() {
2148
  function bp_get_the_topic_pagination() {
2149
  global $topic_template;
2150
 
 
 
 
 
 
 
 
 
2151
  return apply_filters( 'bp_get_the_topic_pagination', $topic_template->pag_links );
2152
  }
2153
 
@@ -2166,6 +2633,16 @@ function bp_the_topic_pagination_count() {
2166
  $to_num = bp_core_number_format( ( $start_num + ( $topic_template->pag_num - 1 ) > $topic_template->total_post_count ) ? $topic_template->total_post_count : $start_num + ( $topic_template->pag_num - 1 ) );
2167
  $total = bp_core_number_format( $topic_template->total_post_count );
2168
 
 
 
 
 
 
 
 
 
 
 
2169
  echo apply_filters( 'bp_the_topic_pagination_count', sprintf( _n( 'Viewing 1 post', 'Viewing %1$s - %2$s of %3$s posts', (int) $topic_template->total_post_count, 'buddypress' ), $from_num, $to_num, $total ), $from_num, $to_num, $total );
2170
  }
2171
 
@@ -2184,6 +2661,13 @@ function bp_the_topic_is_last_page() {
2184
  function bp_get_the_topic_is_last_page() {
2185
  global $topic_template;
2186
 
 
 
 
 
 
 
 
2187
  return apply_filters( 'bp_get_the_topic_is_last_page', $topic_template->pag_page == $topic_template->pag->total_pages );
2188
  }
2189
 
@@ -2199,6 +2683,13 @@ function bp_directory_forums_search_form() {
2199
  <input type="submit" id="forums_search_submit" name="forums_search_submit" value="' . __( 'Search', 'buddypress' ) . '" />
2200
  </form>';
2201
 
 
 
 
 
 
 
 
2202
  echo apply_filters( 'bp_directory_forums_search_form', $search_form_html );
2203
  }
2204
 
@@ -2237,6 +2728,13 @@ function bp_forum_permalink( $forum_id = 0 ) {
2237
  return false;
2238
  }
2239
 
 
 
 
 
 
 
 
2240
  return apply_filters( 'bp_get_forum_permalink', trailingslashit( $permalink ) );
2241
  }
2242
 
@@ -2266,10 +2764,20 @@ function bp_forum_name( $forum_id = 0 ) {
2266
  $forum_id = $topic_template->forum_id;
2267
  }
2268
 
2269
- if ( $forum = bp_forums_get_forum( $forum_id ) )
 
 
 
 
 
 
 
 
 
2270
  return apply_filters( 'bp_get_forum_name', $forum->forum_name, $forum->forum_id );
2271
- else
2272
  return false;
 
2273
  }
2274
 
2275
  /**
@@ -2333,6 +2841,14 @@ function bp_forum_topic_tag_list() {
2333
  if ( 'string' == $format )
2334
  $tags = implode( ', ', $tags );
2335
 
 
 
 
 
 
 
 
 
2336
  return apply_filters( 'bp_forum_topic_tag_list', $tags, $format );
2337
  }
2338
 
@@ -2351,6 +2867,13 @@ function bp_forum_topic_has_tags() {
2351
  if ( !empty( $topic_template->topic_tags ) )
2352
  $has_tags = true;
2353
 
 
 
 
 
 
 
 
2354
  return apply_filters( 'bp_forum_topic_has_tags', $has_tags );
2355
  }
2356
 
@@ -2368,6 +2891,13 @@ function bp_forum_action() {
2368
  function bp_get_forum_action() {
2369
  global $topic_template;
2370
 
 
 
 
 
 
 
 
2371
  return apply_filters( 'bp_get_forum_action', bp_get_root_domain() . esc_attr( $_SERVER['REQUEST_URI'] ) );
2372
  }
2373
 
@@ -2383,6 +2913,14 @@ function bp_forum_topic_action() {
2383
  * @return string URL of the current page, minus query args.
2384
  */
2385
  function bp_get_forum_topic_action() {
 
 
 
 
 
 
 
 
2386
  return apply_filters( 'bp_get_forum_topic_action', $_SERVER['REQUEST_URI'] );
2387
  }
2388
 
@@ -2400,8 +2938,18 @@ function bp_forum_topic_count_for_user( $user_id = 0 ) {
2400
  * Return the total topic count for a given user.
2401
  *
2402
  * @param int $user_id See {@link bp_forums_total_topic_count_for_user}.
 
 
2403
  */
2404
  function bp_get_forum_topic_count_for_user( $user_id = 0 ) {
 
 
 
 
 
 
 
 
2405
  return apply_filters( 'bp_get_forum_topic_count_for_user', bp_forums_total_topic_count_for_user( $user_id ) );
2406
  }
2407
 
@@ -2419,7 +2967,17 @@ function bp_forum_topic_count( $user_id = 0 ) {
2419
  * Return the total topic count for a given user.
2420
  *
2421
  * @param int $user_id See {@link bp_forums_total_topic_count()}.
 
 
2422
  */
2423
  function bp_get_forum_topic_count( $user_id = 0 ) {
 
 
 
 
 
 
 
 
2424
  return apply_filters( 'bp_get_forum_topic_count', bp_forums_total_topic_count( $user_id ) );
2425
  }
28
  */
29
  function bp_get_forums_slug() {
30
  global $bp;
31
+
32
+ /**
33
+ * Filters the forums component slug.
34
+ *
35
+ * @since BuddyPress (1.5.0)
36
+ *
37
+ * @param string $slug Forums component slug.
38
+ */
39
  return apply_filters( 'bp_get_forums_slug', $bp->forums->slug );
40
  }
41
 
58
  */
59
  function bp_get_forums_root_slug() {
60
  global $bp;
61
+
62
+ /**
63
+ * Filters the forums component root slug.
64
+ *
65
+ * @since BuddyPress (1.5.0)
66
+ *
67
+ * @param string $root_slug Forums component root slug.
68
+ */
69
  return apply_filters( 'bp_get_forums_root_slug', $bp->forums->root_slug );
70
  }
71
 
92
  * @return string The permalink for the forums component directory.
93
  */
94
  function bp_get_forums_directory_permalink() {
95
+
96
+ /**
97
+ * Filters the permalink for the forum directory.
98
+ *
99
+ * @since BuddyPress (1.5.0)
100
+ *
101
+ * @param string $value Permalink for the forum directory.
102
+ */
103
  return apply_filters( 'bp_get_forums_directory_permalink', trailingslashit( bp_get_root_domain() . '/' . bp_get_forums_root_slug() ) );
104
  }
105
 
258
  break;
259
  }
260
 
261
+ /**
262
+ * Filters the forums template topics.
263
+ *
264
+ * @since BuddyPress (1.1.0)
265
+ *
266
+ * @param array $topics Array of topics being set for display.
267
+ * @param string $type The sort order/kind. 'newest',
268
+ * 'popular', 'unreplied', 'tags'.
269
+ * @param int $forum_id ID for the current forum.
270
+ * @param int $per_page The number of the page being requested.
271
+ * @param int $max The max number of posts to show.
272
+ * @param string $no_stickies Requested sticky format.
273
+ */
274
  $this->topics = apply_filters( 'bp_forums_template_topics', $this->topics, $type, $forum_id, $per_page, $max, $no_stickies );
275
 
276
  if ( !(int) $this->topics ) {
318
  }
319
  }
320
 
321
+ /**
322
+ * Filters the topic count for the forum being displayed.
323
+ *
324
+ * @since BuddyPress (1.1.0)
325
+ *
326
+ * @param int $topic_count Topic count to be displayed.
327
+ * @param array $topics Array of topics to be displayed.
328
+ * @param string $type The sort order/kind. 'newest',
329
+ * 'popular', 'unreplied', 'tags'.
330
+ * @param int $forum_id ID for the current forum.
331
+ * @param int $per_page The number of the page being requested.
332
+ * @param int $max The max number of posts to show.
333
+ * @param string $no_stickies Requested sticky format.
334
+ */
335
  $this->topic_count = apply_filters_ref_array( 'bp_forums_template_topic_count', array( $this->topic_count, &$this->topics, $type, $forum_id, $per_page, $max, $no_stickies ) );
336
+
337
+ /**
338
+ * Filters the total topic count for the forum being displayed.
339
+ *
340
+ * @since BuddyPress (1.1.0)
341
+ *
342
+ * @param int $total_topic_count Total topic count found.
343
+ * @param int $topic_count Topic count to be displayed.
344
+ * @param array $topics Array of topics to be displayed.
345
+ * @param string $type The sort order/kind. 'newest',
346
+ * 'popular', 'unreplied', 'tags'.
347
+ * @param int $forum_id ID for the current forum.
348
+ * @param int $per_page The number of the page being requested.
349
+ * @param int $max The max number of posts to show.
350
+ * @param string $no_stickies Requested sticky format.
351
+ */
352
  $this->total_topic_count = apply_filters_ref_array( 'bp_forums_template_total_topic_count', array( $this->total_topic_count, $this->topic_count, &$this->topics, $type, $forum_id, $per_page, $max, $no_stickies ) );
353
 
354
  // Fetch extra information for topics, so we don't have to query inside the loop
419
  if ( $this->current_topic + 1 < $this->topic_count ) {
420
  return true;
421
  } elseif ( $this->current_topic + 1 == $this->topic_count ) {
422
+
423
+ /**
424
+ * Fires right before the rewinding of user topics.
425
+ *
426
+ * @since BuddyPress (1.5.0)
427
+ */
428
  do_action('forum_loop_end');
429
  // Do some cleaning up after the loop
430
  $this->rewind_topics();
446
  $this->topic = $this->next_topic();
447
  $this->topic = (object)$this->topic;
448
 
449
+ if ( $this->current_topic == 0 ) {
450
+
451
+ /**
452
+ * Fires if the current topic item is the first in the topic loop.
453
+ *
454
+ * @since BuddyPress (1.5.0)
455
+ */
456
+ do_action( 'forum_loop_start' );
457
+ }
458
  }
459
  }
460
 
661
  $forum_template = new BP_Forums_Template_Forum( $type, $forum_id, $user_id, $page, $per_page, $max, 'all', $search_terms );
662
  }
663
 
664
+ /**
665
+ * Filters whether or not there are topics to display.
666
+ *
667
+ * @since BuddyPress (1.1.0)
668
+ *
669
+ * @param bool $value Whether or not there are topics to display.
670
+ * @param object $forum_template Global $forum_template object.
671
+ */
672
  return apply_filters( 'bp_has_topics', $forum_template->has_topics(), $forum_template );
673
  }
674
 
710
  function bp_get_the_topic_id() {
711
  global $forum_template;
712
 
713
+ /**
714
+ * Filters the ID of the current topic in the loop.
715
+ *
716
+ * @since BuddyPress (1.0.0)
717
+ *
718
+ * @param int $topic_id ID for the current topic.
719
+ */
720
  return apply_filters( 'bp_get_the_topic_id', $forum_template->topic->topic_id );
721
  }
722
 
734
  function bp_get_the_topic_title() {
735
  global $forum_template;
736
 
737
+ /**
738
+ * Filters the title of the current topic in the loop.
739
+ *
740
+ * @since BuddyPress (1.0.0)
741
+ *
742
+ * @param string $topic_title Title for the current topic.
743
+ */
744
  return apply_filters( 'bp_get_the_topic_title', stripslashes( $forum_template->topic->topic_title ) );
745
  }
746
 
758
  function bp_get_the_topic_slug() {
759
  global $forum_template;
760
 
761
+ /**
762
+ * Filters the slug of the current topic in the loop.
763
+ *
764
+ * @since BuddyPress (1.0.0)
765
+ *
766
+ * @param string $topic_slug Slug for the current topic.
767
+ */
768
  return apply_filters( 'bp_get_the_topic_slug', $forum_template->topic->topic_slug );
769
  }
770
 
783
  global $forum_template;
784
 
785
  $post = bb_get_first_post( (int) $forum_template->topic->topic_id, false );
786
+
787
+ /**
788
+ * Filters the text of the first post in the current topic in the loop.
789
+ *
790
+ * @since BuddyPress (1.1.0)
791
+ *
792
+ * @param string $post_text Text for the first post in the current topic.
793
+ */
794
  return apply_filters( 'bp_get_the_topic_text', esc_attr( $post->post_text ) );
795
  }
796
 
808
  function bp_get_the_topic_poster_id() {
809
  global $forum_template;
810
 
811
+ /**
812
+ * Filters the ID of the user who posted the current topic in the loop.
813
+ *
814
+ * @since BuddyPress (1.0.0)
815
+ *
816
+ * @param int $topic_poster ID for the user.
817
+ */
818
  return apply_filters( 'bp_get_the_topic_poster_id', $forum_template->topic->topic_poster );
819
  }
820
 
859
  $r = wp_parse_args( $args, $defaults );
860
  extract( $r, EXTR_SKIP );
861
 
862
+ /**
863
+ * Filters the avatar for the user who posted the current topic in the loop.
864
+ *
865
+ * @since BuddyPress (1.0.0)
866
+ *
867
+ * @param string $value HTML for the display of the user's avatar.
868
+ */
869
  return apply_filters( 'bp_get_the_topic_poster_avatar', bp_core_fetch_avatar( array( 'item_id' => $forum_template->topic->topic_poster, 'type' => $type, 'width' => $width, 'height' => $height, 'alt' => $alt ) ) );
870
  }
871
 
888
  if ( !$name = bp_core_get_userlink( $poster_id ) )
889
  return __( 'Deleted User', 'buddypress' );
890
 
891
+ /**
892
+ * Filters the name of the user who posted the current topic in the loop.
893
+ *
894
+ * @since BuddyPress (1.0.0)
895
+ *
896
+ * @param string $name Name for the user who posted the current topic.
897
+ */
898
  return apply_filters( 'bp_get_the_topic_poster_name', $name );
899
  }
900
 
914
  function bp_get_the_topic_object_id() {
915
  global $forum_template;
916
 
917
+ /**
918
+ * Filters the ID of the object associated with the current topic in the loop.
919
+ *
920
+ * Objects are things like associated groups.
921
+ *
922
+ * @since BuddyPress (1.1.0)
923
+ *
924
+ * @param int $object_id ID for the object associated with the current topic.
925
+ */
926
  return apply_filters( 'bp_get_the_topic_object_id', $forum_template->topic->object_id );
927
  }
928
 
948
  else
949
  $retval = '';
950
 
951
+ /**
952
+ * Filters the name of the object associated with the current topic in the loop.
953
+ *
954
+ * Objects are things like groups. So this filter would return the
955
+ * name of the group associated with the forum topic, if it exists.
956
+ *
957
+ * @since BuddyPress (1.1.0)
958
+ *
959
+ * @param string $retval Name for the object associated with the current topic.
960
+ */
961
  return apply_filters( 'bp_get_the_topic_object_name', $retval );
962
  }
963
 
978
  function bp_get_the_topic_object_slug() {
979
  global $forum_template;
980
 
981
+ /**
982
+ * Filters the slug of the object associated with the current topic in the loop.
983
+ *
984
+ * Objects are things like groups. So this filter would return the
985
+ * slug of the group associated with the forum topic, if it exists.
986
+ *
987
+ * @since BuddyPress (1.1.0)
988
+ *
989
+ * @param string $object_slug Slug for the object associated with the current topic.
990
+ */
991
  return apply_filters( 'bp_get_the_topic_object_slug', $forum_template->topic->object_slug );
992
  }
993
 
1013
  else
1014
  $permalink = '';
1015
 
1016
+ /**
1017
+ * Filters the permalink of the object associated with the current topic in the loop.
1018
+ *
1019
+ * Objects are things like groups. So this filter would return the
1020
+ * slug of the group associated with the forum topic, if it exists.
1021
+ *
1022
+ * @since BuddyPress (1.1.0)
1023
+ *
1024
+ * @param string $permalink Permalink for the object associated with the current topic.
1025
+ */
1026
  return apply_filters( 'bp_get_the_topic_object_permalink', $permalink );
1027
  }
1028
 
1048
  if ( !$domain || $domain == bp_core_get_root_domain() . '/' . bp_get_members_root_slug() . '/' )
1049
  return __( 'Deleted User', 'buddypress' );
1050
 
1051
+ /**
1052
+ * Filters the linked name of the user who last posted to the current topic in the loop.
1053
+ *
1054
+ * @since BuddyPress (1.0.0)
1055
+ *
1056
+ * @param string $value HTML link to the profile of the user who last posted.
1057
+ */
1058
  return apply_filters( 'bp_get_the_topic_last_poster_name', '<a href="' . $domain . '">' . $forum_template->topic->topic_last_poster_displayname . '</a>' );
1059
  }
1060
 
1105
  $r = wp_parse_args( $args, $defaults );
1106
  extract( $r, EXTR_SKIP );
1107
 
1108
+ /**
1109
+ * Filters the avatar of the object associated with the current topic in the loop.
1110
+ *
1111
+ * @since BuddyPress (1.1.0)
1112
+ *
1113
+ * @param string $value HTML output for the object associated with the current topic.
1114
+ */
1115
  return apply_filters( 'bp_get_the_topic_object_avatar', bp_core_fetch_avatar( array( 'item_id' => $forum_template->topic->object_id, 'type' => $type, 'object' => 'group', 'width' => $width, 'height' => $height, 'alt' => $alt ) ) );
1116
  }
1117
 
1156
  $r = wp_parse_args( $args, $defaults );
1157
  extract( $r, EXTR_SKIP );
1158
 
1159
+ /**
1160
+ * Filters the avatar for the user who last posted to the current topic in the loop.
1161
+ *
1162
+ * @since BuddyPress (1.0.0)
1163
+ *
1164
+ * @param string $value HTML output for the avatar for the user who last posted.
1165
+ */
1166
  return apply_filters( 'bp_get_the_topic_last_poster_avatar', bp_core_fetch_avatar( array( 'email' => $forum_template->topic->topic_last_poster_email, 'item_id' => $forum_template->topic->topic_last_poster, 'type' => $type, 'width' => $width, 'height' => $height, 'alt' => $alt ) ) );
1167
  }
1168
 
1180
  function bp_get_the_topic_start_time() {
1181
  global $forum_template;
1182
 
1183
+ /**
1184
+ * Filters the start time of the current topic in the loop.
1185
+ *
1186
+ * @since BuddyPress (1.0.0)
1187
+ *
1188
+ * @param string $topic_start_time Start time for the current topic.
1189
+ */
1190
  return apply_filters( 'bp_get_the_topic_start_time', $forum_template->topic->topic_start_time );
1191
  }
1192
 
1204
  function bp_get_the_topic_time() {
1205
  global $forum_template;
1206
 
1207
+ /**
1208
+ * Filters the topic time of the current topic in the loop.
1209
+ *
1210
+ * @since BuddyPress (1.0.0)
1211
+ *
1212
+ * @param string $topic_time Topic time for the current topic.
1213
+ */
1214
  return apply_filters( 'bp_get_the_topic_time', $forum_template->topic->topic_time );
1215
  }
1216
 
1228
  function bp_get_the_topic_forum_id() {
1229
  global $forum_template;
1230
 
1231
+ /**
1232
+ * Filters the ID of the forum associated with the current topic in the loop.
1233
+ *
1234
+ * @since BuddyPress (1.0.0)
1235
+ *
1236
+ * @param int $forum_id ID of the forum associated with the current topic.
1237
+ */
1238
  return apply_filters( 'bp_get_the_topic_forum_id', $forum_template->topic->forum_id );
1239
  }
1240
 
1252
  function bp_get_the_topic_status() {
1253
  global $forum_template;
1254
 
1255
+ /**
1256
+ * Filters the status of the current topic in the loop.
1257
+ *
1258
+ * @since BuddyPress (1.0.0)
1259
+ *
1260
+ * @param string $topic_status Status of the current topic.
1261
+ */
1262
  return apply_filters( 'bp_get_the_topic_status', $forum_template->topic->topic_status );
1263
  }
1264
 
1276
  function bp_get_the_topic_is_topic_open() {
1277
  global $forum_template;
1278
 
1279
+ /**
1280
+ * Filters whether or not the current topic in the loop is open.
1281
+ *
1282
+ * @since BuddyPress (1.0.0)
1283
+ *
1284
+ * @param string $topic_open Whether or not the current topic is open.
1285
+ */
1286
  return apply_filters( 'bp_get_the_topic_is_topic_open', $forum_template->topic->topic_open );
1287
  }
1288
 
1300
  function bp_get_the_topic_last_post_id() {
1301
  global $forum_template;
1302
 
1303
+ /**
1304
+ * Filters the ID of the last post in the current topic in the loop.
1305
+ *
1306
+ * @since BuddyPress (1.0.0)
1307
+ *
1308
+ * @param int $topic_last_post_id ID for the last post in the current topic.
1309
+ */
1310
  return apply_filters( 'bp_get_the_topic_last_post_id', $forum_template->topic->topic_last_post_id );
1311
  }
1312
 
1324
  function bp_get_the_topic_is_sticky() {
1325
  global $forum_template;
1326
 
1327
+ /**
1328
+ * Filters whether or not the current topic in the loop is sticky.
1329
+ *
1330
+ * @since BuddyPress (1.0.0)
1331
+ *
1332
+ * @param bool $topic_sticky Whether or not the current topic is sticky.
1333
+ */
1334
  return apply_filters( 'bp_get_the_topic_is_sticky', $forum_template->topic->topic_sticky );
1335
  }
1336
 
1348
  function bp_get_the_topic_total_post_count() {
1349
  global $forum_template;
1350
 
1351
+ if ( $forum_template->topic->topic_posts == 1 ) {
1352
+
1353
+ /**
1354
+ * Filters a 'x posts' string with the number of posts in the current topic.
1355
+ *
1356
+ * @since BuddyPress (1.0.0)
1357
+ *
1358
+ * @param string $value 'X posts' string value for the current topic.
1359
+ */
1360
  return apply_filters( 'bp_get_the_topic_total_post_count', sprintf( __( '%d post', 'buddypress' ), $forum_template->topic->topic_posts ) );
1361
+ } else {
1362
+
1363
+ /** This filter is documented in bp-forums/bp-forums-template.php */
1364
  return apply_filters( 'bp_get_the_topic_total_post_count', sprintf( __( '%d posts', 'buddypress' ), $forum_template->topic->topic_posts ) );
1365
+ }
1366
  }
1367
 
1368
  /**
1379
  function bp_get_the_topic_total_posts() {
1380
  global $forum_template;
1381
 
1382
+ /**
1383
+ * Filters the total number of posts in the current topic in the loop.
1384
+ *
1385
+ * @since BuddyPress (1.2.4)
1386
+ *
1387
+ * @param int $topic_posts Total number of posts in the current topic.
1388
+ */
1389
  return apply_filters( 'bp_get_the_topic_total_posts', $forum_template->topic->topic_posts );
1390
  }
1391
 
1403
  function bp_get_the_topic_tag_count() {
1404
  global $forum_template;
1405
 
1406
+ /**
1407
+ * Filters the tag count for the current topic in the loop.
1408
+ *
1409
+ * @since BuddyPress (1.0.0)
1410
+ *
1411
+ * @param int $tag_count Tag count for the current topic.
1412
+ */
1413
  return apply_filters( 'bp_get_the_topic_tag_count', $forum_template->topic->tag_count );
1414
  }
1415
 
1444
  $permalink = trailingslashit( bp_get_root_domain() . '/' . bp_get_forums_root_slug() );
1445
  }
1446
 
1447
+ /**
1448
+ * Filters the permalink for the current topic in the loop.
1449
+ *
1450
+ * @since BuddyPress (1.0.0)
1451
+ *
1452
+ * @param string $value Permalink for the current topic in the loop.
1453
+ */
1454
  return apply_filters( 'bp_get_the_topic_permalink', trailingslashit( $permalink . 'topic/' . $forum_template->topic->topic_slug ) );
1455
  }
1456
 
1470
  function bp_get_the_topic_time_since_created() {
1471
  global $forum_template;
1472
 
1473
+ /**
1474
+ * Filters a 'time since' string describing when the current topic was created.
1475
+ *
1476
+ * @since BuddyPress (1.0.0)
1477
+ *
1478
+ * @param string $value 'Time since' value for the current topic.
1479
+ */
1480
  return apply_filters( 'bp_get_the_topic_time_since_created', bp_core_time_since( strtotime( $forum_template->topic->topic_start_time ) ) );
1481
  }
1482
 
1507
  $post = bp_forums_get_post( $forum_template->topic->topic_last_post_id );
1508
  $post = bp_create_excerpt( $post->post_text, $length );
1509
 
1510
+ /**
1511
+ * Filters an excerpt from the latest post of the current topic in the loop.
1512
+ *
1513
+ * @since BuddyPress (1.0.0)
1514
+ *
1515
+ * @param string $post Post exceprt for the current topic.
1516
+ * @param string $length String length to trim excerpt down to.
1517
+ */
1518
  return apply_filters( 'bp_get_the_topic_latest_post_excerpt', $post, $length );
1519
  }
1520
 
1534
  function bp_get_the_topic_time_since_last_post() {
1535
  global $forum_template;
1536
 
1537
+ /**
1538
+ * Filters a 'time since' string describing when the last post in the current topic was created.
1539
+ *
1540
+ * @since BuddyPress (1.0.0)
1541
+ *
1542
+ * @param string $value The 'time since' string for the last post in the current topic.
1543
+ */
1544
  return apply_filters( 'bp_get_the_topic_time_since_last_post', bp_core_time_since( strtotime( $forum_template->topic->topic_time ) ) );
1545
  }
1546
 
1638
  if ( !isset( $forum_template->topic->topic_open ) || 0 == (int) $forum_template->topic->topic_open )
1639
  $class .= ' closed';
1640
 
1641
+ /**
1642
+ * Filters the CSS class for the current topic in the loop.
1643
+ *
1644
+ * This class may contain keywords like 'alt', 'sticky', or 'closed',
1645
+ * based on context.
1646
+ *
1647
+ * @since BuddyPress (1.2.4)
1648
+ *
1649
+ * @param string $value Concatenated classes for the current topic in the loop.
1650
+ */
1651
  return apply_filters( 'bp_get_the_topic_css_class', trim( $class ) );
1652
  }
1653
 
1665
  function bp_get_my_forum_topics_link() {
1666
  global $bp;
1667
 
1668
+ /**
1669
+ * Filters the permalink to the 'personal' topics tab.
1670
+ *
1671
+ * @since BuddyPress (1.1.0)
1672
+ *
1673
+ * @param string $value Permalink to the 'personal' topics tab.
1674
+ */
1675
  return apply_filters( 'bp_get_my_forum_topics_link', bp_get_root_domain() . '/' . bp_get_forums_root_slug() . '/personal/' );
1676
  }
1677
 
1689
  function bp_get_unreplied_forum_topics_link() {
1690
  global $bp;
1691
 
1692
+ /**
1693
+ * Filters the permalink to the 'unreplied' topics tab.
1694
+ *
1695
+ * @since BuddyPress (1.1.0)
1696
+ *
1697
+ * @param string $value Permalink to the 'unreplied' topics tab.
1698
+ */
1699
  return apply_filters( 'bp_get_unreplied_forum_topics_link', bp_get_root_domain() . '/' . bp_get_forums_root_slug() . '/unreplied/' );
1700
  }
1701
 
1713
  function bp_get_popular_forum_topics_link() {
1714
  global $bp;
1715
 
1716
+ /**
1717
+ * Filters the permalink to the 'popular' topics tab.
1718
+ *
1719
+ * @since BuddyPress (1.1.0)
1720
+ *
1721
+ * @param string $value Permalink to the 'popular' topics tab.
1722
+ */
1723
  return apply_filters( 'bp_get_popular_forum_topics_link', bp_get_root_domain() . '/' . bp_get_forums_root_slug() . '/popular/' );
1724
  }
1725
 
1737
  function bp_get_newest_forum_topics_link() {
1738
  global $bp;
1739
 
1740
+ /**
1741
+ * Filters the link to the forums directory.
1742
+ *
1743
+ * @since BuddyPress (1.1.0)
1744
+ *
1745
+ * @param string $value Link to the forums directory.
1746
+ */
1747
  return apply_filters( 'bp_get_newest_forum_topics_link', bp_get_root_domain() . '/' . bp_get_forums_root_slug() . '/' );
1748
  }
1749
 
1766
  if ( !bp_is_directory() || !bp_current_action() )
1767
  return 'newest';
1768
 
1769
+ /**
1770
+ * Filters the currently viewed topic list type.
1771
+ *
1772
+ * Eg, 'newest', 'popular', etc.
1773
+ *
1774
+ * @since BuddyPress (1.1.0)
1775
+ *
1776
+ * @param string $value Currently viewed topic list type.
1777
+ */
1778
  return apply_filters( 'bp_get_forum_topic_type', bp_current_action() );
1779
  }
1780
 
1809
  ), bp_get_the_topic_permalink() );
1810
  }
1811
 
1812
+ /**
1813
+ * Filters the permalink for the New Reply button at the top of forum topics.
1814
+ *
1815
+ * @since BuddyPress (1.5.0)
1816
+ *
1817
+ * @param string $value Permalink for the New Reply button.
1818
+ */
1819
  return apply_filters( 'bp_get_forum_topic_new_reply_link', $link . '#post-topic-reply', $link );
1820
  }
1821
 
1852
  function bp_get_forum_pagination() {
1853
  global $forum_template;
1854
 
1855
+ /**
1856
+ * Filters the pagination links for the current topic list.
1857
+ *
1858
+ * @since BuddyPress (1.0.0)
1859
+ *
1860
+ * @param string $pag_links HTML pagination links.
1861
+ */
1862
  return apply_filters( 'bp_get_forum_pagination', $forum_template->pag_links );
1863
  }
1864
 
1887
  if ( 'tags' == $forum_template->type && !empty( $forum_template->search_terms ) )
1888
  $pag_filter = sprintf( __( ' matching tag "%s"', 'buddypress' ), $forum_template->search_terms );
1889
 
1890
+ /**
1891
+ * Filters the pagination count for the current topic list.
1892
+ *
1893
+ * @since BuddyPress (1.5.0)
1894
+ *
1895
+ * @param string $value Pagination count for the current topic list.
1896
+ * @param string $from_num Low end count in the view.
1897
+ * @param string $to_num High end count in the view.
1898
+ * @param string $total Total count of topics found.
1899
+ */
1900
  return apply_filters( 'bp_get_forum_pagination_count', sprintf( _n( 'Viewing 1 topic', 'Viewing %1$s - %2$s of %3$s topics', (int) $forum_template->total_topic_count, 'buddypress' ), $from_num, $to_num, $total, $pag_filter ), $from_num, $to_num, $total );
1901
  }
1902
 
2169
  if ( $this->current_post + 1 < $this->post_count ) {
2170
  return true;
2171
  } elseif ( $this->current_post + 1 == $this->post_count ) {
2172
+
2173
+ /**
2174
+ * Fires right before the rewinding of user posts.
2175
+ *
2176
+ * @since BuddyPress (1.5.0)
2177
+ */
2178
  do_action('topic_loop_end');
2179
  // Do some cleaning up after the loop
2180
  $this->rewind_posts();
2196
  $this->post = $this->next_post();
2197
  $this->post = (object)$this->post;
2198
 
2199
+ if ( $this->current_post == 0 ) {
2200
+
2201
+ /**
2202
+ * Fires if the current post item is the first in the topic loop.
2203
+ *
2204
+ * @since BuddyPress (1.5.0)
2205
+ */
2206
+ do_action( 'topic_loop_start' );
2207
+ }
2208
  }
2209
  }
2210
 
2250
  return false;
2251
  }
2252
 
2253
+ /**
2254
+ * Filters whether or not there are topics to display.
2255
+ *
2256
+ * @since BuddyPress (1.1.0)
2257
+ *
2258
+ * @param bool $value Whether or not there are topics.
2259
+ * @param BP_Forums_Template_Topic $topic_template Topic template global to use when rendering.
2260
+ */
2261
  return apply_filters( 'bp_has_topic_posts', $topic_template->has_posts(), $topic_template );
2262
  }
2263
 
2295
  function bp_get_the_topic_post_id() {
2296
  global $topic_template;
2297
 
2298
+ /**
2299
+ * Filters the ID of the current post in the loop.
2300
+ *
2301
+ * @since BuddyPress (1.0.0)
2302
+ *
2303
+ * @param int $post_id ID of the current post.
2304
+ */
2305
  return apply_filters( 'bp_get_the_topic_post_id', $topic_template->post->post_id );
2306
  }
2307
 
2319
  function bp_get_the_topic_post_content() {
2320
  global $topic_template;
2321
 
2322
+ /**
2323
+ * Filters the content of the current post in the loop.
2324
+ *
2325
+ * @since BuddyPress (1.0.0)
2326
+ *
2327
+ * @param string $post_text The content of the current post.
2328
+ */
2329
  return apply_filters( 'bp_get_the_topic_post_content', stripslashes( $topic_template->post->post_text ) );
2330
  }
2331
 
2358
  if ( 0 == (int) $topic_template->post->post_status )
2359
  $class .= ' open';
2360
 
2361
+ /**
2362
+ * Filters the CSS class for the current post in the loop.
2363
+ *
2364
+ * This class may contain keywords like 'alt', 'deleted', or 'open',
2365
+ * based on context.
2366
+ *
2367
+ * @since BuddyPress (1.2.4)
2368
+ *
2369
+ * @param string $value Concatenated classes for the current post in the loop.
2370
+ */
2371
  return apply_filters( 'bp_get_the_topic_post_css_class', trim( $class ) );
2372
  }
2373
 
2412
  $r = wp_parse_args( $args, $defaults );
2413
  extract( $r, EXTR_SKIP );
2414
 
2415
+ /**
2416
+ * Filters the avatar of the user who posted the current post in the loop.
2417
+ *
2418
+ * @since BuddyPress (1.0.0)
2419
+ *
2420
+ * @param string $value Avatar of the user who posted the current post.
2421
+ */
2422
  return apply_filters( 'bp_get_the_topic_post_poster_avatar', bp_core_fetch_avatar( array( 'item_id' => $topic_template->post->poster_id, 'type' => $type, 'width' => $width, 'height' => $height, 'alt' => $alt ) ) );
2423
  }
2424
 
2439
  if ( empty( $topic_template->post->poster_name ) || ( !$link = bp_core_get_user_domain( $topic_template->post->poster_id ) ) )
2440
  return __( 'Deleted User', 'buddypress' );
2441
 
2442
+ /**
2443
+ * Filters the name of the user who posted the current post in the loop.
2444
+ *
2445
+ * @since BuddyPress (1.0.0)
2446
+ *
2447
+ * @param string $value HTML link for the poster's name.
2448
+ */
2449
  return apply_filters( 'bp_get_the_topic_post_poster_name', '<a href="' . $link . '" title="' . $topic_template->post->poster_name . '">' . $topic_template->post->poster_name . '</a>' );
2450
  }
2451
 
2464
  function bp_get_the_topic_post_poster_link() {
2465
  global $topic_template;
2466
 
2467
+ /**
2468
+ * Filters a link to the profile of the user who posted the current post.
2469
+ *
2470
+ * @since BuddyPress (1.2.1)
2471
+ *
2472
+ * @param string $value Link for the current poster's profile.
2473
+ */
2474
  return apply_filters( 'bp_the_topic_post_poster_link', bp_core_get_user_domain( $topic_template->post->poster_id ) );
2475
  }
2476
 
2490
  function bp_get_the_topic_post_time_since() {
2491
  global $topic_template;
2492
 
2493
+ /**
2494
+ * Filters the 'since' string describing when the current post in the loop was posted.
2495
+ *
2496
+ * @since BuddyPress (1.0.0)
2497
+ *
2498
+ * @param string $value The 'since' string.
2499
+ */
2500
  return apply_filters( 'bp_get_the_topic_post_time_since', bp_core_time_since( strtotime( $topic_template->post->post_time ) ) );
2501
  }
2502
 
2559
  $links[] = '<a href="' . wp_nonce_url( bp_get_the_topic_permalink() . 'edit/post/' . $topic_template->post->post_id . '/' . $query_vars, 'bp_forums_edit_post' ) . '">' . __( 'Edit', 'buddypress' ) . '</a>';
2560
  $links[] .= '<a class="confirm" id="post-delete-link" href="' . wp_nonce_url( bp_get_the_topic_permalink() . 'delete/post/' . $topic_template->post->post_id, 'bp_forums_delete_post' ) . '">' . __( 'Delete', 'buddypress' ) . '</a>';
2561
 
2562
+ /**
2563
+ * Filters the admin links for the current post in the loop.
2564
+ *
2565
+ * @since BuddyPress (1.2.7)
2566
+ *
2567
+ * @param string $value HTML string containing the admin links for the current post.
2568
+ */
2569
  return apply_filters( 'bp_get_the_topic_post_admin_links', implode( $separator, $links ), $links, $r );
2570
  }
2571
 
2582
  */
2583
  function bp_get_the_topic_post_edit_text() {
2584
  $post = bp_forums_get_post( bp_action_variable( 4 ) );
2585
+
2586
+ /**
2587
+ * Filters the text to edit when editing a post.
2588
+ *
2589
+ * @since BuddyPress (1.2.4)
2590
+ *
2591
+ * @param string $value The text to edit when editing a post.
2592
+ */
2593
  return apply_filters( 'bp_get_the_topic_post_edit_text', esc_attr( $post->post_text ) );
2594
  }
2595
 
2607
  function bp_get_the_topic_pagination() {
2608
  global $topic_template;
2609
 
2610
+
2611
+ /**
2612
+ * Filters the pagination links for the current topic page.
2613
+ *
2614
+ * @since BuddyPress (1.0.0)
2615
+ *
2616
+ * @param string $pag_links HTML pagination links.
2617
+ */
2618
  return apply_filters( 'bp_get_the_topic_pagination', $topic_template->pag_links );
2619
  }
2620
 
2633
  $to_num = bp_core_number_format( ( $start_num + ( $topic_template->pag_num - 1 ) > $topic_template->total_post_count ) ? $topic_template->total_post_count : $start_num + ( $topic_template->pag_num - 1 ) );
2634
  $total = bp_core_number_format( $topic_template->total_post_count );
2635
 
2636
+ /**
2637
+ * Filters the pagination count for the current topic page.
2638
+ *
2639
+ * @since BuddyPress (1.0.0)
2640
+ *
2641
+ * @param string $value Pagination count for the current topic page.
2642
+ * @param string $from_num Low end count in the view.
2643
+ * @param string $to_num High end count in the view.
2644
+ * @param string $total Total count of topics found.
2645
+ */
2646
  echo apply_filters( 'bp_the_topic_pagination_count', sprintf( _n( 'Viewing 1 post', 'Viewing %1$s - %2$s of %3$s posts', (int) $topic_template->total_post_count, 'buddypress' ), $from_num, $to_num, $total ), $from_num, $to_num, $total );
2647
  }
2648
 
2661
  function bp_get_the_topic_is_last_page() {
2662
  global $topic_template;
2663
 
2664
+ /**
2665
+ * Filters whether or not a user is on the last page in the current topic.
2666
+ *
2667
+ * @since BuddyPress (1.2.0)
2668
+ *
2669
+ * @param bool $value Whether or not user is on last page.
2670
+ */
2671
  return apply_filters( 'bp_get_the_topic_is_last_page', $topic_template->pag_page == $topic_template->pag->total_pages );
2672
  }
2673
 
2683
  <input type="submit" id="forums_search_submit" name="forums_search_submit" value="' . __( 'Search', 'buddypress' ) . '" />
2684
  </form>';
2685
 
2686
+ /**
2687
+ * Filters the forums directory search form.
2688
+ *
2689
+ * @since BuddyPress (1.9.0)
2690
+ *
2691
+ * @param string HTML search form for the forums directory.
2692
+ */
2693
  echo apply_filters( 'bp_directory_forums_search_form', $search_form_html );
2694
  }
2695
 
2728
  return false;
2729
  }
2730
 
2731
+ /**
2732
+ * Filters the permalink to a given forum.
2733
+ *
2734
+ * @since BuddyPress (1.0.0)
2735
+ *
2736
+ * @param string $value Peramlink to the given forum.
2737
+ */
2738
  return apply_filters( 'bp_get_forum_permalink', trailingslashit( $permalink ) );
2739
  }
2740
 
2764
  $forum_id = $topic_template->forum_id;
2765
  }
2766
 
2767
+ if ( $forum = bp_forums_get_forum( $forum_id ) ) {
2768
+
2769
+ /**
2770
+ * Filters the name of a given forum.
2771
+ *
2772
+ * @since BuddyPress (1.5.0)
2773
+ *
2774
+ * @param string $forum_name Name of the given forum.
2775
+ * @param string $forum_id ID of the given forum.
2776
+ */
2777
  return apply_filters( 'bp_get_forum_name', $forum->forum_name, $forum->forum_id );
2778
+ } else {
2779
  return false;
2780
+ }
2781
  }
2782
 
2783
  /**
2841
  if ( 'string' == $format )
2842
  $tags = implode( ', ', $tags );
2843
 
2844
+ /**
2845
+ * Filters the current topic's tag list.
2846
+ *
2847
+ * @since BuddyPress (1.5.0)
2848
+ *
2849
+ * @param string|array $tags List or array of tags for the current topic.
2850
+ * @param string $format Requested format for the tags.
2851
+ */
2852
  return apply_filters( 'bp_forum_topic_tag_list', $tags, $format );
2853
  }
2854
 
2867
  if ( !empty( $topic_template->topic_tags ) )
2868
  $has_tags = true;
2869
 
2870
+ /**
2871
+ * Filters whether or not a forum topic has any tags.
2872
+ *
2873
+ * @since BuddyPress (1.5.0)
2874
+ *
2875
+ * @param bool $has_tags Whether or not there are any tags.
2876
+ */
2877
  return apply_filters( 'bp_forum_topic_has_tags', $has_tags );
2878
  }
2879
 
2891
  function bp_get_forum_action() {
2892
  global $topic_template;
2893
 
2894
+ /**
2895
+ * Filters the url to use in a forum form 'action'.
2896
+ *
2897
+ * @since BuddyPress (1.0.0)
2898
+ *
2899
+ * @param string $value URL to use in the forum form 'action'.
2900
+ */
2901
  return apply_filters( 'bp_get_forum_action', bp_get_root_domain() . esc_attr( $_SERVER['REQUEST_URI'] ) );
2902
  }
2903
 
2913
  * @return string URL of the current page, minus query args.
2914
  */
2915
  function bp_get_forum_topic_action() {
2916
+
2917
+ /**
2918
+ * Filters the url to use in a forum topic form 'action'.
2919
+ *
2920
+ * @since BuddyPress (1.0.0)
2921
+ *
2922
+ * @param string $value URL to use in the forum topic form 'action'.
2923
+ */
2924
  return apply_filters( 'bp_get_forum_topic_action', $_SERVER['REQUEST_URI'] );
2925
  }
2926
 
2938
  * Return the total topic count for a given user.
2939
  *
2940
  * @param int $user_id See {@link bp_forums_total_topic_count_for_user}.
2941
+ *
2942
+ * @return int
2943
  */
2944
  function bp_get_forum_topic_count_for_user( $user_id = 0 ) {
2945
+
2946
+ /**
2947
+ * Filters the total topic count for a given user.
2948
+ *
2949
+ * @since BuddyPress (1.2.0)
2950
+ *
2951
+ * @param int $value Total topic count for the given user.
2952
+ */
2953
  return apply_filters( 'bp_get_forum_topic_count_for_user', bp_forums_total_topic_count_for_user( $user_id ) );
2954
  }
2955
 
2967
  * Return the total topic count for a given user.
2968
  *
2969
  * @param int $user_id See {@link bp_forums_total_topic_count()}.
2970
+ *
2971
+ * @return int
2972
  */
2973
  function bp_get_forum_topic_count( $user_id = 0 ) {
2974
+
2975
+ /**
2976
+ * Filters the total topic count for a given user.
2977
+ *
2978
+ * @since BuddyPress (1.2.0)
2979
+ *
2980
+ * @param int $value Total topic count for the given user.
2981
+ */
2982
  return apply_filters( 'bp_get_forum_topic_count', bp_forums_total_topic_count( $user_id ) );
2983
  }
bp-friends/bp-friends-activity.php CHANGED
@@ -242,7 +242,7 @@ function bp_friends_filter_activity_scope( $retval, $filter ) {
242
  $friends = friends_get_friend_user_ids( $filter['user_id'] );
243
 
244
  if ( empty( $friends ) ) {
245
- return $retval;
246
  }
247
 
248
  $retval= array(
242
  $friends = friends_get_friend_user_ids( $filter['user_id'] );
243
 
244
  if ( empty( $friends ) ) {
245
+ $friends = array( 0 );
246
  }
247
 
248
  $retval= array(
bp-friends/js/widget-friends.min.js CHANGED
@@ -1,2 +1,2 @@
1
- /*! buddypress - v2.1.0 - 2015-01-15 12:34:33 AM UTC - https://wordpress.org/plugins/buddypress/ */
2
  function friend_widget_response(a){a=a.substr(0,a.length-1),a=a.split("[[SPLIT]]"),"-1"!==a[0]?jQuery(".widget ul#friends-list").fadeOut(200,function(){jQuery(".widget ul#friends-list").html(a[1]),jQuery(".widget ul#friends-list").fadeIn(200)}):jQuery(".widget ul#friends-list").fadeOut(200,function(){var b="<p>"+a[1]+"</p>";jQuery(".widget ul#friends-list").html(b),jQuery(".widget ul#friends-list").fadeIn(200)})}jQuery(document).ready(function(){jQuery(".widget div#friends-list-options a").on("click",function(){var a=this;return jQuery(a).addClass("loading"),jQuery(".widget div#friends-list-options a").removeClass("selected"),jQuery(this).addClass("selected"),jQuery.post(ajaxurl,{action:"widget_friends",cookie:encodeURIComponent(document.cookie),_wpnonce:jQuery("input#_wpnonce-friends").val(),"max-friends":jQuery("input#friends_widget_max").val(),filter:jQuery(this).attr("id")},function(b){jQuery(a).removeClass("loading"),friend_widget_response(b)}),!1})});
1
+ /*! buddypress - v2.1.0 - 2015-01-22 9:58:49 PM UTC - https://wordpress.org/plugins/buddypress/ */
2
  function friend_widget_response(a){a=a.substr(0,a.length-1),a=a.split("[[SPLIT]]"),"-1"!==a[0]?jQuery(".widget ul#friends-list").fadeOut(200,function(){jQuery(".widget ul#friends-list").html(a[1]),jQuery(".widget ul#friends-list").fadeIn(200)}):jQuery(".widget ul#friends-list").fadeOut(200,function(){var b="<p>"+a[1]+"</p>";jQuery(".widget ul#friends-list").html(b),jQuery(".widget ul#friends-list").fadeIn(200)})}jQuery(document).ready(function(){jQuery(".widget div#friends-list-options a").on("click",function(){var a=this;return jQuery(a).addClass("loading"),jQuery(".widget div#friends-list-options a").removeClass("selected"),jQuery(this).addClass("selected"),jQuery.post(ajaxurl,{action:"widget_friends",cookie:encodeURIComponent(document.cookie),_wpnonce:jQuery("input#_wpnonce-friends").val(),"max-friends":jQuery("input#friends_widget_max").val(),filter:jQuery(this).attr("id")},function(b){jQuery(a).removeClass("loading"),friend_widget_response(b)}),!1})});
bp-groups/admin/css/admin-rtl.min.css CHANGED
@@ -1,2 +1,2 @@
1
- /*! buddypress - v2.1.0 - 2015-01-15 12:34:34 AM UTC - https://wordpress.org/plugins/buddypress/ */
2
  body.toplevel_page_bp-groups table.groups th#members,body.toplevel_page_bp-groups table.groups th#status{width:10%}body.toplevel_page_bp-groups table.groups th#last_active{width:15%}#bp-groups-form .avatar{float:right;margin-left:10px;margin-top:1px}#bp-groups-edit-form input{outline:0}#bp-groups-edit-form input#bp-groups-name{font-size:1.7em;width:100%;margin-bottom:6px}#bp-groups-edit-form input#bp-groups-new-members{width:100%;max-width:90%;border:0}#bp-groups-new-members-list{margin:0}#bp_group_settings legend{margin:10px 0;font-weight:700}#bp_group_settings ul{margin:0}.bp-groups-settings-section{margin-top:10px}#bp-groups-permalink-box{line-height:24px;color:#666}.bp-groups-member-type{position:relative}.bp-groups-member-type>h4{margin-bottom:.5em}ul.bp-group-delete-list{list-style-type:disc;margin:4px 26px}.bp-group-admin-pagination{position:absolute;text-align:left;width:100%}.bp-group-admin-pagination.table-top{top:0}.bp-group-admin-pagination.table-bottom{bottom:0}.bp-group-admin-pagination-viewing{color:#777;font-size:12px;font-style:italic}.bp-group-admin-pagination-links{white-space:nowrap;padding-right:15px}table.bp-group-members .uid-column{padding-right:20px;padding-left:20px}table.bp-group-members .uname-column{width:70%}table.bp-group-members .urole-column{padding-right:20px;padding-left:20px}
1
+ /*! buddypress - v2.1.0 - 2015-01-22 9:58:52 PM UTC - https://wordpress.org/plugins/buddypress/ */
2
  body.toplevel_page_bp-groups table.groups th#members,body.toplevel_page_bp-groups table.groups th#status{width:10%}body.toplevel_page_bp-groups table.groups th#last_active{width:15%}#bp-groups-form .avatar{float:right;margin-left:10px;margin-top:1px}#bp-groups-edit-form input{outline:0}#bp-groups-edit-form input#bp-groups-name{font-size:1.7em;width:100%;margin-bottom:6px}#bp-groups-edit-form input#bp-groups-new-members{width:100%;max-width:90%;border:0}#bp-groups-new-members-list{margin:0}#bp_group_settings legend{margin:10px 0;font-weight:700}#bp_group_settings ul{margin:0}.bp-groups-settings-section{margin-top:10px}#bp-groups-permalink-box{line-height:24px;color:#666}.bp-groups-member-type{position:relative}.bp-groups-member-type>h4{margin-bottom:.5em}ul.bp-group-delete-list{list-style-type:disc;margin:4px 26px}.bp-group-admin-pagination{position:absolute;text-align:left;width:100%}.bp-group-admin-pagination.table-top{top:0}.bp-group-admin-pagination.table-bottom{bottom:0}.bp-group-admin-pagination-viewing{color:#777;font-size:12px;font-style:italic}.bp-group-admin-pagination-links{white-space:nowrap;padding-right:15px}table.bp-group-members .uid-column{padding-right:20px;padding-left:20px}table.bp-group-members .uname-column{width:70%}table.bp-group-members .urole-column{padding-right:20px;padding-left:20px}
bp-groups/admin/css/admin.min.css CHANGED
@@ -1,2 +1,2 @@
1
- /*! buddypress - v2.1.0 - 2015-01-15 12:34:34 AM UTC - https://wordpress.org/plugins/buddypress/ */
2
  body.toplevel_page_bp-groups table.groups th#members,body.toplevel_page_bp-groups table.groups th#status{width:10%}body.toplevel_page_bp-groups table.groups th#last_active{width:15%}#bp-groups-form .avatar{float:left;margin-right:10px;margin-top:1px}#bp-groups-edit-form input{outline:0}#bp-groups-edit-form input#bp-groups-name{font-size:1.7em;width:100%;margin-bottom:6px}#bp-groups-edit-form input#bp-groups-new-members{width:100%;max-width:90%;border:0}#bp-groups-new-members-list{margin:0}#bp_group_settings legend{margin:10px 0;font-weight:700}#bp_group_settings ul{margin:0}.bp-groups-settings-section{margin-top:10px}#bp-groups-permalink-box{line-height:24px;color:#666}.bp-groups-member-type{position:relative}.bp-groups-member-type>h4{margin-bottom:.5em}ul.bp-group-delete-list{list-style-type:disc;margin:4px 26px}.bp-group-admin-pagination{position:absolute;text-align:right;width:100%}.bp-group-admin-pagination.table-top{top:0}.bp-group-admin-pagination.table-bottom{bottom:0}.bp-group-admin-pagination-viewing{color:#777;font-size:12px;font-style:italic}.bp-group-admin-pagination-links{white-space:nowrap;padding-left:15px}table.bp-group-members .uid-column{padding-left:20px;padding-right:20px}table.bp-group-members .uname-column{width:70%}table.bp-group-members .urole-column{padding-left:20px;padding-right:20px}
1
+ /*! buddypress - v2.1.0 - 2015-01-22 9:58:52 PM UTC - https://wordpress.org/plugins/buddypress/ */
2
  body.toplevel_page_bp-groups table.groups th#members,body.toplevel_page_bp-groups table.groups th#status{width:10%}body.toplevel_page_bp-groups table.groups th#last_active{width:15%}#bp-groups-form .avatar{float:left;margin-right:10px;margin-top:1px}#bp-groups-edit-form input{outline:0}#bp-groups-edit-form input#bp-groups-name{font-size:1.7em;width:100%;margin-bottom:6px}#bp-groups-edit-form input#bp-groups-new-members{width:100%;max-width:90%;border:0}#bp-groups-new-members-list{margin:0}#bp_group_settings legend{margin:10px 0;font-weight:700}#bp_group_settings ul{margin:0}.bp-groups-settings-section{margin-top:10px}#bp-groups-permalink-box{line-height:24px;color:#666}.bp-groups-member-type{position:relative}.bp-groups-member-type>h4{margin-bottom:.5em}ul.bp-group-delete-list{list-style-type:disc;margin:4px 26px}.bp-group-admin-pagination{position:absolute;text-align:right;width:100%}.bp-group-admin-pagination.table-top{top:0}.bp-group-admin-pagination.table-bottom{bottom:0}.bp-group-admin-pagination-viewing{color:#777;font-size:12px;font-style:italic}.bp-group-admin-pagination-links{white-space:nowrap;padding-left:15px}table.bp-group-members .uid-column{padding-left:20px;padding-right:20px}table.bp-group-members .uname-column{width:70%}table.bp-group-members .urole-column{padding-left:20px;padding-right:20px}
bp-groups/admin/js/admin.min.js CHANGED
@@ -1,2 +1,2 @@
1
- /*! buddypress - v2.1.0 - 2015-01-15 12:34:33 AM UTC - https://wordpress.org/plugins/buddypress/ */
2
  !function(a){function b(b,c){a("#bp-groups-new-members-list").append('<li data-login="'+c.item.value+'"><a href="#" class="bp-groups-remove-new-member">x</a> '+c.item.label+"</li>")}var c="undefined"!=typeof group_id?"&group_id="+group_id:"";a(document).ready(function(){window.warn_on_leave=!1,a(".bp-suggest-user").autocomplete({source:ajaxurl+"?action=bp_group_admin_member_autocomplete"+c,delay:500,minLength:2,position:"undefined"!=typeof isRtl&&isRtl?{my:"right top",at:"right bottom",offset:"0, -1"}:{offset:"0, -1"},open:function(){a(this).addClass("open")},close:function(){a(this).removeClass("open"),a(this).val("")},select:function(a,c){b(a,c)}}),a("#bp-groups-new-members").prop("placeholder",BP_Group_Admin.add_member_placeholder),a("#bp_group_add_members").on("click",".bp-groups-remove-new-member",function(b){b.preventDefault(),a(b.target.parentNode).remove()}),a(document).on("change",'input#bp-groups-name, input#bp-groups-description, select.bp-groups-role, #bp-groups-settings-section-status input[type="radio"]',function(){window.warn_on_leave=!0}),a("input#save").on("click",function(){var b=[];a("#bp-groups-new-members-list li").each(function(){b.push(a(this).data("login"))}),b.length&&a("#bp-groups-new-members").val("").val(b.join(", ")),window.warn_on_leave=!1}),window.onbeforeunload=function(){return window.warn_on_leave?BP_Group_Admin.warn_on_leave:void 0}})}(jQuery);
1
+ /*! buddypress - v2.1.0 - 2015-01-22 9:58:49 PM UTC - https://wordpress.org/plugins/buddypress/ */
2
  !function(a){function b(b,c){a("#bp-groups-new-members-list").append('<li data-login="'+c.item.value+'"><a href="#" class="bp-groups-remove-new-member">x</a> '+c.item.label+"</li>")}var c="undefined"!=typeof group_id?"&group_id="+group_id:"";a(document).ready(function(){window.warn_on_leave=!1,a(".bp-suggest-user").autocomplete({source:ajaxurl+"?action=bp_group_admin_member_autocomplete"+c,delay:500,minLength:2,position:"undefined"!=typeof isRtl&&isRtl?{my:"right top",at:"right bottom",offset:"0, -1"}:{offset:"0, -1"},open:function(){a(this).addClass("open")},close:function(){a(this).removeClass("open"),a(this).val("")},select:function(a,c){b(a,c)}}),a("#bp-groups-new-members").prop("placeholder",BP_Group_Admin.add_member_placeholder),a("#bp_group_add_members").on("click",".bp-groups-remove-new-member",function(b){b.preventDefault(),a(b.target.parentNode).remove()}),a(document).on("change",'input#bp-groups-name, input#bp-groups-description, select.bp-groups-role, #bp-groups-settings-section-status input[type="radio"]',function(){window.warn_on_leave=!0}),a("input#save").on("click",function(){var b=[];a("#bp-groups-new-members-list li").each(function(){b.push(a(this).data("login"))}),b.length&&a("#bp-groups-new-members").val("").val(b.join(", ")),window.warn_on_leave=!1}),window.onbeforeunload=function(){return window.warn_on_leave?BP_Group_Admin.warn_on_leave:void 0}})}(jQuery);
bp-groups/bp-groups-activity.php CHANGED
@@ -246,7 +246,7 @@ function bp_groups_filter_activity_scope( $retval, $filter ) {
246
  $groups = groups_get_user_groups( $filter['user_id'] );
247
 
248
  if ( empty( $groups['groups'] ) ) {
249
- return $retval;
250
  }
251
 
252
  $retval= array(
246
  $groups = groups_get_user_groups( $filter['user_id'] );
247
 
248
  if ( empty( $groups['groups'] ) ) {
249
+ $groups = array( 'groups' => 0 );
250
  }
251
 
252
  $retval= array(
bp-groups/bp-groups-classes.php CHANGED
@@ -2773,24 +2773,26 @@ class BP_Groups_Member {
2773
  * of arguments to parent::init() to configure your widget. The config array
2774
  * supports the following values:
2775
  * - 'slug' A unique identifier for your extension. This value will be used
2776
- * to build URLs, so make it URL-safe
2777
  * - 'name' A translatable name for your extension. This value is used to
2778
- populate the navigation tab, as well as the default titles for admin/
2779
- edit/create tabs.
2780
  * - 'visibility' Set to 'public' (default) for your extension (the main tab
2781
  * as well as the widget) to be available to anyone who can access the
2782
  * group, 'private' otherwise.
2783
  * - 'nav_item_position' An integer explaining where the nav item should
2784
- * appear in the tab list
2785
  * - 'enable_nav_item' Set to true for your extension's main tab to be
2786
  * available to anyone who can access the group.
2787
  * - 'nav_item_name' The translatable text you want to appear in the nav tab.
2788
  * Defaults to the value of 'name'.
2789
  * - 'display_hook' The WordPress action that the widget_display() method is
2790
- * hooked to
2791
  * - 'template_file' The template file that will be used to load the content
2792
  * of your main extension tab. Defaults to 'groups/single/plugins.php'.
2793
- * - 'screens' A multi-dimensional array, described below
 
 
2794
  *
2795
  * BP_Group_Extension uses the concept of "settings screens". There are three
2796
  * contexts for settings screens:
@@ -3081,7 +3083,9 @@ class BP_Group_Extension {
3081
  * parent::init( $args );
3082
  * }
3083
  *
3084
- * @since BuddyPress (1.8)
 
 
3085
  * @param array $args {
3086
  * Array of initialization arguments.
3087
  * @type string $slug Unique, URL-safe identifier for your
@@ -3108,6 +3112,19 @@ class BP_Group_Extension {
3108
  * @type array $screens A multi-dimensional array of configuration
3109
  * information for the extension screens. See docblock of
3110
  * {@link BP_Group_Extension} for more details.
 
 
 
 
 
 
 
 
 
 
 
 
 
3111
  * }
3112
  */
3113
  public function init( $args = array() ) {
2773
  * of arguments to parent::init() to configure your widget. The config array
2774
  * supports the following values:
2775
  * - 'slug' A unique identifier for your extension. This value will be used
2776
+ * to build URLs, so make it URL-safe.
2777
  * - 'name' A translatable name for your extension. This value is used to
2778
+ * populate the navigation tab, as well as the default titles for admin/
2779
+ * edit/create tabs.
2780
  * - 'visibility' Set to 'public' (default) for your extension (the main tab
2781
  * as well as the widget) to be available to anyone who can access the
2782
  * group, 'private' otherwise.
2783
  * - 'nav_item_position' An integer explaining where the nav item should
2784
+ * appear in the tab list.
2785
  * - 'enable_nav_item' Set to true for your extension's main tab to be
2786
  * available to anyone who can access the group.
2787
  * - 'nav_item_name' The translatable text you want to appear in the nav tab.
2788
  * Defaults to the value of 'name'.
2789
  * - 'display_hook' The WordPress action that the widget_display() method is
2790
+ * hooked to.
2791
  * - 'template_file' The template file that will be used to load the content
2792
  * of your main extension tab. Defaults to 'groups/single/plugins.php'.
2793
+ * - 'screens' A multi-dimensional array, described below.
2794
+ * - 'access' Which users can visit the plugin's tab.
2795
+ * - 'show_tab' Which users can see the plugin's navigation tab.
2796
  *
2797
  * BP_Group_Extension uses the concept of "settings screens". There are three
2798
  * contexts for settings screens:
3083
  * parent::init( $args );
3084
  * }
3085
  *
3086
+ * @since BuddyPress (1.8.0)
3087
+ * @since BuddyPress (2.1.0) Added 'access' and 'show_tab' arguments
3088
+ * to $args.
3089
  * @param array $args {
3090
  * Array of initialization arguments.
3091
  * @type string $slug Unique, URL-safe identifier for your
3112
  * @type array $screens A multi-dimensional array of configuration
3113
  * information for the extension screens. See docblock of
3114
  * {@link BP_Group_Extension} for more details.
3115
+ * @type string $access Which users can visit the plugin's tab.
3116
+ * Possible values: 'anyone', 'loggedin', 'member',
3117
+ * 'mod', 'admin' or 'noone'
3118
+ * ('member', 'mod', 'admin' refer to user's role in group.)
3119
+ * Defaults to 'anyone' for public groups and 'member' for
3120
+ * private groups.
3121
+ * @type string $show_tab Which users can see the plugin's navigation
3122
+ * tab.
3123
+ * Possible values: 'anyone', 'loggedin', 'member',
3124
+ * 'mod', 'admin' or 'noone'
3125
+ * ('member', 'mod', 'admin' refer to user's role in group.)
3126
+ * Defaults to 'anyone' for public groups and 'member' for
3127
+ * private groups.
3128
  * }
3129
  */
3130
  public function init( $args = array() ) {
bp-groups/js/widget-groups.min.js CHANGED
@@ -1,2 +1,2 @@
1
- /*! buddypress - v2.1.0 - 2015-01-15 12:34:33 AM UTC - https://wordpress.org/plugins/buddypress/ */
2
  function groups_widget_response(a){a=a.substr(0,a.length-1),a=a.split("[[SPLIT]]"),"-1"!==a[0]?jQuery(".widget ul#groups-list").fadeOut(200,function(){jQuery(".widget ul#groups-list").html(a[1]),jQuery(".widget ul#groups-list").fadeIn(200)}):jQuery(".widget ul#groups-list").fadeOut(200,function(){var b="<p>"+a[1]+"</p>";jQuery(".widget ul#groups-list").html(b),jQuery(".widget ul#groups-list").fadeIn(200)})}jQuery(document).ready(function(){jQuery(".widget div#groups-list-options a").on("click",function(){var a=this;return jQuery(a).addClass("loading"),jQuery(".widget div#groups-list-options a").removeClass("selected"),jQuery(this).addClass("selected"),jQuery.post(ajaxurl,{action:"widget_groups_list",cookie:encodeURIComponent(document.cookie),_wpnonce:jQuery("input#_wpnonce-groups").val(),max_groups:jQuery("input#groups_widget_max").val(),filter:jQuery(this).attr("id")},function(b){jQuery(a).removeClass("loading"),groups_widget_response(b)}),!1})});
1
+ /*! buddypress - v2.1.0 - 2015-01-22 9:58:49 PM UTC - https://wordpress.org/plugins/buddypress/ */
2
  function groups_widget_response(a){a=a.substr(0,a.length-1),a=a.split("[[SPLIT]]"),"-1"!==a[0]?jQuery(".widget ul#groups-list").fadeOut(200,function(){jQuery(".widget ul#groups-list").html(a[1]),jQuery(".widget ul#groups-list").fadeIn(200)}):jQuery(".widget ul#groups-list").fadeOut(200,function(){var b="<p>"+a[1]+"</p>";jQuery(".widget ul#groups-list").html(b),jQuery(".widget ul#groups-list").fadeIn(200)})}jQuery(document).ready(function(){jQuery(".widget div#groups-list-options a").on("click",function(){var a=this;return jQuery(a).addClass("loading"),jQuery(".widget div#groups-list-options a").removeClass("selected"),jQuery(this).addClass("selected"),jQuery.post(ajaxurl,{action:"widget_groups_list",cookie:encodeURIComponent(document.cookie),_wpnonce:jQuery("input#_wpnonce-groups").val(),max_groups:jQuery("input#groups_widget_max").val(),filter:jQuery(this).attr("id")},function(b){jQuery(a).removeClass("loading"),groups_widget_response(b)}),!1})});
bp-loader.php CHANGED
@@ -14,7 +14,7 @@
14
  * Description: BuddyPress helps you run any kind of social network on your WordPress, with member profiles, activity streams, user groups, messaging, and more.
15
  * Author: The BuddyPress Community
16
  * Author URI: http://buddypress.org/community/members/
17
- * Version: 2.2-beta
18
  * Text Domain: buddypress
19
  * Domain Path: /bp-languages/
20
  * License: GPLv2 or later (license.txt)
@@ -302,7 +302,7 @@ class BuddyPress {
302
 
303
  /** Versions **********************************************************/
304
 
305
- $this->version = '2.2-beta';
306
  $this->db_version = 9181;
307
 
308
  /** Loading ***********************************************************/
14
  * Description: BuddyPress helps you run any kind of social network on your WordPress, with member profiles, activity streams, user groups, messaging, and more.
15
  * Author: The BuddyPress Community
16
  * Author URI: http://buddypress.org/community/members/
17
+ * Version: 2.2-rc
18
  * Text Domain: buddypress
19
  * Domain Path: /bp-languages/
20
  * License: GPLv2 or later (license.txt)
302
 
303
  /** Versions **********************************************************/
304
 
305
+ $this->version = '2.2-rc';
306
  $this->db_version = 9181;
307
 
308
  /** Loading ***********************************************************/
bp-members/admin/css/admin-rtl.min.css CHANGED
@@ -1,2 +1,2 @@
1
- /*! buddypress - v2.1.0 - 2015-01-15 12:34:34 AM UTC - https://wordpress.org/plugins/buddypress/ */
2
  div#profile-page.wrap form#your-profile{position:relative}div#profile-page.wrap form#your-profile h3:first-of-type{margin-top:5em}div#profile-page.wrap form#your-profile #profile-nav{position:absolute;top:-3.65em;width:97%}div#community-profile-page #profile-nav{margin-bottom:1em}#bp_members_admin_user_stats ul{margin-bottom:0}div#community-profile-page a.bp-xprofile-avatar-user-admin:before,div#community-profile-page li.bp-blogs-profile-stats:before,div#community-profile-page li.bp-friends-profile-stats:before,div#community-profile-page li.bp-groups-profile-stats:before,div#community-profile-page li.bp-members-profile-stats:before{font:400 20px/1 dashicons;speak:none;display:inline-block;padding:0 0 0 2px;top:0;right:-1px;position:relative;vertical-align:top;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none!important;color:#888}div#community-profile-page li.bp-members-profile-stats:before{content:"\f130"}div#community-profile-page li.bp-friends-profile-stats:before{content:"\f454"}div#community-profile-page li.bp-groups-profile-stats:before{content:"\f456"}div#community-profile-page li.bp-blogs-profile-stats:before{content:"\f120"}div#community-profile-page a.bp-xprofile-avatar-user-admin:before{content:"\f182"}div#community-profile-page div#bp_xprofile_user_admin_avatar div.avatar{width:150px;margin:0 auto}div#community-profile-page div#bp_xprofile_user_admin_avatar div.avatar img{max-width:100%;height:auto}div#community-profile-page div#bp_xprofile_user_admin_avatar a{display:block;margin:1em 0;text-decoration:none;color:#888}div#community-profile-page p.not-activated{margin:1em 1em 0;color:red}#community-profile-page #submitdiv #publishing-action{float:none;width:100%}.bp-view-profile{float:right}.alt{background:0 0}.bp-profile-field{border-bottom:dotted 1px #ccc;font-size:14px;margin:15px 0;padding:10px}.bp-profile-field:last-child{border-bottom:0}.bp-profile-field p{font-size:14px}.bp-profile-field .datebox>label,.bp-profile-field .radio>label,.bp-profile-field>label{display:inline-block;font-weight:600;text-align:right;vertical-align:middle;width:200px}.field_type_checkbox .checkbox>label,.field_type_multiselectbox>label,.field_type_radio .radio>label,.field_type_textarea>label{vertical-align:top}.bp-profile-field .description{margin:10px 200px 10px 0;text-align:right}.clear-value{display:block;font-size:12px;margin-right:200px}.field_type_checkbox .checkbox>label+label{display:block;margin-right:200px;width:auto}.field_type_radio .radio div:not(.field-visibility-settings) label{display:block}.field_type_radio .radio div:not(.field-visibility-settings){display:inline-block}.field-visibility-settings-notoggle,.field-visibility-settings-toggle{margin:10px 200px 10px 0;text-align:right}.field-visibility-settings{display:none;margin-right:200px}.field-visibility-settings .button{margin-bottom:15px}#normal-sortables .field-visibility-settings legend{font-size:16px;margin-bottom:10px}
1
+ /*! buddypress - v2.1.0 - 2015-01-22 9:58:52 PM UTC - https://wordpress.org/plugins/buddypress/ */
2
  div#profile-page.wrap form#your-profile{position:relative}div#profile-page.wrap form#your-profile h3:first-of-type{margin-top:5em}div#profile-page.wrap form#your-profile #profile-nav{position:absolute;top:-3.65em;width:97%}div#community-profile-page #profile-nav{margin-bottom:1em}#bp_members_admin_user_stats ul{margin-bottom:0}div#community-profile-page a.bp-xprofile-avatar-user-admin:before,div#community-profile-page li.bp-blogs-profile-stats:before,div#community-profile-page li.bp-friends-profile-stats:before,div#community-profile-page li.bp-groups-profile-stats:before,div#community-profile-page li.bp-members-profile-stats:before{font:400 20px/1 dashicons;speak:none;display:inline-block;padding:0 0 0 2px;top:0;right:-1px;position:relative;vertical-align:top;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none!important;color:#888}div#community-profile-page li.bp-members-profile-stats:before{content:"\f130"}div#community-profile-page li.bp-friends-profile-stats:before{content:"\f454"}div#community-profile-page li.bp-groups-profile-stats:before{content:"\f456"}div#community-profile-page li.bp-blogs-profile-stats:before{content:"\f120"}div#community-profile-page a.bp-xprofile-avatar-user-admin:before{content:"\f182"}div#community-profile-page div#bp_xprofile_user_admin_avatar div.avatar{width:150px;margin:0 auto}div#community-profile-page div#bp_xprofile_user_admin_avatar div.avatar img{max-width:100%;height:auto}div#community-profile-page div#bp_xprofile_user_admin_avatar a{display:block;margin:1em 0;text-decoration:none;color:#888}div#community-profile-page p.not-activated{margin:1em 1em 0;color:red}#community-profile-page #submitdiv #publishing-action{float:none;width:100%}.bp-view-profile{float:right}.alt{background:0 0}.bp-profile-field{border-bottom:dotted 1px #ccc;font-size:14px;margin:15px 0;padding:10px}.bp-profile-field:last-child{border-bottom:0}.bp-profile-field p{font-size:14px}.bp-profile-field .datebox>label,.bp-profile-field .radio>label,.bp-profile-field>label{display:inline-block;font-weight:600;text-align:right;vertical-align:middle;width:200px}.field_type_checkbox .checkbox>label,.field_type_multiselectbox>label,.field_type_radio .radio>label,.field_type_textarea>label{vertical-align:top}.bp-profile-field .description{margin:10px 200px 10px 0;text-align:right}.clear-value{display:block;font-size:12px;margin-right:200px}.field_type_checkbox .checkbox>label+label{display:block;margin-right:200px;width:auto}.field_type_radio .radio div:not(.field-visibility-settings) label{display:block}.field_type_radio .radio div:not(.field-visibility-settings){display:inline-block}.field-visibility-settings-notoggle,.field-visibility-settings-toggle{margin:10px 200px 10px 0;text-align:right}.field-visibility-settings{display:none;margin-right:200px}.field-visibility-settings .button{margin-bottom:15px}#normal-sortables .field-visibility-settings legend{font-size:16px;margin-bottom:10px}
bp-members/admin/css/admin.min.css CHANGED
@@ -1,2 +1,2 @@
1
- /*! buddypress - v2.1.0 - 2015-01-15 12:34:34 AM UTC - https://wordpress.org/plugins/buddypress/ */
2
  div#profile-page.wrap form#your-profile{position:relative}div#profile-page.wrap form#your-profile h3:first-of-type{margin-top:5em}div#profile-page.wrap form#your-profile #profile-nav{position:absolute;top:-3.65em;width:97%}div#community-profile-page #profile-nav{margin-bottom:1em}#bp_members_admin_user_stats ul{margin-bottom:0}div#community-profile-page a.bp-xprofile-avatar-user-admin:before,div#community-profile-page li.bp-blogs-profile-stats:before,div#community-profile-page li.bp-friends-profile-stats:before,div#community-profile-page li.bp-groups-profile-stats:before,div#community-profile-page li.bp-members-profile-stats:before{font:400 20px/1 dashicons;speak:none;display:inline-block;padding:0 2px 0 0;top:0;left:-1px;position:relative;vertical-align:top;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none!important;color:#888}div#community-profile-page li.bp-members-profile-stats:before{content:"\f130"}div#community-profile-page li.bp-friends-profile-stats:before{content:"\f454"}div#community-profile-page li.bp-groups-profile-stats:before{content:"\f456"}div#community-profile-page li.bp-blogs-profile-stats:before{content:"\f120"}div#community-profile-page a.bp-xprofile-avatar-user-admin:before{content:"\f182"}div#community-profile-page div#bp_xprofile_user_admin_avatar div.avatar{width:150px;margin:0 auto}div#community-profile-page div#bp_xprofile_user_admin_avatar div.avatar img{max-width:100%;height:auto}div#community-profile-page div#bp_xprofile_user_admin_avatar a{display:block;margin:1em 0;text-decoration:none;color:#888}div#community-profile-page p.not-activated{margin:1em 1em 0;color:red}#community-profile-page #submitdiv #publishing-action{float:none;width:100%}.bp-view-profile{float:left}.alt{background:0 0}.bp-profile-field{border-bottom:dotted 1px #ccc;font-size:14px;margin:15px 0;padding:10px}.bp-profile-field:last-child{border-bottom:0}.bp-profile-field p{font-size:14px}.bp-profile-field .datebox>label,.bp-profile-field .radio>label,.bp-profile-field>label{display:inline-block;font-weight:600;text-align:left;vertical-align:middle;width:200px}.field_type_checkbox .checkbox>label,.field_type_multiselectbox>label,.field_type_radio .radio>label,.field_type_textarea>label{vertical-align:top}.bp-profile-field .description{margin:10px 0 10px 200px;text-align:left}.clear-value{display:block;font-size:12px;margin-left:200px}.field_type_checkbox .checkbox>label+label{display:block;margin-left:200px;width:auto}.field_type_radio .radio div:not(.field-visibility-settings) label{display:block}.field_type_radio .radio div:not(.field-visibility-settings){display:inline-block}.field-visibility-settings-notoggle,.field-visibility-settings-toggle{margin:10px 0 10px 200px;text-align:left}.field-visibility-settings{display:none;margin-left:200px}.field-visibility-settings .button{margin-bottom:15px}#normal-sortables .field-visibility-settings legend{font-size:16px;margin-bottom:10px}
1
+ /*! buddypress - v2.1.0 - 2015-01-22 9:58:52 PM UTC - https://wordpress.org/plugins/buddypress/ */
2
  div#profile-page.wrap form#your-profile{position:relative}div#profile-page.wrap form#your-profile h3:first-of-type{margin-top:5em}div#profile-page.wrap form#your-profile #profile-nav{position:absolute;top:-3.65em;width:97%}div#community-profile-page #profile-nav{margin-bottom:1em}#bp_members_admin_user_stats ul{margin-bottom:0}div#community-profile-page a.bp-xprofile-avatar-user-admin:before,div#community-profile-page li.bp-blogs-profile-stats:before,div#community-profile-page li.bp-friends-profile-stats:before,div#community-profile-page li.bp-groups-profile-stats:before,div#community-profile-page li.bp-members-profile-stats:before{font:400 20px/1 dashicons;speak:none;display:inline-block;padding:0 2px 0 0;top:0;left:-1px;position:relative;vertical-align:top;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none!important;color:#888}div#community-profile-page li.bp-members-profile-stats:before{content:"\f130"}div#community-profile-page li.bp-friends-profile-stats:before{content:"\f454"}div#community-profile-page li.bp-groups-profile-stats:before{content:"\f456"}div#community-profile-page li.bp-blogs-profile-stats:before{content:"\f120"}div#community-profile-page a.bp-xprofile-avatar-user-admin:before{content:"\f182"}div#community-profile-page div#bp_xprofile_user_admin_avatar div.avatar{width:150px;margin:0 auto}div#community-profile-page div#bp_xprofile_user_admin_avatar div.avatar img{max-width:100%;height:auto}div#community-profile-page div#bp_xprofile_user_admin_avatar a{display:block;margin:1em 0;text-decoration:none;color:#888}div#community-profile-page p.not-activated{margin:1em 1em 0;color:red}#community-profile-page #submitdiv #publishing-action{float:none;width:100%}.bp-view-profile{float:left}.alt{background:0 0}.bp-profile-field{border-bottom:dotted 1px #ccc;font-size:14px;margin:15px 0;padding:10px}.bp-profile-field:last-child{border-bottom:0}.bp-profile-field p{font-size:14px}.bp-profile-field .datebox>label,.bp-profile-field .radio>label,.bp-profile-field>label{display:inline-block;font-weight:600;text-align:left;vertical-align:middle;width:200px}.field_type_checkbox .checkbox>label,.field_type_multiselectbox>label,.field_type_radio .radio>label,.field_type_textarea>label{vertical-align:top}.bp-profile-field .description{margin:10px 0 10px 200px;text-align:left}.clear-value{display:block;font-size:12px;margin-left:200px}.field_type_checkbox .checkbox>label+label{display:block;margin-left:200px;width:auto}.field_type_radio .radio div:not(.field-visibility-settings) label{display:block}.field_type_radio .radio div:not(.field-visibility-settings){display:inline-block}.field-visibility-settings-notoggle,.field-visibility-settings-toggle{margin:10px 0 10px 200px;text-align:left}.field-visibility-settings{display:none;margin-left:200px}.field-visibility-settings .button{margin-bottom:15px}#normal-sortables .field-visibility-settings legend{font-size:16px;margin-bottom:10px}
bp-members/admin/js/admin.min.js CHANGED
@@ -1,2 +1,2 @@
1
- /*! buddypress - v2.1.0 - 2015-01-15 12:34:33 AM UTC - https://wordpress.org/plugins/buddypress/ */
2
  function clear(a){if(a=document.getElementById(a)){var b=a.getElementsByTagName("INPUT"),c=a.getElementsByTagName("OPTION"),d=0;if(b)for(d=0;d<b.length;d++)b[d].checked="";if(c)for(d=0;d<c.length;d++)c[d].selected=!1}}!function(a){a(".visibility-toggle-link").on("click",function(b){b.preventDefault(),a(this).parent().hide().siblings(".field-visibility-settings").show()}),a(".field-visibility-settings-close").on("click",function(b){b.preventDefault();var c=a(this).parent(),d=c.find("input:checked").parent().text();c.hide().siblings(".field-visibility-settings-toggle").children(".current-visibility-level").text(d).end().show()})}(jQuery);
1
+ /*! buddypress - v2.1.0 - 2015-01-22 9:58:49 PM UTC - https://wordpress.org/plugins/buddypress/ */
2
  function clear(a){if(a=document.getElementById(a)){var b=a.getElementsByTagName("INPUT"),c=a.getElementsByTagName("OPTION"),d=0;if(b)for(d=0;d<b.length;d++)b[d].checked="";if(c)for(d=0;d<c.length;d++)c[d].selected=!1}}!function(a){a(".visibility-toggle-link").on("click",function(b){b.preventDefault(),a(this).parent().hide().siblings(".field-visibility-settings").show()}),a(".field-visibility-settings-close").on("click",function(b){b.preventDefault();var c=a(this).parent(),d=c.find("input:checked").parent().text();c.hide().siblings(".field-visibility-settings-toggle").children(".current-visibility-level").text(d).end().show()})}(jQuery);
bp-members/bp-members-admin.php CHANGED
@@ -305,7 +305,7 @@ class BP_Members_Admin {
305
  case 'avatar':
306
  $notice = array(
307
  'class' => 'error',
308
- 'message' => __( 'There was a problem deleting that avatar. Please try again.', 'buddypress' )
309
  );
310
  break;
311
  case 'ham' :
305
  case 'avatar':
306
  $notice = array(
307
  'class' => 'error',
308
+ 'message' => __( 'There was a problem deleting that profile photo. Please try again.', 'buddypress' )
309
  );
310
  break;
311
  case 'ham' :
bp-members/bp-members-functions.php CHANGED
@@ -714,7 +714,8 @@ function bp_core_get_total_member_count() {
714
  function bp_core_get_active_member_count() {
715
  global $wpdb;
716
 
717
- if ( !$count = get_transient( 'bp_active_member_count' ) ) {
 
718
  $bp = buddypress();
719
 
720
  // Avoid a costly join by splitting the lookup
@@ -784,13 +785,7 @@ function bp_core_process_spammer_status( $user_id, $status, $do_wp_cleanup = tru
784
  remove_action( 'make_spam_user', 'bp_core_mark_user_spam_admin' );
785
  remove_action( 'make_ham_user', 'bp_core_mark_user_ham_admin' );
786
 
787
- // Determine if we are on an admin page
788
- $is_admin = is_admin();
789
- if ( $is_admin && ! defined( 'DOING_AJAX' ) ) {
790
- $is_admin = (bool) ( buddypress()->members->admin->user_page !== get_current_screen()->id );
791
- }
792
-
793
- // When marking as spam in the Dashboard, these actions are handled by WordPress
794
  if ( $do_wp_cleanup ) {
795
 
796
  // Get the blogs for the user
@@ -811,35 +806,36 @@ function bp_core_process_spammer_status( $user_id, $status, $do_wp_cleanup = tru
811
  if ( is_multisite() ) {
812
  update_user_status( $user_id, 'spam', $is_spam );
813
  }
 
814
 
815
- // Always set single site status
816
- $wpdb->update( $wpdb->users, array( 'user_status' => $is_spam ), array( 'ID' => $user_id ) );
817
 
818
- // Call multisite actions in single site mode for good measure
819
- if ( !is_multisite() ) {
820
- if ( true === $is_spam ) {
821
-
822
- /**
823
- * Fires at end of processing spammer in Dashboard if not multisite and user is spam.
824
- *
825
- * @since BuddyPress (1.5.0)
826
- *
827
- * @param int $value Displayed user ID.
828
- */
829
- do_action( 'make_spam_user', bp_displayed_user_id() );
830
- } else {
831
 
832
- /**
833
- * Fires at end of processing spammer in Dashboard if not multisite and user is not spam.
834
- *
835
- * @since BuddyPress (1.5.0)
836
- *
837
- * @param int $value Displayed user ID.
838
- */
839
- do_action( 'make_ham_user', bp_displayed_user_id() );
840
- }
841
 
 
 
 
 
 
 
 
 
 
842
 
 
 
 
 
 
 
 
 
843
  }
844
  }
845
 
@@ -2391,7 +2387,7 @@ add_action( 'bp_init', 'bp_core_wpsignup_redirect' );
2391
  function bp_stop_live_spammer() {
2392
  // if we're on the login page, stop now to prevent redirect loop
2393
  $is_login = false;
2394
- if ( isset( $_GLOBALS['pagenow'] ) && false !== strpos( $GLOBALS['pagenow'], 'wp-login.php' ) ) {
2395
  $is_login = true;
2396
  } elseif ( isset( $_SERVER['SCRIPT_NAME'] ) && false !== strpos( $_SERVER['SCRIPT_NAME'], 'wp-login.php' ) ) {
2397
  $is_login = true;
@@ -2479,19 +2475,19 @@ function bp_register_member_type( $member_type, $args = array() ) {
2479
  'labels' => array(),
2480
  ), 'register_member_type' );
2481
 
2482
- $type = (object) $r;
2483
 
2484
  // Store the post type name as data in the object (not just as the array key).
2485
- $type->name = $member_type;
2486
 
2487
  // Make sure the relevant labels have been filled in.
2488
- $default_name = isset( $r['labels']['name'] ) ? $r['labels']['name'] : ucfirst( $type->name );
2489
  $r['labels'] = array_merge( array(
2490
  'name' => $default_name,
2491
  'singular_name' => $default_name,
2492
  ), $r['labels'] );
2493
 
2494
- $bp->members->types[ $member_type ] = $type;
2495
 
2496
  /**
2497
  * Fires after a member type is registered.
@@ -2511,7 +2507,7 @@ function bp_register_member_type( $member_type, $args = array() ) {
2511
  *
2512
  * @since BuddyPress (2.2.0)
2513
  *
2514
- * @param string $post_type The name of the member type.
2515
  * @return object A member type object.
2516
  */
2517
  function bp_get_member_type_object( $member_type ) {
@@ -2543,8 +2539,6 @@ function bp_get_member_type_object( $member_type ) {
2543
  function bp_get_member_types( $args = array(), $output = 'names', $operator = 'and' ) {
2544
  $types = buddypress()->members->types;
2545
 
2546
- $field = 'names' == $output ? 'name' : false;
2547
-
2548
  $types = wp_filter_object_list( $types, $args, $operator );
2549
 
2550
  /**
714
  function bp_core_get_active_member_count() {
715
  global $wpdb;
716
 
717
+ $count = get_transient( 'bp_active_member_count' );
718
+ if ( false === $count ) {
719
  $bp = buddypress();
720
 
721
  // Avoid a costly join by splitting the lookup
785
  remove_action( 'make_spam_user', 'bp_core_mark_user_spam_admin' );
786
  remove_action( 'make_ham_user', 'bp_core_mark_user_ham_admin' );
787
 
788
+ // force the cleanup of WordPress content and status for multisite configs
 
 
 
 
 
 
789
  if ( $do_wp_cleanup ) {
790
 
791
  // Get the blogs for the user
806
  if ( is_multisite() ) {
807
  update_user_status( $user_id, 'spam', $is_spam );
808
  }
809
+ }
810
 
811
+ // Update the user status
812
+ $wpdb->update( $wpdb->users, array( 'user_status' => $is_spam ), array( 'ID' => $user_id ) );
813
 
814
+ // Clean user cache
815
+ clean_user_cache( $user_id );
 
 
 
 
 
 
 
 
 
 
 
816
 
817
+ if ( ! is_multisite() ) {
818
+ // Call multisite actions in single site mode for good measure
819
+ if ( true === $is_spam ) {
 
 
 
 
 
 
820
 
821
+ /**
822
+ * Fires at end of processing spammer in Dashboard if not multisite and user is spam.
823
+ *
824
+ * @since BuddyPress (1.5.0)
825
+ *
826
+ * @param int $value user ID.
827
+ */
828
+ do_action( 'make_spam_user', $user_id );
829
+ } else {
830
 
831
+ /**
832
+ * Fires at end of processing spammer in Dashboard if not multisite and user is not spam.
833
+ *
834
+ * @since BuddyPress (1.5.0)
835
+ *
836
+ * @param int $value user ID.
837
+ */
838
+ do_action( 'make_ham_user', $user_id );
839
  }
840
  }
841
 
2387
  function bp_stop_live_spammer() {
2388
  // if we're on the login page, stop now to prevent redirect loop
2389
  $is_login = false;
2390
+ if ( isset( $GLOBALS['pagenow'] ) && ( false !== strpos( $GLOBALS['pagenow'], 'wp-login.php' ) ) ) {
2391
  $is_login = true;
2392
  } elseif ( isset( $_SERVER['SCRIPT_NAME'] ) && false !== strpos( $_SERVER['SCRIPT_NAME'], 'wp-login.php' ) ) {
2393
  $is_login = true;
2475
  'labels' => array(),
2476
  ), 'register_member_type' );
2477
 
2478
+ $member_type = sanitize_key( $member_type );
2479
 
2480
  // Store the post type name as data in the object (not just as the array key).
2481
+ $r['name'] = $member_type;
2482
 
2483
  // Make sure the relevant labels have been filled in.
2484
+ $default_name = isset( $r['labels']['name'] ) ? $r['labels']['name'] : ucfirst( $r['name'] );
2485
  $r['labels'] = array_merge( array(
2486
  'name' => $default_name,
2487
  'singular_name' => $default_name,
2488
  ), $r['labels'] );
2489
 
2490
+ $bp->members->types[ $member_type ] = $type = (object) $r;
2491
 
2492
  /**
2493
  * Fires after a member type is registered.
2507
  *
2508
  * @since BuddyPress (2.2.0)
2509
  *
2510
+ * @param string $member_type The name of the member type.
2511
  * @return object A member type object.
2512
  */
2513
  function bp_get_member_type_object( $member_type ) {
2539
  function bp_get_member_types( $args = array(), $output = 'names', $operator = 'and' ) {
2540
  $types = buddypress()->members->types;
2541
 
 
 
2542
  $types = wp_filter_object_list( $types, $args, $operator );
2543
 
2544
  /**
bp-members/bp-members-screens.php CHANGED
@@ -289,20 +289,27 @@ add_action( 'bp_screens', 'bp_core_screen_signup' );
289
 
290
  /**
291
  * Handle the loading of the Activate screen.
 
 
292
  */
293
  function bp_core_screen_activation() {
294
- global $bp;
295
-
296
- if ( !bp_is_current_component( 'activate' ) )
297
  return false;
 
298
 
299
- // If the user is logged in, redirect away from here
300
  if ( is_user_logged_in() ) {
301
- if ( bp_is_component_front_page( 'activate' ) ) {
302
- $redirect_to = trailingslashit( bp_get_root_domain() . '/' . bp_get_members_root_slug() );
303
- } else {
304
- $redirect_to = trailingslashit( bp_get_root_domain() );
305
- }
 
 
 
 
306
 
307
  /**
308
  * Filters the URL to redirect logged in users to when visiting activation page.
@@ -311,9 +318,10 @@ function bp_core_screen_activation() {
311
  *
312
  * @param string $redirect_to URL to redirect user to.
313
  */
314
- bp_core_redirect( apply_filters( 'bp_loggedin_activate_page_redirect_to', $redirect_to ) );
315
 
316
- return;
 
317
  }
318
 
319
  // grab the key (the old way)
@@ -324,6 +332,9 @@ function bp_core_screen_activation() {
324
  $key = bp_current_action();
325
  }
326
 
 
 
 
327
  // we've got a key; let's attempt to activate the signup
328
  if ( ! empty( $key ) ) {
329
 
@@ -395,8 +406,9 @@ class BP_Members_Theme_Compat {
395
  public function is_members() {
396
 
397
  // Bail if not looking at the members component or a user's page
398
- if ( ! bp_is_members_component() && ! bp_is_user() )
399
  return;
 
400
 
401
  // Members Directory
402
  if ( ! bp_current_action() && ! bp_current_item() ) {
@@ -415,10 +427,12 @@ class BP_Members_Theme_Compat {
415
 
416
  // User page
417
  } elseif ( bp_is_user() ) {
 
418
  // If we're on a single activity permalink page, we shouldn't use the members
419
  // template, so stop here!
420
- if ( bp_is_active( 'activity' ) && bp_is_single_activity() )
421
  return;
 
422
 
423
  /**
424
  * Fires if looking at Members user page when needing theme compat.
289
 
290
  /**
291
  * Handle the loading of the Activate screen.
292
+ *
293
+ * @todo Move the actual activation process into an action in bp-members-actions.php
294
  */
295
  function bp_core_screen_activation() {
296
+
297
+ // Bail if not viewing the activation page
298
+ if ( ! bp_is_current_component( 'activate' ) ) {
299
  return false;
300
+ }
301
 
302
+ // If the user is already logged in, redirect away from here
303
  if ( is_user_logged_in() ) {
304
+
305
+ // If activation page is also front page, set to members directory to
306
+ // avoid an infinite loop. Otherwise, set to root domain.
307
+ $redirect_to = bp_is_component_front_page( 'activate' )
308
+ ? bp_get_root_domain() . '/' . bp_get_members_root_slug()
309
+ : bp_get_root_domain();
310
+
311
+ // Trailing slash it, as we expect these URL's to be
312
+ $redirect_to = trailingslashit( $redirect_to );
313
 
314
  /**
315
  * Filters the URL to redirect logged in users to when visiting activation page.
318
  *
319
  * @param string $redirect_to URL to redirect user to.
320
  */
321
+ $redirect_to = apply_filters( 'bp_loggedin_activate_page_redirect_to', $redirect_to );
322
 
323
+ // Redirect away from the activation page
324
+ bp_core_redirect( $redirect_to );
325
  }
326
 
327
  // grab the key (the old way)
332
  $key = bp_current_action();
333
  }
334
 
335
+ // Get BuddyPress
336
+ $bp = buddypress();
337
+
338
  // we've got a key; let's attempt to activate the signup
339
  if ( ! empty( $key ) ) {
340
 
406
  public function is_members() {
407
 
408
  // Bail if not looking at the members component or a user's page
409
+ if ( ! bp_is_members_component() && ! bp_is_user() ) {
410
  return;
411
+ }
412
 
413
  // Members Directory
414
  if ( ! bp_current_action() && ! bp_current_item() ) {
427
 
428
  // User page
429
  } elseif ( bp_is_user() ) {
430
+
431
  // If we're on a single activity permalink page, we shouldn't use the members
432
  // template, so stop here!
433
+ if ( bp_is_active( 'activity' ) && bp_is_single_activity() ) {
434
  return;
435
+ }
436
 
437
  /**
438
  * Fires if looking at Members user page when needing theme compat.
bp-messages/bp-messages-template.php CHANGED
@@ -888,7 +888,7 @@ function bp_message_thread_total_count( $thread_id = false ) {
888
  /**
889
  * Output markup for the current thread's total and unread count.
890
  *
891
- * @since Buddypress (2.2.0)
892
  *
893
  * @param int $thread_id Optional. ID of the thread. Default: current thread ID.
894
  */
888
  /**
889
  * Output markup for the current thread's total and unread count.
890
  *
891
+ * @since BuddyPress (2.2.0)
892
  *
893
  * @param int $thread_id Optional. ID of the thread. Default: current thread ID.
894
  */
bp-notifications/bp-notifications-loader.php CHANGED
@@ -205,7 +205,7 @@ class BP_Notifications_Component extends BP_Component {
205
  $wp_admin_nav[] = array(
206
  'parent' => 'my-account-' . $this->id,
207
  'id' => 'my-account-' . $this->id . '-read',
208
- 'title' => __( 'Read', 'buddypress' ),
209
  'href' => trailingslashit( $notifications_link . 'read' ),
210
  );
211
  }
205
  $wp_admin_nav[] = array(
206
  'parent' => 'my-account-' . $this->id,
207
  'id' => 'my-account-' . $this->id . '-read',
208
+ 'title' => _x( 'Read', 'My Account Notification sub nav', 'buddypress' ),
209
  'href' => trailingslashit( $notifications_link . 'read' ),
210
  );
211
  }
bp-templates/bp-legacy/buddypress-functions.php CHANGED
@@ -80,6 +80,9 @@ class BP_Legacy extends BP_Theme_Compat {
80
  // Template Output
81
  add_filter( 'bp_get_activity_action_pre_meta', array( $this, 'secondary_avatars' ), 10, 2 );
82
 
 
 
 
83
  /** Scripts ***********************************************************/
84
 
85
  add_action( 'bp_enqueue_scripts', array( $this, 'enqueue_styles' ) ); // Enqueue theme CSS
@@ -87,7 +90,8 @@ class BP_Legacy extends BP_Theme_Compat {
87
  add_filter( 'bp_enqueue_scripts', array( $this, 'localize_scripts' ) ); // Enqueue theme script localization
88
  add_action( 'bp_head', array( $this, 'head_scripts' ) ); // Output some extra JS in the <head>
89
 
90
- /** Body no-js Class ********************************************************/
 
91
  add_filter( 'body_class', array( $this, 'add_nojs_body_class' ), 20, 1 );
92
 
93
  /** Buttons ***********************************************************/
@@ -119,8 +123,6 @@ class BP_Legacy extends BP_Theme_Compat {
119
  add_action( 'bp_directory_blogs_actions', 'bp_blogs_visit_blog_button' );
120
  add_action( 'bp_blogs_directory_blog_types', 'bp_legacy_theme_blog_create_nav', 999 );
121
  }
122
-
123
-
124
  }
125
 
126
  /** Notices ***********************************************************/
@@ -440,6 +442,66 @@ class BP_Legacy extends BP_Theme_Compat {
440
 
441
  return $action;
442
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
443
  }
444
  new BP_Legacy();
445
  endif;
80
  // Template Output
81
  add_filter( 'bp_get_activity_action_pre_meta', array( $this, 'secondary_avatars' ), 10, 2 );
82
 
83
+ // Filter BuddyPress template hierarchy and look for page templates
84
+ add_filter( 'bp_get_buddypress_template', array( $this, 'theme_compat_page_templates' ), 10, 1 );
85
+
86
  /** Scripts ***********************************************************/
87
 
88
  add_action( 'bp_enqueue_scripts', array( $this, 'enqueue_styles' ) ); // Enqueue theme CSS
90
  add_filter( 'bp_enqueue_scripts', array( $this, 'localize_scripts' ) ); // Enqueue theme script localization
91
  add_action( 'bp_head', array( $this, 'head_scripts' ) ); // Output some extra JS in the <head>
92
 
93
+ /** Body no-js Class **************************************************/
94
+
95
  add_filter( 'body_class', array( $this, 'add_nojs_body_class' ), 20, 1 );
96
 
97
  /** Buttons ***********************************************************/
123
  add_action( 'bp_directory_blogs_actions', 'bp_blogs_visit_blog_button' );
124
  add_action( 'bp_blogs_directory_blog_types', 'bp_legacy_theme_blog_create_nav', 999 );
125
  }
 
 
126
  }
127
 
128
  /** Notices ***********************************************************/
442
 
443
  return $action;
444
  }
445
+
446
+ /**
447
+ * Filter the default theme compatibility root template hierarchy, and prepend
448
+ * a page template to the front if it's set.
449
+ *
450
+ * @see https://buddypress.trac.wordpress.org/ticket/6065
451
+ *
452
+ * @since BuddyPress (2.2.0)
453
+ *
454
+ * @param array $templates
455
+ * @uses apply_filters() call 'bp_legacy_theme_compat_page_templates_directory_only' and return false
456
+ * to use the defined page template for component's directory and its single items
457
+ * @return array
458
+ */
459
+ public function theme_compat_page_templates( $templates = array() ) {
460
+
461
+ // Bail if not looking at a directory
462
+ if ( true === (bool) apply_filters( 'bp_legacy_theme_compat_page_templates_directory_only', ! bp_is_directory() ) ) {
463
+ return $templates;
464
+ }
465
+
466
+ // No page ID yet
467
+ $page_id = 0;
468
+
469
+ // Get the WordPress Page ID for the current view.
470
+ foreach ( (array) buddypress()->pages as $component => $bp_page ) {
471
+
472
+ // Handles the majority of components.
473
+ if ( bp_is_current_component( $component ) ) {
474
+ $page_id = (int) $bp_page->id;
475
+ }
476
+
477
+ // Stop if not on a user page.
478
+ if ( ! bp_is_user() && ! empty( $page_id ) ) {
479
+ break;
480
+ }
481
+
482
+ // The Members component requires an explicit check due to overlapping components.
483
+ if ( bp_is_user() && ( 'members' === $component ) ) {
484
+ $page_id = (int) $bp_page->id;
485
+ break;
486
+ }
487
+ }
488
+
489
+ // Bail if no directory page set
490
+ if ( 0 === $page_id ) {
491
+ return $templates;
492
+ }
493
+
494
+ // Check for page template
495
+ $page_template = get_page_template_slug( $page_id );
496
+
497
+ // Add it to the beginning of the templates array so it takes precedence
498
+ // over the default hierarchy.
499
+ if ( ! empty( $page_template ) ) {
500
+ array_unshift( $templates, $page_template );
501
+ }
502
+
503
+ return $templates;
504
+ }
505
  }
506
  new BP_Legacy();
507
  endif;
bp-templates/bp-legacy/buddypress/activity/post-form.php CHANGED
@@ -28,11 +28,8 @@
28
  <div id="whats-new-content">
29
  <div id="whats-new-textarea">
30
  <textarea class="bp-suggestions" name="whats-new" id="whats-new" cols="50" rows="10"
31
- <?php
32
- if ( bp_is_group() ) : ?>data-suggestions-group-id="<?php echo esc_attr( (int) bp_get_current_group_id() ); ?>" <?php endif;
33
- if ( isset( $_GET['r'] ) ) : ?>@<?php echo esc_textarea( $_GET['r'] ); ?> <?php endif;
34
- ?>
35
- ></textarea>
36
  </div>
37
 
38
  <div id="whats-new-options">
28
  <div id="whats-new-content">
29
  <div id="whats-new-textarea">
30
  <textarea class="bp-suggestions" name="whats-new" id="whats-new" cols="50" rows="10"
31
+ <?php if ( bp_is_group() ) : ?>data-suggestions-group-id="<?php echo esc_attr( (int) bp_get_current_group_id() ); ?>" <?php endif; ?>
32
+ ><?php if ( isset( $_GET['r'] ) ) : ?>@<?php echo esc_textarea( $_GET['r'] ); ?> <?php endif; ?></textarea>
 
 
 
33
  </div>
34
 
35
  <div id="whats-new-options">
bp-templates/bp-legacy/css/buddypress-rtl.css CHANGED
@@ -1555,6 +1555,10 @@ body.register #buddypress div.page ul {
1555
 
1556
  .widget.buddypress .bp-login-widget-user-avatar {
1557
  float: right;
 
 
 
 
1558
  width: 40px;
1559
  }
1560
 
1555
 
1556
  .widget.buddypress .bp-login-widget-user-avatar {
1557
  float: right;
1558
+ }
1559
+
1560
+ .bp-login-widget-user-avatar img.avatar {
1561
+ height: 40px;
1562
  width: 40px;
1563
  }
1564
 
bp-templates/bp-legacy/css/buddypress-rtl.min.css CHANGED
@@ -1,2 +1,2 @@
1
- /*! buddypress - v2.1.0 - 2015-01-15 12:34:34 AM UTC - https://wordpress.org/plugins/buddypress/ */
2
- #buddypress div.pagination{background:0 0;border:none;color:#888;font-size:small;margin:0;position:relative;display:block;float:right;width:100%;padding:10px 0}#buddypress div.pagination .pag-count{float:right;margin-right:10px}#buddypress div.pagination .pagination-links{float:left;margin-left:10px}#buddypress div.pagination .pagination-links a,#buddypress div.pagination .pagination-links span{font-size:90%;padding:0 5px}#buddypress div.pagination .pagination-links a:hover{font-weight:700}#buddypress noscript div.pagination{margin-bottom:15px}#buddypress #nav-above{display:none}#buddypress .paged #nav-above{display:block}#buddypress img.wp-smiley{border:none!important;clear:none!important;float:none!important;margin:0!important;padding:0!important}#buddypress .clear{clear:right}#buddypress #activity-stream{margin-top:-5px}#buddypress #activity-stream p{margin:5px 0}#buddypress #item-body form#whats-new-form{margin:0;padding:0}#buddypress .home-page form#whats-new-form{border-bottom:none;padding-bottom:0}#buddypress form#whats-new-form #whats-new-avatar{float:right}#buddypress form#whats-new-form #whats-new-content{margin-right:55px;padding:0 20px 20px 0}#buddypress form#whats-new-form p.activity-greeting{line-height:.5em;margin-bottom:15px;margin-right:75px}#buddypress form#whats-new-form textarea{background:#fff;color:#555;font-family:inherit;font-size:medium;height:20px;padding:6px;width:98%}body.no-js #buddypress form#whats-new-form textarea{height:50px}#buddypress form#whats-new-form #whats-new-options select{max-width:200px;margin-top:12px}#buddypress form#whats-new-form #whats-new-submit{float:left;margin-top:12px}#buddypress #whats-new-options{overflow:auto;height:0}body.no-js #buddypress #whats-new-options{height:auto}#buddypress #whats-new:focus{border-color:rgba(31,179,221,.9)!important;outline-color:rgba(31,179,221,.9)}#buddypress ul.activity-list li{overflow:hidden;padding:15px 0 0;list-style:none}#buddypress .activity-list .activity-avatar{float:right}#buddypress ul.item-list.activity-list li.has-comments{padding-bottom:15px}body.activity-permalink #buddypress ul.activity-list li.has-comments{padding-bottom:0}#buddypress .activity-list li.mini{font-size:80%;position:relative}#buddypress .activity-list li.mini .activity-avatar img.FB_profile_pic,#buddypress .activity-list li.mini .activity-avatar img.avatar{height:20px;margin-right:30px;width:20px}#buddypress .activity-permalink .activity-list li.mini .activity-avatar img.FB_profile_pic,#buddypress .activity-permalink .activity-list li.mini .activity-avatar img.avatar{height:auto;margin-right:0;width:auto}body.activity-permalink #buddypress .activity-list>li:first-child{padding-top:0}#buddypress .activity-list li .activity-content{position:relative}#buddypress .activity-list li.mini .activity-content p{margin:0}#buddypress .activity-list li.mini .activity-comments{clear:both;font-size:120%}body.activity-permalink #buddypress li.mini .activity-meta{margin-top:4px}#buddypress .activity-list li .activity-inreplyto{color:#888;font-size:80%}#buddypress .activity-list li .activity-inreplyto>p{margin:0;display:inline}#buddypress .activity-list li .activity-inreplyto blockquote,#buddypress .activity-list li .activity-inreplyto div.activity-inner{background:0 0;border:none;display:inline;margin:0;overflow:hidden;padding:0}#buddypress .activity-list .activity-content{margin:0 70px 0 0}body.activity-permalink #buddypress .activity-list li .activity-content{border:none;font-size:100%;line-height:150%;margin-right:170px;margin-left:0;padding:0}body.activity-permalink #buddypress .activity-list li .activity-header>p{margin:0;padding:5px 0 0}#buddypress .activity-list .activity-content .activity-header,#buddypress .activity-list .activity-content .comment-header{color:#888;line-height:220%}#buddypress .activity-header{margin-left:20px}#buddypress .acomment-meta a,#buddypress .activity-header a,#buddypress .comment-meta a{text-decoration:none}#buddypress .activity-list .activity-content .activity-header img.avatar{float:none!important;margin:0 0 -8px 5px!important}#buddypress a.bp-secondary-action,#buddypress span.highlight{font-size:80%;padding:0;margin-left:5px;text-decoration:none}#buddypress .activity-list .activity-content .activity-inner,#buddypress .activity-list .activity-content blockquote{margin:10px 0 5px 10px;overflow:hidden}#buddypress .activity-list li.new_forum_post .activity-content .activity-inner,#buddypress .activity-list li.new_forum_topic .activity-content .activity-inner{border-right:2px solid #EAEAEA;margin-right:5px;padding-right:10px}body.activity-permalink #buddypress .activity-content .activity-inner,body.activity-permalink #buddypress .activity-content blockquote{margin-right:0;margin-top:5px}#buddypress .activity-inner>p{word-wrap:break-word}#buddypress .activity-inner>.activity-inner,#buddypress .activity-inner>blockquote{margin:0}#buddypress .activity-list .activity-content img.thumbnail{border:2px solid #eee;float:right;margin:0 0 5px 10px}#buddypress .activity-read-more{margin-right:1em;white-space:nowrap}#buddypress .activity-list li.load-more,#buddypress .activity-list li.load-newest{background:#f0f0f0;font-size:110%;margin:15px 0;padding:10px 15px;text-align:center}#buddypress .activity-list li.load-more a,#buddypress .activity-list li.load-newest a{color:#4D4D4D}#buddypress div.activity-meta{margin:18px 0 0}body.activity-permalink #buddypress div.activity-meta{margin-bottom:6px}#buddypress div.activity-meta a{padding:4px 8px}#buddypress a.activity-time-since{color:#aaa;text-decoration:none}#buddypress a.activity-time-since:hover{color:#888;text-decoration:underline}#buddypress #reply-title small a,#buddypress a.bp-primary-action{font-size:80%;margin-left:5px;text-decoration:none}#buddypress #reply-title small a span,#buddypress a.bp-primary-action span{background:#999;color:#fff;font-size:90%;margin-right:2px;padding:0 5px}#buddypress #reply-title small a:hover span,#buddypress a.bp-primary-action:hover span{background:#555;color:#fff}#buddypress div.activity-comments{margin:0 70px 0 0;overflow:hidden;position:relative;width:auto;clear:both}body.activity-permalink #buddypress div.activity-comments{background:0 0;margin-right:170px;width:auto}#buddypress div.activity-comments>ul{padding:0 10px 0 0}#buddypress div.activity-comments ul,#buddypress div.activity-comments ul li{border:none;list-style:none}#buddypress div.activity-comments ul{clear:both;margin:0}#buddypress div.activity-comments ul li{border-top:1px solid #eee;padding:10px 0 0}body.activity-permalink #buddypress .activity-list li.mini .activity-comments{clear:none;margin-top:0}body.activity-permalink #buddypress div.activity-comments ul li{border-width:1px;padding:10px 0 0}#buddypress div.activity-comments>ul>li:first-child{border-top:none}#buddypress div.activity-comments ul li:last-child{margin-bottom:0}#buddypress div.activity-comments ul li>ul{margin-right:30px;margin-top:0;padding-right:10px}body.activity-permalink #buddypress div.activity-comments ul li>ul{margin-top:10px}body.activity-permalink #buddypress div.activity-comments>ul{padding:0 15px 0 10px}#buddypress div.activity-comments div.acomment-avatar img{border-width:1px;float:right;height:25px;margin-left:10px;width:25px}#buddypress div.activity-comments div.acomment-content{font-size:80%;margin:5px 40px 0 0}#buddypress div.acomment-content .activity-delete-link,#buddypress div.acomment-content .comment-header,#buddypress div.acomment-content .time-since{display:none}body.activity-permalink #buddypress div.activity-comments div.acomment-content{font-size:90%}#buddypress div.activity-comments div.acomment-meta{color:#888;font-size:80%}#buddypress div.activity-comments form.ac-form{display:none;padding:10px}#buddypress div.activity-comments li form.ac-form{margin-left:15px;clear:both}#buddypress div.activity-comments form.root{margin-right:0}#buddypress div.activity-comments div#message{margin-top:15px;margin-bottom:0}#buddypress div.activity-comments form .ac-textarea{background:#fff;border:1px inset #ccc;margin-bottom:10px;padding:8px}#buddypress div.activity-comments form textarea{border:none;background:0 0;box-shadow:none;outline:0;color:#555;font-family:inherit;font-size:100%;height:60px;padding:0;margin:0;width:100%}#buddypress div.activity-comments form input{margin-top:5px}#buddypress div.activity-comments form div.ac-reply-avatar{float:right}#buddypress div.ac-reply-avatar img{border:1px solid #eee}#buddypress div.activity-comments form div.ac-reply-content{color:#888;margin-right:50px;padding-right:15px}#buddypress div.activity-comments form div.ac-reply-content a{text-decoration:none}#buddypress .acomment-options{float:right;margin:5px 40px 5px 0}#buddypress .acomment-options a{color:#999}#buddypress .acomment-options a:hover{color:inherit}#buddypress div.dir-search{float:left;margin:-39px 0 0}#buddypress div.dir-search input[type=text],#buddypress li.groups-members-search input[type=text]{font-size:90%;padding:1px 3px}#buddypress .dir-form{clear:both}#buddypress div#message{margin:0 0 15px}#buddypress #message.info{margin-bottom:0}#buddypress div#message.updated{clear:both;display:block}#buddypress div#message p,#sitewide-notice p{font-size:90%;display:block;padding:10px 15px}#buddypress div#message.error p{background-color:#fdc;border:1px solid #a00;clear:right;color:#800}#buddypress div#message.updated p{background-color:#efc;border:1px solid #591;color:#250}#buddypress #pass-strength-result{background-color:#eee;border-color:#ddd;border-style:solid;border-width:1px;display:none;margin:5px 0 5px 5px;padding:5px;text-align:center;width:150px}#buddypress .standard-form #basic-details-section #pass-strength-result{width:35%}#buddypress #pass-strength-result.bad,#buddypress #pass-strength-result.error{background-color:#ffb78c;border-color:#ff853c!important;display:block}#buddypress #pass-strength-result.good{background-color:#ffec8b;border-color:#fc0!important;display:block}#buddypress #pass-strength-result.short{background-color:#ffa0a0;border-color:#f04040!important;display:block}#buddypress #pass-strength-result.strong{background-color:#c3ff88;border-color:#8dff1c!important;display:block}#buddypress .standard-form#signup_form div div.error{background:#faa;color:#a00;margin:0 0 10px;padding:6px;width:90%}#buddypress div.accept,#buddypress div.reject{float:right;margin-right:10px}#buddypress ul.button-nav li{float:right;margin:0 0 10px 10px;list-style:none}#buddypress ul.button-nav li.current a{font-weight:700}#sitewide-notice #message{right:2%;position:fixed;top:1em;width:96%;z-index:9999}#sitewide-notice.admin-bar-on #message{top:3.3em}#sitewide-notice strong{display:block;margin-bottom:-1em}#buddypress .dir-search input[type=search],#buddypress .dir-search input[type=text],#buddypress .groups-members-search input[type=search],#buddypress .groups-members-search input[type=text],#buddypress .standard-form input[type=color],#buddypress .standard-form input[type=date],#buddypress .standard-form input[type=datetime-local],#buddypress .standard-form input[type=datetime],#buddypress .standard-form input[type=email],#buddypress .standard-form input[type=month],#buddypress .standard-form input[type=number],#buddypress .standard-form input[type=password],#buddypress .standard-form input[type=range],#buddypress .standard-form input[type=search],#buddypress .standard-form input[type=tel],#buddypress .standard-form input[type=text],#buddypress .standard-form input[type=time],#buddypress .standard-form input[type=url],#buddypress .standard-form input[type=week],#buddypress .standard-form select,#buddypress .standard-form textarea{border:1px solid #ccc;background:#fafafa;border-radius:0;color:#888;font:inherit;font-size:100%;padding:6px}#buddypress .standard-form select{padding:3px}#buddypress .standard-form input[type=password]{margin-bottom:5px}#buddypress .standard-form label,#buddypress .standard-form span.label{display:block;font-weight:700;margin:15px 0 5px;width:auto}#buddypress .standard-form div.checkbox label:nth-child(n+2),#buddypress .standard-form div.radio div label{color:#888;font-size:100%;font-weight:400;margin:5px 0 0}#buddypress .standard-form#sidebar-login-form label{margin-top:5px}#buddypress .standard-form input[type=text]{width:75%}#buddypress .standard-form#sidebar-login-form input[type=password],#buddypress .standard-form#sidebar-login-form input[type=text]{padding:4px;width:95%}#buddypress .standard-form #basic-details-section input[type=password],#buddypress .standard-form #blog-details-section input#signup_blog_url{width:35%}#buddypress #commentform input[type=text],#buddypress #commentform textarea,#buddypress .form-allowed-tags,#buddypress .standard-form#signup_form input[type=text],#buddypress .standard-form#signup_form textarea{width:90%}#buddypress .standard-form#signup_form div.submit{float:left}#buddypress div#signup-avatar img{margin:0 0 10px 15px}#buddypress .standard-form textarea{width:75%;height:120px}#buddypress .standard-form textarea#message_content{height:200px}#buddypress .standard-form#send-reply textarea{width:97.5%}#buddypress .standard-form p.description{color:#888;font-size:80%;margin:5px 0}#buddypress .standard-form div.submit{clear:both;padding:15px 0 0}#buddypress .standard-form p.submit{margin-bottom:0;padding:15px 0 0}#buddypress .standard-form div.submit input{margin-left:15px}#buddypress .standard-form div.radio ul{margin:10px 38px 15px 0;list-style:disc}#buddypress .standard-form div.radio ul li{margin-bottom:5px}#buddypress .standard-form a.clear-value{display:block;margin-top:5px;outline:0}#buddypress .standard-form #basic-details-section,#buddypress .standard-form #blog-details-section,#buddypress .standard-form #profile-details-section{float:right;width:48%}#buddypress .standard-form #profile-details-section{float:left}#buddypress #notifications-bulk-management,#buddypress .standard-form #blog-details-section{clear:right}body.no-js #buddypress #delete_inbox_messages,body.no-js #buddypress #delete_sentbox_messages,body.no-js #buddypress #message-type-select,body.no-js #buddypress #messages-bulk-management #select-all-messages,body.no-js #buddypress #notifications-bulk-management #select-all-notifications,body.no-js #buddypress label[for=message-type-select]{display:none}#buddypress .standard-form input:focus,#buddypress .standard-form select:focus,#buddypress .standard-form textarea:focus{background:#fafafa;color:#555}#buddypress form#send-invite-form{margin-top:20px}#buddypress div#invite-list{background:#f5f5f5;height:400px;margin:0 0 10px;overflow:auto;padding:5px;width:160px}#buddypress .comment-reply-link,#buddypress a.button,#buddypress button,#buddypress div.generic-button a,#buddypress input[type=button],#buddypress input[type=reset],#buddypress input[type=submit],#buddypress ul.button-nav li a,a.bp-title-button{background:#fff;border:1px solid #ccc;color:#777;font-size:small;cursor:pointer;outline:0;padding:4px 10px;text-align:center;text-decoration:none}#buddypress .comment-reply-link:hover,#buddypress a.button:focus,#buddypress a.button:hover,#buddypress button:hover,#buddypress div.generic-button a:hover,#buddypress input[type=button]:hover,#buddypress input[type=reset]:hover,#buddypress input[type=submit]:hover,#buddypress ul.button-nav li a:hover,#buddypress ul.button-nav li.current a{background:#ededed;border:1px solid #bbb;color:#555;outline:0;text-decoration:none}#buddypress form.standard-form .left-menu{float:right}#buddypress form.standard-form .left-menu #invite-list ul{margin:1%;list-style:none}#buddypress form.standard-form .left-menu #invite-list ul li{margin:0 1% 0 0}#buddypress form.standard-form .main-column{margin-right:190px}#buddypress form.standard-form .main-column ul#friend-list{clear:none;float:right}#buddypress form.standard-form .main-column ul#friend-list h4{clear:none}#buddypress .wp-editor-wrap a.button,#buddypress .wp-editor-wrap button,#buddypress .wp-editor-wrap input[type=button],#buddypress .wp-editor-wrap input[type=reset],#buddypress .wp-editor-wrap input[type=submit]{padding:0 10px 1px}#buddypress form [disabled=disabled]{cursor:default;opacity:.4}.bp-screen-reader-text{clip:rect(1px,1px,1px,1px);position:absolute}#buddypress a.loading,#buddypress input.loading{-webkit-animation:loader-pulsate .5s infinite ease-in-out alternate;-moz-animation:loader-pulsate .5s infinite ease-in-out alternate;border-color:#aaa}@-webkit-keyframes loader-pulsate{from{border-color:#aaa;-webkit-box-shadow:0 0 6px #ccc;box-shadow:0 0 6px #ccc}to{border-color:#ccc;-webkit-box-shadow:0 0 6px #f8f8f8;box-shadow:0 0 6px #f8f8f8}}@-moz-keyframes loader-pulsate{from{border-color:#aaa;-moz-box-shadow:0 0 6px #ccc;box-shadow:0 0 6px #ccc}to{border-color:#ccc;-moz-box-shadow:0 0 6px #f8f8f8;box-shadow:0 0 6px #f8f8f8}}#buddypress a.loading:hover,#buddypress input.loading:hover{color:#777}#buddypress a.disabled,#buddypress button.disabled,#buddypress button.pending,#buddypress div.pending a,#buddypress input[type=button].disabled,#buddypress input[type=button].pending,#buddypress input[type=reset].disabled,#buddypress input[type=reset].pending,#buddypress input[type=submit].disabled,#buddypress input[type=submit].pending,#buddypress input[type=submit][disabled=disabled]{border-color:#eee;color:#bbb;cursor:default}#buddypress a.disabled:hover,#buddypress button.disabled:hover,#buddypress button.pending:hover,#buddypress div.pending a:hover,#buddypress input[type=button]:hover.disabled,#buddypress input[type=button]:hover.pending,#buddypress input[type=reset]:hover.disabled,#buddypress input[type=reset]:hover.pending,#buddypress input[type=submit]:hover.disabled,#buddypress input[type=submit]:hover.pending{border-color:#eee;color:#bbb}#buddypress ul#topic-post-list{margin:0;width:auto}#buddypress ul#topic-post-list li{padding:15px;position:relative}#buddypress ul#topic-post-list li.alt{background:#f5f5f5}#buddypress ul#topic-post-list li div.poster-meta{color:#888;margin-bottom:10px}#buddypress ul#topic-post-list li div.post-content{margin-right:54px}#buddypress div.topic-tags{font-size:80%}#buddypress div.admin-links{color:#888;font-size:80%;position:absolute;top:15px;left:25px}#buddypress div#topic-meta{margin:0;padding:5px 19px 30px;position:relative}#buddypress div#topic-meta div.admin-links{left:19px;top:-36px}#buddypress div#topic-meta h3{margin:5px 0}#buddypress div#new-topic-post{display:none;margin:20px 0 0;padding:1px 0 0}#buddypress table.forum,#buddypress table.messages-notices,#buddypress table.notifications,#buddypress table.notifications-settings,#buddypress table.profile-fields,#buddypress table.profile-settings,#buddypress table.wp-profile-fields{width:100%}#buddypress table.forum thead tr,#buddypress table.messages-notices thead tr,#buddypress table.notifications thead tr,#buddypress table.notifications-settings thead tr,#buddypress table.profile-fields thead tr,#buddypress table.profile-settings thead tr,#buddypress table.wp-profile-fields thead tr{background:#eaeaea}#buddypress table#message-threads{clear:both}#buddypress table.profile-fields{margin-bottom:20px}#buddypress table.profile-fields:last-child{margin-bottom:0}#buddypress table.profile-fields p{margin:0}#buddypress table.profile-fields p:last-child{margin-top:0}#buddypress table.forum tr td,#buddypress table.forum tr th,#buddypress table.messages-notices tr td,#buddypress table.messages-notices tr th,#buddypress table.notifications tr td,#buddypress table.notifications tr th,#buddypress table.notifications-settings tr td,#buddypress table.notifications-settings tr th,#buddypress table.profile-fields tr td,#buddypress table.profile-fields tr th,#buddypress table.profile-settings tr td,#buddypress table.wp-profile-fields tr td,#buddypress table.wp-profile-fields tr th{padding:8px;vertical-align:middle}#buddypress table.forum tr td.label,#buddypress table.messages-notices tr td.label,#buddypress table.notifications tr td.label,#buddypress table.notifications-settings tr td.label,#buddypress table.profile-fields tr td.label,#buddypress table.wp-profile-fields tr td.label{border-left:1px solid #eaeaea;font-weight:700;width:25%}#buddypress #message-threads .thread-info{min-width:40%}#buddypress table tr td.thread-info p{margin:0}#buddypress table tr td.thread-info p.thread-excerpt{color:#888;font-size:80%;margin-top:3px}#buddypress table.forum td{text-align:center}#buddypress table.forum tr.alt td,#buddypress table.messages-notices tr.alt td,#buddypress table.notifications tr.alt td,#buddypress table.notifications-settings tr.alt td,#buddypress table.profile-fields tr.alt td,#buddypress table.profile-settings tr.alt td,#buddypress table.wp-profile-fields tr.alt td{background:#f5f5f5}#buddypress table.notification-settings{margin-bottom:20px;text-align:right}#buddypress #groups-notification-settings{margin-bottom:0}#buddypress table.notification-settings td:first-child,#buddypress table.notification-settings th.icon,#buddypress table.notifications td:first-child,#buddypress table.notifications th.icon{display:none}#buddypress table.notification-settings th.title,#buddypress table.profile-settings th.title{width:80%}#buddypress table.notification-settings .no,#buddypress table.notification-settings .yes{text-align:center;width:40px}#buddypress table.forum{margin:0;width:auto;clear:both}#buddypress table.forum tr.sticky td{font-size:110%;background:#fff9db;border-top:1px solid #ffe8c4;border-bottom:1px solid #ffe8c4}#buddypress table.forum tr.closed td.td-title{padding-right:35px}#buddypress table.forum td p.topic-text{color:#888;font-size:100%}#buddypress table.forum tr>td:first-child,#buddypress table.forum tr>th:first-child{padding-right:15px}#buddypress table.forum tr>td:last-child,#buddypress table.forum tr>th:last-child{padding-left:15px}#buddypress table.forum td.td-group,#buddypress table.forum td.td-poster,#buddypress table.forum td.td-title,#buddypress table.forum tr th#th-group,#buddypress table.forum tr th#th-poster,#buddypress table.forum tr th#th-title{text-align:right}#buddypress table.forum tr td.td-title a.topic-title{font-size:110%}#buddypress table.forum td.td-freshness{white-space:nowrap}#buddypress table.forum td.td-freshness span.time-since{font-size:80%;color:#888}#buddypress table.forum td img.avatar{float:none;margin:0 0 -8px 5px}#buddypress table.forum td.td-group,#buddypress table.forum td.td-poster{min-width:140px}#buddypress table.forum th#th-title{width:80%}#buddypress table.forum th#th-freshness{width:25%}#buddypress table.forum th#th-postcount{width:15%}#buddypress table.forum p.topic-meta{font-size:80%;margin:5px 0 0}#buddypress .item-body{margin:20px 0}#buddypress span.activity{display:inline-block;font-size:small;opacity:.8;padding:0}#buddypress span.user-nicename{color:#777;display:inline-block;font-size:120%;font-weight:700}#buddypress div#message p,#sitewide-notice p{font-weight:400;margin-top:3px;text-decoration:none;background-color:#ffd;border:1px solid #cb2;color:#440}#buddypress div#item-header{overflow:hidden}#buddypress div#item-header div#item-header-content{float:right;margin-right:0}#buddypress div#item-header h2{line-height:120%;margin:0 0 15px}#buddypress div#item-header h2 a{color:#777;text-decoration:none}#buddypress div#item-header img.avatar{float:right;margin:0 0 19px 15px}#buddypress div#item-header h2{margin-bottom:5px}#buddypress div#item-header h2 span.highlight{font-size:60%;font-weight:400;line-height:170%;vertical-align:middle;display:inline-block}#buddypress div#item-header h2 span.highlight span{background:#a1dcfa;color:#fff;cursor:pointer;font-weight:700;font-size:80%;margin-bottom:2px;padding:1px 4px;position:relative;left:-2px;top:-2px;vertical-align:middle}#buddypress div#item-header div#item-meta{font-size:80%;color:#aaa;overflow:hidden;margin:15px 0 5px;padding-bottom:10px}#buddypress div#item-header div#item-actions{float:left;margin:0 15px 15px 0;text-align:left;width:20%}#buddypress div#item-header div#item-actions h3{margin:0 0 5px}#buddypress div#item-header ul{margin-bottom:15px;overflow:hidden}#buddypress div#item-header ul h5,#buddypress div#item-header ul hr,#buddypress div#item-header ul span{display:none}#buddypress div#item-header ul li{float:left;list-style:none}#buddypress div#item-header ul img.avatar,#buddypress div#item-header ul.avatars img.avatar{height:30px;margin:2px;width:30px}#buddypress div#item-header a.button,#buddypress div#item-header div.generic-button{float:right;margin:10px 0 0 10px}#buddypress div#item-header div#message.info{line-height:80%}#buddypress ul.item-list{border-top:1px solid #eaeaea;width:100%;list-style:none;clear:both;margin:0;padding:0}body.activity-permalink #buddypress ul.item-list,body.activity-permalink #buddypress ul.item-list li.activity-item{border:none}#buddypress ul.item-list li{border-bottom:1px solid #eaeaea;padding:15px 0;margin:0;position:relative;list-style:none}#buddypress ul.single-line li{border:none}#buddypress ul.item-list li img.avatar{float:right;margin:0 0 0 10px}#buddypress ul.item-list li div.item-title,#buddypress ul.item-list li h4{font-weight:400;font-size:90%;margin:0;width:75%}#buddypress ul.item-list li div.item-title span{color:#999;font-size:80%}#buddypress ul.item-list li div.item-desc{color:#888;font-size:80%;margin:10px 60px 0 0;width:50%}#buddypress ul.item-list li div.action{position:absolute;top:15px;left:0;text-align:left}#buddypress ul.item-list li div.meta{color:#888;font-size:80%;margin-top:10px}#buddypress ul.item-list li h5 span.small{float:left;font-size:80%;font-weight:400}#buddypress div.item-list-tabs{background:0 0;clear:right;overflow:hidden}#buddypress div.item-list-tabs ul{margin:0;padding:0}#buddypress div.item-list-tabs ul li{float:right;margin:0;list-style:none}#buddypress div.item-list-tabs#subnav ul li{margin-top:0}#buddypress div.item-list-tabs ul li.last{float:left;margin:7px 0 0}#buddypress div.item-list-tabs#subnav ul li.last{margin-top:4px}#buddypress div.item-list-tabs ul li.last select{max-width:185px}#buddypress div.item-list-tabs ul li a,#buddypress div.item-list-tabs ul li span{display:block;padding:5px 10px;text-decoration:none}#buddypress div.item-list-tabs ul li a span{background:#eee;border-radius:50%;border:1px solid #ccc;color:#999;display:inline;font-size:70%;margin-right:2px;padding:3px 6px;text-align:center;vertical-align:middle}#buddypress div.item-list-tabs ul li.current a,#buddypress div.item-list-tabs ul li.selected a{background-color:#eee;color:#555;opacity:.8;font-weight:700}#buddypress div.item-list-tabs ul li a:hover span,#buddypress div.item-list-tabs ul li.current a span,#buddypress div.item-list-tabs ul li.selected a span{background-color:#eee}#buddypress div.item-list-tabs ul li.current a span,#buddypress div.item-list-tabs ul li.selected a span{background-color:#fff}#buddypress div#item-nav ul li.loading a{background-position:12% 50%}#buddypress div.item-list-tabs#object-nav{margin-top:0}#buddypress div.item-list-tabs#subnav{background:0 0;margin:10px 0;overflow:hidden}#buddypress #admins-list li,#buddypress #members-list li,#buddypress #mods-list li{overflow:auto;list-style:none}#buddypress table#message-threads tr.unread td{background:#fff9db;border-top:1px solid #ffe8c4;border-bottom:1px solid #ffe8c4;font-weight:700}#buddypress table#message-threads tr.unread td .activity,#buddypress table#message-threads tr.unread td .thread-excerpt,#buddypress table#message-threads tr.unread td.thread-options{font-weight:400}#buddypress li span.unread-count,#buddypress tr.unread span.unread-count{background:#d00;color:#fff;font-weight:700;padding:2px 8px}#buddypress div.item-list-tabs ul li a span.unread-count{padding:1px 6px;color:#fff}#buddypress div#message-thread div.message-box{margin:0;padding:15px}#buddypress div#message-thread div.alt{background:#f4f4f4}#buddypress div#message-thread p#message-recipients{margin:10px 0 20px}#buddypress div#message-thread img.avatar{float:right;margin:0 0 0 10px;vertical-align:middle}#buddypress div#message-thread strong{font-size:100%;margin:0}#buddypress div#message-thread strong a{text-decoration:none}#buddypress div#message-thread strong span.activity{margin-top:4px}#buddypress div#message-thread div.message-metadata{overflow:hidden}#buddypress div#message-thread div.message-content{margin-right:45px}#buddypress div#message-thread div.message-options{text-align:left}#buddypress #message-threads img.avatar{max-width:none}#buddypress div.message-search{float:left;margin:0 20px}#buddypress div.profile h4{margin-bottom:auto;margin-top:15px}#buddypress #profile-edit-form ul.button-nav{margin-top:15px}body.no-js #buddypress .field-visibility-settings-close,body.no-js #buddypress .field-visibility-settings-toggle{display:none}#buddypress .field-visibility-settings{display:none;margin-top:10px}body.no-js #buddypress .field-visibility-settings{display:block}#buddypress .current-visibility-level{font-weight:700;font-style:normal}#buddypress .field-visibility-settings,#buddypress .field-visibility-settings-notoggle,#buddypress .field-visibility-settings-toggle{color:#888}#buddypress .field-visibility-settings a,#buddypress .field-visibility-settings-toggle a{font-size:80%}body.register #buddypress div.page ul{list-style:none}#buddypress .standard-form .field-visibility-settings label{margin:0;font-weight:400}#buddypress .field-visibility-settings legend,#buddypress .field-visibility-settings-toggle{font-style:italic}#buddypress .field-visibility-settings .radio{list-style:none;margin-bottom:0}#buddypress .field-visibility select{margin:0}.widget.buddypress div.item-avatar img.avatar{float:right;margin:0 0 15px 10px}.widget.buddypress span.activity{display:inline-block;font-size:small;opacity:.8;padding:0}.widget.buddypress div.item-options{font-size:90%;margin:0 0 1em;padding:1em 0}.widget.buddypress div.item{margin:0 0 1em}.widget.buddypress div.item-content,.widget.buddypress div.item-meta{font-size:11px;margin-right:50px}.widget.buddypress ul.item-list img.avatar{height:40px;margin-left:10px;width:40px}.widget.buddypress div.item-avatar img{height:40px;margin:1px;width:40px}.widget.buddypress div.avatar-block{overflow:hidden}.widget.buddypress #bp-login-widget-form label{display:block;margin:1rem 0 .5rem}.widget.buddypress #bp-login-widget-form #bp-login-widget-submit{margin-left:10px}.widget.buddypress .bp-login-widget-user-avatar{float:right;width:40px}.widget.buddypress .bp-login-widget-user-links>div{padding-right:60px;margin-bottom:.5rem}.widget.buddypress .bp-login-widget-user-links>div.bp-login-widget-user-link a{font-weight:700}.widget.buddypress #friends-list,.widget.buddypress #groups-list,.widget.buddypress #members-list{margin-right:0;padding-right:0}.widget.buddypress #friends-list li,.widget.buddypress #groups-list li,.widget.buddypress #members-list li{list-style-type:none}@media only screen and (max-width:480px){#buddypress div.dir-search{float:left;margin-top:-50px;text-align:left}#buddypress div.dir-search input[type=text]{margin-bottom:1em;width:50%}a.bp-title-button{margin-right:10px}#buddypress form.standard-form .main-column div.action{position:relative;margin-bottom:1em}#buddypress form.standard-form .main-column ul#friend-list h4{width:100%}}@media only screen and (max-width:320px){#buddypress div.dir-search{clear:right;float:right;margin-top:0;text-align:right}#buddypress li#groups-order-select{clear:right;float:right}#buddypress ul.item-list li div.action{clear:right;float:right;margin-top:0;margin-right:70px;position:relative;top:0;left:0;text-align:right}#buddypress ul.item-list li div.item-desc{clear:right;float:right;margin:10px 0 0;width:auto}#buddypress li div.item{margin-right:70px;width:auto}#buddypress ul.item-list li div.meta{margin-top:0}#buddypress .item-desc p{margin:0 0 10px}#buddypress div.pagination .pag-count{margin-right:0}}@media only screen and (max-width:240px){#buddypress div.dir-search{float:right;margin:0}#buddypress div.dir-search input[type=text]{width:50%}#buddypress li#groups-order-select{float:right}#buddypress ul.item-list li img.avatar{width:30px;height:auto}#buddypress li div.item,#buddypress ul.item-list li div.action{margin-right:45px}h1 a.bp-title-button{clear:right;float:right;margin:10px 0 20px}}
1
+ /*! buddypress - v2.1.0 - 2015-01-22 9:58:52 PM UTC - https://wordpress.org/plugins/buddypress/ */
2
+ #buddypress div.pagination{background:0 0;border:none;color:#888;font-size:small;margin:0;position:relative;display:block;float:right;width:100%;padding:10px 0}#buddypress div.pagination .pag-count{float:right;margin-right:10px}#buddypress div.pagination .pagination-links{float:left;margin-left:10px}#buddypress div.pagination .pagination-links a,#buddypress div.pagination .pagination-links span{font-size:90%;padding:0 5px}#buddypress div.pagination .pagination-links a:hover{font-weight:700}#buddypress noscript div.pagination{margin-bottom:15px}#buddypress #nav-above{display:none}#buddypress .paged #nav-above{display:block}#buddypress img.wp-smiley{border:none!important;clear:none!important;float:none!important;margin:0!important;padding:0!important}#buddypress .clear{clear:right}#buddypress #activity-stream{margin-top:-5px}#buddypress #activity-stream p{margin:5px 0}#buddypress #item-body form#whats-new-form{margin:0;padding:0}#buddypress .home-page form#whats-new-form{border-bottom:none;padding-bottom:0}#buddypress form#whats-new-form #whats-new-avatar{float:right}#buddypress form#whats-new-form #whats-new-content{margin-right:55px;padding:0 20px 20px 0}#buddypress form#whats-new-form p.activity-greeting{line-height:.5em;margin-bottom:15px;margin-right:75px}#buddypress form#whats-new-form textarea{background:#fff;color:#555;font-family:inherit;font-size:medium;height:20px;padding:6px;width:98%}body.no-js #buddypress form#whats-new-form textarea{height:50px}#buddypress form#whats-new-form #whats-new-options select{max-width:200px;margin-top:12px}#buddypress form#whats-new-form #whats-new-submit{float:left;margin-top:12px}#buddypress #whats-new-options{overflow:auto;height:0}body.no-js #buddypress #whats-new-options{height:auto}#buddypress #whats-new:focus{border-color:rgba(31,179,221,.9)!important;outline-color:rgba(31,179,221,.9)}#buddypress ul.activity-list li{overflow:hidden;padding:15px 0 0;list-style:none}#buddypress .activity-list .activity-avatar{float:right}#buddypress ul.item-list.activity-list li.has-comments{padding-bottom:15px}body.activity-permalink #buddypress ul.activity-list li.has-comments{padding-bottom:0}#buddypress .activity-list li.mini{font-size:80%;position:relative}#buddypress .activity-list li.mini .activity-avatar img.FB_profile_pic,#buddypress .activity-list li.mini .activity-avatar img.avatar{height:20px;margin-right:30px;width:20px}#buddypress .activity-permalink .activity-list li.mini .activity-avatar img.FB_profile_pic,#buddypress .activity-permalink .activity-list li.mini .activity-avatar img.avatar{height:auto;margin-right:0;width:auto}body.activity-permalink #buddypress .activity-list>li:first-child{padding-top:0}#buddypress .activity-list li .activity-content{position:relative}#buddypress .activity-list li.mini .activity-content p{margin:0}#buddypress .activity-list li.mini .activity-comments{clear:both;font-size:120%}body.activity-permalink #buddypress li.mini .activity-meta{margin-top:4px}#buddypress .activity-list li .activity-inreplyto{color:#888;font-size:80%}#buddypress .activity-list li .activity-inreplyto>p{margin:0;display:inline}#buddypress .activity-list li .activity-inreplyto blockquote,#buddypress .activity-list li .activity-inreplyto div.activity-inner{background:0 0;border:none;display:inline;margin:0;overflow:hidden;padding:0}#buddypress .activity-list .activity-content{margin:0 70px 0 0}body.activity-permalink #buddypress .activity-list li .activity-content{border:none;font-size:100%;line-height:150%;margin-right:170px;margin-left:0;padding:0}body.activity-permalink #buddypress .activity-list li .activity-header>p{margin:0;padding:5px 0 0}#buddypress .activity-list .activity-content .activity-header,#buddypress .activity-list .activity-content .comment-header{color:#888;line-height:220%}#buddypress .activity-header{margin-left:20px}#buddypress .acomment-meta a,#buddypress .activity-header a,#buddypress .comment-meta a{text-decoration:none}#buddypress .activity-list .activity-content .activity-header img.avatar{float:none!important;margin:0 0 -8px 5px!important}#buddypress a.bp-secondary-action,#buddypress span.highlight{font-size:80%;padding:0;margin-left:5px;text-decoration:none}#buddypress .activity-list .activity-content .activity-inner,#buddypress .activity-list .activity-content blockquote{margin:10px 0 5px 10px;overflow:hidden}#buddypress .activity-list li.new_forum_post .activity-content .activity-inner,#buddypress .activity-list li.new_forum_topic .activity-content .activity-inner{border-right:2px solid #EAEAEA;margin-right:5px;padding-right:10px}body.activity-permalink #buddypress .activity-content .activity-inner,body.activity-permalink #buddypress .activity-content blockquote{margin-right:0;margin-top:5px}#buddypress .activity-inner>p{word-wrap:break-word}#buddypress .activity-inner>.activity-inner,#buddypress .activity-inner>blockquote{margin:0}#buddypress .activity-list .activity-content img.thumbnail{border:2px solid #eee;float:right;margin:0 0 5px 10px}#buddypress .activity-read-more{margin-right:1em;white-space:nowrap}#buddypress .activity-list li.load-more,#buddypress .activity-list li.load-newest{background:#f0f0f0;font-size:110%;margin:15px 0;padding:10px 15px;text-align:center}#buddypress .activity-list li.load-more a,#buddypress .activity-list li.load-newest a{color:#4D4D4D}#buddypress div.activity-meta{margin:18px 0 0}body.activity-permalink #buddypress div.activity-meta{margin-bottom:6px}#buddypress div.activity-meta a{padding:4px 8px}#buddypress a.activity-time-since{color:#aaa;text-decoration:none}#buddypress a.activity-time-since:hover{color:#888;text-decoration:underline}#buddypress #reply-title small a,#buddypress a.bp-primary-action{font-size:80%;margin-left:5px;text-decoration:none}#buddypress #reply-title small a span,#buddypress a.bp-primary-action span{background:#999;color:#fff;font-size:90%;margin-right:2px;padding:0 5px}#buddypress #reply-title small a:hover span,#buddypress a.bp-primary-action:hover span{background:#555;color:#fff}#buddypress div.activity-comments{margin:0 70px 0 0;overflow:hidden;position:relative;width:auto;clear:both}body.activity-permalink #buddypress div.activity-comments{background:0 0;margin-right:170px;width:auto}#buddypress div.activity-comments>ul{padding:0 10px 0 0}#buddypress div.activity-comments ul,#buddypress div.activity-comments ul li{border:none;list-style:none}#buddypress div.activity-comments ul{clear:both;margin:0}#buddypress div.activity-comments ul li{border-top:1px solid #eee;padding:10px 0 0}body.activity-permalink #buddypress .activity-list li.mini .activity-comments{clear:none;margin-top:0}body.activity-permalink #buddypress div.activity-comments ul li{border-width:1px;padding:10px 0 0}#buddypress div.activity-comments>ul>li:first-child{border-top:none}#buddypress div.activity-comments ul li:last-child{margin-bottom:0}#buddypress div.activity-comments ul li>ul{margin-right:30px;margin-top:0;padding-right:10px}body.activity-permalink #buddypress div.activity-comments ul li>ul{margin-top:10px}body.activity-permalink #buddypress div.activity-comments>ul{padding:0 15px 0 10px}#buddypress div.activity-comments div.acomment-avatar img{border-width:1px;float:right;height:25px;margin-left:10px;width:25px}#buddypress div.activity-comments div.acomment-content{font-size:80%;margin:5px 40px 0 0}#buddypress div.acomment-content .activity-delete-link,#buddypress div.acomment-content .comment-header,#buddypress div.acomment-content .time-since{display:none}body.activity-permalink #buddypress div.activity-comments div.acomment-content{font-size:90%}#buddypress div.activity-comments div.acomment-meta{color:#888;font-size:80%}#buddypress div.activity-comments form.ac-form{display:none;padding:10px}#buddypress div.activity-comments li form.ac-form{margin-left:15px;clear:both}#buddypress div.activity-comments form.root{margin-right:0}#buddypress div.activity-comments div#message{margin-top:15px;margin-bottom:0}#buddypress div.activity-comments form .ac-textarea{background:#fff;border:1px inset #ccc;margin-bottom:10px;padding:8px}#buddypress div.activity-comments form textarea{border:none;background:0 0;box-shadow:none;outline:0;color:#555;font-family:inherit;font-size:100%;height:60px;padding:0;margin:0;width:100%}#buddypress div.activity-comments form input{margin-top:5px}#buddypress div.activity-comments form div.ac-reply-avatar{float:right}#buddypress div.ac-reply-avatar img{border:1px solid #eee}#buddypress div.activity-comments form div.ac-reply-content{color:#888;margin-right:50px;padding-right:15px}#buddypress div.activity-comments form div.ac-reply-content a{text-decoration:none}#buddypress .acomment-options{float:right;margin:5px 40px 5px 0}#buddypress .acomment-options a{color:#999}#buddypress .acomment-options a:hover{color:inherit}#buddypress div.dir-search{float:left;margin:-39px 0 0}#buddypress div.dir-search input[type=text],#buddypress li.groups-members-search input[type=text]{font-size:90%;padding:1px 3px}#buddypress .dir-form{clear:both}#buddypress div#message{margin:0 0 15px}#buddypress #message.info{margin-bottom:0}#buddypress div#message.updated{clear:both;display:block}#buddypress div#message p,#sitewide-notice p{font-size:90%;display:block;padding:10px 15px}#buddypress div#message.error p{background-color:#fdc;border:1px solid #a00;clear:right;color:#800}#buddypress div#message.updated p{background-color:#efc;border:1px solid #591;color:#250}#buddypress #pass-strength-result{background-color:#eee;border-color:#ddd;border-style:solid;border-width:1px;display:none;margin:5px 0 5px 5px;padding:5px;text-align:center;width:150px}#buddypress .standard-form #basic-details-section #pass-strength-result{width:35%}#buddypress #pass-strength-result.bad,#buddypress #pass-strength-result.error{background-color:#ffb78c;border-color:#ff853c!important;display:block}#buddypress #pass-strength-result.good{background-color:#ffec8b;border-color:#fc0!important;display:block}#buddypress #pass-strength-result.short{background-color:#ffa0a0;border-color:#f04040!important;display:block}#buddypress #pass-strength-result.strong{background-color:#c3ff88;border-color:#8dff1c!important;display:block}#buddypress .standard-form#signup_form div div.error{background:#faa;color:#a00;margin:0 0 10px;padding:6px;width:90%}#buddypress div.accept,#buddypress div.reject{float:right;margin-right:10px}#buddypress ul.button-nav li{float:right;margin:0 0 10px 10px;list-style:none}#buddypress ul.button-nav li.current a{font-weight:700}#sitewide-notice #message{right:2%;position:fixed;top:1em;width:96%;z-index:9999}#sitewide-notice.admin-bar-on #message{top:3.3em}#sitewide-notice strong{display:block;margin-bottom:-1em}#buddypress .dir-search input[type=search],#buddypress .dir-search input[type=text],#buddypress .groups-members-search input[type=search],#buddypress .groups-members-search input[type=text],#buddypress .standard-form input[type=color],#buddypress .standard-form input[type=date],#buddypress .standard-form input[type=datetime-local],#buddypress .standard-form input[type=datetime],#buddypress .standard-form input[type=email],#buddypress .standard-form input[type=month],#buddypress .standard-form input[type=number],#buddypress .standard-form input[type=password],#buddypress .standard-form input[type=range],#buddypress .standard-form input[type=search],#buddypress .standard-form input[type=tel],#buddypress .standard-form input[type=text],#buddypress .standard-form input[type=time],#buddypress .standard-form input[type=url],#buddypress .standard-form input[type=week],#buddypress .standard-form select,#buddypress .standard-form textarea{border:1px solid #ccc;background:#fafafa;border-radius:0;color:#888;font:inherit;font-size:100%;padding:6px}#buddypress .standard-form select{padding:3px}#buddypress .standard-form input[type=password]{margin-bottom:5px}#buddypress .standard-form label,#buddypress .standard-form span.label{display:block;font-weight:700;margin:15px 0 5px;width:auto}#buddypress .standard-form div.checkbox label:nth-child(n+2),#buddypress .standard-form div.radio div label{color:#888;font-size:100%;font-weight:400;margin:5px 0 0}#buddypress .standard-form#sidebar-login-form label{margin-top:5px}#buddypress .standard-form input[type=text]{width:75%}#buddypress .standard-form#sidebar-login-form input[type=password],#buddypress .standard-form#sidebar-login-form input[type=text]{padding:4px;width:95%}#buddypress .standard-form #basic-details-section input[type=password],#buddypress .standard-form #blog-details-section input#signup_blog_url{width:35%}#buddypress #commentform input[type=text],#buddypress #commentform textarea,#buddypress .form-allowed-tags,#buddypress .standard-form#signup_form input[type=text],#buddypress .standard-form#signup_form textarea{width:90%}#buddypress .standard-form#signup_form div.submit{float:left}#buddypress div#signup-avatar img{margin:0 0 10px 15px}#buddypress .standard-form textarea{width:75%;height:120px}#buddypress .standard-form textarea#message_content{height:200px}#buddypress .standard-form#send-reply textarea{width:97.5%}#buddypress .standard-form p.description{color:#888;font-size:80%;margin:5px 0}#buddypress .standard-form div.submit{clear:both;padding:15px 0 0}#buddypress .standard-form p.submit{margin-bottom:0;padding:15px 0 0}#buddypress .standard-form div.submit input{margin-left:15px}#buddypress .standard-form div.radio ul{margin:10px 38px 15px 0;list-style:disc}#buddypress .standard-form div.radio ul li{margin-bottom:5px}#buddypress .standard-form a.clear-value{display:block;margin-top:5px;outline:0}#buddypress .standard-form #basic-details-section,#buddypress .standard-form #blog-details-section,#buddypress .standard-form #profile-details-section{float:right;width:48%}#buddypress .standard-form #profile-details-section{float:left}#buddypress #notifications-bulk-management,#buddypress .standard-form #blog-details-section{clear:right}body.no-js #buddypress #delete_inbox_messages,body.no-js #buddypress #delete_sentbox_messages,body.no-js #buddypress #message-type-select,body.no-js #buddypress #messages-bulk-management #select-all-messages,body.no-js #buddypress #notifications-bulk-management #select-all-notifications,body.no-js #buddypress label[for=message-type-select]{display:none}#buddypress .standard-form input:focus,#buddypress .standard-form select:focus,#buddypress .standard-form textarea:focus{background:#fafafa;color:#555}#buddypress form#send-invite-form{margin-top:20px}#buddypress div#invite-list{background:#f5f5f5;height:400px;margin:0 0 10px;overflow:auto;padding:5px;width:160px}#buddypress .comment-reply-link,#buddypress a.button,#buddypress button,#buddypress div.generic-button a,#buddypress input[type=button],#buddypress input[type=reset],#buddypress input[type=submit],#buddypress ul.button-nav li a,a.bp-title-button{background:#fff;border:1px solid #ccc;color:#777;font-size:small;cursor:pointer;outline:0;padding:4px 10px;text-align:center;text-decoration:none}#buddypress .comment-reply-link:hover,#buddypress a.button:focus,#buddypress a.button:hover,#buddypress button:hover,#buddypress div.generic-button a:hover,#buddypress input[type=button]:hover,#buddypress input[type=reset]:hover,#buddypress input[type=submit]:hover,#buddypress ul.button-nav li a:hover,#buddypress ul.button-nav li.current a{background:#ededed;border:1px solid #bbb;color:#555;outline:0;text-decoration:none}#buddypress form.standard-form .left-menu{float:right}#buddypress form.standard-form .left-menu #invite-list ul{margin:1%;list-style:none}#buddypress form.standard-form .left-menu #invite-list ul li{margin:0 1% 0 0}#buddypress form.standard-form .main-column{margin-right:190px}#buddypress form.standard-form .main-column ul#friend-list{clear:none;float:right}#buddypress form.standard-form .main-column ul#friend-list h4{clear:none}#buddypress .wp-editor-wrap a.button,#buddypress .wp-editor-wrap button,#buddypress .wp-editor-wrap input[type=button],#buddypress .wp-editor-wrap input[type=reset],#buddypress .wp-editor-wrap input[type=submit]{padding:0 10px 1px}#buddypress form [disabled=disabled]{cursor:default;opacity:.4}.bp-screen-reader-text{clip:rect(1px,1px,1px,1px);position:absolute}#buddypress a.loading,#buddypress input.loading{-webkit-animation:loader-pulsate .5s infinite ease-in-out alternate;-moz-animation:loader-pulsate .5s infinite ease-in-out alternate;border-color:#aaa}@-webkit-keyframes loader-pulsate{from{border-color:#aaa;-webkit-box-shadow:0 0 6px #ccc;box-shadow:0 0 6px #ccc}to{border-color:#ccc;-webkit-box-shadow:0 0 6px #f8f8f8;box-shadow:0 0 6px #f8f8f8}}@-moz-keyframes loader-pulsate{from{border-color:#aaa;-moz-box-shadow:0 0 6px #ccc;box-shadow:0 0 6px #ccc}to{border-color:#ccc;-moz-box-shadow:0 0 6px #f8f8f8;box-shadow:0 0 6px #f8f8f8}}#buddypress a.loading:hover,#buddypress input.loading:hover{color:#777}#buddypress a.disabled,#buddypress button.disabled,#buddypress button.pending,#buddypress div.pending a,#buddypress input[type=button].disabled,#buddypress input[type=button].pending,#buddypress input[type=reset].disabled,#buddypress input[type=reset].pending,#buddypress input[type=submit].disabled,#buddypress input[type=submit].pending,#buddypress input[type=submit][disabled=disabled]{border-color:#eee;color:#bbb;cursor:default}#buddypress a.disabled:hover,#buddypress button.disabled:hover,#buddypress button.pending:hover,#buddypress div.pending a:hover,#buddypress input[type=button]:hover.disabled,#buddypress input[type=button]:hover.pending,#buddypress input[type=reset]:hover.disabled,#buddypress input[type=reset]:hover.pending,#buddypress input[type=submit]:hover.disabled,#buddypress input[type=submit]:hover.pending{border-color:#eee;color:#bbb}#buddypress ul#topic-post-list{margin:0;width:auto}#buddypress ul#topic-post-list li{padding:15px;position:relative}#buddypress ul#topic-post-list li.alt{background:#f5f5f5}#buddypress ul#topic-post-list li div.poster-meta{color:#888;margin-bottom:10px}#buddypress ul#topic-post-list li div.post-content{margin-right:54px}#buddypress div.topic-tags{font-size:80%}#buddypress div.admin-links{color:#888;font-size:80%;position:absolute;top:15px;left:25px}#buddypress div#topic-meta{margin:0;padding:5px 19px 30px;position:relative}#buddypress div#topic-meta div.admin-links{left:19px;top:-36px}#buddypress div#topic-meta h3{margin:5px 0}#buddypress div#new-topic-post{display:none;margin:20px 0 0;padding:1px 0 0}#buddypress table.forum,#buddypress table.messages-notices,#buddypress table.notifications,#buddypress table.notifications-settings,#buddypress table.profile-fields,#buddypress table.profile-settings,#buddypress table.wp-profile-fields{width:100%}#buddypress table.forum thead tr,#buddypress table.messages-notices thead tr,#buddypress table.notifications thead tr,#buddypress table.notifications-settings thead tr,#buddypress table.profile-fields thead tr,#buddypress table.profile-settings thead tr,#buddypress table.wp-profile-fields thead tr{background:#eaeaea}#buddypress table#message-threads{clear:both}#buddypress table.profile-fields{margin-bottom:20px}#buddypress table.profile-fields:last-child{margin-bottom:0}#buddypress table.profile-fields p{margin:0}#buddypress table.profile-fields p:last-child{margin-top:0}#buddypress table.forum tr td,#buddypress table.forum tr th,#buddypress table.messages-notices tr td,#buddypress table.messages-notices tr th,#buddypress table.notifications tr td,#buddypress table.notifications tr th,#buddypress table.notifications-settings tr td,#buddypress table.notifications-settings tr th,#buddypress table.profile-fields tr td,#buddypress table.profile-fields tr th,#buddypress table.profile-settings tr td,#buddypress table.wp-profile-fields tr td,#buddypress table.wp-profile-fields tr th{padding:8px;vertical-align:middle}#buddypress table.forum tr td.label,#buddypress table.messages-notices tr td.label,#buddypress table.notifications tr td.label,#buddypress table.notifications-settings tr td.label,#buddypress table.profile-fields tr td.label,#buddypress table.wp-profile-fields tr td.label{border-left:1px solid #eaeaea;font-weight:700;width:25%}#buddypress #message-threads .thread-info{min-width:40%}#buddypress table tr td.thread-info p{margin:0}#buddypress table tr td.thread-info p.thread-excerpt{color:#888;font-size:80%;margin-top:3px}#buddypress table.forum td{text-align:center}#buddypress table.forum tr.alt td,#buddypress table.messages-notices tr.alt td,#buddypress table.notifications tr.alt td,#buddypress table.notifications-settings tr.alt td,#buddypress table.profile-fields tr.alt td,#buddypress table.profile-settings tr.alt td,#buddypress table.wp-profile-fields tr.alt td{background:#f5f5f5}#buddypress table.notification-settings{margin-bottom:20px;text-align:right}#buddypress #groups-notification-settings{margin-bottom:0}#buddypress table.notification-settings td:first-child,#buddypress table.notification-settings th.icon,#buddypress table.notifications td:first-child,#buddypress table.notifications th.icon{display:none}#buddypress table.notification-settings th.title,#buddypress table.profile-settings th.title{width:80%}#buddypress table.notification-settings .no,#buddypress table.notification-settings .yes{text-align:center;width:40px}#buddypress table.forum{margin:0;width:auto;clear:both}#buddypress table.forum tr.sticky td{font-size:110%;background:#fff9db;border-top:1px solid #ffe8c4;border-bottom:1px solid #ffe8c4}#buddypress table.forum tr.closed td.td-title{padding-right:35px}#buddypress table.forum td p.topic-text{color:#888;font-size:100%}#buddypress table.forum tr>td:first-child,#buddypress table.forum tr>th:first-child{padding-right:15px}#buddypress table.forum tr>td:last-child,#buddypress table.forum tr>th:last-child{padding-left:15px}#buddypress table.forum td.td-group,#buddypress table.forum td.td-poster,#buddypress table.forum td.td-title,#buddypress table.forum tr th#th-group,#buddypress table.forum tr th#th-poster,#buddypress table.forum tr th#th-title{text-align:right}#buddypress table.forum tr td.td-title a.topic-title{font-size:110%}#buddypress table.forum td.td-freshness{white-space:nowrap}#buddypress table.forum td.td-freshness span.time-since{font-size:80%;color:#888}#buddypress table.forum td img.avatar{float:none;margin:0 0 -8px 5px}#buddypress table.forum td.td-group,#buddypress table.forum td.td-poster{min-width:140px}#buddypress table.forum th#th-title{width:80%}#buddypress table.forum th#th-freshness{width:25%}#buddypress table.forum th#th-postcount{width:15%}#buddypress table.forum p.topic-meta{font-size:80%;margin:5px 0 0}#buddypress .item-body{margin:20px 0}#buddypress span.activity{display:inline-block;font-size:small;opacity:.8;padding:0}#buddypress span.user-nicename{color:#777;display:inline-block;font-size:120%;font-weight:700}#buddypress div#message p,#sitewide-notice p{font-weight:400;margin-top:3px;text-decoration:none;background-color:#ffd;border:1px solid #cb2;color:#440}#buddypress div#item-header{overflow:hidden}#buddypress div#item-header div#item-header-content{float:right;margin-right:0}#buddypress div#item-header h2{line-height:120%;margin:0 0 15px}#buddypress div#item-header h2 a{color:#777;text-decoration:none}#buddypress div#item-header img.avatar{float:right;margin:0 0 19px 15px}#buddypress div#item-header h2{margin-bottom:5px}#buddypress div#item-header h2 span.highlight{font-size:60%;font-weight:400;line-height:170%;vertical-align:middle;display:inline-block}#buddypress div#item-header h2 span.highlight span{background:#a1dcfa;color:#fff;cursor:pointer;font-weight:700;font-size:80%;margin-bottom:2px;padding:1px 4px;position:relative;left:-2px;top:-2px;vertical-align:middle}#buddypress div#item-header div#item-meta{font-size:80%;color:#aaa;overflow:hidden;margin:15px 0 5px;padding-bottom:10px}#buddypress div#item-header div#item-actions{float:left;margin:0 15px 15px 0;text-align:left;width:20%}#buddypress div#item-header div#item-actions h3{margin:0 0 5px}#buddypress div#item-header ul{margin-bottom:15px;overflow:hidden}#buddypress div#item-header ul h5,#buddypress div#item-header ul hr,#buddypress div#item-header ul span{display:none}#buddypress div#item-header ul li{float:left;list-style:none}#buddypress div#item-header ul img.avatar,#buddypress div#item-header ul.avatars img.avatar{height:30px;margin:2px;width:30px}#buddypress div#item-header a.button,#buddypress div#item-header div.generic-button{float:right;margin:10px 0 0 10px}#buddypress div#item-header div#message.info{line-height:80%}#buddypress ul.item-list{border-top:1px solid #eaeaea;width:100%;list-style:none;clear:both;margin:0;padding:0}body.activity-permalink #buddypress ul.item-list,body.activity-permalink #buddypress ul.item-list li.activity-item{border:none}#buddypress ul.item-list li{border-bottom:1px solid #eaeaea;padding:15px 0;margin:0;position:relative;list-style:none}#buddypress ul.single-line li{border:none}#buddypress ul.item-list li img.avatar{float:right;margin:0 0 0 10px}#buddypress ul.item-list li div.item-title,#buddypress ul.item-list li h4{font-weight:400;font-size:90%;margin:0;width:75%}#buddypress ul.item-list li div.item-title span{color:#999;font-size:80%}#buddypress ul.item-list li div.item-desc{color:#888;font-size:80%;margin:10px 60px 0 0;width:50%}#buddypress ul.item-list li div.action{position:absolute;top:15px;left:0;text-align:left}#buddypress ul.item-list li div.meta{color:#888;font-size:80%;margin-top:10px}#buddypress ul.item-list li h5 span.small{float:left;font-size:80%;font-weight:400}#buddypress div.item-list-tabs{background:0 0;clear:right;overflow:hidden}#buddypress div.item-list-tabs ul{margin:0;padding:0}#buddypress div.item-list-tabs ul li{float:right;margin:0;list-style:none}#buddypress div.item-list-tabs#subnav ul li{margin-top:0}#buddypress div.item-list-tabs ul li.last{float:left;margin:7px 0 0}#buddypress div.item-list-tabs#subnav ul li.last{margin-top:4px}#buddypress div.item-list-tabs ul li.last select{max-width:185px}#buddypress div.item-list-tabs ul li a,#buddypress div.item-list-tabs ul li span{display:block;padding:5px 10px;text-decoration:none}#buddypress div.item-list-tabs ul li a span{background:#eee;border-radius:50%;border:1px solid #ccc;color:#999;display:inline;font-size:70%;margin-right:2px;padding:3px 6px;text-align:center;vertical-align:middle}#buddypress div.item-list-tabs ul li.current a,#buddypress div.item-list-tabs ul li.selected a{background-color:#eee;color:#555;opacity:.8;font-weight:700}#buddypress div.item-list-tabs ul li a:hover span,#buddypress div.item-list-tabs ul li.current a span,#buddypress div.item-list-tabs ul li.selected a span{background-color:#eee}#buddypress div.item-list-tabs ul li.current a span,#buddypress div.item-list-tabs ul li.selected a span{background-color:#fff}#buddypress div#item-nav ul li.loading a{background-position:12% 50%}#buddypress div.item-list-tabs#object-nav{margin-top:0}#buddypress div.item-list-tabs#subnav{background:0 0;margin:10px 0;overflow:hidden}#buddypress #admins-list li,#buddypress #members-list li,#buddypress #mods-list li{overflow:auto;list-style:none}#buddypress table#message-threads tr.unread td{background:#fff9db;border-top:1px solid #ffe8c4;border-bottom:1px solid #ffe8c4;font-weight:700}#buddypress table#message-threads tr.unread td .activity,#buddypress table#message-threads tr.unread td .thread-excerpt,#buddypress table#message-threads tr.unread td.thread-options{font-weight:400}#buddypress li span.unread-count,#buddypress tr.unread span.unread-count{background:#d00;color:#fff;font-weight:700;padding:2px 8px}#buddypress div.item-list-tabs ul li a span.unread-count{padding:1px 6px;color:#fff}#buddypress div#message-thread div.message-box{margin:0;padding:15px}#buddypress div#message-thread div.alt{background:#f4f4f4}#buddypress div#message-thread p#message-recipients{margin:10px 0 20px}#buddypress div#message-thread img.avatar{float:right;margin:0 0 0 10px;vertical-align:middle}#buddypress div#message-thread strong{font-size:100%;margin:0}#buddypress div#message-thread strong a{text-decoration:none}#buddypress div#message-thread strong span.activity{margin-top:4px}#buddypress div#message-thread div.message-metadata{overflow:hidden}#buddypress div#message-thread div.message-content{margin-right:45px}#buddypress div#message-thread div.message-options{text-align:left}#buddypress #message-threads img.avatar{max-width:none}#buddypress div.message-search{float:left;margin:0 20px}#buddypress div.profile h4{margin-bottom:auto;margin-top:15px}#buddypress #profile-edit-form ul.button-nav{margin-top:15px}body.no-js #buddypress .field-visibility-settings-close,body.no-js #buddypress .field-visibility-settings-toggle{display:none}#buddypress .field-visibility-settings{display:none;margin-top:10px}body.no-js #buddypress .field-visibility-settings{display:block}#buddypress .current-visibility-level{font-weight:700;font-style:normal}#buddypress .field-visibility-settings,#buddypress .field-visibility-settings-notoggle,#buddypress .field-visibility-settings-toggle{color:#888}#buddypress .field-visibility-settings a,#buddypress .field-visibility-settings-toggle a{font-size:80%}body.register #buddypress div.page ul{list-style:none}#buddypress .standard-form .field-visibility-settings label{margin:0;font-weight:400}#buddypress .field-visibility-settings legend,#buddypress .field-visibility-settings-toggle{font-style:italic}#buddypress .field-visibility-settings .radio{list-style:none;margin-bottom:0}#buddypress .field-visibility select{margin:0}.widget.buddypress div.item-avatar img.avatar{float:right;margin:0 0 15px 10px}.widget.buddypress span.activity{display:inline-block;font-size:small;opacity:.8;padding:0}.widget.buddypress div.item-options{font-size:90%;margin:0 0 1em;padding:1em 0}.widget.buddypress div.item{margin:0 0 1em}.widget.buddypress div.item-content,.widget.buddypress div.item-meta{font-size:11px;margin-right:50px}.widget.buddypress ul.item-list img.avatar{height:40px;margin-left:10px;width:40px}.widget.buddypress div.item-avatar img{height:40px;margin:1px;width:40px}.widget.buddypress div.avatar-block{overflow:hidden}.widget.buddypress #bp-login-widget-form label{display:block;margin:1rem 0 .5rem}.widget.buddypress #bp-login-widget-form #bp-login-widget-submit{margin-left:10px}.widget.buddypress .bp-login-widget-user-avatar{float:right}.bp-login-widget-user-avatar img.avatar{height:40px;width:40px}.widget.buddypress .bp-login-widget-user-links>div{padding-right:60px;margin-bottom:.5rem}.widget.buddypress .bp-login-widget-user-links>div.bp-login-widget-user-link a{font-weight:700}.widget.buddypress #friends-list,.widget.buddypress #groups-list,.widget.buddypress #members-list{margin-right:0;padding-right:0}.widget.buddypress #friends-list li,.widget.buddypress #groups-list li,.widget.buddypress #members-list li{list-style-type:none}@media only screen and (max-width:480px){#buddypress div.dir-search{float:left;margin-top:-50px;text-align:left}#buddypress div.dir-search input[type=text]{margin-bottom:1em;width:50%}a.bp-title-button{margin-right:10px}#buddypress form.standard-form .main-column div.action{position:relative;margin-bottom:1em}#buddypress form.standard-form .main-column ul#friend-list h4{width:100%}}@media only screen and (max-width:320px){#buddypress div.dir-search{clear:right;float:right;margin-top:0;text-align:right}#buddypress li#groups-order-select{clear:right;float:right}#buddypress ul.item-list li div.action{clear:right;float:right;margin-top:0;margin-right:70px;position:relative;top:0;left:0;text-align:right}#buddypress ul.item-list li div.item-desc{clear:right;float:right;margin:10px 0 0;width:auto}#buddypress li div.item{margin-right:70px;width:auto}#buddypress ul.item-list li div.meta{margin-top:0}#buddypress .item-desc p{margin:0 0 10px}#buddypress div.pagination .pag-count{margin-right:0}}@media only screen and (max-width:240px){#buddypress div.dir-search{float:right;margin:0}#buddypress div.dir-search input[type=text]{width:50%}#buddypress li#groups-order-select{float:right}#buddypress ul.item-list li img.avatar{width:30px;height:auto}#buddypress li div.item,#buddypress ul.item-list li div.action{margin-right:45px}h1 a.bp-title-button{clear:right;float:right;margin:10px 0 20px}}
bp-templates/bp-legacy/css/buddypress.css CHANGED
@@ -1555,6 +1555,10 @@ body.register #buddypress div.page ul {
1555
 
1556
  .widget.buddypress .bp-login-widget-user-avatar {
1557
  float: left;
 
 
 
 
1558
  width: 40px;
1559
  }
1560
 
1555
 
1556
  .widget.buddypress .bp-login-widget-user-avatar {
1557
  float: left;
1558
+ }
1559
+
1560
+ .bp-login-widget-user-avatar img.avatar {
1561
+ height: 40px;
1562
  width: 40px;
1563
  }
1564
 
bp-templates/bp-legacy/css/buddypress.min.css CHANGED
@@ -1,2 +1,2 @@
1
- /*! buddypress - v2.1.0 - 2015-01-15 12:34:34 AM UTC - https://wordpress.org/plugins/buddypress/ */
2
- #buddypress div.pagination{background:0 0;border:none;color:#888;font-size:small;margin:0;position:relative;display:block;float:left;width:100%;padding:10px 0}#buddypress div.pagination .pag-count{float:left;margin-left:10px}#buddypress div.pagination .pagination-links{float:right;margin-right:10px}#buddypress div.pagination .pagination-links a,#buddypress div.pagination .pagination-links span{font-size:90%;padding:0 5px}#buddypress div.pagination .pagination-links a:hover{font-weight:700}#buddypress noscript div.pagination{margin-bottom:15px}#buddypress #nav-above{display:none}#buddypress .paged #nav-above{display:block}#buddypress img.wp-smiley{border:none!important;clear:none!important;float:none!important;margin:0!important;padding:0!important}#buddypress .clear{clear:left}#buddypress #activity-stream{margin-top:-5px}#buddypress #activity-stream p{margin:5px 0}#buddypress #item-body form#whats-new-form{margin:0;padding:0}#buddypress .home-page form#whats-new-form{border-bottom:none;padding-bottom:0}#buddypress form#whats-new-form #whats-new-avatar{float:left}#buddypress form#whats-new-form #whats-new-content{margin-left:55px;padding:0 0 20px 20px}#buddypress form#whats-new-form p.activity-greeting{line-height:.5em;margin-bottom:15px;margin-left:75px}#buddypress form#whats-new-form textarea{background:#fff;color:#555;font-family:inherit;font-size:medium;height:20px;padding:6px;width:98%}body.no-js #buddypress form#whats-new-form textarea{height:50px}#buddypress form#whats-new-form #whats-new-options select{max-width:200px;margin-top:12px}#buddypress form#whats-new-form #whats-new-submit{float:right;margin-top:12px}#buddypress #whats-new-options{overflow:auto;height:0}body.no-js #buddypress #whats-new-options{height:auto}#buddypress #whats-new:focus{border-color:rgba(31,179,221,.9)!important;outline-color:rgba(31,179,221,.9)}#buddypress ul.activity-list li{overflow:hidden;padding:15px 0 0;list-style:none}#buddypress .activity-list .activity-avatar{float:left}#buddypress ul.item-list.activity-list li.has-comments{padding-bottom:15px}body.activity-permalink #buddypress ul.activity-list li.has-comments{padding-bottom:0}#buddypress .activity-list li.mini{font-size:80%;position:relative}#buddypress .activity-list li.mini .activity-avatar img.FB_profile_pic,#buddypress .activity-list li.mini .activity-avatar img.avatar{height:20px;margin-left:30px;width:20px}#buddypress .activity-permalink .activity-list li.mini .activity-avatar img.FB_profile_pic,#buddypress .activity-permalink .activity-list li.mini .activity-avatar img.avatar{height:auto;margin-left:0;width:auto}body.activity-permalink #buddypress .activity-list>li:first-child{padding-top:0}#buddypress .activity-list li .activity-content{position:relative}#buddypress .activity-list li.mini .activity-content p{margin:0}#buddypress .activity-list li.mini .activity-comments{clear:both;font-size:120%}body.activity-permalink #buddypress li.mini .activity-meta{margin-top:4px}#buddypress .activity-list li .activity-inreplyto{color:#888;font-size:80%}#buddypress .activity-list li .activity-inreplyto>p{margin:0;display:inline}#buddypress .activity-list li .activity-inreplyto blockquote,#buddypress .activity-list li .activity-inreplyto div.activity-inner{background:0 0;border:none;display:inline;margin:0;overflow:hidden;padding:0}#buddypress .activity-list .activity-content{margin:0 0 0 70px}body.activity-permalink #buddypress .activity-list li .activity-content{border:none;font-size:100%;line-height:150%;margin-left:170px;margin-right:0;padding:0}body.activity-permalink #buddypress .activity-list li .activity-header>p{margin:0;padding:5px 0 0}#buddypress .activity-list .activity-content .activity-header,#buddypress .activity-list .activity-content .comment-header{color:#888;line-height:220%}#buddypress .activity-header{margin-right:20px}#buddypress .acomment-meta a,#buddypress .activity-header a,#buddypress .comment-meta a{text-decoration:none}#buddypress .activity-list .activity-content .activity-header img.avatar{float:none!important;margin:0 5px -8px 0!important}#buddypress a.bp-secondary-action,#buddypress span.highlight{font-size:80%;padding:0;margin-right:5px;text-decoration:none}#buddypress .activity-list .activity-content .activity-inner,#buddypress .activity-list .activity-content blockquote{margin:10px 10px 5px 0;overflow:hidden}#buddypress .activity-list li.new_forum_post .activity-content .activity-inner,#buddypress .activity-list li.new_forum_topic .activity-content .activity-inner{border-left:2px solid #EAEAEA;margin-left:5px;padding-left:10px}body.activity-permalink #buddypress .activity-content .activity-inner,body.activity-permalink #buddypress .activity-content blockquote{margin-left:0;margin-top:5px}#buddypress .activity-inner>p{word-wrap:break-word}#buddypress .activity-inner>.activity-inner,#buddypress .activity-inner>blockquote{margin:0}#buddypress .activity-list .activity-content img.thumbnail{border:2px solid #eee;float:left;margin:0 10px 5px 0}#buddypress .activity-read-more{margin-left:1em;white-space:nowrap}#buddypress .activity-list li.load-more,#buddypress .activity-list li.load-newest{background:#f0f0f0;font-size:110%;margin:15px 0;padding:10px 15px;text-align:center}#buddypress .activity-list li.load-more a,#buddypress .activity-list li.load-newest a{color:#4D4D4D}#buddypress div.activity-meta{margin:18px 0 0}body.activity-permalink #buddypress div.activity-meta{margin-bottom:6px}#buddypress div.activity-meta a{padding:4px 8px}#buddypress a.activity-time-since{color:#aaa;text-decoration:none}#buddypress a.activity-time-since:hover{color:#888;text-decoration:underline}#buddypress #reply-title small a,#buddypress a.bp-primary-action{font-size:80%;margin-right:5px;text-decoration:none}#buddypress #reply-title small a span,#buddypress a.bp-primary-action span{background:#999;color:#fff;font-size:90%;margin-left:2px;padding:0 5px}#buddypress #reply-title small a:hover span,#buddypress a.bp-primary-action:hover span{background:#555;color:#fff}#buddypress div.activity-comments{margin:0 0 0 70px;overflow:hidden;position:relative;width:auto;clear:both}body.activity-permalink #buddypress div.activity-comments{background:0 0;margin-left:170px;width:auto}#buddypress div.activity-comments>ul{padding:0 0 0 10px}#buddypress div.activity-comments ul,#buddypress div.activity-comments ul li{border:none;list-style:none}#buddypress div.activity-comments ul{clear:both;margin:0}#buddypress div.activity-comments ul li{border-top:1px solid #eee;padding:10px 0 0}body.activity-permalink #buddypress .activity-list li.mini .activity-comments{clear:none;margin-top:0}body.activity-permalink #buddypress div.activity-comments ul li{border-width:1px;padding:10px 0 0}#buddypress div.activity-comments>ul>li:first-child{border-top:none}#buddypress div.activity-comments ul li:last-child{margin-bottom:0}#buddypress div.activity-comments ul li>ul{margin-left:30px;margin-top:0;padding-left:10px}body.activity-permalink #buddypress div.activity-comments ul li>ul{margin-top:10px}body.activity-permalink #buddypress div.activity-comments>ul{padding:0 10px 0 15px}#buddypress div.activity-comments div.acomment-avatar img{border-width:1px;float:left;height:25px;margin-right:10px;width:25px}#buddypress div.activity-comments div.acomment-content{font-size:80%;margin:5px 0 0 40px}#buddypress div.acomment-content .activity-delete-link,#buddypress div.acomment-content .comment-header,#buddypress div.acomment-content .time-since{display:none}body.activity-permalink #buddypress div.activity-comments div.acomment-content{font-size:90%}#buddypress div.activity-comments div.acomment-meta{color:#888;font-size:80%}#buddypress div.activity-comments form.ac-form{display:none;padding:10px}#buddypress div.activity-comments li form.ac-form{margin-right:15px;clear:both}#buddypress div.activity-comments form.root{margin-left:0}#buddypress div.activity-comments div#message{margin-top:15px;margin-bottom:0}#buddypress div.activity-comments form .ac-textarea{background:#fff;border:1px inset #ccc;margin-bottom:10px;padding:8px}#buddypress div.activity-comments form textarea{border:none;background:0 0;box-shadow:none;outline:0;color:#555;font-family:inherit;font-size:100%;height:60px;padding:0;margin:0;width:100%}#buddypress div.activity-comments form input{margin-top:5px}#buddypress div.activity-comments form div.ac-reply-avatar{float:left}#buddypress div.ac-reply-avatar img{border:1px solid #eee}#buddypress div.activity-comments form div.ac-reply-content{color:#888;margin-left:50px;padding-left:15px}#buddypress div.activity-comments form div.ac-reply-content a{text-decoration:none}#buddypress .acomment-options{float:left;margin:5px 0 5px 40px}#buddypress .acomment-options a{color:#999}#buddypress .acomment-options a:hover{color:inherit}#buddypress div.dir-search{float:right;margin:-39px 0 0}#buddypress div.dir-search input[type=text],#buddypress li.groups-members-search input[type=text]{font-size:90%;padding:1px 3px}#buddypress .dir-form{clear:both}#buddypress div#message{margin:0 0 15px}#buddypress #message.info{margin-bottom:0}#buddypress div#message.updated{clear:both;display:block}#buddypress div#message p,#sitewide-notice p{font-size:90%;display:block;padding:10px 15px}#buddypress div#message.error p{background-color:#fdc;border:1px solid #a00;clear:left;color:#800}#buddypress div#message.updated p{background-color:#efc;border:1px solid #591;color:#250}#buddypress #pass-strength-result{background-color:#eee;border-color:#ddd;border-style:solid;border-width:1px;display:none;margin:5px 5px 5px 0;padding:5px;text-align:center;width:150px}#buddypress .standard-form #basic-details-section #pass-strength-result{width:35%}#buddypress #pass-strength-result.bad,#buddypress #pass-strength-result.error{background-color:#ffb78c;border-color:#ff853c!important;display:block}#buddypress #pass-strength-result.good{background-color:#ffec8b;border-color:#fc0!important;display:block}#buddypress #pass-strength-result.short{background-color:#ffa0a0;border-color:#f04040!important;display:block}#buddypress #pass-strength-result.strong{background-color:#c3ff88;border-color:#8dff1c!important;display:block}#buddypress .standard-form#signup_form div div.error{background:#faa;color:#a00;margin:0 0 10px;padding:6px;width:90%}#buddypress div.accept,#buddypress div.reject{float:left;margin-left:10px}#buddypress ul.button-nav li{float:left;margin:0 10px 10px 0;list-style:none}#buddypress ul.button-nav li.current a{font-weight:700}#sitewide-notice #message{left:2%;position:fixed;top:1em;width:96%;z-index:9999}#sitewide-notice.admin-bar-on #message{top:3.3em}#sitewide-notice strong{display:block;margin-bottom:-1em}#buddypress .dir-search input[type=search],#buddypress .dir-search input[type=text],#buddypress .groups-members-search input[type=search],#buddypress .groups-members-search input[type=text],#buddypress .standard-form input[type=color],#buddypress .standard-form input[type=date],#buddypress .standard-form input[type=datetime-local],#buddypress .standard-form input[type=datetime],#buddypress .standard-form input[type=email],#buddypress .standard-form input[type=month],#buddypress .standard-form input[type=number],#buddypress .standard-form input[type=password],#buddypress .standard-form input[type=range],#buddypress .standard-form input[type=search],#buddypress .standard-form input[type=tel],#buddypress .standard-form input[type=text],#buddypress .standard-form input[type=time],#buddypress .standard-form input[type=url],#buddypress .standard-form input[type=week],#buddypress .standard-form select,#buddypress .standard-form textarea{border:1px solid #ccc;background:#fafafa;border-radius:0;color:#888;font:inherit;font-size:100%;padding:6px}#buddypress .standard-form select{padding:3px}#buddypress .standard-form input[type=password]{margin-bottom:5px}#buddypress .standard-form label,#buddypress .standard-form span.label{display:block;font-weight:700;margin:15px 0 5px;width:auto}#buddypress .standard-form div.checkbox label:nth-child(n+2),#buddypress .standard-form div.radio div label{color:#888;font-size:100%;font-weight:400;margin:5px 0 0}#buddypress .standard-form#sidebar-login-form label{margin-top:5px}#buddypress .standard-form input[type=text]{width:75%}#buddypress .standard-form#sidebar-login-form input[type=password],#buddypress .standard-form#sidebar-login-form input[type=text]{padding:4px;width:95%}#buddypress .standard-form #basic-details-section input[type=password],#buddypress .standard-form #blog-details-section input#signup_blog_url{width:35%}#buddypress #commentform input[type=text],#buddypress #commentform textarea,#buddypress .form-allowed-tags,#buddypress .standard-form#signup_form input[type=text],#buddypress .standard-form#signup_form textarea{width:90%}#buddypress .standard-form#signup_form div.submit{float:right}#buddypress div#signup-avatar img{margin:0 15px 10px 0}#buddypress .standard-form textarea{width:75%;height:120px}#buddypress .standard-form textarea#message_content{height:200px}#buddypress .standard-form#send-reply textarea{width:97.5%}#buddypress .standard-form p.description{color:#888;font-size:80%;margin:5px 0}#buddypress .standard-form div.submit{clear:both;padding:15px 0 0}#buddypress .standard-form p.submit{margin-bottom:0;padding:15px 0 0}#buddypress .standard-form div.submit input{margin-right:15px}#buddypress .standard-form div.radio ul{margin:10px 0 15px 38px;list-style:disc}#buddypress .standard-form div.radio ul li{margin-bottom:5px}#buddypress .standard-form a.clear-value{display:block;margin-top:5px;outline:0}#buddypress .standard-form #basic-details-section,#buddypress .standard-form #blog-details-section,#buddypress .standard-form #profile-details-section{float:left;width:48%}#buddypress .standard-form #profile-details-section{float:right}#buddypress #notifications-bulk-management,#buddypress .standard-form #blog-details-section{clear:left}body.no-js #buddypress #delete_inbox_messages,body.no-js #buddypress #delete_sentbox_messages,body.no-js #buddypress #message-type-select,body.no-js #buddypress #messages-bulk-management #select-all-messages,body.no-js #buddypress #notifications-bulk-management #select-all-notifications,body.no-js #buddypress label[for=message-type-select]{display:none}#buddypress .standard-form input:focus,#buddypress .standard-form select:focus,#buddypress .standard-form textarea:focus{background:#fafafa;color:#555}#buddypress form#send-invite-form{margin-top:20px}#buddypress div#invite-list{background:#f5f5f5;height:400px;margin:0 0 10px;overflow:auto;padding:5px;width:160px}#buddypress .comment-reply-link,#buddypress a.button,#buddypress button,#buddypress div.generic-button a,#buddypress input[type=button],#buddypress input[type=reset],#buddypress input[type=submit],#buddypress ul.button-nav li a,a.bp-title-button{background:#fff;border:1px solid #ccc;color:#777;font-size:small;cursor:pointer;outline:0;padding:4px 10px;text-align:center;text-decoration:none}#buddypress .comment-reply-link:hover,#buddypress a.button:focus,#buddypress a.button:hover,#buddypress button:hover,#buddypress div.generic-button a:hover,#buddypress input[type=button]:hover,#buddypress input[type=reset]:hover,#buddypress input[type=submit]:hover,#buddypress ul.button-nav li a:hover,#buddypress ul.button-nav li.current a{background:#ededed;border:1px solid #bbb;color:#555;outline:0;text-decoration:none}#buddypress form.standard-form .left-menu{float:left}#buddypress form.standard-form .left-menu #invite-list ul{margin:1%;list-style:none}#buddypress form.standard-form .left-menu #invite-list ul li{margin:0 0 0 1%}#buddypress form.standard-form .main-column{margin-left:190px}#buddypress form.standard-form .main-column ul#friend-list{clear:none;float:left}#buddypress form.standard-form .main-column ul#friend-list h4{clear:none}#buddypress .wp-editor-wrap a.button,#buddypress .wp-editor-wrap button,#buddypress .wp-editor-wrap input[type=button],#buddypress .wp-editor-wrap input[type=reset],#buddypress .wp-editor-wrap input[type=submit]{padding:0 10px 1px}#buddypress form [disabled=disabled]{cursor:default;opacity:.4}.bp-screen-reader-text{clip:rect(1px,1px,1px,1px);position:absolute}#buddypress a.loading,#buddypress input.loading{-webkit-animation:loader-pulsate .5s infinite ease-in-out alternate;-moz-animation:loader-pulsate .5s infinite ease-in-out alternate;border-color:#aaa}@-webkit-keyframes loader-pulsate{from{border-color:#aaa;-webkit-box-shadow:0 0 6px #ccc;box-shadow:0 0 6px #ccc}to{border-color:#ccc;-webkit-box-shadow:0 0 6px #f8f8f8;box-shadow:0 0 6px #f8f8f8}}@-moz-keyframes loader-pulsate{from{border-color:#aaa;-moz-box-shadow:0 0 6px #ccc;box-shadow:0 0 6px #ccc}to{border-color:#ccc;-moz-box-shadow:0 0 6px #f8f8f8;box-shadow:0 0 6px #f8f8f8}}#buddypress a.loading:hover,#buddypress input.loading:hover{color:#777}#buddypress a.disabled,#buddypress button.disabled,#buddypress button.pending,#buddypress div.pending a,#buddypress input[type=button].disabled,#buddypress input[type=button].pending,#buddypress input[type=reset].disabled,#buddypress input[type=reset].pending,#buddypress input[type=submit].disabled,#buddypress input[type=submit].pending,#buddypress input[type=submit][disabled=disabled]{border-color:#eee;color:#bbb;cursor:default}#buddypress a.disabled:hover,#buddypress button.disabled:hover,#buddypress button.pending:hover,#buddypress div.pending a:hover,#buddypress input[type=button]:hover.disabled,#buddypress input[type=button]:hover.pending,#buddypress input[type=reset]:hover.disabled,#buddypress input[type=reset]:hover.pending,#buddypress input[type=submit]:hover.disabled,#buddypress input[type=submit]:hover.pending{border-color:#eee;color:#bbb}#buddypress ul#topic-post-list{margin:0;width:auto}#buddypress ul#topic-post-list li{padding:15px;position:relative}#buddypress ul#topic-post-list li.alt{background:#f5f5f5}#buddypress ul#topic-post-list li div.poster-meta{color:#888;margin-bottom:10px}#buddypress ul#topic-post-list li div.post-content{margin-left:54px}#buddypress div.topic-tags{font-size:80%}#buddypress div.admin-links{color:#888;font-size:80%;position:absolute;top:15px;right:25px}#buddypress div#topic-meta{margin:0;padding:5px 19px 30px;position:relative}#buddypress div#topic-meta div.admin-links{right:19px;top:-36px}#buddypress div#topic-meta h3{margin:5px 0}#buddypress div#new-topic-post{display:none;margin:20px 0 0;padding:1px 0 0}#buddypress table.forum,#buddypress table.messages-notices,#buddypress table.notifications,#buddypress table.notifications-settings,#buddypress table.profile-fields,#buddypress table.profile-settings,#buddypress table.wp-profile-fields{width:100%}#buddypress table.forum thead tr,#buddypress table.messages-notices thead tr,#buddypress table.notifications thead tr,#buddypress table.notifications-settings thead tr,#buddypress table.profile-fields thead tr,#buddypress table.profile-settings thead tr,#buddypress table.wp-profile-fields thead tr{background:#eaeaea}#buddypress table#message-threads{clear:both}#buddypress table.profile-fields{margin-bottom:20px}#buddypress table.profile-fields:last-child{margin-bottom:0}#buddypress table.profile-fields p{margin:0}#buddypress table.profile-fields p:last-child{margin-top:0}#buddypress table.forum tr td,#buddypress table.forum tr th,#buddypress table.messages-notices tr td,#buddypress table.messages-notices tr th,#buddypress table.notifications tr td,#buddypress table.notifications tr th,#buddypress table.notifications-settings tr td,#buddypress table.notifications-settings tr th,#buddypress table.profile-fields tr td,#buddypress table.profile-fields tr th,#buddypress table.profile-settings tr td,#buddypress table.wp-profile-fields tr td,#buddypress table.wp-profile-fields tr th{padding:8px;vertical-align:middle}#buddypress table.forum tr td.label,#buddypress table.messages-notices tr td.label,#buddypress table.notifications tr td.label,#buddypress table.notifications-settings tr td.label,#buddypress table.profile-fields tr td.label,#buddypress table.wp-profile-fields tr td.label{border-right:1px solid #eaeaea;font-weight:700;width:25%}#buddypress #message-threads .thread-info{min-width:40%}#buddypress table tr td.thread-info p{margin:0}#buddypress table tr td.thread-info p.thread-excerpt{color:#888;font-size:80%;margin-top:3px}#buddypress table.forum td{text-align:center}#buddypress table.forum tr.alt td,#buddypress table.messages-notices tr.alt td,#buddypress table.notifications tr.alt td,#buddypress table.notifications-settings tr.alt td,#buddypress table.profile-fields tr.alt td,#buddypress table.profile-settings tr.alt td,#buddypress table.wp-profile-fields tr.alt td{background:#f5f5f5}#buddypress table.notification-settings{margin-bottom:20px;text-align:left}#buddypress #groups-notification-settings{margin-bottom:0}#buddypress table.notification-settings td:first-child,#buddypress table.notification-settings th.icon,#buddypress table.notifications td:first-child,#buddypress table.notifications th.icon{display:none}#buddypress table.notification-settings th.title,#buddypress table.profile-settings th.title{width:80%}#buddypress table.notification-settings .no,#buddypress table.notification-settings .yes{text-align:center;width:40px}#buddypress table.forum{margin:0;width:auto;clear:both}#buddypress table.forum tr.sticky td{font-size:110%;background:#fff9db;border-top:1px solid #ffe8c4;border-bottom:1px solid #ffe8c4}#buddypress table.forum tr.closed td.td-title{padding-left:35px}#buddypress table.forum td p.topic-text{color:#888;font-size:100%}#buddypress table.forum tr>td:first-child,#buddypress table.forum tr>th:first-child{padding-left:15px}#buddypress table.forum tr>td:last-child,#buddypress table.forum tr>th:last-child{padding-right:15px}#buddypress table.forum td.td-group,#buddypress table.forum td.td-poster,#buddypress table.forum td.td-title,#buddypress table.forum tr th#th-group,#buddypress table.forum tr th#th-poster,#buddypress table.forum tr th#th-title{text-align:left}#buddypress table.forum tr td.td-title a.topic-title{font-size:110%}#buddypress table.forum td.td-freshness{white-space:nowrap}#buddypress table.forum td.td-freshness span.time-since{font-size:80%;color:#888}#buddypress table.forum td img.avatar{float:none;margin:0 5px -8px 0}#buddypress table.forum td.td-group,#buddypress table.forum td.td-poster{min-width:140px}#buddypress table.forum th#th-title{width:80%}#buddypress table.forum th#th-freshness{width:25%}#buddypress table.forum th#th-postcount{width:15%}#buddypress table.forum p.topic-meta{font-size:80%;margin:5px 0 0}#buddypress .item-body{margin:20px 0}#buddypress span.activity{display:inline-block;font-size:small;opacity:.8;padding:0}#buddypress span.user-nicename{color:#777;display:inline-block;font-size:120%;font-weight:700}#buddypress div#message p,#sitewide-notice p{font-weight:400;margin-top:3px;text-decoration:none;background-color:#ffd;border:1px solid #cb2;color:#440}#buddypress div#item-header{overflow:hidden}#buddypress div#item-header div#item-header-content{float:left;margin-left:0}#buddypress div#item-header h2{line-height:120%;margin:0 0 15px}#buddypress div#item-header h2 a{color:#777;text-decoration:none}#buddypress div#item-header img.avatar{float:left;margin:0 15px 19px 0}#buddypress div#item-header h2{margin-bottom:5px}#buddypress div#item-header h2 span.highlight{font-size:60%;font-weight:400;line-height:170%;vertical-align:middle;display:inline-block}#buddypress div#item-header h2 span.highlight span{background:#a1dcfa;color:#fff;cursor:pointer;font-weight:700;font-size:80%;margin-bottom:2px;padding:1px 4px;position:relative;right:-2px;top:-2px;vertical-align:middle}#buddypress div#item-header div#item-meta{font-size:80%;color:#aaa;overflow:hidden;margin:15px 0 5px;padding-bottom:10px}#buddypress div#item-header div#item-actions{float:right;margin:0 0 15px 15px;text-align:right;width:20%}#buddypress div#item-header div#item-actions h3{margin:0 0 5px}#buddypress div#item-header ul{margin-bottom:15px;overflow:hidden}#buddypress div#item-header ul h5,#buddypress div#item-header ul hr,#buddypress div#item-header ul span{display:none}#buddypress div#item-header ul li{float:right;list-style:none}#buddypress div#item-header ul img.avatar,#buddypress div#item-header ul.avatars img.avatar{height:30px;margin:2px;width:30px}#buddypress div#item-header a.button,#buddypress div#item-header div.generic-button{float:left;margin:10px 10px 0 0}#buddypress div#item-header div#message.info{line-height:80%}#buddypress ul.item-list{border-top:1px solid #eaeaea;width:100%;list-style:none;clear:both;margin:0;padding:0}body.activity-permalink #buddypress ul.item-list,body.activity-permalink #buddypress ul.item-list li.activity-item{border:none}#buddypress ul.item-list li{border-bottom:1px solid #eaeaea;padding:15px 0;margin:0;position:relative;list-style:none}#buddypress ul.single-line li{border:none}#buddypress ul.item-list li img.avatar{float:left;margin:0 10px 0 0}#buddypress ul.item-list li div.item-title,#buddypress ul.item-list li h4{font-weight:400;font-size:90%;margin:0;width:75%}#buddypress ul.item-list li div.item-title span{color:#999;font-size:80%}#buddypress ul.item-list li div.item-desc{color:#888;font-size:80%;margin:10px 0 0 60px;width:50%}#buddypress ul.item-list li div.action{position:absolute;top:15px;right:0;text-align:right}#buddypress ul.item-list li div.meta{color:#888;font-size:80%;margin-top:10px}#buddypress ul.item-list li h5 span.small{float:right;font-size:80%;font-weight:400}#buddypress div.item-list-tabs{background:0 0;clear:left;overflow:hidden}#buddypress div.item-list-tabs ul{margin:0;padding:0}#buddypress div.item-list-tabs ul li{float:left;margin:0;list-style:none}#buddypress div.item-list-tabs#subnav ul li{margin-top:0}#buddypress div.item-list-tabs ul li.last{float:right;margin:7px 0 0}#buddypress div.item-list-tabs#subnav ul li.last{margin-top:4px}#buddypress div.item-list-tabs ul li.last select{max-width:185px}#buddypress div.item-list-tabs ul li a,#buddypress div.item-list-tabs ul li span{display:block;padding:5px 10px;text-decoration:none}#buddypress div.item-list-tabs ul li a span{background:#eee;border-radius:50%;border:1px solid #ccc;color:#999;display:inline;font-size:70%;margin-left:2px;padding:3px 6px;text-align:center;vertical-align:middle}#buddypress div.item-list-tabs ul li.current a,#buddypress div.item-list-tabs ul li.selected a{background-color:#eee;color:#555;opacity:.8;font-weight:700}#buddypress div.item-list-tabs ul li a:hover span,#buddypress div.item-list-tabs ul li.current a span,#buddypress div.item-list-tabs ul li.selected a span{background-color:#eee}#buddypress div.item-list-tabs ul li.current a span,#buddypress div.item-list-tabs ul li.selected a span{background-color:#fff}#buddypress div#item-nav ul li.loading a{background-position:88% 50%}#buddypress div.item-list-tabs#object-nav{margin-top:0}#buddypress div.item-list-tabs#subnav{background:0 0;margin:10px 0;overflow:hidden}#buddypress #admins-list li,#buddypress #members-list li,#buddypress #mods-list li{overflow:auto;list-style:none}#buddypress table#message-threads tr.unread td{background:#fff9db;border-top:1px solid #ffe8c4;border-bottom:1px solid #ffe8c4;font-weight:700}#buddypress table#message-threads tr.unread td .activity,#buddypress table#message-threads tr.unread td .thread-excerpt,#buddypress table#message-threads tr.unread td.thread-options{font-weight:400}#buddypress li span.unread-count,#buddypress tr.unread span.unread-count{background:#d00;color:#fff;font-weight:700;padding:2px 8px}#buddypress div.item-list-tabs ul li a span.unread-count{padding:1px 6px;color:#fff}#buddypress div#message-thread div.message-box{margin:0;padding:15px}#buddypress div#message-thread div.alt{background:#f4f4f4}#buddypress div#message-thread p#message-recipients{margin:10px 0 20px}#buddypress div#message-thread img.avatar{float:left;margin:0 10px 0 0;vertical-align:middle}#buddypress div#message-thread strong{font-size:100%;margin:0}#buddypress div#message-thread strong a{text-decoration:none}#buddypress div#message-thread strong span.activity{margin-top:4px}#buddypress div#message-thread div.message-metadata{overflow:hidden}#buddypress div#message-thread div.message-content{margin-left:45px}#buddypress div#message-thread div.message-options{text-align:right}#buddypress #message-threads img.avatar{max-width:none}#buddypress div.message-search{float:right;margin:0 20px}#buddypress div.profile h4{margin-bottom:auto;margin-top:15px}#buddypress #profile-edit-form ul.button-nav{margin-top:15px}body.no-js #buddypress .field-visibility-settings-close,body.no-js #buddypress .field-visibility-settings-toggle{display:none}#buddypress .field-visibility-settings{display:none;margin-top:10px}body.no-js #buddypress .field-visibility-settings{display:block}#buddypress .current-visibility-level{font-weight:700;font-style:normal}#buddypress .field-visibility-settings,#buddypress .field-visibility-settings-notoggle,#buddypress .field-visibility-settings-toggle{color:#888}#buddypress .field-visibility-settings a,#buddypress .field-visibility-settings-toggle a{font-size:80%}body.register #buddypress div.page ul{list-style:none}#buddypress .standard-form .field-visibility-settings label{margin:0;font-weight:400}#buddypress .field-visibility-settings legend,#buddypress .field-visibility-settings-toggle{font-style:italic}#buddypress .field-visibility-settings .radio{list-style:none;margin-bottom:0}#buddypress .field-visibility select{margin:0}.widget.buddypress div.item-avatar img.avatar{float:left;margin:0 10px 15px 0}.widget.buddypress span.activity{display:inline-block;font-size:small;opacity:.8;padding:0}.widget.buddypress div.item-options{font-size:90%;margin:0 0 1em;padding:1em 0}.widget.buddypress div.item{margin:0 0 1em}.widget.buddypress div.item-content,.widget.buddypress div.item-meta{font-size:11px;margin-left:50px}.widget.buddypress ul.item-list img.avatar{height:40px;margin-right:10px;width:40px}.widget.buddypress div.item-avatar img{height:40px;margin:1px;width:40px}.widget.buddypress div.avatar-block{overflow:hidden}.widget.buddypress #bp-login-widget-form label{display:block;margin:1rem 0 .5rem}.widget.buddypress #bp-login-widget-form #bp-login-widget-submit{margin-right:10px}.widget.buddypress .bp-login-widget-user-avatar{float:left;width:40px}.widget.buddypress .bp-login-widget-user-links>div{padding-left:60px;margin-bottom:.5rem}.widget.buddypress .bp-login-widget-user-links>div.bp-login-widget-user-link a{font-weight:700}.widget.buddypress #friends-list,.widget.buddypress #groups-list,.widget.buddypress #members-list{margin-left:0;padding-left:0}.widget.buddypress #friends-list li,.widget.buddypress #groups-list li,.widget.buddypress #members-list li{list-style-type:none}@media only screen and (max-width:480px){#buddypress div.dir-search{float:right;margin-top:-50px;text-align:right}#buddypress div.dir-search input[type=text]{margin-bottom:1em;width:50%}a.bp-title-button{margin-left:10px}#buddypress form.standard-form .main-column div.action{position:relative;margin-bottom:1em}#buddypress form.standard-form .main-column ul#friend-list h4{width:100%}}@media only screen and (max-width:320px){#buddypress div.dir-search{clear:left;float:left;margin-top:0;text-align:left}#buddypress li#groups-order-select{clear:left;float:left}#buddypress ul.item-list li div.action{clear:left;float:left;margin-top:0;margin-left:70px;position:relative;top:0;right:0;text-align:left}#buddypress ul.item-list li div.item-desc{clear:left;float:left;margin:10px 0 0;width:auto}#buddypress li div.item{margin-left:70px;width:auto}#buddypress ul.item-list li div.meta{margin-top:0}#buddypress .item-desc p{margin:0 0 10px}#buddypress div.pagination .pag-count{margin-left:0}}@media only screen and (max-width:240px){#buddypress div.dir-search{float:left;margin:0}#buddypress div.dir-search input[type=text]{width:50%}#buddypress li#groups-order-select{float:left}#buddypress ul.item-list li img.avatar{width:30px;height:auto}#buddypress li div.item,#buddypress ul.item-list li div.action{margin-left:45px}h1 a.bp-title-button{clear:left;float:left;margin:10px 0 20px}}
1
+ /*! buddypress - v2.1.0 - 2015-01-22 9:58:52 PM UTC - https://wordpress.org/plugins/buddypress/ */
2
+ #buddypress div.pagination{background:0 0;border:none;color:#888;font-size:small;margin:0;position:relative;display:block;float:left;width:100%;padding:10px 0}#buddypress div.pagination .pag-count{float:left;margin-left:10px}#buddypress div.pagination .pagination-links{float:right;margin-right:10px}#buddypress div.pagination .pagination-links a,#buddypress div.pagination .pagination-links span{font-size:90%;padding:0 5px}#buddypress div.pagination .pagination-links a:hover{font-weight:700}#buddypress noscript div.pagination{margin-bottom:15px}#buddypress #nav-above{display:none}#buddypress .paged #nav-above{display:block}#buddypress img.wp-smiley{border:none!important;clear:none!important;float:none!important;margin:0!important;padding:0!important}#buddypress .clear{clear:left}#buddypress #activity-stream{margin-top:-5px}#buddypress #activity-stream p{margin:5px 0}#buddypress #item-body form#whats-new-form{margin:0;padding:0}#buddypress .home-page form#whats-new-form{border-bottom:none;padding-bottom:0}#buddypress form#whats-new-form #whats-new-avatar{float:left}#buddypress form#whats-new-form #whats-new-content{margin-left:55px;padding:0 0 20px 20px}#buddypress form#whats-new-form p.activity-greeting{line-height:.5em;margin-bottom:15px;margin-left:75px}#buddypress form#whats-new-form textarea{background:#fff;color:#555;font-family:inherit;font-size:medium;height:20px;padding:6px;width:98%}body.no-js #buddypress form#whats-new-form textarea{height:50px}#buddypress form#whats-new-form #whats-new-options select{max-width:200px;margin-top:12px}#buddypress form#whats-new-form #whats-new-submit{float:right;margin-top:12px}#buddypress #whats-new-options{overflow:auto;height:0}body.no-js #buddypress #whats-new-options{height:auto}#buddypress #whats-new:focus{border-color:rgba(31,179,221,.9)!important;outline-color:rgba(31,179,221,.9)}#buddypress ul.activity-list li{overflow:hidden;padding:15px 0 0;list-style:none}#buddypress .activity-list .activity-avatar{float:left}#buddypress ul.item-list.activity-list li.has-comments{padding-bottom:15px}body.activity-permalink #buddypress ul.activity-list li.has-comments{padding-bottom:0}#buddypress .activity-list li.mini{font-size:80%;position:relative}#buddypress .activity-list li.mini .activity-avatar img.FB_profile_pic,#buddypress .activity-list li.mini .activity-avatar img.avatar{height:20px;margin-left:30px;width:20px}#buddypress .activity-permalink .activity-list li.mini .activity-avatar img.FB_profile_pic,#buddypress .activity-permalink .activity-list li.mini .activity-avatar img.avatar{height:auto;margin-left:0;width:auto}body.activity-permalink #buddypress .activity-list>li:first-child{padding-top:0}#buddypress .activity-list li .activity-content{position:relative}#buddypress .activity-list li.mini .activity-content p{margin:0}#buddypress .activity-list li.mini .activity-comments{clear:both;font-size:120%}body.activity-permalink #buddypress li.mini .activity-meta{margin-top:4px}#buddypress .activity-list li .activity-inreplyto{color:#888;font-size:80%}#buddypress .activity-list li .activity-inreplyto>p{margin:0;display:inline}#buddypress .activity-list li .activity-inreplyto blockquote,#buddypress .activity-list li .activity-inreplyto div.activity-inner{background:0 0;border:none;display:inline;margin:0;overflow:hidden;padding:0}#buddypress .activity-list .activity-content{margin:0 0 0 70px}body.activity-permalink #buddypress .activity-list li .activity-content{border:none;font-size:100%;line-height:150%;margin-left:170px;margin-right:0;padding:0}body.activity-permalink #buddypress .activity-list li .activity-header>p{margin:0;padding:5px 0 0}#buddypress .activity-list .activity-content .activity-header,#buddypress .activity-list .activity-content .comment-header{color:#888;line-height:220%}#buddypress .activity-header{margin-right:20px}#buddypress .acomment-meta a,#buddypress .activity-header a,#buddypress .comment-meta a{text-decoration:none}#buddypress .activity-list .activity-content .activity-header img.avatar{float:none!important;margin:0 5px -8px 0!important}#buddypress a.bp-secondary-action,#buddypress span.highlight{font-size:80%;padding:0;margin-right:5px;text-decoration:none}#buddypress .activity-list .activity-content .activity-inner,#buddypress .activity-list .activity-content blockquote{margin:10px 10px 5px 0;overflow:hidden}#buddypress .activity-list li.new_forum_post .activity-content .activity-inner,#buddypress .activity-list li.new_forum_topic .activity-content .activity-inner{border-left:2px solid #EAEAEA;margin-left:5px;padding-left:10px}body.activity-permalink #buddypress .activity-content .activity-inner,body.activity-permalink #buddypress .activity-content blockquote{margin-left:0;margin-top:5px}#buddypress .activity-inner>p{word-wrap:break-word}#buddypress .activity-inner>.activity-inner,#buddypress .activity-inner>blockquote{margin:0}#buddypress .activity-list .activity-content img.thumbnail{border:2px solid #eee;float:left;margin:0 10px 5px 0}#buddypress .activity-read-more{margin-left:1em;white-space:nowrap}#buddypress .activity-list li.load-more,#buddypress .activity-list li.load-newest{background:#f0f0f0;font-size:110%;margin:15px 0;padding:10px 15px;text-align:center}#buddypress .activity-list li.load-more a,#buddypress .activity-list li.load-newest a{color:#4D4D4D}#buddypress div.activity-meta{margin:18px 0 0}body.activity-permalink #buddypress div.activity-meta{margin-bottom:6px}#buddypress div.activity-meta a{padding:4px 8px}#buddypress a.activity-time-since{color:#aaa;text-decoration:none}#buddypress a.activity-time-since:hover{color:#888;text-decoration:underline}#buddypress #reply-title small a,#buddypress a.bp-primary-action{font-size:80%;margin-right:5px;text-decoration:none}#buddypress #reply-title small a span,#buddypress a.bp-primary-action span{background:#999;color:#fff;font-size:90%;margin-left:2px;padding:0 5px}#buddypress #reply-title small a:hover span,#buddypress a.bp-primary-action:hover span{background:#555;color:#fff}#buddypress div.activity-comments{margin:0 0 0 70px;overflow:hidden;position:relative;width:auto;clear:both}body.activity-permalink #buddypress div.activity-comments{background:0 0;margin-left:170px;width:auto}#buddypress div.activity-comments>ul{padding:0 0 0 10px}#buddypress div.activity-comments ul,#buddypress div.activity-comments ul li{border:none;list-style:none}#buddypress div.activity-comments ul{clear:both;margin:0}#buddypress div.activity-comments ul li{border-top:1px solid #eee;padding:10px 0 0}body.activity-permalink #buddypress .activity-list li.mini .activity-comments{clear:none;margin-top:0}body.activity-permalink #buddypress div.activity-comments ul li{border-width:1px;padding:10px 0 0}#buddypress div.activity-comments>ul>li:first-child{border-top:none}#buddypress div.activity-comments ul li:last-child{margin-bottom:0}#buddypress div.activity-comments ul li>ul{margin-left:30px;margin-top:0;padding-left:10px}body.activity-permalink #buddypress div.activity-comments ul li>ul{margin-top:10px}body.activity-permalink #buddypress div.activity-comments>ul{padding:0 10px 0 15px}#buddypress div.activity-comments div.acomment-avatar img{border-width:1px;float:left;height:25px;margin-right:10px;width:25px}#buddypress div.activity-comments div.acomment-content{font-size:80%;margin:5px 0 0 40px}#buddypress div.acomment-content .activity-delete-link,#buddypress div.acomment-content .comment-header,#buddypress div.acomment-content .time-since{display:none}body.activity-permalink #buddypress div.activity-comments div.acomment-content{font-size:90%}#buddypress div.activity-comments div.acomment-meta{color:#888;font-size:80%}#buddypress div.activity-comments form.ac-form{display:none;padding:10px}#buddypress div.activity-comments li form.ac-form{margin-right:15px;clear:both}#buddypress div.activity-comments form.root{margin-left:0}#buddypress div.activity-comments div#message{margin-top:15px;margin-bottom:0}#buddypress div.activity-comments form .ac-textarea{background:#fff;border:1px inset #ccc;margin-bottom:10px;padding:8px}#buddypress div.activity-comments form textarea{border:none;background:0 0;box-shadow:none;outline:0;color:#555;font-family:inherit;font-size:100%;height:60px;padding:0;margin:0;width:100%}#buddypress div.activity-comments form input{margin-top:5px}#buddypress div.activity-comments form div.ac-reply-avatar{float:left}#buddypress div.ac-reply-avatar img{border:1px solid #eee}#buddypress div.activity-comments form div.ac-reply-content{color:#888;margin-left:50px;padding-left:15px}#buddypress div.activity-comments form div.ac-reply-content a{text-decoration:none}#buddypress .acomment-options{float:left;margin:5px 0 5px 40px}#buddypress .acomment-options a{color:#999}#buddypress .acomment-options a:hover{color:inherit}#buddypress div.dir-search{float:right;margin:-39px 0 0}#buddypress div.dir-search input[type=text],#buddypress li.groups-members-search input[type=text]{font-size:90%;padding:1px 3px}#buddypress .dir-form{clear:both}#buddypress div#message{margin:0 0 15px}#buddypress #message.info{margin-bottom:0}#buddypress div#message.updated{clear:both;display:block}#buddypress div#message p,#sitewide-notice p{font-size:90%;display:block;padding:10px 15px}#buddypress div#message.error p{background-color:#fdc;border:1px solid #a00;clear:left;color:#800}#buddypress div#message.updated p{background-color:#efc;border:1px solid #591;color:#250}#buddypress #pass-strength-result{background-color:#eee;border-color:#ddd;border-style:solid;border-width:1px;display:none;margin:5px 5px 5px 0;padding:5px;text-align:center;width:150px}#buddypress .standard-form #basic-details-section #pass-strength-result{width:35%}#buddypress #pass-strength-result.bad,#buddypress #pass-strength-result.error{background-color:#ffb78c;border-color:#ff853c!important;display:block}#buddypress #pass-strength-result.good{background-color:#ffec8b;border-color:#fc0!important;display:block}#buddypress #pass-strength-result.short{background-color:#ffa0a0;border-color:#f04040!important;display:block}#buddypress #pass-strength-result.strong{background-color:#c3ff88;border-color:#8dff1c!important;display:block}#buddypress .standard-form#signup_form div div.error{background:#faa;color:#a00;margin:0 0 10px;padding:6px;width:90%}#buddypress div.accept,#buddypress div.reject{float:left;margin-left:10px}#buddypress ul.button-nav li{float:left;margin:0 10px 10px 0;list-style:none}#buddypress ul.button-nav li.current a{font-weight:700}#sitewide-notice #message{left:2%;position:fixed;top:1em;width:96%;z-index:9999}#sitewide-notice.admin-bar-on #message{top:3.3em}#sitewide-notice strong{display:block;margin-bottom:-1em}#buddypress .dir-search input[type=search],#buddypress .dir-search input[type=text],#buddypress .groups-members-search input[type=search],#buddypress .groups-members-search input[type=text],#buddypress .standard-form input[type=color],#buddypress .standard-form input[type=date],#buddypress .standard-form input[type=datetime-local],#buddypress .standard-form input[type=datetime],#buddypress .standard-form input[type=email],#buddypress .standard-form input[type=month],#buddypress .standard-form input[type=number],#buddypress .standard-form input[type=password],#buddypress .standard-form input[type=range],#buddypress .standard-form input[type=search],#buddypress .standard-form input[type=tel],#buddypress .standard-form input[type=text],#buddypress .standard-form input[type=time],#buddypress .standard-form input[type=url],#buddypress .standard-form input[type=week],#buddypress .standard-form select,#buddypress .standard-form textarea{border:1px solid #ccc;background:#fafafa;border-radius:0;color:#888;font:inherit;font-size:100%;padding:6px}#buddypress .standard-form select{padding:3px}#buddypress .standard-form input[type=password]{margin-bottom:5px}#buddypress .standard-form label,#buddypress .standard-form span.label{display:block;font-weight:700;margin:15px 0 5px;width:auto}#buddypress .standard-form div.checkbox label:nth-child(n+2),#buddypress .standard-form div.radio div label{color:#888;font-size:100%;font-weight:400;margin:5px 0 0}#buddypress .standard-form#sidebar-login-form label{margin-top:5px}#buddypress .standard-form input[type=text]{width:75%}#buddypress .standard-form#sidebar-login-form input[type=password],#buddypress .standard-form#sidebar-login-form input[type=text]{padding:4px;width:95%}#buddypress .standard-form #basic-details-section input[type=password],#buddypress .standard-form #blog-details-section input#signup_blog_url{width:35%}#buddypress #commentform input[type=text],#buddypress #commentform textarea,#buddypress .form-allowed-tags,#buddypress .standard-form#signup_form input[type=text],#buddypress .standard-form#signup_form textarea{width:90%}#buddypress .standard-form#signup_form div.submit{float:right}#buddypress div#signup-avatar img{margin:0 15px 10px 0}#buddypress .standard-form textarea{width:75%;height:120px}#buddypress .standard-form textarea#message_content{height:200px}#buddypress .standard-form#send-reply textarea{width:97.5%}#buddypress .standard-form p.description{color:#888;font-size:80%;margin:5px 0}#buddypress .standard-form div.submit{clear:both;padding:15px 0 0}#buddypress .standard-form p.submit{margin-bottom:0;padding:15px 0 0}#buddypress .standard-form div.submit input{margin-right:15px}#buddypress .standard-form div.radio ul{margin:10px 0 15px 38px;list-style:disc}#buddypress .standard-form div.radio ul li{margin-bottom:5px}#buddypress .standard-form a.clear-value{display:block;margin-top:5px;outline:0}#buddypress .standard-form #basic-details-section,#buddypress .standard-form #blog-details-section,#buddypress .standard-form #profile-details-section{float:left;width:48%}#buddypress .standard-form #profile-details-section{float:right}#buddypress #notifications-bulk-management,#buddypress .standard-form #blog-details-section{clear:left}body.no-js #buddypress #delete_inbox_messages,body.no-js #buddypress #delete_sentbox_messages,body.no-js #buddypress #message-type-select,body.no-js #buddypress #messages-bulk-management #select-all-messages,body.no-js #buddypress #notifications-bulk-management #select-all-notifications,body.no-js #buddypress label[for=message-type-select]{display:none}#buddypress .standard-form input:focus,#buddypress .standard-form select:focus,#buddypress .standard-form textarea:focus{background:#fafafa;color:#555}#buddypress form#send-invite-form{margin-top:20px}#buddypress div#invite-list{background:#f5f5f5;height:400px;margin:0 0 10px;overflow:auto;padding:5px;width:160px}#buddypress .comment-reply-link,#buddypress a.button,#buddypress button,#buddypress div.generic-button a,#buddypress input[type=button],#buddypress input[type=reset],#buddypress input[type=submit],#buddypress ul.button-nav li a,a.bp-title-button{background:#fff;border:1px solid #ccc;color:#777;font-size:small;cursor:pointer;outline:0;padding:4px 10px;text-align:center;text-decoration:none}#buddypress .comment-reply-link:hover,#buddypress a.button:focus,#buddypress a.button:hover,#buddypress button:hover,#buddypress div.generic-button a:hover,#buddypress input[type=button]:hover,#buddypress input[type=reset]:hover,#buddypress input[type=submit]:hover,#buddypress ul.button-nav li a:hover,#buddypress ul.button-nav li.current a{background:#ededed;border:1px solid #bbb;color:#555;outline:0;text-decoration:none}#buddypress form.standard-form .left-menu{float:left}#buddypress form.standard-form .left-menu #invite-list ul{margin:1%;list-style:none}#buddypress form.standard-form .left-menu #invite-list ul li{margin:0 0 0 1%}#buddypress form.standard-form .main-column{margin-left:190px}#buddypress form.standard-form .main-column ul#friend-list{clear:none;float:left}#buddypress form.standard-form .main-column ul#friend-list h4{clear:none}#buddypress .wp-editor-wrap a.button,#buddypress .wp-editor-wrap button,#buddypress .wp-editor-wrap input[type=button],#buddypress .wp-editor-wrap input[type=reset],#buddypress .wp-editor-wrap input[type=submit]{padding:0 10px 1px}#buddypress form [disabled=disabled]{cursor:default;opacity:.4}.bp-screen-reader-text{clip:rect(1px,1px,1px,1px);position:absolute}#buddypress a.loading,#buddypress input.loading{-webkit-animation:loader-pulsate .5s infinite ease-in-out alternate;-moz-animation:loader-pulsate .5s infinite ease-in-out alternate;border-color:#aaa}@-webkit-keyframes loader-pulsate{from{border-color:#aaa;-webkit-box-shadow:0 0 6px #ccc;box-shadow:0 0 6px #ccc}to{border-color:#ccc;-webkit-box-shadow:0 0 6px #f8f8f8;box-shadow:0 0 6px #f8f8f8}}@-moz-keyframes loader-pulsate{from{border-color:#aaa;-moz-box-shadow:0 0 6px #ccc;box-shadow:0 0 6px #ccc}to{border-color:#ccc;-moz-box-shadow:0 0 6px #f8f8f8;box-shadow:0 0 6px #f8f8f8}}#buddypress a.loading:hover,#buddypress input.loading:hover{color:#777}#buddypress a.disabled,#buddypress button.disabled,#buddypress button.pending,#buddypress div.pending a,#buddypress input[type=button].disabled,#buddypress input[type=button].pending,#buddypress input[type=reset].disabled,#buddypress input[type=reset].pending,#buddypress input[type=submit].disabled,#buddypress input[type=submit].pending,#buddypress input[type=submit][disabled=disabled]{border-color:#eee;color:#bbb;cursor:default}#buddypress a.disabled:hover,#buddypress button.disabled:hover,#buddypress button.pending:hover,#buddypress div.pending a:hover,#buddypress input[type=button]:hover.disabled,#buddypress input[type=button]:hover.pending,#buddypress input[type=reset]:hover.disabled,#buddypress input[type=reset]:hover.pending,#buddypress input[type=submit]:hover.disabled,#buddypress input[type=submit]:hover.pending{border-color:#eee;color:#bbb}#buddypress ul#topic-post-list{margin:0;width:auto}#buddypress ul#topic-post-list li{padding:15px;position:relative}#buddypress ul#topic-post-list li.alt{background:#f5f5f5}#buddypress ul#topic-post-list li div.poster-meta{color:#888;margin-bottom:10px}#buddypress ul#topic-post-list li div.post-content{margin-left:54px}#buddypress div.topic-tags{font-size:80%}#buddypress div.admin-links{color:#888;font-size:80%;position:absolute;top:15px;right:25px}#buddypress div#topic-meta{margin:0;padding:5px 19px 30px;position:relative}#buddypress div#topic-meta div.admin-links{right:19px;top:-36px}#buddypress div#topic-meta h3{margin:5px 0}#buddypress div#new-topic-post{display:none;margin:20px 0 0;padding:1px 0 0}#buddypress table.forum,#buddypress table.messages-notices,#buddypress table.notifications,#buddypress table.notifications-settings,#buddypress table.profile-fields,#buddypress table.profile-settings,#buddypress table.wp-profile-fields{width:100%}#buddypress table.forum thead tr,#buddypress table.messages-notices thead tr,#buddypress table.notifications thead tr,#buddypress table.notifications-settings thead tr,#buddypress table.profile-fields thead tr,#buddypress table.profile-settings thead tr,#buddypress table.wp-profile-fields thead tr{background:#eaeaea}#buddypress table#message-threads{clear:both}#buddypress table.profile-fields{margin-bottom:20px}#buddypress table.profile-fields:last-child{margin-bottom:0}#buddypress table.profile-fields p{margin:0}#buddypress table.profile-fields p:last-child{margin-top:0}#buddypress table.forum tr td,#buddypress table.forum tr th,#buddypress table.messages-notices tr td,#buddypress table.messages-notices tr th,#buddypress table.notifications tr td,#buddypress table.notifications tr th,#buddypress table.notifications-settings tr td,#buddypress table.notifications-settings tr th,#buddypress table.profile-fields tr td,#buddypress table.profile-fields tr th,#buddypress table.profile-settings tr td,#buddypress table.wp-profile-fields tr td,#buddypress table.wp-profile-fields tr th{padding:8px;vertical-align:middle}#buddypress table.forum tr td.label,#buddypress table.messages-notices tr td.label,#buddypress table.notifications tr td.label,#buddypress table.notifications-settings tr td.label,#buddypress table.profile-fields tr td.label,#buddypress table.wp-profile-fields tr td.label{border-right:1px solid #eaeaea;font-weight:700;width:25%}#buddypress #message-threads .thread-info{min-width:40%}#buddypress table tr td.thread-info p{margin:0}#buddypress table tr td.thread-info p.thread-excerpt{color:#888;font-size:80%;margin-top:3px}#buddypress table.forum td{text-align:center}#buddypress table.forum tr.alt td,#buddypress table.messages-notices tr.alt td,#buddypress table.notifications tr.alt td,#buddypress table.notifications-settings tr.alt td,#buddypress table.profile-fields tr.alt td,#buddypress table.profile-settings tr.alt td,#buddypress table.wp-profile-fields tr.alt td{background:#f5f5f5}#buddypress table.notification-settings{margin-bottom:20px;text-align:left}#buddypress #groups-notification-settings{margin-bottom:0}#buddypress table.notification-settings td:first-child,#buddypress table.notification-settings th.icon,#buddypress table.notifications td:first-child,#buddypress table.notifications th.icon{display:none}#buddypress table.notification-settings th.title,#buddypress table.profile-settings th.title{width:80%}#buddypress table.notification-settings .no,#buddypress table.notification-settings .yes{text-align:center;width:40px}#buddypress table.forum{margin:0;width:auto;clear:both}#buddypress table.forum tr.sticky td{font-size:110%;background:#fff9db;border-top:1px solid #ffe8c4;border-bottom:1px solid #ffe8c4}#buddypress table.forum tr.closed td.td-title{padding-left:35px}#buddypress table.forum td p.topic-text{color:#888;font-size:100%}#buddypress table.forum tr>td:first-child,#buddypress table.forum tr>th:first-child{padding-left:15px}#buddypress table.forum tr>td:last-child,#buddypress table.forum tr>th:last-child{padding-right:15px}#buddypress table.forum td.td-group,#buddypress table.forum td.td-poster,#buddypress table.forum td.td-title,#buddypress table.forum tr th#th-group,#buddypress table.forum tr th#th-poster,#buddypress table.forum tr th#th-title{text-align:left}#buddypress table.forum tr td.td-title a.topic-title{font-size:110%}#buddypress table.forum td.td-freshness{white-space:nowrap}#buddypress table.forum td.td-freshness span.time-since{font-size:80%;color:#888}#buddypress table.forum td img.avatar{float:none;margin:0 5px -8px 0}#buddypress table.forum td.td-group,#buddypress table.forum td.td-poster{min-width:140px}#buddypress table.forum th#th-title{width:80%}#buddypress table.forum th#th-freshness{width:25%}#buddypress table.forum th#th-postcount{width:15%}#buddypress table.forum p.topic-meta{font-size:80%;margin:5px 0 0}#buddypress .item-body{margin:20px 0}#buddypress span.activity{display:inline-block;font-size:small;opacity:.8;padding:0}#buddypress span.user-nicename{color:#777;display:inline-block;font-size:120%;font-weight:700}#buddypress div#message p,#sitewide-notice p{font-weight:400;margin-top:3px;text-decoration:none;background-color:#ffd;border:1px solid #cb2;color:#440}#buddypress div#item-header{overflow:hidden}#buddypress div#item-header div#item-header-content{float:left;margin-left:0}#buddypress div#item-header h2{line-height:120%;margin:0 0 15px}#buddypress div#item-header h2 a{color:#777;text-decoration:none}#buddypress div#item-header img.avatar{float:left;margin:0 15px 19px 0}#buddypress div#item-header h2{margin-bottom:5px}#buddypress div#item-header h2 span.highlight{font-size:60%;font-weight:400;line-height:170%;vertical-align:middle;display:inline-block}#buddypress div#item-header h2 span.highlight span{background:#a1dcfa;color:#fff;cursor:pointer;font-weight:700;font-size:80%;margin-bottom:2px;padding:1px 4px;position:relative;right:-2px;top:-2px;vertical-align:middle}#buddypress div#item-header div#item-meta{font-size:80%;color:#aaa;overflow:hidden;margin:15px 0 5px;padding-bottom:10px}#buddypress div#item-header div#item-actions{float:right;margin:0 0 15px 15px;text-align:right;width:20%}#buddypress div#item-header div#item-actions h3{margin:0 0 5px}#buddypress div#item-header ul{margin-bottom:15px;overflow:hidden}#buddypress div#item-header ul h5,#buddypress div#item-header ul hr,#buddypress div#item-header ul span{display:none}#buddypress div#item-header ul li{float:right;list-style:none}#buddypress div#item-header ul img.avatar,#buddypress div#item-header ul.avatars img.avatar{height:30px;margin:2px;width:30px}#buddypress div#item-header a.button,#buddypress div#item-header div.generic-button{float:left;margin:10px 10px 0 0}#buddypress div#item-header div#message.info{line-height:80%}#buddypress ul.item-list{border-top:1px solid #eaeaea;width:100%;list-style:none;clear:both;margin:0;padding:0}body.activity-permalink #buddypress ul.item-list,body.activity-permalink #buddypress ul.item-list li.activity-item{border:none}#buddypress ul.item-list li{border-bottom:1px solid #eaeaea;padding:15px 0;margin:0;position:relative;list-style:none}#buddypress ul.single-line li{border:none}#buddypress ul.item-list li img.avatar{float:left;margin:0 10px 0 0}#buddypress ul.item-list li div.item-title,#buddypress ul.item-list li h4{font-weight:400;font-size:90%;margin:0;width:75%}#buddypress ul.item-list li div.item-title span{color:#999;font-size:80%}#buddypress ul.item-list li div.item-desc{color:#888;font-size:80%;margin:10px 0 0 60px;width:50%}#buddypress ul.item-list li div.action{position:absolute;top:15px;right:0;text-align:right}#buddypress ul.item-list li div.meta{color:#888;font-size:80%;margin-top:10px}#buddypress ul.item-list li h5 span.small{float:right;font-size:80%;font-weight:400}#buddypress div.item-list-tabs{background:0 0;clear:left;overflow:hidden}#buddypress div.item-list-tabs ul{margin:0;padding:0}#buddypress div.item-list-tabs ul li{float:left;margin:0;list-style:none}#buddypress div.item-list-tabs#subnav ul li{margin-top:0}#buddypress div.item-list-tabs ul li.last{float:right;margin:7px 0 0}#buddypress div.item-list-tabs#subnav ul li.last{margin-top:4px}#buddypress div.item-list-tabs ul li.last select{max-width:185px}#buddypress div.item-list-tabs ul li a,#buddypress div.item-list-tabs ul li span{display:block;padding:5px 10px;text-decoration:none}#buddypress div.item-list-tabs ul li a span{background:#eee;border-radius:50%;border:1px solid #ccc;color:#999;display:inline;font-size:70%;margin-left:2px;padding:3px 6px;text-align:center;vertical-align:middle}#buddypress div.item-list-tabs ul li.current a,#buddypress div.item-list-tabs ul li.selected a{background-color:#eee;color:#555;opacity:.8;font-weight:700}#buddypress div.item-list-tabs ul li a:hover span,#buddypress div.item-list-tabs ul li.current a span,#buddypress div.item-list-tabs ul li.selected a span{background-color:#eee}#buddypress div.item-list-tabs ul li.current a span,#buddypress div.item-list-tabs ul li.selected a span{background-color:#fff}#buddypress div#item-nav ul li.loading a{background-position:88% 50%}#buddypress div.item-list-tabs#object-nav{margin-top:0}#buddypress div.item-list-tabs#subnav{background:0 0;margin:10px 0;overflow:hidden}#buddypress #admins-list li,#buddypress #members-list li,#buddypress #mods-list li{overflow:auto;list-style:none}#buddypress table#message-threads tr.unread td{background:#fff9db;border-top:1px solid #ffe8c4;border-bottom:1px solid #ffe8c4;font-weight:700}#buddypress table#message-threads tr.unread td .activity,#buddypress table#message-threads tr.unread td .thread-excerpt,#buddypress table#message-threads tr.unread td.thread-options{font-weight:400}#buddypress li span.unread-count,#buddypress tr.unread span.unread-count{background:#d00;color:#fff;font-weight:700;padding:2px 8px}#buddypress div.item-list-tabs ul li a span.unread-count{padding:1px 6px;color:#fff}#buddypress div#message-thread div.message-box{margin:0;padding:15px}#buddypress div#message-thread div.alt{background:#f4f4f4}#buddypress div#message-thread p#message-recipients{margin:10px 0 20px}#buddypress div#message-thread img.avatar{float:left;margin:0 10px 0 0;vertical-align:middle}#buddypress div#message-thread strong{font-size:100%;margin:0}#buddypress div#message-thread strong a{text-decoration:none}#buddypress div#message-thread strong span.activity{margin-top:4px}#buddypress div#message-thread div.message-metadata{overflow:hidden}#buddypress div#message-thread div.message-content{margin-left:45px}#buddypress div#message-thread div.message-options{text-align:right}#buddypress #message-threads img.avatar{max-width:none}#buddypress div.message-search{float:right;margin:0 20px}#buddypress div.profile h4{margin-bottom:auto;margin-top:15px}#buddypress #profile-edit-form ul.button-nav{margin-top:15px}body.no-js #buddypress .field-visibility-settings-close,body.no-js #buddypress .field-visibility-settings-toggle{display:none}#buddypress .field-visibility-settings{display:none;margin-top:10px}body.no-js #buddypress .field-visibility-settings{display:block}#buddypress .current-visibility-level{font-weight:700;font-style:normal}#buddypress .field-visibility-settings,#buddypress .field-visibility-settings-notoggle,#buddypress .field-visibility-settings-toggle{color:#888}#buddypress .field-visibility-settings a,#buddypress .field-visibility-settings-toggle a{font-size:80%}body.register #buddypress div.page ul{list-style:none}#buddypress .standard-form .field-visibility-settings label{margin:0;font-weight:400}#buddypress .field-visibility-settings legend,#buddypress .field-visibility-settings-toggle{font-style:italic}#buddypress .field-visibility-settings .radio{list-style:none;margin-bottom:0}#buddypress .field-visibility select{margin:0}.widget.buddypress div.item-avatar img.avatar{float:left;margin:0 10px 15px 0}.widget.buddypress span.activity{display:inline-block;font-size:small;opacity:.8;padding:0}.widget.buddypress div.item-options{font-size:90%;margin:0 0 1em;padding:1em 0}.widget.buddypress div.item{margin:0 0 1em}.widget.buddypress div.item-content,.widget.buddypress div.item-meta{font-size:11px;margin-left:50px}.widget.buddypress ul.item-list img.avatar{height:40px;margin-right:10px;width:40px}.widget.buddypress div.item-avatar img{height:40px;margin:1px;width:40px}.widget.buddypress div.avatar-block{overflow:hidden}.widget.buddypress #bp-login-widget-form label{display:block;margin:1rem 0 .5rem}.widget.buddypress #bp-login-widget-form #bp-login-widget-submit{margin-right:10px}.widget.buddypress .bp-login-widget-user-avatar{float:left}.bp-login-widget-user-avatar img.avatar{height:40px;width:40px}.widget.buddypress .bp-login-widget-user-links>div{padding-left:60px;margin-bottom:.5rem}.widget.buddypress .bp-login-widget-user-links>div.bp-login-widget-user-link a{font-weight:700}.widget.buddypress #friends-list,.widget.buddypress #groups-list,.widget.buddypress #members-list{margin-left:0;padding-left:0}.widget.buddypress #friends-list li,.widget.buddypress #groups-list li,.widget.buddypress #members-list li{list-style-type:none}@media only screen and (max-width:480px){#buddypress div.dir-search{float:right;margin-top:-50px;text-align:right}#buddypress div.dir-search input[type=text]{margin-bottom:1em;width:50%}a.bp-title-button{margin-left:10px}#buddypress form.standard-form .main-column div.action{position:relative;margin-bottom:1em}#buddypress form.standard-form .main-column ul#friend-list h4{width:100%}}@media only screen and (max-width:320px){#buddypress div.dir-search{clear:left;float:left;margin-top:0;text-align:left}#buddypress li#groups-order-select{clear:left;float:left}#buddypress ul.item-list li div.action{clear:left;float:left;margin-top:0;margin-left:70px;position:relative;top:0;right:0;text-align:left}#buddypress ul.item-list li div.item-desc{clear:left;float:left;margin:10px 0 0;width:auto}#buddypress li div.item{margin-left:70px;width:auto}#buddypress ul.item-list li div.meta{margin-top:0}#buddypress .item-desc p{margin:0 0 10px}#buddypress div.pagination .pag-count{margin-left:0}}@media only screen and (max-width:240px){#buddypress div.dir-search{float:left;margin:0}#buddypress div.dir-search input[type=text]{width:50%}#buddypress li#groups-order-select{float:left}#buddypress ul.item-list li img.avatar{width:30px;height:auto}#buddypress li div.item,#buddypress ul.item-list li div.action{margin-left:45px}h1 a.bp-title-button{clear:left;float:left;margin:10px 0 20px}}
bp-templates/bp-legacy/js/buddypress.min.js CHANGED
@@ -1,3 +1,3 @@
1
- /*! buddypress - v2.1.0 - 2015-01-15 12:34:33 AM UTC - https://wordpress.org/plugins/buddypress/ */
2
  function bp_init_activity(){jq.cookie("bp-activity-oldestpage",1,{path:"/"}),null!=jq.cookie("bp-activity-filter")&&jq("#activity-filter-select").length&&jq('#activity-filter-select select option[value="'+jq.cookie("bp-activity-filter")+'"]').prop("selected",!0),null!=jq.cookie("bp-activity-scope")&&jq(".activity-type-tabs").length&&(jq(".activity-type-tabs li").each(function(){jq(this).removeClass("selected")}),jq("#activity-"+jq.cookie("bp-activity-scope")+", .item-list-tabs li.current").addClass("selected"))}function bp_init_objects(a){jq(a).each(function(b){null!=jq.cookie("bp-"+a[b]+"-filter")&&jq("#"+a[b]+"-order-select select").length&&jq("#"+a[b]+'-order-select select option[value="'+jq.cookie("bp-"+a[b]+"-filter")+'"]').prop("selected",!0),null!=jq.cookie("bp-"+a[b]+"-scope")&&jq("div."+a[b]).length&&(jq(".item-list-tabs li").each(function(){jq(this).removeClass("selected")}),jq("#"+a[b]+"-"+jq.cookie("bp-"+a[b]+"-scope")+", #object-nav li.current").addClass("selected"))})}function bp_filter_request(a,b,c,d,e,f,g,h,i){return"activity"===a?!1:(null===c&&(c="all"),jq.cookie("bp-"+a+"-scope",c,{path:"/"}),jq.cookie("bp-"+a+"-filter",b,{path:"/"}),jq.cookie("bp-"+a+"-extras",g,{path:"/"}),jq(".item-list-tabs li").each(function(){jq(this).removeClass("selected")}),jq("#"+a+"-"+c+", #object-nav li.current").addClass("selected"),jq(".item-list-tabs li.selected").addClass("loading"),jq('.item-list-tabs select option[value="'+b+'"]').prop("selected",!0),("friends"===a||"group_members"===a)&&(a="members"),bp_ajax_request&&bp_ajax_request.abort(),void(bp_ajax_request=jq.post(ajaxurl,{action:a+"_filter",cookie:bp_get_cookies(),object:a,filter:b,search_terms:e,scope:c,page:f,extras:g,template:i},function(a){if("pag-bottom"===h&&jq("#subnav").length){var b=jq("#subnav").parent();jq("html,body").animate({scrollTop:b.offset().top},"slow",function(){jq(d).fadeOut(100,function(){jq(this).html(a),jq(this).fadeIn(100)})})}else jq(d).fadeOut(100,function(){jq(this).html(a),jq(this).fadeIn(100)});jq(".item-list-tabs li.selected").removeClass("loading")})))}function bp_activity_request(a,b){jq.cookie("bp-activity-scope",a,{path:"/"}),jq.cookie("bp-activity-filter",b,{path:"/"}),jq.cookie("bp-activity-oldestpage",1,{path:"/"}),jq(".item-list-tabs li").each(function(){jq(this).removeClass("selected loading")}),jq("#activity-"+a+", .item-list-tabs li.current").addClass("selected"),jq("#object-nav.item-list-tabs li.selected, div.activity-type-tabs li.selected").addClass("loading"),jq('#activity-filter-select select option[value="'+b+'"]').prop("selected",!0),jq(".widget_bp_activity_widget h2 span.ajax-loader").show(),bp_ajax_request&&bp_ajax_request.abort(),bp_ajax_request=jq.post(ajaxurl,{action:"activity_widget_filter",cookie:bp_get_cookies(),_wpnonce_activity_filter:jq("#_wpnonce_activity_filter").val(),scope:a,filter:b},function(a){jq(".widget_bp_activity_widget h2 span.ajax-loader").hide(),jq("div.activity").fadeOut(100,function(){jq(this).html(a.contents),jq(this).fadeIn(100),bp_legacy_theme_hide_comments()}),null!=a.feed_url&&jq(".directory #subnav li.feed a, .home-page #subnav li.feed a").attr("href",a.feed_url),jq(".item-list-tabs li.selected").removeClass("loading")},"json")}function bp_legacy_theme_hide_comments(){var a,b,c,d=jq("div.activity-comments");return d.length?void d.each(function(){jq(this).children("ul").children("li").length<5||(comments_div=jq(this),a=comments_div.parents("#activity-stream > li"),b=jq(this).children("ul").children("li"),c=" ",jq("#"+a.attr("id")+" a.acomment-reply span").length&&(c=jq("#"+a.attr("id")+" a.acomment-reply span").html()),b.each(function(d){d<b.length-5&&(jq(this).addClass("hidden"),jq(this).toggle(),d||jq(this).before('<li class="show-all"><a href="#'+a.attr("id")+'/show-all/" title="'+BP_DTheme.show_all_comments+'">'+BP_DTheme.show_x_comments.replace("%d",c)+"</a></li>"))}))}):!1}function checkAll(){var a,b=document.getElementsByTagName("input");for(a=0;a<b.length;a++)"checkbox"===b[a].type&&(b[a].checked=""===$("check_all").checked?"":"checked")}function clear(a){if(a=document.getElementById(a)){var b=a.getElementsByTagName("INPUT"),c=a.getElementsByTagName("OPTION"),d=0;if(b)for(d=0;d<b.length;d++)b[d].checked="";if(c)for(d=0;d<c.length;d++)c[d].selected=!1}}function bp_get_cookies(){var a,b,c,d,e,f=document.cookie.split(";"),g={},h="bp-";for(a=0;a<f.length;a++)b=f[a],c=b.indexOf("="),d=jq.trim(unescape(b.slice(0,c))),e=unescape(b.slice(c+1)),0===d.indexOf(h)&&(g[d]=e);return encodeURIComponent(jq.param(g))}var jq=jQuery,bp_ajax_request=null,newest_activities="",activity_last_recorded=0;jq(document).ready(function(){"-1"===window.location.search.indexOf("new")&&jq("div.forums").length?jq("#new-topic-post").hide():jq("#new-topic-post").show(),bp_init_activity();var a=["members","groups","blogs","forums","group_members"],b=jq("#whats-new");if(bp_init_objects(a),b.length&&bp_get_querystring("r")){var c=b.val();jq("#whats-new-options").animate({height:"40px"}),b.animate({height:"50px"}),jq.scrollTo(b,500,{offset:-125,easing:"swing"}),b.val("").focus().val(c)}if(b.focus(function(){jq("#whats-new-options").animate({height:"40px"}),jq("#whats-new-form textarea").animate({height:"50px"}),jq("#aw-whats-new-submit").prop("disabled",!1);var a=jq("form#whats-new-form"),b=jq("#activity-all");a.hasClass("submitted")&&a.removeClass("submitted"),b.length&&(b.hasClass("selected")?"-1"!==jq("#activity-filter-select select").val()&&(jq("#activity-filter-select select").val("-1"),jq("#activity-filter-select select").trigger("change")):(jq("#activity-filter-select select").val("-1"),b.children("a").trigger("click")))}),b.blur(function(){document.activeElement!==this&&(this.value.match(/\S+/)||(this.value="",jq("#whats-new-options").animate({height:"40px"}),jq("form#whats-new-form textarea").animate({height:"20px"}),jq("#aw-whats-new-submit").prop("disabled",!0)))}),jq("#aw-whats-new-submit").on("click",function(){var a=0,b=jq(this),c=b.closest("form#whats-new-form");return c.children().each(function(){(jq.nodeName(this,"textarea")||jq.nodeName(this,"input"))&&jq(this).prop("disabled",!0)}),jq("div.error").remove(),b.addClass("loading"),b.prop("disabled",!0),c.addClass("submitted"),object="",item_id=jq("#whats-new-post-in").val(),content=jq("#whats-new").val(),firstrow=jq("#buddypress ul.activity-list li").first(),activity_row=firstrow,timestamp=null,firstrow.length&&(activity_row.hasClass("load-newest")&&(activity_row=firstrow.next()),timestamp=activity_row.prop("class").match(/date-recorded-([0-9]+)/)),timestamp&&(a=timestamp[1]),item_id>0&&(object=jq("#whats-new-post-object").val()),jq.post(ajaxurl,{action:"post_update",cookie:bp_get_cookies(),_wpnonce_post_update:jq("#_wpnonce_post_update").val(),content:content,object:object,item_id:item_id,since:a,_bp_as_nonce:jq("#_bp_as_nonce").val()||""},function(b){if(c.children().each(function(){(jq.nodeName(this,"textarea")||jq.nodeName(this,"input"))&&jq(this).prop("disabled",!1)}),b[0]+b[1]==="-1")c.prepend(b.substr(2,b.length)),jq("#"+c.attr("id")+" div.error").hide().fadeIn(200);else{if(0===jq("ul.activity-list").length&&(jq("div.error").slideUp(100).remove(),jq("#message").slideUp(100).remove(),jq("div.activity").append('<ul id="activity-stream" class="activity-list item-list">')),firstrow.hasClass("load-newest")&&firstrow.remove(),jq("#activity-stream").prepend(b),a||jq("#activity-stream li:first").addClass("new-update just-posted"),0!==jq("#latest-update").length){var d=jq("#activity-stream li.new-update .activity-content .activity-inner p").html(),e=jq("#activity-stream li.new-update .activity-content .activity-header p a.view").attr("href"),f=jq("#activity-stream li.new-update .activity-content .activity-inner p").text(),g="";""!==f&&(g=d+" "),g+='<a href="'+e+'" rel="nofollow">'+BP_DTheme.view+"</a>",jq("#latest-update").slideUp(300,function(){jq("#latest-update").html(g),jq("#latest-update").slideDown(300)})}jq("li.new-update").hide().slideDown(300),jq("li.new-update").removeClass("new-update"),jq("#whats-new").val(""),newest_activities="",activity_last_recorded=0}jq("#whats-new-options").animate({height:"0px"}),jq("#whats-new-form textarea").animate({height:"20px"}),jq("#aw-whats-new-submit").prop("disabled",!0).removeClass("loading")}),!1}),jq("div.activity-type-tabs").on("click",function(a){var b,c,d=jq(a.target).parent();if("STRONG"===a.target.nodeName||"SPAN"===a.target.nodeName)d=d.parent();else if("A"!==a.target.nodeName)return!1;return jq.cookie("bp-activity-oldestpage",1,{path:"/"}),b=d.attr("id").substr(9,d.attr("id").length),c=jq("#activity-filter-select select").val(),"mentions"===b&&jq("#"+d.attr("id")+" a strong").remove(),bp_activity_request(b,c),!1}),jq("#activity-filter-select select").change(function(){var a,b=jq("div.activity-type-tabs li.selected"),c=jq(this).val();return a=b.length?b.attr("id").substr(9,b.attr("id").length):null,bp_activity_request(a,c),!1}),jq("div.activity").on("click",function(a){var b,c,d,e,f,g,h,i,j,k,l=jq(a.target);return l.hasClass("fav")||l.hasClass("unfav")?(b=l.hasClass("fav")?"fav":"unfav",c=l.closest(".activity-item"),d=c.attr("id").substr(9,c.attr("id").length),l.addClass("loading"),jq.post(ajaxurl,{action:"activity_mark_"+b,cookie:bp_get_cookies(),id:d},function(a){l.removeClass("loading"),l.fadeOut(200,function(){jq(this).html(a),jq(this).attr("title","fav"===b?BP_DTheme.remove_fav:BP_DTheme.mark_as_fav),jq(this).fadeIn(200)}),"fav"===b?(jq(".item-list-tabs #activity-favs-personal-li").length||(jq(".item-list-tabs #activity-favorites").length||jq(".item-list-tabs ul #activity-mentions").before('<li id="activity-favorites"><a href="#">'+BP_DTheme.my_favs+" <span>0</span></a></li>"),jq(".item-list-tabs ul #activity-favorites span").html(Number(jq(".item-list-tabs ul #activity-favorites span").html())+1)),l.removeClass("fav"),l.addClass("unfav")):(l.removeClass("unfav"),l.addClass("fav"),jq(".item-list-tabs ul #activity-favorites span").html(Number(jq(".item-list-tabs ul #activity-favorites span").html())-1),Number(jq(".item-list-tabs ul #activity-favorites span").html())||(jq(".item-list-tabs ul #activity-favorites").hasClass("selected")&&bp_activity_request(null,null),jq(".item-list-tabs ul #activity-favorites").remove())),"activity-favorites"===jq(".item-list-tabs li.selected").attr("id")&&l.closest(".activity-item").slideUp(100)}),!1):l.hasClass("delete-activity")?(e=l.parents("div.activity ul li"),f=e.attr("id").substr(9,e.attr("id").length),g=l.attr("href"),h=g.split("_wpnonce="),i=e.prop("class").match(/date-recorded-([0-9]+)/),h=h[1],l.addClass("loading"),jq.post(ajaxurl,{action:"delete_activity",cookie:bp_get_cookies(),id:f,_wpnonce:h},function(a){a[0]+a[1]==="-1"?(e.prepend(a.substr(2,a.length)),e.children("#message").hide().fadeIn(300)):(e.slideUp(300),i&&activity_last_recorded===i[1]&&(newest_activities="",activity_last_recorded=0))}),!1):l.hasClass("spam-activity")?(e=l.parents("div.activity ul li"),i=e.prop("class").match(/date-recorded-([0-9]+)/),l.addClass("loading"),jq.post(ajaxurl,{action:"bp_spam_activity",cookie:encodeURIComponent(document.cookie),id:e.attr("id").substr(9,e.attr("id").length),_wpnonce:l.attr("href").split("_wpnonce=")[1]},function(a){a[0]+a[1]==="-1"?(e.prepend(a.substr(2,a.length)),e.children("#message").hide().fadeIn(300)):(e.slideUp(300),i&&activity_last_recorded===i[1]&&(newest_activities="",activity_last_recorded=0))}),!1):l.parent().hasClass("load-more")?(bp_ajax_request&&bp_ajax_request.abort(),jq("#buddypress li.load-more").addClass("loading"),null===jq.cookie("bp-activity-oldestpage")&&jq.cookie("bp-activity-oldestpage",1,{path:"/"}),j=1*jq.cookie("bp-activity-oldestpage")+1,k=[],jq(".activity-list li.just-posted").each(function(){k.push(jq(this).attr("id").replace("activity-",""))}),load_more_args={action:"activity_get_older_updates",cookie:bp_get_cookies(),page:j,exclude_just_posted:k.join(",")},load_more_search=bp_get_querystring("s"),load_more_search&&(load_more_args.search_terms=load_more_search),bp_ajax_request=jq.post(ajaxurl,load_more_args,function(a){jq("#buddypress li.load-more").removeClass("loading"),jq.cookie("bp-activity-oldestpage",j,{path:"/"}),jq("#buddypress ul.activity-list").append(a.contents),l.parent().hide()},"json"),!1):void(l.parent().hasClass("load-newest")&&(a.preventDefault(),l.parent().hide(),activity_html=jq.parseHTML(newest_activities),jq.each(activity_html,function(a,b){"LI"===b.nodeName&&jq(b).hasClass("just-posted")&&jq("#"+jq(b).attr("id")).length&&jq("#"+jq(b).attr("id")).remove()}),jq("#buddypress ul.activity-list").prepend(newest_activities),newest_activities=""))}),jq("div.activity").on("click",".activity-read-more a",function(a){var b,c,d=jq(a.target),e=d.parent().attr("id").split("-"),f=e[3],g=e[0];return b="acomment"===g?"acomment-content":"activity-inner",c=jq("#"+g+"-"+f+" ."+b+":first"),jq(d).addClass("loading"),jq.post(ajaxurl,{action:"get_single_activity_content",activity_id:f},function(a){jq(c).slideUp(300).html(a).slideDown(300)}),!1}),jq("form.ac-form").hide(),jq(".activity-comments").length&&bp_legacy_theme_hide_comments(),jq("div.activity").on("click",function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r=jq(a.target);return r.hasClass("acomment-reply")||r.parent().hasClass("acomment-reply")?(r.parent().hasClass("acomment-reply")&&(r=r.parent()),b=r.attr("id"),c=b.split("-"),d=c[2],e=r.attr("href").substr(10,r.attr("href").length),f=jq("#ac-form-"+d),f.css("display","none"),f.removeClass("root"),jq(".ac-form").hide(),f.children("div").each(function(){jq(this).hasClass("error")&&jq(this).hide()}),"comment"!==c[1]?jq("#acomment-"+e).append(f):jq("#activity-"+d+" .activity-comments").append(f),f.parent().hasClass("activity-comments")&&f.addClass("root"),f.slideDown(200),jq.scrollTo(f,500,{offset:-100,easing:"swing"}),jq("#ac-form-"+c[2]+" textarea").focus(),!1):"ac_form_submit"===r.attr("name")?(f=r.parents("form"),g=f.parent(),h=f.attr("id").split("-"),g.hasClass("activity-comments")?j=h[2]:(i=g.attr("id").split("-"),j=i[1]),content=jq("#"+f.attr("id")+" textarea"),jq("#"+f.attr("id")+" div.error").hide(),r.addClass("loading").prop("disabled",!0),content.addClass("loading").prop("disabled",!0),k={action:"new_activity_comment",cookie:bp_get_cookies(),_wpnonce_new_activity_comment:jq("#_wpnonce_new_activity_comment").val(),comment_id:j,form_id:h[2],content:content.val()},l=jq("#_bp_as_nonce_"+j).val(),l&&(k["_bp_as_nonce_"+j]=l),jq.post(ajaxurl,k,function(a){if(r.removeClass("loading"),content.removeClass("loading"),a[0]+a[1]==="-1")f.append(jq(a.substr(2,a.length)).hide().fadeIn(200));else{var b=f.parent();f.fadeOut(200,function(){0===b.children("ul").length&&(b.hasClass("activity-comments")?b.prepend("<ul></ul>"):b.append("<ul></ul>"));var c=jq.trim(a);b.children("ul").append(jq(c).hide().fadeIn(200)),f.children("textarea").val(""),b.parent().addClass("has-comments")}),jq("#"+f.attr("id")+" textarea").val(""),jq("#activity-"+h[2]+" a.acomment-reply span").html(Number(jq("#activity-"+h[2]+" a.acomment-reply span").html())+1),m=b.find(".show-all").find("a"),m&&(n=jq("li#activity-"+h[2]+" a.acomment-reply span").html(),m.html(BP_DTheme.show_x_comments.replace("%d",n)))}jq(r).prop("disabled",!1),jq(content).prop("disabled",!1)}),!1):r.hasClass("acomment-delete")?(o=r.attr("href"),p=r.parent().parent(),f=p.parents("div.activity-comments").children("form"),q=o.split("_wpnonce="),q=q[1],j=o.split("cid="),j=j[1].split("&"),j=j[0],r.addClass("loading"),jq(".activity-comments ul .error").remove(),p.parents(".activity-comments").append(f),jq.post(ajaxurl,{action:"delete_activity_comment",cookie:bp_get_cookies(),_wpnonce:q,id:j},function(a){if(a[0]+a[1]==="-1")p.prepend(jq(a.substr(2,a.length)).hide().fadeIn(200));else{var b,c,d,e=jq("#"+p.attr("id")+" ul").children("li"),f=0;jq(e).each(function(){jq(this).is(":hidden")||f++}),p.fadeOut(200,function(){p.remove()}),b=jq("#"+p.parents("#activity-stream > li").attr("id")+" a.acomment-reply span"),c=b.html()-(1+f),b.html(c),d=p.siblings(".show-all").find("a"),d&&d.html(BP_DTheme.show_x_comments.replace("%d",c)),0===c&&jq(p.parents("#activity-stream > li")).removeClass("has-comments")}}),!1):r.hasClass("spam-activity-comment")?(o=r.attr("href"),p=r.parent().parent(),r.addClass("loading"),jq(".activity-comments ul div.error").remove(),p.parents(".activity-comments").append(p.parents(".activity-comments").children("form")),jq.post(ajaxurl,{action:"bp_spam_activity_comment",cookie:encodeURIComponent(document.cookie),_wpnonce:o.split("_wpnonce=")[1],id:o.split("cid=")[1].split("&")[0]},function(a){if(a[0]+a[1]==="-1")p.prepend(jq(a.substr(2,a.length)).hide().fadeIn(200));else{var b,c=jq("#"+p.attr("id")+" ul").children("li"),d=0;jq(c).each(function(){jq(this).is(":hidden")||d++}),p.fadeOut(200),b=p.parents("#activity-stream > li"),jq("#"+b.attr("id")+" a.acomment-reply span").html(jq("#"+b.attr("id")+" a.acomment-reply span").html()-(1+d))}}),!1):r.parent().hasClass("show-all")?(r.parent().addClass("loading"),setTimeout(function(){r.parent().parent().children("li").fadeIn(200,function(){r.parent().remove()})},600),!1):r.hasClass("ac-reply-cancel")?(jq(r).closest(".ac-form").slideUp(200),!1):void 0}),jq(document).keydown(function(a){if(a=a||window.event,a.target?element=a.target:a.srcElement&&(element=a.srcElement),3===element.nodeType&&(element=element.parentNode),a.ctrlKey!==!0&&a.altKey!==!0&&a.metaKey!==!0){var b=a.keyCode?a.keyCode:a.which;27===b&&"TEXTAREA"===element.tagName&&jq(element).hasClass("ac-input")&&jq(element).parent().parent().parent().slideUp(200)}}),jq(".dir-search, .groups-members-search").on("click",function(a){if(!jq(this).hasClass("no-ajax")){var b,c,d,e=jq(a.target);return"submit"===e.attr("type")?(b=jq(".item-list-tabs li.selected").attr("id").split("-"),c=b[0],d=null,"groups-members-search"===a.currentTarget.className&&(c="group_members",d="groups/single/members"),bp_filter_request(c,jq.cookie("bp-"+c+"-filter"),jq.cookie("bp-"+c+"-scope"),"div."+c,e.parent().children("label").children("input").val(),1,jq.cookie("bp-"+c+"-extras"),null,d),!1):void 0}}),jq("div.item-list-tabs").on("click",function(a){if(!jq(this).hasClass("no-ajax")&&!jq(a.target).hasClass("no-ajax")){var b,c,d,e,f,g="SPAN"===a.target.nodeName?a.target.parentNode:a.target,h=jq(g).parent();return"LI"!==h[0].nodeName||h.hasClass("last")?void 0:(b=h.attr("id").split("-"),c=b[0],"activity"===c?!1:(d=b[1],e=jq("#"+c+"-order-select select").val(),f=jq("#"+c+"_search").val(),bp_filter_request(c,e,d,"div."+c,f,1,jq.cookie("bp-"+c+"-extras")),!1))}}),jq("li.filter select").change(function(){var a,b,c,d,e,f,g,h;return a=jq(jq(".item-list-tabs li.selected").length?".item-list-tabs li.selected":this),b=a.attr("id").split("-"),c=b[0],d=b[1],e=jq(this).val(),f=!1,g=null,jq(".dir-search input").length&&(f=jq(".dir-search input").val()),h=jq(".groups-members-search input"),h.length&&(f=h.val(),c="members",d="groups"),"members"===c&&"groups"===d&&(c="group_members",g="groups/single/members"),"friends"===c&&(c="members"),bp_filter_request(c,e,d,"div."+c,f,1,jq.cookie("bp-"+c+"-extras"),null,g),!1}),jq("#buddypress").on("click",function(a){var b,c,d,e,f,g,h,i,j,k=jq(a.target);return k.hasClass("button")?!0:k.parent().parent().hasClass("pagination")&&!k.parent().parent().hasClass("no-ajax")?k.hasClass("dots")||k.hasClass("current")?!1:(b=jq(jq(".item-list-tabs li.selected").length?".item-list-tabs li.selected":"li.filter select"),c=b.attr("id").split("-"),d=c[0],e=!1,f=jq(k).closest(".pagination-links").attr("id"),g=null,h=k.attr("href").split("="),h=h[1],jq("div.dir-search input").length&&(e=jq(".dir-search input").val(),!e&&bp_get_querystring("s")&&(e=jq(".dir-search input").prop("placeholder"))),i=jq(".groups-members-search input"),i.length&&(e=i.val(),d="members"),"members"===d&&"groups"===c[1]&&(d="group_members",g="groups/single/members"),"admin"===d&&jq("body").hasClass("membership-requests")&&(d="requests"),j=-1!==f.indexOf("pag-bottom")?"pag-bottom":null,bp_filter_request(d,jq.cookie("bp-"+d+"-filter"),jq.cookie("bp-"+d+"-scope"),"div."+d,e,h,jq.cookie("bp-"+d+"-extras"),j,g),!1):void 0}),jq("a.show-hide-new").on("click",function(){return jq("#new-topic-post").length?(jq("#new-topic-post").is(":visible")?jq("#new-topic-post").slideUp(200):jq("#new-topic-post").slideDown(200,function(){jq("#topic_title").focus()}),!1):!1}),jq("#submit_topic_cancel").on("click",function(){return jq("#new-topic-post").length?(jq("#new-topic-post").slideUp(200),!1):!1}),jq("#forum-directory-tags a").on("click",function(){return bp_filter_request("forums","tags",jq.cookie("bp-forums-scope"),"div.forums",jq(this).html().replace(/&nbsp;/g,"-"),1,jq.cookie("bp-forums-extras")),!1}),jq("#send-invite-form").on("click","#invite-list input",function(){var a,b,c=jq("#send-invite-form > .invite").length;jq(".ajax-loader").toggle(),c&&jq(this).parents("ul").find("input").prop("disabled",!0),a=jq(this).val(),b=jq(this).prop("checked")===!0?"invite":"uninvite",c||jq(".item-list-tabs li.selected").addClass("loading"),jq.post(ajaxurl,{action:"groups_invite_user",friend_action:b,cookie:bp_get_cookies(),_wpnonce:jq("#_wpnonce_invite_uninvite_user").val(),friend_id:a,group_id:jq("#group_id").val()},function(d){jq("#message")&&jq("#message").hide(),c?bp_filter_request("invite","bp-invite-filter","bp-invite-scope","div.invite",!1,1,"","",""):(jq(".ajax-loader").toggle(),"invite"===b?jq("#friend-list").append(d):"uninvite"===b&&jq("#friend-list li#uid-"+a).remove(),jq(".item-list-tabs li.selected").removeClass("loading"))})}),jq("#send-invite-form").on("click","a.remove",function(){var a=jq("#send-invite-form > .invite").length,b=jq(this).attr("id");return jq(".ajax-loader").toggle(),b=b.split("-"),b=b[1],jq.post(ajaxurl,{action:"groups_invite_user",friend_action:"uninvite",cookie:bp_get_cookies(),_wpnonce:jq("#_wpnonce_invite_uninvite_user").val(),friend_id:b,group_id:jq("#group_id").val()},function(){a?bp_filter_request("invite","bp-invite-filter","bp-invite-scope","div.invite",!1,1,"","",""):(jq(".ajax-loader").toggle(),jq("#friend-list #uid-"+b).remove(),jq("#invite-list #f-"+b).prop("checked",!1))}),!1}),jq(".visibility-toggle-link").on("click",function(a){a.preventDefault(),jq(this).parent().hide().addClass("field-visibility-settings-hide").siblings(".field-visibility-settings").show().addClass("field-visibility-settings-open")}),jq(".field-visibility-settings-close").on("click",function(a){a.preventDefault();var b=jq(this).parent(),c=b.find("input:checked").parent().text();b.hide().removeClass("field-visibility-settings-open").siblings(".field-visibility-settings-toggle").children(".current-visibility-level").text(c).end().show().removeClass("field-visibility-settings-hide")}),jq("#profile-edit-form input:not(:submit), #profile-edit-form textarea, #profile-edit-form select, #signup_form input:not(:submit), #signup_form textarea, #signup_form select").change(function(){var a=!0;jq("#profile-edit-form input:submit, #signup_form input:submit").on("click",function(){a=!1}),window.onbeforeunload=function(){return a?BP_DTheme.unsaved_changes:void 0}}),jq("#friend-list a.accept, #friend-list a.reject").on("click",function(){var a,b=jq(this),c=jq(this).parents("#friend-list li"),d=jq(this).parents("li div.action"),e=c.attr("id").substr(11,c.attr("id").length),f=b.attr("href"),g=f.split("_wpnonce=")[1];return jq(this).hasClass("accepted")||jq(this).hasClass("rejected")?!1:(jq(this).hasClass("accept")?(a="accept_friendship",d.children("a.reject").css("visibility","hidden")):(a="reject_friendship",d.children("a.accept").css("visibility","hidden")),b.addClass("loading"),jq.post(ajaxurl,{action:a,cookie:bp_get_cookies(),id:e,_wpnonce:g},function(a){b.removeClass("loading"),a[0]+a[1]==="-1"?(c.prepend(a.substr(2,a.length)),c.children("#message").hide().fadeIn(200)):b.fadeOut(100,function(){jq(this).hasClass("accept")?(d.children("a.reject").hide(),jq(this).html(BP_DTheme.accepted).contents().unwrap()):(d.children("a.accept").hide(),jq(this).html(BP_DTheme.rejected).contents().unwrap())})}),!1)}),jq("#members-dir-list, #members-group-list, #item-header").on("click",".friendship-button a",function(){jq(this).parent().addClass("loading");var a=jq(this).attr("id"),b=jq(this).attr("href"),c=jq(this);return a=a.split("-"),a=a[1],b=b.split("?_wpnonce="),b=b[1].split("&"),b=b[0],jq.post(ajaxurl,{action:"addremove_friend",cookie:bp_get_cookies(),fid:a,_wpnonce:b},function(a){var b=c.attr("rel");parentdiv=c.parent(),"add"===b?jq(parentdiv).fadeOut(200,function(){parentdiv.removeClass("add_friend"),parentdiv.removeClass("loading"),parentdiv.addClass("pending_friend"),parentdiv.fadeIn(200).html(a)}):"remove"===b&&jq(parentdiv).fadeOut(200,function(){parentdiv.removeClass("remove_friend"),parentdiv.removeClass("loading"),parentdiv.addClass("add"),parentdiv.fadeIn(200).html(a)})}),!1}),jq("#buddypress").on("click",".group-button .leave-group",function(){return!1===confirm(BP_DTheme.leave_group_confirm)?!1:void 0}),jq("#groups-dir-list").on("click",".group-button a",function(){var a=jq(this).parent().attr("id"),b=jq(this).attr("href"),c=jq(this);return a=a.split("-"),a=a[1],b=b.split("?_wpnonce="),b=b[1].split("&"),b=b[0],c.hasClass("leave-group")&&!1===confirm(BP_DTheme.leave_group_confirm)?!1:(jq.post(ajaxurl,{action:"joinleave_group",cookie:bp_get_cookies(),gid:a,_wpnonce:b},function(a){var b=c.parent();jq("body.directory").length?jq(b).fadeOut(200,function(){b.fadeIn(200).html(a);var d=jq("#groups-personal span"),e=1;c.hasClass("leave-group")?(b.hasClass("hidden")&&b.closest("li").slideUp(200),e=0):c.hasClass("request-membership")&&(e=!1),d.length&&e!==!1&&d.text(e?(d.text()>>0)+1:(d.text()>>0)-1)}):location.href=location.href}),!1)}),jq("#buddypress").on("click",".pending",function(){return!1}),jq("body").hasClass("register")){var d=jq("#signup_with_blog");d.prop("checked")||jq("#blog-details").toggle(),d.change(function(){jq("#blog-details").toggle()})}jq(".message-search").on("click",function(a){if(!jq(this).hasClass("no-ajax")){var b,c=jq(a.target);return"submit"===c.attr("type")||"button"===c.attr("type")?(b="messages",bp_filter_request(b,jq.cookie("bp-"+b+"-filter"),jq.cookie("bp-"+b+"-scope"),"div."+b,jq("#messages_search").val(),1,jq.cookie("bp-"+b+"-extras")),!1):void 0}}),jq("#send_reply_button").click(function(){var a=jq("#messages_order").val()||"ASC",b=jq("#message-recipients").offset(),c=jq("#send_reply_button");return jq(c).addClass("loading"),jq.post(ajaxurl,{action:"messages_send_reply",cookie:bp_get_cookies(),_wpnonce:jq("#send_message_nonce").val(),content:jq("#message_content").val(),send_to:jq("#send_to").val(),subject:jq("#subject").val(),thread_id:jq("#thread_id").val()},function(d){d[0]+d[1]==="-1"?jq("#send-reply").prepend(d.substr(2,d.length)):(jq("#send-reply #message").remove(),jq("#message_content").val(""),"ASC"===a?jq("#send-reply").before(d):(jq("#message-recipients").after(d),jq(window).scrollTop(b.top)),jq(".new-message").hide().slideDown(200,function(){jq(".new-message").removeClass("new-message")})),jq(c).removeClass("loading")}),!1}),jq("#mark_as_read, #mark_as_unread").click(function(){var a,b,c,d,e,f,g,h,i="",j=jq('#message-threads tr td input[type="checkbox"]');return"mark_as_unread"===jq(this).attr("id")?(a="read",b="unread",c=1,d=0,e="inline",f="messages_markunread"):(a="unread",b="read",c=0,d=1,e="none",f="messages_markread"),j.each(function(d){jq(this).is(":checked")&&jq("#m-"+jq(this).attr("value")).hasClass(a)&&(i+=jq(this).attr("value"),jq("#m-"+jq(this).attr("value")).removeClass(a),jq("#m-"+jq(this).attr("value")).addClass(b),h=jq("#m-"+jq(this).attr("value")+" td span.unread-count").html(),jq("#m-"+jq(this).attr("value")+" td span.unread-count").html(c),jq("#m-"+jq(this).attr("value")+" td span.unread-count").css("display",e),g=jq("tr.unread").length,jq("#user-messages span").html(g),d!==j.length-1&&(i+=","))}),jq.post(ajaxurl,{action:f,thread_ids:i}),!1}),jq("body.messages #item-body div.messages").on("change","#message-type-select",function(){var a=this.value,b=jq('td input[type="checkbox"]'),c="checked";switch(b.each(function(a){b[a].checked=""}),a){case"unread":b=jq('tr.unread td input[type="checkbox"]');break;case"read":b=jq('tr.read td input[type="checkbox"]');break;case"":c=""}b.each(function(a){b[a].checked=c})}),jq("body.messages #item-body div.messages").on("click",".messages-options-nav a",function(){return-1!==jq.inArray(this.id,Array("delete_sentbox_messages","delete_inbox_messages"))?(checkboxes_tosend="",checkboxes=jq('#message-threads tr td input[type="checkbox"]'),jq("#message").remove(),jq(this).addClass("loading"),jq(checkboxes).each(function(){jq(this).is(":checked")&&(checkboxes_tosend+=jq(this).attr("value")+",")}),""===checkboxes_tosend?(jq(this).removeClass("loading"),!1):(jq.post(ajaxurl,{action:"messages_delete",thread_ids:checkboxes_tosend},function(a){a[0]+a[1]==="-1"?jq("#message-threads").prepend(a.substr(2,a.length)):(jq("#message-threads").before('<div id="message" class="updated"><p>'+a+"</p></div>"),jq(checkboxes).each(function(){jq(this).is(":checked")&&(jq(this).attr("checked",!1),jq(this).parent().parent().fadeOut(150))})),jq("#message").hide().slideDown(150),jq("#delete_inbox_messages, #delete_sentbox_messages").removeClass("loading")}),!1)):void 0}),jq("#select-all-messages").click(function(){jq(".message-check").each(this.checked?function(){this.checked=!0}:function(){this.checked=!1})}),jq("#messages-bulk-manage").attr("disabled","disabled"),jq("#messages-select").on("change",function(){jq("#messages-bulk-manage").attr("disabled",jq(this).val().length<=0)}),jq("#select-all-notifications").click(function(){jq(".notification-check").each(this.checked?function(){this.checked=!0}:function(){this.checked=!1})}),jq("#notification-bulk-manage").attr("disabled","disabled"),jq("#notification-select").on("change",function(){jq("#notification-bulk-manage").attr("disabled",jq(this).val().length<=0)}),jq("#close-notice").on("click",function(){return jq(this).addClass("loading"),jq("#sidebar div.error").remove(),jq.post(ajaxurl,{action:"messages_close_notice",notice_id:jq(".notice").attr("rel").substr(2,jq(".notice").attr("rel").length)},function(a){jq("#close-notice").removeClass("loading"),a[0]+a[1]==="-1"?(jq(".notice").prepend(a.substr(2,a.length)),jq("#sidebar div.error").hide().fadeIn(200)):jq(".notice").slideUp(100)}),!1}),jq("#wp-admin-bar ul.main-nav li, #nav li").mouseover(function(){jq(this).addClass("sfhover")}),jq("#wp-admin-bar ul.main-nav li, #nav li").mouseout(function(){jq(this).removeClass("sfhover")}),jq("a.logout").on("click",function(){jq.removeCookie("bp-activity-scope",{path:"/"}),jq.removeCookie("bp-activity-filter",{path:"/"}),jq.removeCookie("bp-activity-oldestpage",{path:"/"});var a=["members","groups","blogs","forums"];jq(a).each(function(b){jq.removeCookie("bp-"+a[b]+"-scope",{path:"/"}),jq.removeCookie("bp-"+a[b]+"-filter",{path:"/"}),jq.removeCookie("bp-"+a[b]+"-extras",{path:"/"})})}),jq("body").hasClass("no-js")&&jq("body").attr("class",jq("body").attr("class").replace(/no-js/,"js")),"undefined"!=typeof wp&&"undefined"!=typeof wp.heartbeat&&"undefined"!=typeof BP_DTheme.pulse&&(wp.heartbeat.interval(Number(BP_DTheme.pulse)),jq.fn.extend({"heartbeat-send":function(){return this.bind("heartbeat-send.buddypress")}}));var e=0;jq(document).on("heartbeat-send.buddypress",function(a,b){e=0,jq("#buddypress ul.activity-list li").first().prop("id")&&(timestamp=jq("#buddypress ul.activity-list li").first().prop("class").match(/date-recorded-([0-9]+)/),timestamp&&(e=timestamp[1])),(0===activity_last_recorded||Number(e)>activity_last_recorded)&&(activity_last_recorded=Number(e)),b.bp_activity_last_recorded=activity_last_recorded,last_recorded_search=bp_get_querystring("s"),last_recorded_search&&(b.bp_activity_last_recorded_search_terms=last_recorded_search)}),jq(document).on("heartbeat-tick",function(a,b){b.bp_activity_newest_activities&&(newest_activities=b.bp_activity_newest_activities.activities+newest_activities,activity_last_recorded=Number(b.bp_activity_newest_activities.last_recorded),jq("#buddypress ul.activity-list li").first().hasClass("load-newest")||jq("#buddypress ul.activity-list").prepend('<li class="load-newest"><a href="#newest">'+BP_DTheme.newest+"</a></li>"))
3
  })});
1
+ /*! buddypress - v2.1.0 - 2015-01-22 9:58:49 PM UTC - https://wordpress.org/plugins/buddypress/ */
2
  function bp_init_activity(){jq.cookie("bp-activity-oldestpage",1,{path:"/"}),null!=jq.cookie("bp-activity-filter")&&jq("#activity-filter-select").length&&jq('#activity-filter-select select option[value="'+jq.cookie("bp-activity-filter")+'"]').prop("selected",!0),null!=jq.cookie("bp-activity-scope")&&jq(".activity-type-tabs").length&&(jq(".activity-type-tabs li").each(function(){jq(this).removeClass("selected")}),jq("#activity-"+jq.cookie("bp-activity-scope")+", .item-list-tabs li.current").addClass("selected"))}function bp_init_objects(a){jq(a).each(function(b){null!=jq.cookie("bp-"+a[b]+"-filter")&&jq("#"+a[b]+"-order-select select").length&&jq("#"+a[b]+'-order-select select option[value="'+jq.cookie("bp-"+a[b]+"-filter")+'"]').prop("selected",!0),null!=jq.cookie("bp-"+a[b]+"-scope")&&jq("div."+a[b]).length&&(jq(".item-list-tabs li").each(function(){jq(this).removeClass("selected")}),jq("#"+a[b]+"-"+jq.cookie("bp-"+a[b]+"-scope")+", #object-nav li.current").addClass("selected"))})}function bp_filter_request(a,b,c,d,e,f,g,h,i){return"activity"===a?!1:(null===c&&(c="all"),jq.cookie("bp-"+a+"-scope",c,{path:"/"}),jq.cookie("bp-"+a+"-filter",b,{path:"/"}),jq.cookie("bp-"+a+"-extras",g,{path:"/"}),jq(".item-list-tabs li").each(function(){jq(this).removeClass("selected")}),jq("#"+a+"-"+c+", #object-nav li.current").addClass("selected"),jq(".item-list-tabs li.selected").addClass("loading"),jq('.item-list-tabs select option[value="'+b+'"]').prop("selected",!0),("friends"===a||"group_members"===a)&&(a="members"),bp_ajax_request&&bp_ajax_request.abort(),void(bp_ajax_request=jq.post(ajaxurl,{action:a+"_filter",cookie:bp_get_cookies(),object:a,filter:b,search_terms:e,scope:c,page:f,extras:g,template:i},function(a){if("pag-bottom"===h&&jq("#subnav").length){var b=jq("#subnav").parent();jq("html,body").animate({scrollTop:b.offset().top},"slow",function(){jq(d).fadeOut(100,function(){jq(this).html(a),jq(this).fadeIn(100)})})}else jq(d).fadeOut(100,function(){jq(this).html(a),jq(this).fadeIn(100)});jq(".item-list-tabs li.selected").removeClass("loading")})))}function bp_activity_request(a,b){jq.cookie("bp-activity-scope",a,{path:"/"}),jq.cookie("bp-activity-filter",b,{path:"/"}),jq.cookie("bp-activity-oldestpage",1,{path:"/"}),jq(".item-list-tabs li").each(function(){jq(this).removeClass("selected loading")}),jq("#activity-"+a+", .item-list-tabs li.current").addClass("selected"),jq("#object-nav.item-list-tabs li.selected, div.activity-type-tabs li.selected").addClass("loading"),jq('#activity-filter-select select option[value="'+b+'"]').prop("selected",!0),jq(".widget_bp_activity_widget h2 span.ajax-loader").show(),bp_ajax_request&&bp_ajax_request.abort(),bp_ajax_request=jq.post(ajaxurl,{action:"activity_widget_filter",cookie:bp_get_cookies(),_wpnonce_activity_filter:jq("#_wpnonce_activity_filter").val(),scope:a,filter:b},function(a){jq(".widget_bp_activity_widget h2 span.ajax-loader").hide(),jq("div.activity").fadeOut(100,function(){jq(this).html(a.contents),jq(this).fadeIn(100),bp_legacy_theme_hide_comments()}),null!=a.feed_url&&jq(".directory #subnav li.feed a, .home-page #subnav li.feed a").attr("href",a.feed_url),jq(".item-list-tabs li.selected").removeClass("loading")},"json")}function bp_legacy_theme_hide_comments(){var a,b,c,d=jq("div.activity-comments");return d.length?void d.each(function(){jq(this).children("ul").children("li").length<5||(comments_div=jq(this),a=comments_div.parents("#activity-stream > li"),b=jq(this).children("ul").children("li"),c=" ",jq("#"+a.attr("id")+" a.acomment-reply span").length&&(c=jq("#"+a.attr("id")+" a.acomment-reply span").html()),b.each(function(d){d<b.length-5&&(jq(this).addClass("hidden"),jq(this).toggle(),d||jq(this).before('<li class="show-all"><a href="#'+a.attr("id")+'/show-all/" title="'+BP_DTheme.show_all_comments+'">'+BP_DTheme.show_x_comments.replace("%d",c)+"</a></li>"))}))}):!1}function checkAll(){var a,b=document.getElementsByTagName("input");for(a=0;a<b.length;a++)"checkbox"===b[a].type&&(b[a].checked=""===$("check_all").checked?"":"checked")}function clear(a){if(a=document.getElementById(a)){var b=a.getElementsByTagName("INPUT"),c=a.getElementsByTagName("OPTION"),d=0;if(b)for(d=0;d<b.length;d++)b[d].checked="";if(c)for(d=0;d<c.length;d++)c[d].selected=!1}}function bp_get_cookies(){var a,b,c,d,e,f=document.cookie.split(";"),g={},h="bp-";for(a=0;a<f.length;a++)b=f[a],c=b.indexOf("="),d=jq.trim(unescape(b.slice(0,c))),e=unescape(b.slice(c+1)),0===d.indexOf(h)&&(g[d]=e);return encodeURIComponent(jq.param(g))}var jq=jQuery,bp_ajax_request=null,newest_activities="",activity_last_recorded=0;jq(document).ready(function(){"-1"===window.location.search.indexOf("new")&&jq("div.forums").length?jq("#new-topic-post").hide():jq("#new-topic-post").show(),bp_init_activity();var a=["members","groups","blogs","forums","group_members"],b=jq("#whats-new");if(bp_init_objects(a),b.length&&bp_get_querystring("r")){var c=b.val();jq("#whats-new-options").animate({height:"40px"}),b.animate({height:"50px"}),jq.scrollTo(b,500,{offset:-125,easing:"swing"}),b.val("").focus().val(c)}if(b.focus(function(){jq("#whats-new-options").animate({height:"40px"}),jq("#whats-new-form textarea").animate({height:"50px"}),jq("#aw-whats-new-submit").prop("disabled",!1);var a=jq("form#whats-new-form"),b=jq("#activity-all");a.hasClass("submitted")&&a.removeClass("submitted"),b.length&&(b.hasClass("selected")?"-1"!==jq("#activity-filter-select select").val()&&(jq("#activity-filter-select select").val("-1"),jq("#activity-filter-select select").trigger("change")):(jq("#activity-filter-select select").val("-1"),b.children("a").trigger("click")))}),b.blur(function(){document.activeElement!==this&&(this.value.match(/\S+/)||(this.value="",jq("#whats-new-options").animate({height:"40px"}),jq("form#whats-new-form textarea").animate({height:"20px"}),jq("#aw-whats-new-submit").prop("disabled",!0)))}),jq("#aw-whats-new-submit").on("click",function(){var a=0,b=jq(this),c=b.closest("form#whats-new-form");return c.children().each(function(){(jq.nodeName(this,"textarea")||jq.nodeName(this,"input"))&&jq(this).prop("disabled",!0)}),jq("div.error").remove(),b.addClass("loading"),b.prop("disabled",!0),c.addClass("submitted"),object="",item_id=jq("#whats-new-post-in").val(),content=jq("#whats-new").val(),firstrow=jq("#buddypress ul.activity-list li").first(),activity_row=firstrow,timestamp=null,firstrow.length&&(activity_row.hasClass("load-newest")&&(activity_row=firstrow.next()),timestamp=activity_row.prop("class").match(/date-recorded-([0-9]+)/)),timestamp&&(a=timestamp[1]),item_id>0&&(object=jq("#whats-new-post-object").val()),jq.post(ajaxurl,{action:"post_update",cookie:bp_get_cookies(),_wpnonce_post_update:jq("#_wpnonce_post_update").val(),content:content,object:object,item_id:item_id,since:a,_bp_as_nonce:jq("#_bp_as_nonce").val()||""},function(b){if(c.children().each(function(){(jq.nodeName(this,"textarea")||jq.nodeName(this,"input"))&&jq(this).prop("disabled",!1)}),b[0]+b[1]==="-1")c.prepend(b.substr(2,b.length)),jq("#"+c.attr("id")+" div.error").hide().fadeIn(200);else{if(0===jq("ul.activity-list").length&&(jq("div.error").slideUp(100).remove(),jq("#message").slideUp(100).remove(),jq("div.activity").append('<ul id="activity-stream" class="activity-list item-list">')),firstrow.hasClass("load-newest")&&firstrow.remove(),jq("#activity-stream").prepend(b),a||jq("#activity-stream li:first").addClass("new-update just-posted"),0!==jq("#latest-update").length){var d=jq("#activity-stream li.new-update .activity-content .activity-inner p").html(),e=jq("#activity-stream li.new-update .activity-content .activity-header p a.view").attr("href"),f=jq("#activity-stream li.new-update .activity-content .activity-inner p").text(),g="";""!==f&&(g=d+" "),g+='<a href="'+e+'" rel="nofollow">'+BP_DTheme.view+"</a>",jq("#latest-update").slideUp(300,function(){jq("#latest-update").html(g),jq("#latest-update").slideDown(300)})}jq("li.new-update").hide().slideDown(300),jq("li.new-update").removeClass("new-update"),jq("#whats-new").val(""),newest_activities="",activity_last_recorded=0}jq("#whats-new-options").animate({height:"0px"}),jq("#whats-new-form textarea").animate({height:"20px"}),jq("#aw-whats-new-submit").prop("disabled",!0).removeClass("loading")}),!1}),jq("div.activity-type-tabs").on("click",function(a){var b,c,d=jq(a.target).parent();if("STRONG"===a.target.nodeName||"SPAN"===a.target.nodeName)d=d.parent();else if("A"!==a.target.nodeName)return!1;return jq.cookie("bp-activity-oldestpage",1,{path:"/"}),b=d.attr("id").substr(9,d.attr("id").length),c=jq("#activity-filter-select select").val(),"mentions"===b&&jq("#"+d.attr("id")+" a strong").remove(),bp_activity_request(b,c),!1}),jq("#activity-filter-select select").change(function(){var a,b=jq("div.activity-type-tabs li.selected"),c=jq(this).val();return a=b.length?b.attr("id").substr(9,b.attr("id").length):null,bp_activity_request(a,c),!1}),jq("div.activity").on("click",function(a){var b,c,d,e,f,g,h,i,j,k,l=jq(a.target);return l.hasClass("fav")||l.hasClass("unfav")?(b=l.hasClass("fav")?"fav":"unfav",c=l.closest(".activity-item"),d=c.attr("id").substr(9,c.attr("id").length),l.addClass("loading"),jq.post(ajaxurl,{action:"activity_mark_"+b,cookie:bp_get_cookies(),id:d},function(a){l.removeClass("loading"),l.fadeOut(200,function(){jq(this).html(a),jq(this).attr("title","fav"===b?BP_DTheme.remove_fav:BP_DTheme.mark_as_fav),jq(this).fadeIn(200)}),"fav"===b?(jq(".item-list-tabs #activity-favs-personal-li").length||(jq(".item-list-tabs #activity-favorites").length||jq(".item-list-tabs ul #activity-mentions").before('<li id="activity-favorites"><a href="#">'+BP_DTheme.my_favs+" <span>0</span></a></li>"),jq(".item-list-tabs ul #activity-favorites span").html(Number(jq(".item-list-tabs ul #activity-favorites span").html())+1)),l.removeClass("fav"),l.addClass("unfav")):(l.removeClass("unfav"),l.addClass("fav"),jq(".item-list-tabs ul #activity-favorites span").html(Number(jq(".item-list-tabs ul #activity-favorites span").html())-1),Number(jq(".item-list-tabs ul #activity-favorites span").html())||(jq(".item-list-tabs ul #activity-favorites").hasClass("selected")&&bp_activity_request(null,null),jq(".item-list-tabs ul #activity-favorites").remove())),"activity-favorites"===jq(".item-list-tabs li.selected").attr("id")&&l.closest(".activity-item").slideUp(100)}),!1):l.hasClass("delete-activity")?(e=l.parents("div.activity ul li"),f=e.attr("id").substr(9,e.attr("id").length),g=l.attr("href"),h=g.split("_wpnonce="),i=e.prop("class").match(/date-recorded-([0-9]+)/),h=h[1],l.addClass("loading"),jq.post(ajaxurl,{action:"delete_activity",cookie:bp_get_cookies(),id:f,_wpnonce:h},function(a){a[0]+a[1]==="-1"?(e.prepend(a.substr(2,a.length)),e.children("#message").hide().fadeIn(300)):(e.slideUp(300),i&&activity_last_recorded===i[1]&&(newest_activities="",activity_last_recorded=0))}),!1):l.hasClass("spam-activity")?(e=l.parents("div.activity ul li"),i=e.prop("class").match(/date-recorded-([0-9]+)/),l.addClass("loading"),jq.post(ajaxurl,{action:"bp_spam_activity",cookie:encodeURIComponent(document.cookie),id:e.attr("id").substr(9,e.attr("id").length),_wpnonce:l.attr("href").split("_wpnonce=")[1]},function(a){a[0]+a[1]==="-1"?(e.prepend(a.substr(2,a.length)),e.children("#message").hide().fadeIn(300)):(e.slideUp(300),i&&activity_last_recorded===i[1]&&(newest_activities="",activity_last_recorded=0))}),!1):l.parent().hasClass("load-more")?(bp_ajax_request&&bp_ajax_request.abort(),jq("#buddypress li.load-more").addClass("loading"),null===jq.cookie("bp-activity-oldestpage")&&jq.cookie("bp-activity-oldestpage",1,{path:"/"}),j=1*jq.cookie("bp-activity-oldestpage")+1,k=[],jq(".activity-list li.just-posted").each(function(){k.push(jq(this).attr("id").replace("activity-",""))}),load_more_args={action:"activity_get_older_updates",cookie:bp_get_cookies(),page:j,exclude_just_posted:k.join(",")},load_more_search=bp_get_querystring("s"),load_more_search&&(load_more_args.search_terms=load_more_search),bp_ajax_request=jq.post(ajaxurl,load_more_args,function(a){jq("#buddypress li.load-more").removeClass("loading"),jq.cookie("bp-activity-oldestpage",j,{path:"/"}),jq("#buddypress ul.activity-list").append(a.contents),l.parent().hide()},"json"),!1):void(l.parent().hasClass("load-newest")&&(a.preventDefault(),l.parent().hide(),activity_html=jq.parseHTML(newest_activities),jq.each(activity_html,function(a,b){"LI"===b.nodeName&&jq(b).hasClass("just-posted")&&jq("#"+jq(b).attr("id")).length&&jq("#"+jq(b).attr("id")).remove()}),jq("#buddypress ul.activity-list").prepend(newest_activities),newest_activities=""))}),jq("div.activity").on("click",".activity-read-more a",function(a){var b,c,d=jq(a.target),e=d.parent().attr("id").split("-"),f=e[3],g=e[0];return b="acomment"===g?"acomment-content":"activity-inner",c=jq("#"+g+"-"+f+" ."+b+":first"),jq(d).addClass("loading"),jq.post(ajaxurl,{action:"get_single_activity_content",activity_id:f},function(a){jq(c).slideUp(300).html(a).slideDown(300)}),!1}),jq("form.ac-form").hide(),jq(".activity-comments").length&&bp_legacy_theme_hide_comments(),jq("div.activity").on("click",function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r=jq(a.target);return r.hasClass("acomment-reply")||r.parent().hasClass("acomment-reply")?(r.parent().hasClass("acomment-reply")&&(r=r.parent()),b=r.attr("id"),c=b.split("-"),d=c[2],e=r.attr("href").substr(10,r.attr("href").length),f=jq("#ac-form-"+d),f.css("display","none"),f.removeClass("root"),jq(".ac-form").hide(),f.children("div").each(function(){jq(this).hasClass("error")&&jq(this).hide()}),"comment"!==c[1]?jq("#acomment-"+e).append(f):jq("#activity-"+d+" .activity-comments").append(f),f.parent().hasClass("activity-comments")&&f.addClass("root"),f.slideDown(200),jq.scrollTo(f,500,{offset:-100,easing:"swing"}),jq("#ac-form-"+c[2]+" textarea").focus(),!1):"ac_form_submit"===r.attr("name")?(f=r.parents("form"),g=f.parent(),h=f.attr("id").split("-"),g.hasClass("activity-comments")?j=h[2]:(i=g.attr("id").split("-"),j=i[1]),content=jq("#"+f.attr("id")+" textarea"),jq("#"+f.attr("id")+" div.error").hide(),r.addClass("loading").prop("disabled",!0),content.addClass("loading").prop("disabled",!0),k={action:"new_activity_comment",cookie:bp_get_cookies(),_wpnonce_new_activity_comment:jq("#_wpnonce_new_activity_comment").val(),comment_id:j,form_id:h[2],content:content.val()},l=jq("#_bp_as_nonce_"+j).val(),l&&(k["_bp_as_nonce_"+j]=l),jq.post(ajaxurl,k,function(a){if(r.removeClass("loading"),content.removeClass("loading"),a[0]+a[1]==="-1")f.append(jq(a.substr(2,a.length)).hide().fadeIn(200));else{var b=f.parent();f.fadeOut(200,function(){0===b.children("ul").length&&(b.hasClass("activity-comments")?b.prepend("<ul></ul>"):b.append("<ul></ul>"));var c=jq.trim(a);b.children("ul").append(jq(c).hide().fadeIn(200)),f.children("textarea").val(""),b.parent().addClass("has-comments")}),jq("#"+f.attr("id")+" textarea").val(""),jq("#activity-"+h[2]+" a.acomment-reply span").html(Number(jq("#activity-"+h[2]+" a.acomment-reply span").html())+1),m=b.find(".show-all").find("a"),m&&(n=jq("li#activity-"+h[2]+" a.acomment-reply span").html(),m.html(BP_DTheme.show_x_comments.replace("%d",n)))}jq(r).prop("disabled",!1),jq(content).prop("disabled",!1)}),!1):r.hasClass("acomment-delete")?(o=r.attr("href"),p=r.parent().parent(),f=p.parents("div.activity-comments").children("form"),q=o.split("_wpnonce="),q=q[1],j=o.split("cid="),j=j[1].split("&"),j=j[0],r.addClass("loading"),jq(".activity-comments ul .error").remove(),p.parents(".activity-comments").append(f),jq.post(ajaxurl,{action:"delete_activity_comment",cookie:bp_get_cookies(),_wpnonce:q,id:j},function(a){if(a[0]+a[1]==="-1")p.prepend(jq(a.substr(2,a.length)).hide().fadeIn(200));else{var b,c,d,e=jq("#"+p.attr("id")+" ul").children("li"),f=0;jq(e).each(function(){jq(this).is(":hidden")||f++}),p.fadeOut(200,function(){p.remove()}),b=jq("#"+p.parents("#activity-stream > li").attr("id")+" a.acomment-reply span"),c=b.html()-(1+f),b.html(c),d=p.siblings(".show-all").find("a"),d&&d.html(BP_DTheme.show_x_comments.replace("%d",c)),0===c&&jq(p.parents("#activity-stream > li")).removeClass("has-comments")}}),!1):r.hasClass("spam-activity-comment")?(o=r.attr("href"),p=r.parent().parent(),r.addClass("loading"),jq(".activity-comments ul div.error").remove(),p.parents(".activity-comments").append(p.parents(".activity-comments").children("form")),jq.post(ajaxurl,{action:"bp_spam_activity_comment",cookie:encodeURIComponent(document.cookie),_wpnonce:o.split("_wpnonce=")[1],id:o.split("cid=")[1].split("&")[0]},function(a){if(a[0]+a[1]==="-1")p.prepend(jq(a.substr(2,a.length)).hide().fadeIn(200));else{var b,c=jq("#"+p.attr("id")+" ul").children("li"),d=0;jq(c).each(function(){jq(this).is(":hidden")||d++}),p.fadeOut(200),b=p.parents("#activity-stream > li"),jq("#"+b.attr("id")+" a.acomment-reply span").html(jq("#"+b.attr("id")+" a.acomment-reply span").html()-(1+d))}}),!1):r.parent().hasClass("show-all")?(r.parent().addClass("loading"),setTimeout(function(){r.parent().parent().children("li").fadeIn(200,function(){r.parent().remove()})},600),!1):r.hasClass("ac-reply-cancel")?(jq(r).closest(".ac-form").slideUp(200),!1):void 0}),jq(document).keydown(function(a){if(a=a||window.event,a.target?element=a.target:a.srcElement&&(element=a.srcElement),3===element.nodeType&&(element=element.parentNode),a.ctrlKey!==!0&&a.altKey!==!0&&a.metaKey!==!0){var b=a.keyCode?a.keyCode:a.which;27===b&&"TEXTAREA"===element.tagName&&jq(element).hasClass("ac-input")&&jq(element).parent().parent().parent().slideUp(200)}}),jq(".dir-search, .groups-members-search").on("click",function(a){if(!jq(this).hasClass("no-ajax")){var b,c,d,e=jq(a.target);return"submit"===e.attr("type")?(b=jq(".item-list-tabs li.selected").attr("id").split("-"),c=b[0],d=null,"groups-members-search"===a.currentTarget.className&&(c="group_members",d="groups/single/members"),bp_filter_request(c,jq.cookie("bp-"+c+"-filter"),jq.cookie("bp-"+c+"-scope"),"div."+c,e.parent().children("label").children("input").val(),1,jq.cookie("bp-"+c+"-extras"),null,d),!1):void 0}}),jq("div.item-list-tabs").on("click",function(a){if(!jq(this).hasClass("no-ajax")&&!jq(a.target).hasClass("no-ajax")){var b,c,d,e,f,g="SPAN"===a.target.nodeName?a.target.parentNode:a.target,h=jq(g).parent();return"LI"!==h[0].nodeName||h.hasClass("last")?void 0:(b=h.attr("id").split("-"),c=b[0],"activity"===c?!1:(d=b[1],e=jq("#"+c+"-order-select select").val(),f=jq("#"+c+"_search").val(),bp_filter_request(c,e,d,"div."+c,f,1,jq.cookie("bp-"+c+"-extras")),!1))}}),jq("li.filter select").change(function(){var a,b,c,d,e,f,g,h;return a=jq(jq(".item-list-tabs li.selected").length?".item-list-tabs li.selected":this),b=a.attr("id").split("-"),c=b[0],d=b[1],e=jq(this).val(),f=!1,g=null,jq(".dir-search input").length&&(f=jq(".dir-search input").val()),h=jq(".groups-members-search input"),h.length&&(f=h.val(),c="members",d="groups"),"members"===c&&"groups"===d&&(c="group_members",g="groups/single/members"),"friends"===c&&(c="members"),bp_filter_request(c,e,d,"div."+c,f,1,jq.cookie("bp-"+c+"-extras"),null,g),!1}),jq("#buddypress").on("click",function(a){var b,c,d,e,f,g,h,i,j,k=jq(a.target);return k.hasClass("button")?!0:k.parent().parent().hasClass("pagination")&&!k.parent().parent().hasClass("no-ajax")?k.hasClass("dots")||k.hasClass("current")?!1:(b=jq(jq(".item-list-tabs li.selected").length?".item-list-tabs li.selected":"li.filter select"),c=b.attr("id").split("-"),d=c[0],e=!1,f=jq(k).closest(".pagination-links").attr("id"),g=null,h=k.attr("href").split("="),h=h[1],jq("div.dir-search input").length&&(e=jq(".dir-search input").val(),!e&&bp_get_querystring("s")&&(e=jq(".dir-search input").prop("placeholder"))),i=jq(".groups-members-search input"),i.length&&(e=i.val(),d="members"),"members"===d&&"groups"===c[1]&&(d="group_members",g="groups/single/members"),"admin"===d&&jq("body").hasClass("membership-requests")&&(d="requests"),j=-1!==f.indexOf("pag-bottom")?"pag-bottom":null,bp_filter_request(d,jq.cookie("bp-"+d+"-filter"),jq.cookie("bp-"+d+"-scope"),"div."+d,e,h,jq.cookie("bp-"+d+"-extras"),j,g),!1):void 0}),jq("a.show-hide-new").on("click",function(){return jq("#new-topic-post").length?(jq("#new-topic-post").is(":visible")?jq("#new-topic-post").slideUp(200):jq("#new-topic-post").slideDown(200,function(){jq("#topic_title").focus()}),!1):!1}),jq("#submit_topic_cancel").on("click",function(){return jq("#new-topic-post").length?(jq("#new-topic-post").slideUp(200),!1):!1}),jq("#forum-directory-tags a").on("click",function(){return bp_filter_request("forums","tags",jq.cookie("bp-forums-scope"),"div.forums",jq(this).html().replace(/&nbsp;/g,"-"),1,jq.cookie("bp-forums-extras")),!1}),jq("#send-invite-form").on("click","#invite-list input",function(){var a,b,c=jq("#send-invite-form > .invite").length;jq(".ajax-loader").toggle(),c&&jq(this).parents("ul").find("input").prop("disabled",!0),a=jq(this).val(),b=jq(this).prop("checked")===!0?"invite":"uninvite",c||jq(".item-list-tabs li.selected").addClass("loading"),jq.post(ajaxurl,{action:"groups_invite_user",friend_action:b,cookie:bp_get_cookies(),_wpnonce:jq("#_wpnonce_invite_uninvite_user").val(),friend_id:a,group_id:jq("#group_id").val()},function(d){jq("#message")&&jq("#message").hide(),c?bp_filter_request("invite","bp-invite-filter","bp-invite-scope","div.invite",!1,1,"","",""):(jq(".ajax-loader").toggle(),"invite"===b?jq("#friend-list").append(d):"uninvite"===b&&jq("#friend-list li#uid-"+a).remove(),jq(".item-list-tabs li.selected").removeClass("loading"))})}),jq("#send-invite-form").on("click","a.remove",function(){var a=jq("#send-invite-form > .invite").length,b=jq(this).attr("id");return jq(".ajax-loader").toggle(),b=b.split("-"),b=b[1],jq.post(ajaxurl,{action:"groups_invite_user",friend_action:"uninvite",cookie:bp_get_cookies(),_wpnonce:jq("#_wpnonce_invite_uninvite_user").val(),friend_id:b,group_id:jq("#group_id").val()},function(){a?bp_filter_request("invite","bp-invite-filter","bp-invite-scope","div.invite",!1,1,"","",""):(jq(".ajax-loader").toggle(),jq("#friend-list #uid-"+b).remove(),jq("#invite-list #f-"+b).prop("checked",!1))}),!1}),jq(".visibility-toggle-link").on("click",function(a){a.preventDefault(),jq(this).parent().hide().addClass("field-visibility-settings-hide").siblings(".field-visibility-settings").show().addClass("field-visibility-settings-open")}),jq(".field-visibility-settings-close").on("click",function(a){a.preventDefault();var b=jq(this).parent(),c=b.find("input:checked").parent().text();b.hide().removeClass("field-visibility-settings-open").siblings(".field-visibility-settings-toggle").children(".current-visibility-level").text(c).end().show().removeClass("field-visibility-settings-hide")}),jq("#profile-edit-form input:not(:submit), #profile-edit-form textarea, #profile-edit-form select, #signup_form input:not(:submit), #signup_form textarea, #signup_form select").change(function(){var a=!0;jq("#profile-edit-form input:submit, #signup_form input:submit").on("click",function(){a=!1}),window.onbeforeunload=function(){return a?BP_DTheme.unsaved_changes:void 0}}),jq("#friend-list a.accept, #friend-list a.reject").on("click",function(){var a,b=jq(this),c=jq(this).parents("#friend-list li"),d=jq(this).parents("li div.action"),e=c.attr("id").substr(11,c.attr("id").length),f=b.attr("href"),g=f.split("_wpnonce=")[1];return jq(this).hasClass("accepted")||jq(this).hasClass("rejected")?!1:(jq(this).hasClass("accept")?(a="accept_friendship",d.children("a.reject").css("visibility","hidden")):(a="reject_friendship",d.children("a.accept").css("visibility","hidden")),b.addClass("loading"),jq.post(ajaxurl,{action:a,cookie:bp_get_cookies(),id:e,_wpnonce:g},function(a){b.removeClass("loading"),a[0]+a[1]==="-1"?(c.prepend(a.substr(2,a.length)),c.children("#message").hide().fadeIn(200)):b.fadeOut(100,function(){jq(this).hasClass("accept")?(d.children("a.reject").hide(),jq(this).html(BP_DTheme.accepted).contents().unwrap()):(d.children("a.accept").hide(),jq(this).html(BP_DTheme.rejected).contents().unwrap())})}),!1)}),jq("#members-dir-list, #members-group-list, #item-header").on("click",".friendship-button a",function(){jq(this).parent().addClass("loading");var a=jq(this).attr("id"),b=jq(this).attr("href"),c=jq(this);return a=a.split("-"),a=a[1],b=b.split("?_wpnonce="),b=b[1].split("&"),b=b[0],jq.post(ajaxurl,{action:"addremove_friend",cookie:bp_get_cookies(),fid:a,_wpnonce:b},function(a){var b=c.attr("rel");parentdiv=c.parent(),"add"===b?jq(parentdiv).fadeOut(200,function(){parentdiv.removeClass("add_friend"),parentdiv.removeClass("loading"),parentdiv.addClass("pending_friend"),parentdiv.fadeIn(200).html(a)}):"remove"===b&&jq(parentdiv).fadeOut(200,function(){parentdiv.removeClass("remove_friend"),parentdiv.removeClass("loading"),parentdiv.addClass("add"),parentdiv.fadeIn(200).html(a)})}),!1}),jq("#buddypress").on("click",".group-button .leave-group",function(){return!1===confirm(BP_DTheme.leave_group_confirm)?!1:void 0}),jq("#groups-dir-list").on("click",".group-button a",function(){var a=jq(this).parent().attr("id"),b=jq(this).attr("href"),c=jq(this);return a=a.split("-"),a=a[1],b=b.split("?_wpnonce="),b=b[1].split("&"),b=b[0],c.hasClass("leave-group")&&!1===confirm(BP_DTheme.leave_group_confirm)?!1:(jq.post(ajaxurl,{action:"joinleave_group",cookie:bp_get_cookies(),gid:a,_wpnonce:b},function(a){var b=c.parent();jq("body.directory").length?jq(b).fadeOut(200,function(){b.fadeIn(200).html(a);var d=jq("#groups-personal span"),e=1;c.hasClass("leave-group")?(b.hasClass("hidden")&&b.closest("li").slideUp(200),e=0):c.hasClass("request-membership")&&(e=!1),d.length&&e!==!1&&d.text(e?(d.text()>>0)+1:(d.text()>>0)-1)}):location.href=location.href}),!1)}),jq("#buddypress").on("click",".pending",function(){return!1}),jq("body").hasClass("register")){var d=jq("#signup_with_blog");d.prop("checked")||jq("#blog-details").toggle(),d.change(function(){jq("#blog-details").toggle()})}jq(".message-search").on("click",function(a){if(!jq(this).hasClass("no-ajax")){var b,c=jq(a.target);return"submit"===c.attr("type")||"button"===c.attr("type")?(b="messages",bp_filter_request(b,jq.cookie("bp-"+b+"-filter"),jq.cookie("bp-"+b+"-scope"),"div."+b,jq("#messages_search").val(),1,jq.cookie("bp-"+b+"-extras")),!1):void 0}}),jq("#send_reply_button").click(function(){var a=jq("#messages_order").val()||"ASC",b=jq("#message-recipients").offset(),c=jq("#send_reply_button");return jq(c).addClass("loading"),jq.post(ajaxurl,{action:"messages_send_reply",cookie:bp_get_cookies(),_wpnonce:jq("#send_message_nonce").val(),content:jq("#message_content").val(),send_to:jq("#send_to").val(),subject:jq("#subject").val(),thread_id:jq("#thread_id").val()},function(d){d[0]+d[1]==="-1"?jq("#send-reply").prepend(d.substr(2,d.length)):(jq("#send-reply #message").remove(),jq("#message_content").val(""),"ASC"===a?jq("#send-reply").before(d):(jq("#message-recipients").after(d),jq(window).scrollTop(b.top)),jq(".new-message").hide().slideDown(200,function(){jq(".new-message").removeClass("new-message")})),jq(c).removeClass("loading")}),!1}),jq("#mark_as_read, #mark_as_unread").click(function(){var a,b,c,d,e,f,g,h,i="",j=jq('#message-threads tr td input[type="checkbox"]');return"mark_as_unread"===jq(this).attr("id")?(a="read",b="unread",c=1,d=0,e="inline",f="messages_markunread"):(a="unread",b="read",c=0,d=1,e="none",f="messages_markread"),j.each(function(d){jq(this).is(":checked")&&jq("#m-"+jq(this).attr("value")).hasClass(a)&&(i+=jq(this).attr("value"),jq("#m-"+jq(this).attr("value")).removeClass(a),jq("#m-"+jq(this).attr("value")).addClass(b),h=jq("#m-"+jq(this).attr("value")+" td span.unread-count").html(),jq("#m-"+jq(this).attr("value")+" td span.unread-count").html(c),jq("#m-"+jq(this).attr("value")+" td span.unread-count").css("display",e),g=jq("tr.unread").length,jq("#user-messages span").html(g),d!==j.length-1&&(i+=","))}),jq.post(ajaxurl,{action:f,thread_ids:i}),!1}),jq("body.messages #item-body div.messages").on("change","#message-type-select",function(){var a=this.value,b=jq('td input[type="checkbox"]'),c="checked";switch(b.each(function(a){b[a].checked=""}),a){case"unread":b=jq('tr.unread td input[type="checkbox"]');break;case"read":b=jq('tr.read td input[type="checkbox"]');break;case"":c=""}b.each(function(a){b[a].checked=c})}),jq("body.messages #item-body div.messages").on("click",".messages-options-nav a",function(){return-1!==jq.inArray(this.id,Array("delete_sentbox_messages","delete_inbox_messages"))?(checkboxes_tosend="",checkboxes=jq('#message-threads tr td input[type="checkbox"]'),jq("#message").remove(),jq(this).addClass("loading"),jq(checkboxes).each(function(){jq(this).is(":checked")&&(checkboxes_tosend+=jq(this).attr("value")+",")}),""===checkboxes_tosend?(jq(this).removeClass("loading"),!1):(jq.post(ajaxurl,{action:"messages_delete",thread_ids:checkboxes_tosend},function(a){a[0]+a[1]==="-1"?jq("#message-threads").prepend(a.substr(2,a.length)):(jq("#message-threads").before('<div id="message" class="updated"><p>'+a+"</p></div>"),jq(checkboxes).each(function(){jq(this).is(":checked")&&(jq(this).attr("checked",!1),jq(this).parent().parent().fadeOut(150))})),jq("#message").hide().slideDown(150),jq("#delete_inbox_messages, #delete_sentbox_messages").removeClass("loading")}),!1)):void 0}),jq("#select-all-messages").click(function(){jq(".message-check").each(this.checked?function(){this.checked=!0}:function(){this.checked=!1})}),jq("#messages-bulk-manage").attr("disabled","disabled"),jq("#messages-select").on("change",function(){jq("#messages-bulk-manage").attr("disabled",jq(this).val().length<=0)}),jq("#select-all-notifications").click(function(){jq(".notification-check").each(this.checked?function(){this.checked=!0}:function(){this.checked=!1})}),jq("#notification-bulk-manage").attr("disabled","disabled"),jq("#notification-select").on("change",function(){jq("#notification-bulk-manage").attr("disabled",jq(this).val().length<=0)}),jq("#close-notice").on("click",function(){return jq(this).addClass("loading"),jq("#sidebar div.error").remove(),jq.post(ajaxurl,{action:"messages_close_notice",notice_id:jq(".notice").attr("rel").substr(2,jq(".notice").attr("rel").length)},function(a){jq("#close-notice").removeClass("loading"),a[0]+a[1]==="-1"?(jq(".notice").prepend(a.substr(2,a.length)),jq("#sidebar div.error").hide().fadeIn(200)):jq(".notice").slideUp(100)}),!1}),jq("#wp-admin-bar ul.main-nav li, #nav li").mouseover(function(){jq(this).addClass("sfhover")}),jq("#wp-admin-bar ul.main-nav li, #nav li").mouseout(function(){jq(this).removeClass("sfhover")}),jq("a.logout").on("click",function(){jq.removeCookie("bp-activity-scope",{path:"/"}),jq.removeCookie("bp-activity-filter",{path:"/"}),jq.removeCookie("bp-activity-oldestpage",{path:"/"});var a=["members","groups","blogs","forums"];jq(a).each(function(b){jq.removeCookie("bp-"+a[b]+"-scope",{path:"/"}),jq.removeCookie("bp-"+a[b]+"-filter",{path:"/"}),jq.removeCookie("bp-"+a[b]+"-extras",{path:"/"})})}),jq("body").hasClass("no-js")&&jq("body").attr("class",jq("body").attr("class").replace(/no-js/,"js")),"undefined"!=typeof wp&&"undefined"!=typeof wp.heartbeat&&"undefined"!=typeof BP_DTheme.pulse&&(wp.heartbeat.interval(Number(BP_DTheme.pulse)),jq.fn.extend({"heartbeat-send":function(){return this.bind("heartbeat-send.buddypress")}}));var e=0;jq(document).on("heartbeat-send.buddypress",function(a,b){e=0,jq("#buddypress ul.activity-list li").first().prop("id")&&(timestamp=jq("#buddypress ul.activity-list li").first().prop("class").match(/date-recorded-([0-9]+)/),timestamp&&(e=timestamp[1])),(0===activity_last_recorded||Number(e)>activity_last_recorded)&&(activity_last_recorded=Number(e)),b.bp_activity_last_recorded=activity_last_recorded,last_recorded_search=bp_get_querystring("s"),last_recorded_search&&(b.bp_activity_last_recorded_search_terms=last_recorded_search)}),jq(document).on("heartbeat-tick",function(a,b){b.bp_activity_newest_activities&&(newest_activities=b.bp_activity_newest_activities.activities+newest_activities,activity_last_recorded=Number(b.bp_activity_newest_activities.last_recorded),jq("#buddypress ul.activity-list li").first().hasClass("load-newest")||jq("#buddypress ul.activity-list").prepend('<li class="load-newest"><a href="#newest">'+BP_DTheme.newest+"</a></li>"))
3
  })});
bp-templates/bp-legacy/js/password-verify.min.js CHANGED
@@ -1,2 +1,2 @@
1
- /*! buddypress - v2.1.0 - 2015-01-15 12:34:33 AM UTC - https://wordpress.org/plugins/buddypress/ */
2
  !function(a){function b(){var b,c=a(".password-entry").val(),d=a(".password-entry-confirm").val();if(a("#pass-strength-result").removeClass("short bad good strong"),!c)return void a("#pass-strength-result").html(pwsL10n.empty);switch(b=wp.passwordStrength.meter(c,wp.passwordStrength.userInputBlacklist(),d)){case 2:a("#pass-strength-result").addClass("bad").html(pwsL10n.bad);break;case 3:a("#pass-strength-result").addClass("good").html(pwsL10n.good);break;case 4:a("#pass-strength-result").addClass("strong").html(pwsL10n.strong);break;case 5:a("#pass-strength-result").addClass("short").html(pwsL10n.mismatch);break;default:a("#pass-strength-result").addClass("short").html(pwsL10n["short"])}}a(document).ready(function(){a(".password-entry").val("").keyup(b),a(".password-entry-confirm").val("").keyup(b)})}(jQuery);
1
+ /*! buddypress - v2.1.0 - 2015-01-22 9:58:49 PM UTC - https://wordpress.org/plugins/buddypress/ */
2
  !function(a){function b(){var b,c=a(".password-entry").val(),d=a(".password-entry-confirm").val();if(a("#pass-strength-result").removeClass("short bad good strong"),!c)return void a("#pass-strength-result").html(pwsL10n.empty);switch(b=wp.passwordStrength.meter(c,wp.passwordStrength.userInputBlacklist(),d)){case 2:a("#pass-strength-result").addClass("bad").html(pwsL10n.bad);break;case 3:a("#pass-strength-result").addClass("good").html(pwsL10n.good);break;case 4:a("#pass-strength-result").addClass("strong").html(pwsL10n.strong);break;case 5:a("#pass-strength-result").addClass("short").html(pwsL10n.mismatch);break;default:a("#pass-strength-result").addClass("short").html(pwsL10n["short"])}}a(document).ready(function(){a(".password-entry").val("").keyup(b),a(".password-entry-confirm").val("").keyup(b)})}(jQuery);
bp-xprofile/admin/css/admin-rtl.min.css CHANGED
@@ -1,2 +1,2 @@
1
- /*! buddypress - v2.1.0 - 2015-01-15 12:34:34 AM UTC - https://wordpress.org/plugins/buddypress/ */
2
  #tabs-bottom{background:#f5f5f5;height:32px;border:1px solid #dedede}#tabs{position:relative}p.nofields{margin:20px 20px 0}ul#field-group-tabs{float:right;padding:0 15px 0 0;margin:0;display:none}ul#field-group-tabs li{float:right;margin-left:8px;margin-bottom:-1px}ul#field-group-tabs li.ui-state-hover a{background-color:#fafafa}ul#field-group-tabs li.ui-state-hover a.ui-tab{border-color:#dedede #dedede #f5f5f5;color:#d54e21}ul#field-group-tabs li.ui-state-acceptable a.ui-tab{border-color:#5a5 #5a5 #ccc;color:#8a8;background-color:#efe}ul#field-group-tabs li.drop-candidate a.ui-tab{background-color:#ffc;border-color:#aa5 #aa5 #ccc;color:#aa8}ul#field-group-tabs li a.ui-tab{font-size:14px;display:block;margin-top:3px;padding:5px 10px;border:1px solid #dedede;border-bottom:none;background-color:#f5f5f5;text-decoration:none;color:#000;outline:0}ul#field-group-tabs li.ui-state-active a.ui-tab{background-color:#f5f5f5;margin-top:-1px;padding:7px 10px;border:1px solid #dedede;border-bottom:1px solid transparent;color:#000}.tab-toolbar{background:#f5f5f5;border-width:0 0 1px;border-color:#dedede;border-style:solid;padding:10px}.bp-option a.delete,.field-wrapper a.deletion,.tab-toolbar a.deletion{color:red;border-bottom:1px solid red;text-decoration:none;padding:0}div.delete-button{float:left;line-height:28px;margin:0 0 0 10px}div.tab-wrapper{background-color:#fff;border:1px solid #dedede;border-bottom:none;clear:right;padding-bottom:20px}.tab-wrapper fieldset{position:relative;cursor:default}.tab-wrapper fieldset legend{font-weight:700}.tab-wrapper .xprofile-field{position:relative}.tab-wrapper fieldset fieldset{position:relative;border:1px solid #ddd;margin:20px 20px 0;cursor:move;background:#fafafa;padding:10px 0 0}.tab-wrapper fieldset fieldset legend{position:absolute;top:10px;right:10px;padding:0}.field-group fieldset:hover{border-color:#999}fieldset div.field-wrapper{padding:25px 10px 10px}fieldset.checkbox div label,fieldset.radio div div label{margin-left:20px}fieldset.clear-value{margin-right:10px}.field-group div.actions{float:none;border-top:1px solid #ddd;margin:10px 0 0;padding-top:10px}.field-group div.actions a,.field-group div.actions button,.field-group div.actions input{float:none}.field-group fieldset:hover div.actions{display:block}#field-group-tabs .ui-sortable-placeholder,.bp-options-box .ui-sortable-placeholder,.field-group fieldset.ui-sortable-placeholder{border:1px dashed #999;background-color:#fff;visibility:visible!important}#field-group-tabs .ui-sortable-placeholder{background:0 0;border-bottom:none;margin:-1px 0 -1px 6px}ul.forTab{list-style:none;padding:0;margin:0 1em 0 0}ul.forTab li{margin:0 0 1em}ul.forTab li label{display:block}ul.forTab li input{font-size:1.4em}p.success{background:green}p.err{border-top:2px solid red;border-bottom:2px solid red;color:red;padding:5px 0;width:40%}span.desc,span.signup-description{display:block;font-size:11px;color:#555}ul.multi-checkbox{margin:0 0 0 5px;padding:.5em .9em;height:10em;overflow:auto;list-style:none;border:1px solid #ccc;width:90%}ul.multi-checkbox li{padding:0;margin:0}div.bp-option{background:#fafafa;border:1px solid #dfdfdf;margin:10px 0;padding:10px 5px}div.bp-option:hover{border:1px solid #999}.bp-option-icon{font:400 20px/1 dashicons;speak:none;display:inline-block;padding:0 2px 0 0;top:5px;position:relative;vertical-align:top;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none!important;color:#888}div.bp-option .grabber:before{content:"\f329"}th a{background:#fff;padding:2px 5px;top:-2px}textarea#description,textarea#group_description{border:1px solid #ddd;width:100%}#bp-xprofile-add-field .titlewrap,#bp-xprofile-add-field-group .titlewrap{margin-bottom:20px}
1
+ /*! buddypress - v2.1.0 - 2015-01-22 9:58:52 PM UTC - https://wordpress.org/plugins/buddypress/ */
2
  #tabs-bottom{background:#f5f5f5;height:32px;border:1px solid #dedede}#tabs{position:relative}p.nofields{margin:20px 20px 0}ul#field-group-tabs{float:right;padding:0 15px 0 0;margin:0;display:none}ul#field-group-tabs li{float:right;margin-left:8px;margin-bottom:-1px}ul#field-group-tabs li.ui-state-hover a{background-color:#fafafa}ul#field-group-tabs li.ui-state-hover a.ui-tab{border-color:#dedede #dedede #f5f5f5;color:#d54e21}ul#field-group-tabs li.ui-state-acceptable a.ui-tab{border-color:#5a5 #5a5 #ccc;color:#8a8;background-color:#efe}ul#field-group-tabs li.drop-candidate a.ui-tab{background-color:#ffc;border-color:#aa5 #aa5 #ccc;color:#aa8}ul#field-group-tabs li a.ui-tab{font-size:14px;display:block;margin-top:3px;padding:5px 10px;border:1px solid #dedede;border-bottom:none;background-color:#f5f5f5;text-decoration:none;color:#000;outline:0}ul#field-group-tabs li.ui-state-active a.ui-tab{background-color:#f5f5f5;margin-top:-1px;padding:7px 10px;border:1px solid #dedede;border-bottom:1px solid transparent;color:#000}.tab-toolbar{background:#f5f5f5;border-width:0 0 1px;border-color:#dedede;border-style:solid;padding:10px}.bp-option a.delete,.field-wrapper a.deletion,.tab-toolbar a.deletion{color:red;border-bottom:1px solid red;text-decoration:none;padding:0}div.delete-button{float:left;line-height:28px;margin:0 0 0 10px}div.tab-wrapper{background-color:#fff;border:1px solid #dedede;border-bottom:none;clear:right;padding-bottom:20px}.tab-wrapper fieldset{position:relative;cursor:default}.tab-wrapper fieldset legend{font-weight:700}.tab-wrapper .xprofile-field{position:relative}.tab-wrapper fieldset fieldset{position:relative;border:1px solid #ddd;margin:20px 20px 0;cursor:move;background:#fafafa;padding:10px 0 0}.tab-wrapper fieldset fieldset legend{position:absolute;top:10px;right:10px;padding:0}.field-group fieldset:hover{border-color:#999}fieldset div.field-wrapper{padding:25px 10px 10px}fieldset.checkbox div label,fieldset.radio div div label{margin-left:20px}fieldset.clear-value{margin-right:10px}.field-group div.actions{float:none;border-top:1px solid #ddd;margin:10px 0 0;padding-top:10px}.field-group div.actions a,.field-group div.actions button,.field-group div.actions input{float:none}.field-group fieldset:hover div.actions{display:block}#field-group-tabs .ui-sortable-placeholder,.bp-options-box .ui-sortable-placeholder,.field-group fieldset.ui-sortable-placeholder{border:1px dashed #999;background-color:#fff;visibility:visible!important}#field-group-tabs .ui-sortable-placeholder{background:0 0;border-bottom:none;margin:-1px 0 -1px 6px}ul.forTab{list-style:none;padding:0;margin:0 1em 0 0}ul.forTab li{margin:0 0 1em}ul.forTab li label{display:block}ul.forTab li input{font-size:1.4em}p.success{background:green}p.err{border-top:2px solid red;border-bottom:2px solid red;color:red;padding:5px 0;width:40%}span.desc,span.signup-description{display:block;font-size:11px;color:#555}ul.multi-checkbox{margin:0 0 0 5px;padding:.5em .9em;height:10em;overflow:auto;list-style:none;border:1px solid #ccc;width:90%}ul.multi-checkbox li{padding:0;margin:0}div.bp-option{background:#fafafa;border:1px solid #dfdfdf;margin:10px 0;padding:10px 5px}div.bp-option:hover{border:1px solid #999}.bp-option-icon{font:400 20px/1 dashicons;speak:none;display:inline-block;padding:0 2px 0 0;top:5px;position:relative;vertical-align:top;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none!important;color:#888}div.bp-option .grabber:before{content:"\f329"}th a{background:#fff;padding:2px 5px;top:-2px}textarea#description,textarea#group_description{border:1px solid #ddd;width:100%}#bp-xprofile-add-field .titlewrap,#bp-xprofile-add-field-group .titlewrap{margin-bottom:20px}
bp-xprofile/admin/css/admin.min.css CHANGED
@@ -1,2 +1,2 @@
1
- /*! buddypress - v2.1.0 - 2015-01-15 12:34:34 AM UTC - https://wordpress.org/plugins/buddypress/ */
2
  #tabs-bottom{background:#f5f5f5;height:32px;border:1px solid #dedede}#tabs{position:relative}p.nofields{margin:20px 20px 0}ul#field-group-tabs{float:left;padding:0 0 0 15px;margin:0;display:none}ul#field-group-tabs li{float:left;margin-right:8px;margin-bottom:-1px}ul#field-group-tabs li.ui-state-hover a{background-color:#fafafa}ul#field-group-tabs li.ui-state-hover a.ui-tab{border-color:#dedede #dedede #f5f5f5;color:#d54e21}ul#field-group-tabs li.ui-state-acceptable a.ui-tab{border-color:#5a5 #5a5 #ccc;color:#8a8;background-color:#efe}ul#field-group-tabs li.drop-candidate a.ui-tab{background-color:#ffc;border-color:#aa5 #aa5 #ccc;color:#aa8}ul#field-group-tabs li a.ui-tab{font-size:14px;display:block;margin-top:3px;padding:5px 10px;border:1px solid #dedede;border-bottom:none;background-color:#f5f5f5;text-decoration:none;color:#000;outline:0}ul#field-group-tabs li.ui-state-active a.ui-tab{background-color:#f5f5f5;margin-top:-1px;padding:7px 10px;border:1px solid #dedede;border-bottom:1px solid transparent;color:#000}.tab-toolbar{background:#f5f5f5;border-width:0 0 1px;border-color:#dedede;border-style:solid;padding:10px}.bp-option a.delete,.field-wrapper a.deletion,.tab-toolbar a.deletion{color:red;border-bottom:1px solid red;text-decoration:none;padding:0}div.delete-button{float:right;line-height:28px;margin:0 10px 0 0}div.tab-wrapper{background-color:#fff;border:1px solid #dedede;border-bottom:none;clear:left;padding-bottom:20px}.tab-wrapper fieldset{position:relative;cursor:default}.tab-wrapper fieldset legend{font-weight:700}.tab-wrapper .xprofile-field{position:relative}.tab-wrapper fieldset fieldset{position:relative;border:1px solid #ddd;margin:20px 20px 0;cursor:move;background:#fafafa;padding:10px 0 0}.tab-wrapper fieldset fieldset legend{position:absolute;top:10px;left:10px;padding:0}.field-group fieldset:hover{border-color:#999}fieldset div.field-wrapper{padding:25px 10px 10px}fieldset.checkbox div label,fieldset.radio div div label{margin-right:20px}fieldset.clear-value{margin-left:10px}.field-group div.actions{float:none;border-top:1px solid #ddd;margin:10px 0 0;padding-top:10px}.field-group div.actions a,.field-group div.actions button,.field-group div.actions input{float:none}.field-group fieldset:hover div.actions{display:block}#field-group-tabs .ui-sortable-placeholder,.bp-options-box .ui-sortable-placeholder,.field-group fieldset.ui-sortable-placeholder{border:1px dashed #999;background-color:#fff;visibility:visible!important}#field-group-tabs .ui-sortable-placeholder{background:0 0;border-bottom:none;margin:-1px 6px -1px 0}ul.forTab{list-style:none;padding:0;margin:0 0 0 1em}ul.forTab li{margin:0 0 1em}ul.forTab li label{display:block}ul.forTab li input{font-size:1.4em}p.success{background:green}p.err{border-top:2px solid red;border-bottom:2px solid red;color:red;padding:5px 0;width:40%}span.desc,span.signup-description{display:block;font-size:11px;color:#555}ul.multi-checkbox{margin:0 5px 0 0;padding:.5em .9em;height:10em;overflow:auto;list-style:none;border:1px solid #ccc;width:90%}ul.multi-checkbox li{padding:0;margin:0}div.bp-option{background:#fafafa;border:1px solid #dfdfdf;margin:10px 0;padding:10px 5px}div.bp-option:hover{border:1px solid #999}.bp-option-icon{font:400 20px/1 dashicons;speak:none;display:inline-block;padding:0 0 0 2px;top:5px;position:relative;vertical-align:top;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none!important;color:#888}div.bp-option .grabber:before{content:"\f329"}th a{background:#fff;padding:2px 5px;top:-2px}textarea#description,textarea#group_description{border:1px solid #ddd;width:100%}#bp-xprofile-add-field .titlewrap,#bp-xprofile-add-field-group .titlewrap{margin-bottom:20px}
1
+ /*! buddypress - v2.1.0 - 2015-01-22 9:58:52 PM UTC - https://wordpress.org/plugins/buddypress/ */
2
  #tabs-bottom{background:#f5f5f5;height:32px;border:1px solid #dedede}#tabs{position:relative}p.nofields{margin:20px 20px 0}ul#field-group-tabs{float:left;padding:0 0 0 15px;margin:0;display:none}ul#field-group-tabs li{float:left;margin-right:8px;margin-bottom:-1px}ul#field-group-tabs li.ui-state-hover a{background-color:#fafafa}ul#field-group-tabs li.ui-state-hover a.ui-tab{border-color:#dedede #dedede #f5f5f5;color:#d54e21}ul#field-group-tabs li.ui-state-acceptable a.ui-tab{border-color:#5a5 #5a5 #ccc;color:#8a8;background-color:#efe}ul#field-group-tabs li.drop-candidate a.ui-tab{background-color:#ffc;border-color:#aa5 #aa5 #ccc;color:#aa8}ul#field-group-tabs li a.ui-tab{font-size:14px;display:block;margin-top:3px;padding:5px 10px;border:1px solid #dedede;border-bottom:none;background-color:#f5f5f5;text-decoration:none;color:#000;outline:0}ul#field-group-tabs li.ui-state-active a.ui-tab{background-color:#f5f5f5;margin-top:-1px;padding:7px 10px;border:1px solid #dedede;border-bottom:1px solid transparent;color:#000}.tab-toolbar{background:#f5f5f5;border-width:0 0 1px;border-color:#dedede;border-style:solid;padding:10px}.bp-option a.delete,.field-wrapper a.deletion,.tab-toolbar a.deletion{color:red;border-bottom:1px solid red;text-decoration:none;padding:0}div.delete-button{float:right;line-height:28px;margin:0 10px 0 0}div.tab-wrapper{background-color:#fff;border:1px solid #dedede;border-bottom:none;clear:left;padding-bottom:20px}.tab-wrapper fieldset{position:relative;cursor:default}.tab-wrapper fieldset legend{font-weight:700}.tab-wrapper .xprofile-field{position:relative}.tab-wrapper fieldset fieldset{position:relative;border:1px solid #ddd;margin:20px 20px 0;cursor:move;background:#fafafa;padding:10px 0 0}.tab-wrapper fieldset fieldset legend{position:absolute;top:10px;left:10px;padding:0}.field-group fieldset:hover{border-color:#999}fieldset div.field-wrapper{padding:25px 10px 10px}fieldset.checkbox div label,fieldset.radio div div label{margin-right:20px}fieldset.clear-value{margin-left:10px}.field-group div.actions{float:none;border-top:1px solid #ddd;margin:10px 0 0;padding-top:10px}.field-group div.actions a,.field-group div.actions button,.field-group div.actions input{float:none}.field-group fieldset:hover div.actions{display:block}#field-group-tabs .ui-sortable-placeholder,.bp-options-box .ui-sortable-placeholder,.field-group fieldset.ui-sortable-placeholder{border:1px dashed #999;background-color:#fff;visibility:visible!important}#field-group-tabs .ui-sortable-placeholder{background:0 0;border-bottom:none;margin:-1px 6px -1px 0}ul.forTab{list-style:none;padding:0;margin:0 0 0 1em}ul.forTab li{margin:0 0 1em}ul.forTab li label{display:block}ul.forTab li input{font-size:1.4em}p.success{background:green}p.err{border-top:2px solid red;border-bottom:2px solid red;color:red;padding:5px 0;width:40%}span.desc,span.signup-description{display:block;font-size:11px;color:#555}ul.multi-checkbox{margin:0 5px 0 0;padding:.5em .9em;height:10em;overflow:auto;list-style:none;border:1px solid #ccc;width:90%}ul.multi-checkbox li{padding:0;margin:0}div.bp-option{background:#fafafa;border:1px solid #dfdfdf;margin:10px 0;padding:10px 5px}div.bp-option:hover{border:1px solid #999}.bp-option-icon{font:400 20px/1 dashicons;speak:none;display:inline-block;padding:0 0 0 2px;top:5px;position:relative;vertical-align:top;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none!important;color:#888}div.bp-option .grabber:before{content:"\f329"}th a{background:#fff;padding:2px 5px;top:-2px}textarea#description,textarea#group_description{border:1px solid #ddd;width:100%}#bp-xprofile-add-field .titlewrap,#bp-xprofile-add-field-group .titlewrap{margin-bottom:20px}
bp-xprofile/admin/js/admin.min.js CHANGED
@@ -1,2 +1,2 @@
1
- /*! buddypress - v2.1.0 - 2015-01-15 12:34:33 AM UTC - https://wordpress.org/plugins/buddypress/ */
2
  function add_option(a){var b=document.getElementById(a+"_more"),c=document.getElementById(a+"_option_number").value,d=document.createElement("div"),e=document.createElement("span"),f=document.createElement("input"),g=document.createElement("label"),h=document.createElement("input"),i=document.createTextNode("Default Value"),j=document.createTextNode("Delete"),k=document.createElement("div"),l=document.createElement("a");d.setAttribute("id",a+"_div"+c),d.setAttribute("class","bp-option sortable"),e.setAttribute("class","bp-option-icon grabber"),f.setAttribute("type","text"),f.setAttribute("name",a+"_option["+c+"]"),f.setAttribute("id",a+"_option"+c),"checkbox"===a||"multiselectbox"===a?(h.setAttribute("type","checkbox"),h.setAttribute("name","isDefault_"+a+"_option["+c+"]")):(h.setAttribute("type","radio"),h.setAttribute("name","isDefault_"+a+"_option")),h.setAttribute("value",c),l.setAttribute("href",'javascript:hide("'+a+"_div"+c+'")'),l.setAttribute("class","delete"),l.appendChild(j),k.setAttribute("class","delete-button"),k.appendChild(l),g.appendChild(document.createTextNode(" ")),g.appendChild(h),g.appendChild(document.createTextNode(" ")),g.appendChild(i),g.appendChild(document.createTextNode(" ")),d.appendChild(e),d.appendChild(document.createTextNode(" ")),d.appendChild(f),d.appendChild(g),d.appendChild(k),b.appendChild(d),enableSortableFieldOptions(a),document.getElementById(a+"_option"+c).focus(),c++,document.getElementById(a+"_option_number").value=c}function show_options(a){for(var b=0;b<XProfileAdmin.supports_options_field_types.length;b++)document.getElementById(XProfileAdmin.supports_options_field_types[b]).style.display="none";XProfileAdmin.supports_options_field_types.indexOf(a)>=0&&(document.getElementById(a).style.display="")}function hide(a){if(!document.getElementById(a))return!1;document.getElementById(a).style.display="none";var b=a.replace("div","option");document.getElementById(b).value=""}function enableSortableFieldOptions(){jQuery(".bp-options-box").sortable({cursor:"move",items:"div.sortable",tolerance:"intersect",axis:"y"}),jQuery(".sortable, .sortable span").css("cursor","move")}function destroySortableFieldOptions(){jQuery(".bp-options-box").sortable("destroy"),jQuery(".sortable, .sortable span").css("cursor","default")}function titleHint(a){a=a||"title";var b=jQuery("#"+a),c=jQuery("#"+a+"-prompt-text");""===b.val()?c.removeClass("screen-reader-text"):c.addClass("screen-reader-text"),c.click(function(){jQuery(this).addClass("screen-reader-text"),b.focus()}),b.blur(function(){""===this.value&&c.removeClass("screen-reader-text")}).focus(function(){c.addClass("screen-reader-text")}).keydown(function(a){c.addClass("screen-reader-text"),jQuery(this).unbind(a)})}var fixHelper=function(a,b){return b.children().each(function(){jQuery(this).width(jQuery(this).width())}),b};jQuery(document).ready(function(){function a(a){b=jQuery("ul:first li",a).droppable({accept:".connectedSortable fieldset",hoverClass:"ui-state-hover",activeClass:"ui-state-acceptable",touch:"pointer",tolerance:"pointer",drop:function(c,d){var e=jQuery(this),f=jQuery(e.find("a").attr("href")).find(".connectedSortable");jQuery(e).removeClass("drop-candidate"),d.draggable.hide("slow",function(){a.tabs("option","active",b.index(e)),jQuery(this).appendTo(f).show("slow").animate({opacity:"1"},500),f=jQuery(e.find("a").attr("href")).find(".connectedSortable"),jQuery(f).find("p.nofields").hide("slow"),jQuery.post(ajaxurl,{action:"xprofile_reorder_fields",cookie:encodeURIComponent(document.cookie),_wpnonce_reorder_fields:jQuery("input#_wpnonce_reorder_fields").val(),field_order:jQuery(f).sortable("serialize"),field_group_id:jQuery(f).attr("id")},function(){})})},over:function(){jQuery(this).addClass("drop-candidate")},out:function(){jQuery(this).removeClass("drop-candidate")}})}jQuery("#bp-xprofile-add-field #title").focus(),jQuery("a.ajax-option-delete").on("click",function(){var a=this.id.split("-");a=a[1],jQuery.post(ajaxurl,{action:"xprofile_delete_option",cookie:encodeURIComponent(document.cookie),_wpnonce:jQuery("input#_wpnonce").val(),option_id:a},function(){})}),jQuery('[id^="sort_order_"]').change(function(){"custom"!==jQuery(this).val()?destroySortableFieldOptions():enableSortableFieldOptions(jQuery("#fieldtype :selected").val())}),jQuery("ul#field-group-tabs").show(),jQuery("ul#field-group-tabs").sortable({cursor:"move",axis:"x",opacity:1,items:"li",tolerance:"intersect",update:function(){jQuery.post(ajaxurl,{action:"xprofile_reorder_groups",cookie:encodeURIComponent(document.cookie),_wpnonce_reorder_groups:jQuery("input#_wpnonce_reorder_groups").val(),group_order:jQuery(this).sortable("serialize")},function(){})}}).disableSelection(),jQuery("fieldset.field-group").sortable({cursor:"move",opacity:1,items:"fieldset",tolerance:"pointer",update:function(){jQuery.post(ajaxurl,{action:"xprofile_reorder_fields",cookie:encodeURIComponent(document.cookie),_wpnonce_reorder_fields:jQuery("input#_wpnonce_reorder_fields").val(),field_order:jQuery(this).sortable("serialize"),field_group_id:jQuery(this).attr("id")},function(){})}}).disableSelection().css("cursor","move"),enableSortableFieldOptions(jQuery("#fieldtype :selected").val()),titleHint("title");var b,c=jQuery("#tabs").tabs();a(c)});
1
+ /*! buddypress - v2.1.0 - 2015-01-22 9:58:49 PM UTC - https://wordpress.org/plugins/buddypress/ */
2
  function add_option(a){var b=document.getElementById(a+"_more"),c=document.getElementById(a+"_option_number").value,d=document.createElement("div"),e=document.createElement("span"),f=document.createElement("input"),g=document.createElement("label"),h=document.createElement("input"),i=document.createTextNode("Default Value"),j=document.createTextNode("Delete"),k=document.createElement("div"),l=document.createElement("a");d.setAttribute("id",a+"_div"+c),d.setAttribute("class","bp-option sortable"),e.setAttribute("class","bp-option-icon grabber"),f.setAttribute("type","text"),f.setAttribute("name",a+"_option["+c+"]"),f.setAttribute("id",a+"_option"+c),"checkbox"===a||"multiselectbox"===a?(h.setAttribute("type","checkbox"),h.setAttribute("name","isDefault_"+a+"_option["+c+"]")):(h.setAttribute("type","radio"),h.setAttribute("name","isDefault_"+a+"_option")),h.setAttribute("value",c),l.setAttribute("href",'javascript:hide("'+a+"_div"+c+'")'),l.setAttribute("class","delete"),l.appendChild(j),k.setAttribute("class","delete-button"),k.appendChild(l),g.appendChild(document.createTextNode(" ")),g.appendChild(h),g.appendChild(document.createTextNode(" ")),g.appendChild(i),g.appendChild(document.createTextNode(" ")),d.appendChild(e),d.appendChild(document.createTextNode(" ")),d.appendChild(f),d.appendChild(g),d.appendChild(k),b.appendChild(d),enableSortableFieldOptions(a),document.getElementById(a+"_option"+c).focus(),c++,document.getElementById(a+"_option_number").value=c}function show_options(a){for(var b=0;b<XProfileAdmin.supports_options_field_types.length;b++)document.getElementById(XProfileAdmin.supports_options_field_types[b]).style.display="none";XProfileAdmin.supports_options_field_types.indexOf(a)>=0&&(document.getElementById(a).style.display="")}function hide(a){if(!document.getElementById(a))return!1;document.getElementById(a).style.display="none";var b=a.replace("div","option");document.getElementById(b).value=""}function enableSortableFieldOptions(){jQuery(".bp-options-box").sortable({cursor:"move",items:"div.sortable",tolerance:"intersect",axis:"y"}),jQuery(".sortable, .sortable span").css("cursor","move")}function destroySortableFieldOptions(){jQuery(".bp-options-box").sortable("destroy"),jQuery(".sortable, .sortable span").css("cursor","default")}function titleHint(a){a=a||"title";var b=jQuery("#"+a),c=jQuery("#"+a+"-prompt-text");""===b.val()?c.removeClass("screen-reader-text"):c.addClass("screen-reader-text"),c.click(function(){jQuery(this).addClass("screen-reader-text"),b.focus()}),b.blur(function(){""===this.value&&c.removeClass("screen-reader-text")}).focus(function(){c.addClass("screen-reader-text")}).keydown(function(a){c.addClass("screen-reader-text"),jQuery(this).unbind(a)})}var fixHelper=function(a,b){return b.children().each(function(){jQuery(this).width(jQuery(this).width())}),b};jQuery(document).ready(function(){function a(a){b=jQuery("ul:first li",a).droppable({accept:".connectedSortable fieldset",hoverClass:"ui-state-hover",activeClass:"ui-state-acceptable",touch:"pointer",tolerance:"pointer",drop:function(c,d){var e=jQuery(this),f=jQuery(e.find("a").attr("href")).find(".connectedSortable");jQuery(e).removeClass("drop-candidate"),d.draggable.hide("slow",function(){a.tabs("option","active",b.index(e)),jQuery(this).appendTo(f).show("slow").animate({opacity:"1"},500),f=jQuery(e.find("a").attr("href")).find(".connectedSortable"),jQuery(f).find("p.nofields").hide("slow"),jQuery.post(ajaxurl,{action:"xprofile_reorder_fields",cookie:encodeURIComponent(document.cookie),_wpnonce_reorder_fields:jQuery("input#_wpnonce_reorder_fields").val(),field_order:jQuery(f).sortable("serialize"),field_group_id:jQuery(f).attr("id")},function(){})})},over:function(){jQuery(this).addClass("drop-candidate")},out:function(){jQuery(this).removeClass("drop-candidate")}})}jQuery("#bp-xprofile-add-field #title").focus(),jQuery("a.ajax-option-delete").on("click",function(){var a=this.id.split("-");a=a[1],jQuery.post(ajaxurl,{action:"xprofile_delete_option",cookie:encodeURIComponent(document.cookie),_wpnonce:jQuery("input#_wpnonce").val(),option_id:a},function(){})}),jQuery('[id^="sort_order_"]').change(function(){"custom"!==jQuery(this).val()?destroySortableFieldOptions():enableSortableFieldOptions(jQuery("#fieldtype :selected").val())}),jQuery("ul#field-group-tabs").show(),jQuery("ul#field-group-tabs").sortable({cursor:"move",axis:"x",opacity:1,items:"li",tolerance:"intersect",update:function(){jQuery.post(ajaxurl,{action:"xprofile_reorder_groups",cookie:encodeURIComponent(document.cookie),_wpnonce_reorder_groups:jQuery("input#_wpnonce_reorder_groups").val(),group_order:jQuery(this).sortable("serialize")},function(){})}}).disableSelection(),jQuery("fieldset.field-group").sortable({cursor:"move",opacity:1,items:"fieldset",tolerance:"pointer",update:function(){jQuery.post(ajaxurl,{action:"xprofile_reorder_fields",cookie:encodeURIComponent(document.cookie),_wpnonce_reorder_fields:jQuery("input#_wpnonce_reorder_fields").val(),field_order:jQuery(this).sortable("serialize"),field_group_id:jQuery(this).attr("id")},function(){})}}).disableSelection().css("cursor","move"),enableSortableFieldOptions(jQuery("#fieldtype :selected").val()),titleHint("title");var b,c=jQuery("#tabs").tabs();a(c)});
buddypress.pot CHANGED
@@ -2,9 +2,9 @@
2
  # This file is distributed under the GPLv2 or later (license.txt).
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: BuddyPress 2.2-beta\n"
6
  "Report-Msgid-Bugs-To: https://buddypress.trac.wordpress.org\n"
7
- "POT-Creation-Date: 2015-01-15 00:34:35+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
@@ -26,7 +26,7 @@ msgid "The activity item has been marked as spam and is no longer visible."
26
  msgstr ""
27
 
28
  #: bp-activity/bp-activity-actions.php:333
29
- #: bp-templates/bp-legacy/buddypress-functions.php:746
30
  msgid "Please enter some content to post."
31
  msgstr ""
32
 
@@ -39,7 +39,7 @@ msgid "There was an error when posting your update. Please try again."
39
  msgstr ""
40
 
41
  #: bp-activity/bp-activity-actions.php:417
42
- #: bp-templates/bp-legacy/buddypress-functions.php:813
43
  msgid "Please do not leave the comment area blank."
44
  msgstr ""
45
 
@@ -311,7 +311,7 @@ msgid "Submitted on: <strong>%1$s</strong>"
311
  msgstr ""
312
 
313
  #: bp-activity/bp-activity-admin.php:732 bp-activity/bp-activity-admin.php:1494
314
- #: bp-forums/bp-forums-template.php:2115 bp-groups/bp-groups-admin.php:1424
315
  #: bp-xprofile/bp-xprofile-admin.php:468
316
  msgid "Edit"
317
  msgstr ""
@@ -538,7 +538,7 @@ msgstr ""
538
  msgid "Activity History"
539
  msgstr ""
540
 
541
- #: bp-activity/bp-activity-classes.php:293
542
  #: bp-activity/bp-activity-template.php:171 bp-groups/bp-groups-classes.php:654
543
  #: bp-groups/bp-groups-functions.php:506 bp-groups/bp-groups-template.php:187
544
  #: bp-groups/bp-groups-template.php:3038 bp-groups/bp-groups-template.php:4080
@@ -550,11 +550,11 @@ msgid ""
550
  "documentation at %2$s for more details."
551
  msgstr ""
552
 
553
- #: bp-activity/bp-activity-classes.php:2033
554
  msgid "RSS feed 'id' must be defined"
555
  msgstr ""
556
 
557
- #: bp-activity/bp-activity-classes.php:2175
558
  msgid "In reply to"
559
  msgstr ""
560
 
@@ -570,40 +570,40 @@ msgstr ""
570
  msgid "Load Newest"
571
  msgstr ""
572
 
573
- #: bp-activity/bp-activity-functions.php:1209
574
  msgid "Posted a status update"
575
  msgstr ""
576
 
577
- #: bp-activity/bp-activity-functions.php:1211
578
  msgid "Updates"
579
  msgstr ""
580
 
581
- #: bp-activity/bp-activity-functions.php:1218
582
  msgid "Replied to a status update"
583
  msgstr ""
584
 
585
- #: bp-activity/bp-activity-functions.php:1220
586
  msgid "Activity Comments"
587
  msgstr ""
588
 
589
- #: bp-activity/bp-activity-functions.php:1285
590
  msgid "%s posted an update"
591
  msgstr ""
592
 
593
- #: bp-activity/bp-activity-functions.php:1308
594
  msgid "%s posted a new activity comment"
595
  msgstr ""
596
 
597
- #: bp-activity/bp-activity-functions.php:2024
598
- #: bp-templates/bp-legacy/buddypress-functions.php:810
599
  msgid "There was an error posting your reply. Please try again."
600
  msgstr ""
601
 
602
- #: bp-activity/bp-activity-functions.php:2058
603
  msgid "Sorry, the item you are replying to no longer exists."
604
  msgstr ""
605
 
606
- #: bp-activity/bp-activity-functions.php:2578
607
  msgid "Thumbnail"
608
  msgstr ""
609
 
@@ -621,8 +621,8 @@ msgstr ""
621
  #: bp-activity/bp-activity-template.php:1578
622
  #: bp-activity/bp-activity-template.php:1589 bp-blogs/bp-blogs-loader.php:265
623
  #: bp-core/deprecated/2.1.php:501 bp-forums/bp-forums-loader.php:245
624
- #: bp-forums/bp-forums-template.php:732 bp-forums/bp-forums-template.php:962
625
- #: bp-forums/bp-forums-template.php:1993 bp-friends/bp-friends-loader.php:234
626
  #: bp-groups/bp-groups-loader.php:655 bp-groups/bp-groups-template.php:1348
627
  #: bp-groups/bp-groups-template.php:1391 bp-groups/bp-groups-template.php:1978
628
  #: bp-groups/bp-groups-template.php:1994 bp-groups/bp-groups-template.php:2050
@@ -787,7 +787,7 @@ msgid ""
787
  msgstr ""
788
 
789
  #: bp-activity/bp-activity-template.php:3003
790
- #: bp-forums/bp-forums-template.php:2116 bp-groups/bp-groups-admin.php:1316
791
  #: bp-groups/bp-groups-admin.php:1427 bp-groups/bp-groups-loader.php:557
792
  #: bp-members/admin/bp-members-classes.php:154
793
  #: bp-members/admin/bp-members-classes.php:285
@@ -808,7 +808,7 @@ msgstr ""
808
  #: bp-core/admin/bp-core-functions.php:848 bp-core/admin/bp-core-slugs.php:106
809
  #: bp-core/admin/bp-core-slugs.php:166 bp-groups/bp-groups-admin.php:1430
810
  #: bp-members/bp-members-template.php:1077
811
- #: bp-templates/bp-legacy/buddypress-functions.php:252
812
  msgid "View"
813
  msgstr ""
814
 
@@ -852,19 +852,23 @@ msgstr ""
852
  msgid "%s created the site %s"
853
  msgstr ""
854
 
855
- #: bp-blogs/bp-blogs-activity.php:150
 
 
 
 
856
  msgid "%1$s wrote a new post, %2$s, on the site %3$s"
857
  msgstr ""
858
 
859
- #: bp-blogs/bp-blogs-activity.php:152
860
  msgid "%1$s wrote a new post, %2$s"
861
  msgstr ""
862
 
863
- #: bp-blogs/bp-blogs-activity.php:225
864
  msgid "%1$s commented on the post, %2$s, on the site %3$s"
865
  msgstr ""
866
 
867
- #: bp-blogs/bp-blogs-activity.php:227
868
  msgid "%1$s commented on the post, %2$s"
869
  msgstr ""
870
 
@@ -1017,7 +1021,7 @@ msgid "%s's Recent Comments"
1017
  msgstr ""
1018
 
1019
  #: bp-blogs/bp-blogs-template.php:1429 bp-core/deprecated/1.5.php:417
1020
- #: bp-forums/bp-forums-template.php:2199 bp-groups/bp-groups-template.php:3860
1021
  #: bp-members/bp-members-template.php:1237
1022
  #: bp-messages/bp-messages-template.php:1113
1023
  msgid "Search"
@@ -1295,7 +1299,7 @@ msgstr ""
1295
 
1296
  #: bp-core/admin/bp-core-functions.php:424 bp-forums/bp-forums-loader.php:132
1297
  #: bp-forums/bp-forums-loader.php:199 bp-forums/bp-forums-loader.php:240
1298
- #: bp-forums/bp-forums-screens.php:208 bp-forums/bp-forums-screens.php:210
1299
  #: bp-forums/deprecated/1.6.php:42 bp-forums/deprecated/1.7.php:25
1300
  #: bp-forums/deprecated/1.7.php:102
1301
  msgid "Forums"
@@ -1888,6 +1892,7 @@ msgid "Core Team"
1888
  msgstr ""
1889
 
1890
  #: bp-core/bp-core-admin.php:719 bp-core/bp-core-admin.php:724
 
1891
  msgid "Core Developer"
1892
  msgstr ""
1893
 
@@ -1895,51 +1900,51 @@ msgstr ""
1895
  msgid "Navigator"
1896
  msgstr ""
1897
 
1898
- #: bp-core/bp-core-admin.php:733
1899
  msgid "Recent Rockstars"
1900
  msgstr ""
1901
 
1902
- #: bp-core/bp-core-admin.php:757
1903
  msgid "Contributors to BuddyPress %s"
1904
  msgstr ""
1905
 
1906
- #: bp-core/bp-core-admin.php:804
1907
  msgid "External Libraries"
1908
  msgstr ""
1909
 
1910
- #: bp-core/bp-core-admin.php:832
1911
  msgid "Maintenance Release"
1912
  msgid_plural "Maintenance Releases"
1913
  msgstr[0] ""
1914
  msgstr[1] ""
1915
 
1916
- #: bp-core/bp-core-admin.php:833
1917
  msgid "Security Release"
1918
  msgid_plural "Security Releases"
1919
  msgstr[0] ""
1920
  msgstr[1] ""
1921
 
1922
- #: bp-core/bp-core-admin.php:834
1923
  msgid "Maintenance and Security Release"
1924
  msgid_plural "Maintenance and Security Releases"
1925
  msgstr[0] ""
1926
  msgstr[1] ""
1927
 
1928
- #: bp-core/bp-core-admin.php:837
1929
  #. translators: 1: WordPress version number.
1930
  msgid "<strong>Version %1$s</strong> addressed a security issue."
1931
  msgid_plural "<strong>Version %1$s</strong> addressed some security issues."
1932
  msgstr[0] ""
1933
  msgstr[1] ""
1934
 
1935
- #: bp-core/bp-core-admin.php:842
1936
  #. translators: 1: WordPress version number, 2: plural number of bugs.
1937
  msgid "<strong>Version %1$s</strong> addressed %2$s bug."
1938
  msgid_plural "<strong>Version %1$s</strong> addressed %2$s bugs."
1939
  msgstr[0] ""
1940
  msgstr[1] ""
1941
 
1942
- #: bp-core/bp-core-admin.php:847
1943
  #. translators: 1: WordPress version number, 2: plural number of bugs. Singular
1944
  #. security issue.
1945
  msgid "<strong>Version %1$s</strong> addressed a security issue and fixed %2$s bug."
@@ -1949,7 +1954,7 @@ msgid_plural ""
1949
  msgstr[0] ""
1950
  msgstr[1] ""
1951
 
1952
- #: bp-core/bp-core-admin.php:852
1953
  #. translators: 1: WordPress version number, 2: plural number of bugs. More
1954
  #. than one security issue.
1955
  msgid ""
@@ -1961,7 +1966,7 @@ msgid_plural ""
1961
  msgstr[0] ""
1962
  msgstr[1] ""
1963
 
1964
- #: bp-core/bp-core-admin.php:856
1965
  msgid "For more information, see <a href=\"%s\">the release notes</a>."
1966
  msgstr ""
1967
 
@@ -1979,53 +1984,53 @@ msgstr ""
1979
  msgid "Profile Photo"
1980
  msgstr ""
1981
 
1982
- #: bp-core/bp-core-avatars.php:570
1983
  msgid "The image was uploaded successfully"
1984
  msgstr ""
1985
 
1986
- #: bp-core/bp-core-avatars.php:571 bp-core/bp-core-avatars.php:572
1987
  msgid "The image exceeds the maximum allowed file size of: "
1988
  msgstr ""
1989
 
1990
- #: bp-core/bp-core-avatars.php:573
1991
  msgid "The uploaded file was only partially uploaded."
1992
  msgstr ""
1993
 
1994
- #: bp-core/bp-core-avatars.php:574
1995
  msgid "The image was not uploaded."
1996
  msgstr ""
1997
 
1998
- #: bp-core/bp-core-avatars.php:575
1999
  msgid "Missing a temporary folder."
2000
  msgstr ""
2001
 
2002
- #: bp-core/bp-core-avatars.php:579
2003
  msgid "Your upload failed. Please try again. Error was: %s"
2004
  msgstr ""
2005
 
2006
- #: bp-core/bp-core-avatars.php:584
2007
  msgid "The file you uploaded is too big. Please upload a file under %s"
2008
  msgstr ""
2009
 
2010
- #: bp-core/bp-core-avatars.php:589
2011
  msgid "Please upload only JPG, GIF or PNG photos."
2012
  msgstr ""
2013
 
2014
- #: bp-core/bp-core-avatars.php:606 bp-core/bp-core-avatars.php:643
2015
  msgid "Upload Failed! Error was: %s"
2016
  msgstr ""
2017
 
2018
- #: bp-core/bp-core-avatars.php:661
2019
  msgid "Upload failed! Error was: %s"
2020
  msgstr ""
2021
 
2022
- #: bp-core/bp-core-avatars.php:671
2023
  msgid ""
2024
  "You have selected an image that is smaller than recommended. For best "
2025
  "results, upload a picture larger than %d x %d pixels."
2026
  msgstr ""
2027
 
2028
- #: bp-core/bp-core-avatars.php:848 bp-core/bp-core-classes.php:888
2029
  #: bp-core/bp-core-classes.php:889 bp-core/bp-core-classes.php:890
2030
  #: bp-core/bp-core-template.php:159 bp-core/bp-core-template.php:178
2031
  #: bp-groups/bp-groups-template.php:4452 bp-groups/bp-groups-template.php:4453
@@ -2089,7 +2094,7 @@ msgstr ""
2089
  msgid "Activate %s"
2090
  msgstr ""
2091
 
2092
- #: bp-core/bp-core-filters.php:479 bp-members/bp-members-functions.php:2205
2093
  msgid ""
2094
  "Thanks for registering! To complete the activation of your account please "
2095
  "click the following link:\n"
@@ -2098,7 +2103,7 @@ msgid ""
2098
  "\n"
2099
  msgstr ""
2100
 
2101
- #: bp-core/bp-core-filters.php:480 bp-members/bp-members-functions.php:2206
2102
  msgid "Activate Your Account"
2103
  msgstr ""
2104
 
@@ -2118,11 +2123,11 @@ msgstr ""
2118
  msgid "%1$s %3$s %2$s"
2119
  msgstr ""
2120
 
2121
- #: bp-core/bp-core-filters.php:609 bp-members/bp-members-screens.php:654
2122
  msgid "Create an Account"
2123
  msgstr ""
2124
 
2125
- #: bp-core/bp-core-filters.php:613 bp-members/bp-members-screens.php:662
2126
  msgid "Activate your Account"
2127
  msgstr ""
2128
 
@@ -2259,7 +2264,7 @@ msgid "Title:"
2259
  msgstr ""
2260
 
2261
  #: bp-core/deprecated/1.5.php:142
2262
- #: bp-templates/bp-legacy/buddypress/activity/post-form.php:50
2263
  #: bp-templates/bp-legacy/buddypress/members/single/profile/profile-wp.php:8
2264
  msgid "My Profile"
2265
  msgstr ""
@@ -2445,91 +2450,91 @@ msgstr ""
2445
  msgid "Favorite Topics"
2446
  msgstr ""
2447
 
2448
- #: bp-forums/bp-forums-screens.php:25 bp-forums/bp-forums-screens.php:182
2449
  msgid "The forums component has not been set up yet."
2450
  msgstr ""
2451
 
2452
- #: bp-forums/bp-forums-screens.php:48 bp-groups/bp-groups-screens.php:381
2453
  msgid "Please provide a title for your forum topic."
2454
  msgstr ""
2455
 
2456
- #: bp-forums/bp-forums-screens.php:50 bp-groups/bp-groups-screens.php:383
2457
  msgid "Forum posts cannot be empty. Please enter some text."
2458
  msgstr ""
2459
 
2460
- #: bp-forums/bp-forums-screens.php:57 bp-groups/bp-groups-screens.php:395
2461
  msgid "There was an error when creating the topic"
2462
  msgstr ""
2463
 
2464
- #: bp-forums/bp-forums-screens.php:60 bp-groups/bp-groups-screens.php:398
2465
  msgid "The topic was created successfully"
2466
  msgstr ""
2467
 
2468
- #: bp-forums/bp-forums-screens.php:68 bp-forums/bp-forums-screens.php:73
2469
  msgid "Please pick the group forum where you would like to post this topic."
2470
  msgstr ""
2471
 
2472
- #: bp-forums/bp-forums-screens.php:208 bp-groups/bp-groups-template.php:2712
2473
  #: bp-groups/bp-groups-template.php:2713
2474
  #: bp-templates/bp-legacy/buddypress/groups/single/forum.php:19
2475
  msgid "New Topic"
2476
  msgstr ""
2477
 
2478
- #: bp-forums/bp-forums-template.php:758 bp-forums/bp-forums-template.php:872
2479
- #: bp-forums/bp-forums-template.php:2017
2480
  #: bp-messages/bp-messages-classes.php:678
2481
  #: bp-messages/bp-messages-template.php:2100
2482
  #: bp-messages/bp-messages-template.php:2341
2483
  msgid "Deleted User"
2484
  msgstr ""
2485
 
2486
- #: bp-forums/bp-forums-template.php:918
2487
  msgid "Group logo for %s"
2488
  msgstr ""
2489
 
2490
- #: bp-forums/bp-forums-template.php:1105 bp-groups/bp-groups-template.php:1762
2491
  msgid "%d post"
2492
  msgstr ""
2493
 
2494
- #: bp-forums/bp-forums-template.php:1107 bp-groups/bp-groups-template.php:1764
2495
  msgid "%d posts"
2496
  msgstr ""
2497
 
2498
- #: bp-forums/bp-forums-template.php:1293
2499
  msgid "Edit Topic"
2500
  msgstr ""
2501
 
2502
- #: bp-forums/bp-forums-template.php:1297
2503
  msgid "Sticky Topic"
2504
  msgstr ""
2505
 
2506
- #: bp-forums/bp-forums-template.php:1299
2507
  msgid "Un-stick Topic"
2508
  msgstr ""
2509
 
2510
- #: bp-forums/bp-forums-template.php:1302
2511
  msgid "Open Topic"
2512
  msgstr ""
2513
 
2514
- #: bp-forums/bp-forums-template.php:1304
2515
  msgid "Close Topic"
2516
  msgstr ""
2517
 
2518
- #: bp-forums/bp-forums-template.php:1306
2519
  msgid "Delete Topic"
2520
  msgstr ""
2521
 
2522
- #: bp-forums/bp-forums-template.php:1527
2523
  msgid " matching tag \"%s\""
2524
  msgstr ""
2525
 
2526
- #: bp-forums/bp-forums-template.php:1529
2527
  msgid "Viewing 1 topic"
2528
  msgid_plural "Viewing %1$s - %2$s of %3$s topics"
2529
  msgstr[0] ""
2530
  msgstr[1] ""
2531
 
2532
- #: bp-forums/bp-forums-template.php:2169
2533
  msgid "Viewing 1 post"
2534
  msgid_plural "Viewing %1$s - %2$s of %3$s posts"
2535
  msgstr[0] ""
@@ -2727,7 +2732,7 @@ msgid "You already have a pending friendship request with this user"
2727
  msgstr ""
2728
 
2729
  #: bp-friends/bp-friends-actions.php:76
2730
- #: bp-templates/bp-legacy/buddypress-functions.php:1148
2731
  msgid "Friendship could not be canceled."
2732
  msgstr ""
2733
 
@@ -2875,7 +2880,7 @@ msgid "%d friends"
2875
  msgstr ""
2876
 
2877
  #: bp-friends/bp-friends-template.php:355
2878
- #: bp-templates/bp-legacy/buddypress-functions.php:1160
2879
  msgid "Cancel Friendship Request"
2880
  msgstr ""
2881
 
@@ -2895,8 +2900,8 @@ msgstr ""
2895
 
2896
  #: bp-friends/bp-friends-template.php:406
2897
  #: bp-friends/bp-friends-template.php:407
2898
- #: bp-templates/bp-legacy/buddypress-functions.php:1150
2899
- #: bp-templates/bp-legacy/buddypress-functions.php:1168
2900
  msgid "Add Friend"
2901
  msgstr ""
2902
 
@@ -3345,7 +3350,7 @@ msgstr ""
3345
  msgid "No members of this type"
3346
  msgstr ""
3347
 
3348
- #: bp-groups/bp-groups-admin.php:923 bp-groups/bp-groups-classes.php:3267
3349
  #: bp-templates/bp-legacy/buddypress/groups/single/admin.php:32
3350
  #: bp-templates/bp-legacy/buddypress/groups/single/admin.php:117
3351
  #: bp-templates/bp-legacy/buddypress/groups/single/forum/edit.php:58
@@ -3411,7 +3416,7 @@ msgstr ""
3411
  msgid "Group Admin"
3412
  msgstr ""
3413
 
3414
- #: bp-groups/bp-groups-classes.php:3572
3415
  msgid "You do not have access to this content."
3416
  msgstr ""
3417
 
@@ -3939,13 +3944,13 @@ msgid ""
3939
  msgstr ""
3940
 
3941
  #: bp-groups/bp-groups-template.php:2752 bp-groups/bp-groups-template.php:2753
3942
- #: bp-templates/bp-legacy/buddypress-functions.php:1246
3943
- #: bp-templates/bp-legacy/buddypress-functions.php:1259
3944
  msgid "Leave Group"
3945
  msgstr ""
3946
 
3947
  #: bp-groups/bp-groups-template.php:2775 bp-groups/bp-groups-template.php:2776
3948
- #: bp-templates/bp-legacy/buddypress-functions.php:1280
3949
  msgid "Join Group"
3950
  msgstr ""
3951
 
@@ -3958,7 +3963,7 @@ msgid "Request Sent"
3958
  msgstr ""
3959
 
3960
  #: bp-groups/bp-groups-template.php:2826 bp-groups/bp-groups-template.php:2827
3961
- #: bp-templates/bp-legacy/buddypress-functions.php:1282
3962
  msgid "Request Membership"
3963
  msgstr ""
3964
 
@@ -4177,7 +4182,7 @@ msgid "Profile updated."
4177
  msgstr ""
4178
 
4179
  #: bp-members/bp-members-admin.php:308
4180
- msgid "There was a problem deleting that avatar. Please try again."
4181
  msgstr ""
4182
 
4183
  #: bp-members/bp-members-admin.php:314
@@ -4449,109 +4454,109 @@ msgstr ""
4449
  msgid "the sign-up has already been activated."
4450
  msgstr ""
4451
 
4452
- #: bp-members/bp-members-functions.php:1173
4453
  msgid ""
4454
  "User last_activity data is no longer stored in usermeta. Use "
4455
  "bp_get_user_last_activity() instead."
4456
  msgstr ""
4457
 
4458
- #: bp-members/bp-members-functions.php:1203
4459
  msgid ""
4460
  "User last_activity data is no longer stored in usermeta. Use "
4461
  "bp_update_user_last_activity() instead."
4462
  msgstr ""
4463
 
4464
- #: bp-members/bp-members-functions.php:1410
4465
- #: bp-members/bp-members-functions.php:2444
4466
  msgid "<strong>ERROR</strong>: Your account has been marked as a spammer."
4467
  msgstr ""
4468
 
4469
- #: bp-members/bp-members-functions.php:1618
4470
  msgid "Please check your email address."
4471
  msgstr ""
4472
 
 
4473
  #: bp-members/bp-members-functions.php:1622
4474
- #: bp-members/bp-members-functions.php:1626
4475
  msgid "Sorry, that email address is not allowed!"
4476
  msgstr ""
4477
 
4478
- #: bp-members/bp-members-functions.php:1630
4479
  msgid "Sorry, that email address is already used!"
4480
  msgstr ""
4481
 
4482
- #: bp-members/bp-members-functions.php:1668
4483
  msgid "Please enter a username"
4484
  msgstr ""
4485
 
4486
- #: bp-members/bp-members-functions.php:1674
4487
  msgid "That username is not allowed"
4488
  msgstr ""
4489
 
4490
- #: bp-members/bp-members-functions.php:1679
4491
  msgid "Usernames can contain only letters, numbers, ., -, and @"
4492
  msgstr ""
4493
 
4494
- #: bp-members/bp-members-functions.php:1684
4495
  msgid "Username must be at least 4 characters"
4496
  msgstr ""
4497
 
4498
- #: bp-members/bp-members-functions.php:1689
4499
  msgid "Sorry, usernames may not contain the character \"_\"!"
4500
  msgstr ""
4501
 
4502
- #: bp-members/bp-members-functions.php:1696
4503
  msgid "Sorry, usernames must have letters too!"
4504
  msgstr ""
4505
 
4506
- #: bp-members/bp-members-functions.php:1708
4507
  msgid "Sorry, that username already exists!"
4508
  msgstr ""
4509
 
4510
- #: bp-members/bp-members-functions.php:1914
4511
  msgid "Invalid activation key."
4512
  msgstr ""
4513
 
4514
- #: bp-members/bp-members-functions.php:1921
4515
  msgid "The user is already active."
4516
  msgstr ""
4517
 
4518
- #: bp-members/bp-members-functions.php:1923
4519
  msgid "The site is already active."
4520
  msgstr ""
4521
 
4522
- #: bp-members/bp-members-functions.php:1941
4523
  msgid "Invalid activation key"
4524
  msgstr ""
4525
 
4526
- #: bp-members/bp-members-functions.php:1956
4527
  msgid "Could not create user"
4528
  msgstr ""
4529
 
4530
- #: bp-members/bp-members-functions.php:1970
4531
  msgid "That username is already activated."
4532
  msgstr ""
4533
 
4534
- #: bp-members/bp-members-functions.php:2309
4535
  msgid ""
4536
  "If you have not received an email yet, <a href=\"%s\">click here to resend "
4537
  "it</a>."
4538
  msgstr ""
4539
 
4540
- #: bp-members/bp-members-functions.php:2311
4541
  msgid ""
4542
  "<strong>ERROR</strong>: Your account has not been activated. Check your "
4543
  "email for the activation link."
4544
  msgstr ""
4545
 
4546
- #: bp-members/bp-members-functions.php:2342
4547
  msgid "<strong>ERROR</strong>: Your account has already been activated."
4548
  msgstr ""
4549
 
4550
- #: bp-members/bp-members-functions.php:2344
4551
  msgid "Activation email resent! Please check your inbox or spam folder."
4552
  msgstr ""
4553
 
4554
- #: bp-members/bp-members-functions.php:2475
4555
  msgid "Member type already exists."
4556
  msgstr ""
4557
 
@@ -4575,15 +4580,15 @@ msgstr ""
4575
  msgid "This is a required field"
4576
  msgstr ""
4577
 
4578
- #: bp-members/bp-members-screens.php:354
4579
  msgid "Your account is now active!"
4580
  msgstr ""
4581
 
4582
- #: bp-members/bp-members-screens.php:657
4583
  msgid "Check Your Email To Activate Your Account!"
4584
  msgstr ""
4585
 
4586
- #: bp-members/bp-members-screens.php:665
4587
  msgid "Account Activated"
4588
  msgstr ""
4589
 
@@ -4692,7 +4697,7 @@ msgstr ""
4692
 
4693
  #: bp-messages/bp-messages-actions.php:225
4694
  #: bp-messages/bp-messages-actions.php:271
4695
- #: bp-templates/bp-legacy/buddypress-functions.php:1440
4696
  msgid "Messages deleted."
4697
  msgstr ""
4698
 
@@ -4922,7 +4927,7 @@ msgstr ""
4922
  #: bp-messages/bp-messages-template.php:1577
4923
  #: bp-templates/bp-legacy/buddypress/members/register.php:90
4924
  #: bp-templates/bp-legacy/buddypress/members/single/profile/edit.php:45
4925
- #: bp-templates/bp-legacy/buddypress-functions.php:241
4926
  #: bp-xprofile/bp-xprofile-admin.php:888
4927
  msgid "Close"
4928
  msgstr ""
@@ -4940,7 +4945,7 @@ msgid "%s recipients"
4940
  msgstr ""
4941
 
4942
  #: bp-messages/bp-messages-template.php:2398
4943
- #: bp-templates/bp-legacy/buddypress-functions.php:1349
4944
  msgid "Sent %s"
4945
  msgstr ""
4946
 
@@ -4997,16 +5002,15 @@ msgstr ""
4997
  msgid "Search Notifications..."
4998
  msgstr ""
4999
 
5000
- #: bp-notifications/bp-notifications-loader.php:208
 
 
 
5001
  #: bp-notifications/bp-notifications-template.php:837
5002
  #: bp-templates/bp-legacy/buddypress/members/single/messages/messages-loop.php:68
5003
  msgid "Read"
5004
  msgstr ""
5005
 
5006
- #: bp-notifications/bp-notifications-template.php:759
5007
- msgid "Date not found"
5008
- msgstr ""
5009
-
5010
  #: bp-notifications/bp-notifications-template.php:1163
5011
  msgid "Viewing 1 notification"
5012
  msgid_plural "Viewing %1$s - %2$s of %3$s notifications"
@@ -5157,16 +5161,16 @@ msgid "Mark as Favorite"
5157
  msgstr ""
5158
 
5159
  #: bp-templates/bp-legacy/buddypress/activity/entry.php:66
5160
- #: bp-templates/bp-legacy/buddypress-functions.php:244
5161
- #: bp-templates/bp-legacy/buddypress-functions.php:993
5162
- #: bp-templates/bp-legacy/buddypress-functions.php:1010
5163
  msgid "Favorite"
5164
  msgstr ""
5165
 
5166
  #: bp-templates/bp-legacy/buddypress/activity/entry.php:70
5167
- #: bp-templates/bp-legacy/buddypress-functions.php:247
5168
- #: bp-templates/bp-legacy/buddypress-functions.php:991
5169
- #: bp-templates/bp-legacy/buddypress-functions.php:1012
5170
  msgid "Remove Favorite"
5171
  msgstr ""
5172
 
@@ -5247,11 +5251,11 @@ msgstr ""
5247
  msgid "What's new, %s?"
5248
  msgstr ""
5249
 
5250
- #: bp-templates/bp-legacy/buddypress/activity/post-form.php:40
5251
  msgid "Post Update"
5252
  msgstr ""
5253
 
5254
- #: bp-templates/bp-legacy/buddypress/activity/post-form.php:47
5255
  msgid "Post in"
5256
  msgstr ""
5257
 
@@ -5498,7 +5502,7 @@ msgstr ""
5498
 
5499
  #: bp-templates/bp-legacy/buddypress/groups/create.php:225
5500
  #: bp-templates/bp-legacy/buddypress/groups/single/invites-loop.php:52
5501
- #: bp-templates/bp-legacy/buddypress-functions.php:1099
5502
  msgid "Remove Invite"
5503
  msgstr ""
5504
 
@@ -6095,113 +6099,113 @@ msgstr ""
6095
  msgid "BuddyPress Legacy"
6096
  msgstr ""
6097
 
6098
- #: bp-templates/bp-legacy/buddypress-functions.php:240
6099
  msgid "Accepted"
6100
  msgstr ""
6101
 
6102
- #: bp-templates/bp-legacy/buddypress-functions.php:242
6103
  msgid "comments"
6104
  msgstr ""
6105
 
6106
- #: bp-templates/bp-legacy/buddypress-functions.php:243
6107
  msgid "Are you sure you want to leave this group?"
6108
  msgstr ""
6109
 
6110
- #: bp-templates/bp-legacy/buddypress-functions.php:245
6111
  msgid "My Favorites"
6112
  msgstr ""
6113
 
6114
- #: bp-templates/bp-legacy/buddypress-functions.php:246
6115
  msgid "Rejected"
6116
  msgstr ""
6117
 
6118
- #: bp-templates/bp-legacy/buddypress-functions.php:248
6119
  msgid "Show all"
6120
  msgstr ""
6121
 
6122
- #: bp-templates/bp-legacy/buddypress-functions.php:249
6123
  msgid "Show all comments for this thread"
6124
  msgstr ""
6125
 
6126
- #: bp-templates/bp-legacy/buddypress-functions.php:250
6127
  msgid "Show all %d comments"
6128
  msgstr ""
6129
 
6130
- #: bp-templates/bp-legacy/buddypress-functions.php:251
6131
  msgid ""
6132
  "Your profile has unsaved changes. If you leave the page, the changes will "
6133
  "be lost."
6134
  msgstr ""
6135
 
6136
- #: bp-templates/bp-legacy/buddypress-functions.php:761
6137
  msgid "There was a problem posting your update. Please try again."
6138
  msgstr ""
6139
 
6140
- #: bp-templates/bp-legacy/buddypress-functions.php:893
6141
- #: bp-templates/bp-legacy/buddypress-functions.php:929
6142
  msgid "There was a problem when deleting. Please try again."
6143
  msgstr ""
6144
 
6145
- #: bp-templates/bp-legacy/buddypress-functions.php:1103
6146
  msgid ""
6147
  "%s has previously requested to join this group. Sending an invitation will "
6148
  "automatically add the member to the group."
6149
  msgstr ""
6150
 
6151
- #: bp-templates/bp-legacy/buddypress-functions.php:1158
6152
  msgid " Friendship could not be requested."
6153
  msgstr ""
6154
 
6155
- #: bp-templates/bp-legacy/buddypress-functions.php:1170
6156
  msgid "Friendship request could not be cancelled."
6157
  msgstr ""
6158
 
6159
- #: bp-templates/bp-legacy/buddypress-functions.php:1175
6160
  msgid "Request Pending"
6161
  msgstr ""
6162
 
6163
- #: bp-templates/bp-legacy/buddypress-functions.php:1195
6164
  msgid "There was a problem accepting that request. Please try again."
6165
  msgstr ""
6166
 
6167
- #: bp-templates/bp-legacy/buddypress-functions.php:1214
6168
  msgid "There was a problem rejecting that request. Please try again."
6169
  msgstr ""
6170
 
6171
- #: bp-templates/bp-legacy/buddypress-functions.php:1244
6172
  msgid "Error joining group"
6173
  msgstr ""
6174
 
6175
- #: bp-templates/bp-legacy/buddypress-functions.php:1257
6176
- #: bp-templates/bp-legacy/buddypress-functions.php:1267
6177
  msgid "Error requesting membership"
6178
  msgstr ""
6179
 
6180
- #: bp-templates/bp-legacy/buddypress-functions.php:1269
6181
  msgid "Membership Requested"
6182
  msgstr ""
6183
 
6184
- #: bp-templates/bp-legacy/buddypress-functions.php:1278
6185
  msgid "Error leaving group"
6186
  msgstr ""
6187
 
6188
- #: bp-templates/bp-legacy/buddypress-functions.php:1301
6189
  msgid "There was a problem closing the notice."
6190
  msgstr ""
6191
 
6192
- #: bp-templates/bp-legacy/buddypress-functions.php:1366
6193
  msgid "There was a problem sending that reply. Please try again."
6194
  msgstr ""
6195
 
6196
- #: bp-templates/bp-legacy/buddypress-functions.php:1384
6197
  msgid "There was a problem marking messages as unread."
6198
  msgstr ""
6199
 
6200
- #: bp-templates/bp-legacy/buddypress-functions.php:1409
6201
  msgid "There was a problem marking messages as read."
6202
  msgstr ""
6203
 
6204
- #: bp-templates/bp-legacy/buddypress-functions.php:1434
6205
  msgid "There was a problem deleting messages."
6206
  msgstr ""
6207
 
@@ -6593,12 +6597,12 @@ msgctxt "Post Type generic activity post admin filter"
6593
  msgid "New item published"
6594
  msgstr ""
6595
 
6596
- #: bp-activity/bp-activity-functions.php:1357
6597
  msgctxt "Activity Custom Post Type post action"
6598
  msgid "%1$s wrote a new <a href=\"%2$s\">item</a>, on the site %3$s"
6599
  msgstr ""
6600
 
6601
- #: bp-activity/bp-activity-functions.php:1363
6602
  msgctxt "Activity Custom Post Type post action"
6603
  msgid "%1$s wrote a new <a href=\"%2$s\">item</a>"
6604
  msgstr ""
@@ -6855,22 +6859,22 @@ msgctxt "Title of the login widget"
6855
  msgid "(BuddyPress) Log In"
6856
  msgstr ""
6857
 
6858
- #: bp-forums/bp-forums-template.php:296 bp-forums/bp-forums-template.php:569
6859
  msgctxt "Forum topic pagination previous text"
6860
  msgid "&larr;"
6861
  msgstr ""
6862
 
6863
- #: bp-forums/bp-forums-template.php:297 bp-forums/bp-forums-template.php:570
6864
  msgctxt "Forum topic pagination next text"
6865
  msgid "&rarr;"
6866
  msgstr ""
6867
 
6868
- #: bp-forums/bp-forums-template.php:1738
6869
  msgctxt "Forum thread pagination previous text"
6870
  msgid "&larr;"
6871
  msgstr ""
6872
 
6873
- #: bp-forums/bp-forums-template.php:1739
6874
  msgctxt "Forum thread pagination next text"
6875
  msgid "&rarr;"
6876
  msgstr ""
@@ -7371,6 +7375,11 @@ msgctxt "My Account Notification sub nav"
7371
  msgid "Unread"
7372
  msgstr ""
7373
 
 
 
 
 
 
7374
  #: bp-notifications/bp-notifications-template.php:345
7375
  msgctxt "Notifications pagination previous text"
7376
  msgid "&larr;"
2
  # This file is distributed under the GPLv2 or later (license.txt).
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: BuddyPress 2.2-rc\n"
6
  "Report-Msgid-Bugs-To: https://buddypress.trac.wordpress.org\n"
7
+ "POT-Creation-Date: 2015-01-22 21:58:55+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
26
  msgstr ""
27
 
28
  #: bp-activity/bp-activity-actions.php:333
29
+ #: bp-templates/bp-legacy/buddypress-functions.php:808
30
  msgid "Please enter some content to post."
31
  msgstr ""
32
 
39
  msgstr ""
40
 
41
  #: bp-activity/bp-activity-actions.php:417
42
+ #: bp-templates/bp-legacy/buddypress-functions.php:875
43
  msgid "Please do not leave the comment area blank."
44
  msgstr ""
45
 
311
  msgstr ""
312
 
313
  #: bp-activity/bp-activity-admin.php:732 bp-activity/bp-activity-admin.php:1494
314
+ #: bp-forums/bp-forums-template.php:2559 bp-groups/bp-groups-admin.php:1424
315
  #: bp-xprofile/bp-xprofile-admin.php:468
316
  msgid "Edit"
317
  msgstr ""
538
  msgid "Activity History"
539
  msgstr ""
540
 
541
+ #: bp-activity/bp-activity-classes.php:301
542
  #: bp-activity/bp-activity-template.php:171 bp-groups/bp-groups-classes.php:654
543
  #: bp-groups/bp-groups-functions.php:506 bp-groups/bp-groups-template.php:187
544
  #: bp-groups/bp-groups-template.php:3038 bp-groups/bp-groups-template.php:4080
550
  "documentation at %2$s for more details."
551
  msgstr ""
552
 
553
+ #: bp-activity/bp-activity-classes.php:2083
554
  msgid "RSS feed 'id' must be defined"
555
  msgstr ""
556
 
557
+ #: bp-activity/bp-activity-classes.php:2225
558
  msgid "In reply to"
559
  msgstr ""
560
 
570
  msgid "Load Newest"
571
  msgstr ""
572
 
573
+ #: bp-activity/bp-activity-functions.php:1225
574
  msgid "Posted a status update"
575
  msgstr ""
576
 
577
+ #: bp-activity/bp-activity-functions.php:1227
578
  msgid "Updates"
579
  msgstr ""
580
 
581
+ #: bp-activity/bp-activity-functions.php:1234
582
  msgid "Replied to a status update"
583
  msgstr ""
584
 
585
+ #: bp-activity/bp-activity-functions.php:1236
586
  msgid "Activity Comments"
587
  msgstr ""
588
 
589
+ #: bp-activity/bp-activity-functions.php:1302
590
  msgid "%s posted an update"
591
  msgstr ""
592
 
593
+ #: bp-activity/bp-activity-functions.php:1325
594
  msgid "%s posted a new activity comment"
595
  msgstr ""
596
 
597
+ #: bp-activity/bp-activity-functions.php:2080
598
+ #: bp-templates/bp-legacy/buddypress-functions.php:872
599
  msgid "There was an error posting your reply. Please try again."
600
  msgstr ""
601
 
602
+ #: bp-activity/bp-activity-functions.php:2114
603
  msgid "Sorry, the item you are replying to no longer exists."
604
  msgstr ""
605
 
606
+ #: bp-activity/bp-activity-functions.php:2634
607
  msgid "Thumbnail"
608
  msgstr ""
609
 
621
  #: bp-activity/bp-activity-template.php:1578
622
  #: bp-activity/bp-activity-template.php:1589 bp-blogs/bp-blogs-loader.php:265
623
  #: bp-core/deprecated/2.1.php:501 bp-forums/bp-forums-loader.php:245
624
+ #: bp-forums/bp-forums-template.php:856 bp-forums/bp-forums-template.php:1153
625
+ #: bp-forums/bp-forums-template.php:2409 bp-friends/bp-friends-loader.php:234
626
  #: bp-groups/bp-groups-loader.php:655 bp-groups/bp-groups-template.php:1348
627
  #: bp-groups/bp-groups-template.php:1391 bp-groups/bp-groups-template.php:1978
628
  #: bp-groups/bp-groups-template.php:1994 bp-groups/bp-groups-template.php:2050
787
  msgstr ""
788
 
789
  #: bp-activity/bp-activity-template.php:3003
790
+ #: bp-forums/bp-forums-template.php:2560 bp-groups/bp-groups-admin.php:1316
791
  #: bp-groups/bp-groups-admin.php:1427 bp-groups/bp-groups-loader.php:557
792
  #: bp-members/admin/bp-members-classes.php:154
793
  #: bp-members/admin/bp-members-classes.php:285
808
  #: bp-core/admin/bp-core-functions.php:848 bp-core/admin/bp-core-slugs.php:106
809
  #: bp-core/admin/bp-core-slugs.php:166 bp-groups/bp-groups-admin.php:1430
810
  #: bp-members/bp-members-template.php:1077
811
+ #: bp-templates/bp-legacy/buddypress-functions.php:254
812
  msgid "View"
813
  msgstr ""
814
 
852
  msgid "%s created the site %s"
853
  msgstr ""
854
 
855
+ #: bp-blogs/bp-blogs-activity.php:156
856
+ msgid "(no title)"
857
+ msgstr ""
858
+
859
+ #: bp-blogs/bp-blogs-activity.php:183
860
  msgid "%1$s wrote a new post, %2$s, on the site %3$s"
861
  msgstr ""
862
 
863
+ #: bp-blogs/bp-blogs-activity.php:185
864
  msgid "%1$s wrote a new post, %2$s"
865
  msgstr ""
866
 
867
+ #: bp-blogs/bp-blogs-activity.php:258
868
  msgid "%1$s commented on the post, %2$s, on the site %3$s"
869
  msgstr ""
870
 
871
+ #: bp-blogs/bp-blogs-activity.php:260
872
  msgid "%1$s commented on the post, %2$s"
873
  msgstr ""
874
 
1021
  msgstr ""
1022
 
1023
  #: bp-blogs/bp-blogs-template.php:1429 bp-core/deprecated/1.5.php:417
1024
+ #: bp-forums/bp-forums-template.php:2683 bp-groups/bp-groups-template.php:3860
1025
  #: bp-members/bp-members-template.php:1237
1026
  #: bp-messages/bp-messages-template.php:1113
1027
  msgid "Search"
1299
 
1300
  #: bp-core/admin/bp-core-functions.php:424 bp-forums/bp-forums-loader.php:132
1301
  #: bp-forums/bp-forums-loader.php:199 bp-forums/bp-forums-loader.php:240
1302
+ #: bp-forums/bp-forums-screens.php:288 bp-forums/bp-forums-screens.php:290
1303
  #: bp-forums/deprecated/1.6.php:42 bp-forums/deprecated/1.7.php:25
1304
  #: bp-forums/deprecated/1.7.php:102
1305
  msgid "Forums"
1892
  msgstr ""
1893
 
1894
  #: bp-core/bp-core-admin.php:719 bp-core/bp-core-admin.php:724
1895
+ #: bp-core/bp-core-admin.php:734 bp-core/bp-core-admin.php:739
1896
  msgid "Core Developer"
1897
  msgstr ""
1898
 
1900
  msgid "Navigator"
1901
  msgstr ""
1902
 
1903
+ #: bp-core/bp-core-admin.php:743
1904
  msgid "Recent Rockstars"
1905
  msgstr ""
1906
 
1907
+ #: bp-core/bp-core-admin.php:763
1908
  msgid "Contributors to BuddyPress %s"
1909
  msgstr ""
1910
 
1911
+ #: bp-core/bp-core-admin.php:812
1912
  msgid "External Libraries"
1913
  msgstr ""
1914
 
1915
+ #: bp-core/bp-core-admin.php:840
1916
  msgid "Maintenance Release"
1917
  msgid_plural "Maintenance Releases"
1918
  msgstr[0] ""
1919
  msgstr[1] ""
1920
 
1921
+ #: bp-core/bp-core-admin.php:841
1922
  msgid "Security Release"
1923
  msgid_plural "Security Releases"
1924
  msgstr[0] ""
1925
  msgstr[1] ""
1926
 
1927
+ #: bp-core/bp-core-admin.php:842
1928
  msgid "Maintenance and Security Release"
1929
  msgid_plural "Maintenance and Security Releases"
1930
  msgstr[0] ""
1931
  msgstr[1] ""
1932
 
1933
+ #: bp-core/bp-core-admin.php:845
1934
  #. translators: 1: WordPress version number.
1935
  msgid "<strong>Version %1$s</strong> addressed a security issue."
1936
  msgid_plural "<strong>Version %1$s</strong> addressed some security issues."
1937
  msgstr[0] ""
1938
  msgstr[1] ""
1939
 
1940
+ #: bp-core/bp-core-admin.php:850
1941
  #. translators: 1: WordPress version number, 2: plural number of bugs.
1942
  msgid "<strong>Version %1$s</strong> addressed %2$s bug."
1943
  msgid_plural "<strong>Version %1$s</strong> addressed %2$s bugs."
1944
  msgstr[0] ""
1945
  msgstr[1] ""
1946
 
1947
+ #: bp-core/bp-core-admin.php:855
1948
  #. translators: 1: WordPress version number, 2: plural number of bugs. Singular
1949
  #. security issue.
1950
  msgid "<strong>Version %1$s</strong> addressed a security issue and fixed %2$s bug."
1954
  msgstr[0] ""
1955
  msgstr[1] ""
1956
 
1957
+ #: bp-core/bp-core-admin.php:860
1958
  #. translators: 1: WordPress version number, 2: plural number of bugs. More
1959
  #. than one security issue.
1960
  msgid ""
1966
  msgstr[0] ""
1967
  msgstr[1] ""
1968
 
1969
+ #: bp-core/bp-core-admin.php:864
1970
  msgid "For more information, see <a href=\"%s\">the release notes</a>."
1971
  msgstr ""
1972
 
1984
  msgid "Profile Photo"
1985
  msgstr ""
1986
 
1987
+ #: bp-core/bp-core-avatars.php:587
1988
  msgid "The image was uploaded successfully"
1989
  msgstr ""
1990
 
1991
+ #: bp-core/bp-core-avatars.php:588 bp-core/bp-core-avatars.php:589
1992
  msgid "The image exceeds the maximum allowed file size of: "
1993
  msgstr ""
1994
 
1995
+ #: bp-core/bp-core-avatars.php:590
1996
  msgid "The uploaded file was only partially uploaded."
1997
  msgstr ""
1998
 
1999
+ #: bp-core/bp-core-avatars.php:591
2000
  msgid "The image was not uploaded."
2001
  msgstr ""
2002
 
2003
+ #: bp-core/bp-core-avatars.php:592
2004
  msgid "Missing a temporary folder."
2005
  msgstr ""
2006
 
2007
+ #: bp-core/bp-core-avatars.php:596
2008
  msgid "Your upload failed. Please try again. Error was: %s"
2009
  msgstr ""
2010
 
2011
+ #: bp-core/bp-core-avatars.php:601
2012
  msgid "The file you uploaded is too big. Please upload a file under %s"
2013
  msgstr ""
2014
 
2015
+ #: bp-core/bp-core-avatars.php:606
2016
  msgid "Please upload only JPG, GIF or PNG photos."
2017
  msgstr ""
2018
 
2019
+ #: bp-core/bp-core-avatars.php:623 bp-core/bp-core-avatars.php:660
2020
  msgid "Upload Failed! Error was: %s"
2021
  msgstr ""
2022
 
2023
+ #: bp-core/bp-core-avatars.php:678
2024
  msgid "Upload failed! Error was: %s"
2025
  msgstr ""
2026
 
2027
+ #: bp-core/bp-core-avatars.php:688
2028
  msgid ""
2029
  "You have selected an image that is smaller than recommended. For best "
2030
  "results, upload a picture larger than %d x %d pixels."
2031
  msgstr ""
2032
 
2033
+ #: bp-core/bp-core-avatars.php:865 bp-core/bp-core-classes.php:888
2034
  #: bp-core/bp-core-classes.php:889 bp-core/bp-core-classes.php:890
2035
  #: bp-core/bp-core-template.php:159 bp-core/bp-core-template.php:178
2036
  #: bp-groups/bp-groups-template.php:4452 bp-groups/bp-groups-template.php:4453
2094
  msgid "Activate %s"
2095
  msgstr ""
2096
 
2097
+ #: bp-core/bp-core-filters.php:479 bp-members/bp-members-functions.php:2201
2098
  msgid ""
2099
  "Thanks for registering! To complete the activation of your account please "
2100
  "click the following link:\n"
2103
  "\n"
2104
  msgstr ""
2105
 
2106
+ #: bp-core/bp-core-filters.php:480 bp-members/bp-members-functions.php:2202
2107
  msgid "Activate Your Account"
2108
  msgstr ""
2109
 
2123
  msgid "%1$s %3$s %2$s"
2124
  msgstr ""
2125
 
2126
+ #: bp-core/bp-core-filters.php:609 bp-members/bp-members-screens.php:668
2127
  msgid "Create an Account"
2128
  msgstr ""
2129
 
2130
+ #: bp-core/bp-core-filters.php:613 bp-members/bp-members-screens.php:676
2131
  msgid "Activate your Account"
2132
  msgstr ""
2133
 
2264
  msgstr ""
2265
 
2266
  #: bp-core/deprecated/1.5.php:142
2267
+ #: bp-templates/bp-legacy/buddypress/activity/post-form.php:47
2268
  #: bp-templates/bp-legacy/buddypress/members/single/profile/profile-wp.php:8
2269
  msgid "My Profile"
2270
  msgstr ""
2450
  msgid "Favorite Topics"
2451
  msgstr ""
2452
 
2453
+ #: bp-forums/bp-forums-screens.php:25 bp-forums/bp-forums-screens.php:262
2454
  msgid "The forums component has not been set up yet."
2455
  msgstr ""
2456
 
2457
+ #: bp-forums/bp-forums-screens.php:53 bp-groups/bp-groups-screens.php:381
2458
  msgid "Please provide a title for your forum topic."
2459
  msgstr ""
2460
 
2461
+ #: bp-forums/bp-forums-screens.php:55 bp-groups/bp-groups-screens.php:383
2462
  msgid "Forum posts cannot be empty. Please enter some text."
2463
  msgstr ""
2464
 
2465
+ #: bp-forums/bp-forums-screens.php:62 bp-groups/bp-groups-screens.php:395
2466
  msgid "There was an error when creating the topic"
2467
  msgstr ""
2468
 
2469
+ #: bp-forums/bp-forums-screens.php:65 bp-groups/bp-groups-screens.php:398
2470
  msgid "The topic was created successfully"
2471
  msgstr ""
2472
 
2473
+ #: bp-forums/bp-forums-screens.php:73 bp-forums/bp-forums-screens.php:78
2474
  msgid "Please pick the group forum where you would like to post this topic."
2475
  msgstr ""
2476
 
2477
+ #: bp-forums/bp-forums-screens.php:288 bp-groups/bp-groups-template.php:2712
2478
  #: bp-groups/bp-groups-template.php:2713
2479
  #: bp-templates/bp-legacy/buddypress/groups/single/forum.php:19
2480
  msgid "New Topic"
2481
  msgstr ""
2482
 
2483
+ #: bp-forums/bp-forums-template.php:889 bp-forums/bp-forums-template.php:1049
2484
+ #: bp-forums/bp-forums-template.php:2440
2485
  #: bp-messages/bp-messages-classes.php:678
2486
  #: bp-messages/bp-messages-template.php:2100
2487
  #: bp-messages/bp-messages-template.php:2341
2488
  msgid "Deleted User"
2489
  msgstr ""
2490
 
2491
+ #: bp-forums/bp-forums-template.php:1102
2492
  msgid "Group logo for %s"
2493
  msgstr ""
2494
 
2495
+ #: bp-forums/bp-forums-template.php:1360 bp-groups/bp-groups-template.php:1762
2496
  msgid "%d post"
2497
  msgstr ""
2498
 
2499
+ #: bp-forums/bp-forums-template.php:1364 bp-groups/bp-groups-template.php:1764
2500
  msgid "%d posts"
2501
  msgstr ""
2502
 
2503
+ #: bp-forums/bp-forums-template.php:1594
2504
  msgid "Edit Topic"
2505
  msgstr ""
2506
 
2507
+ #: bp-forums/bp-forums-template.php:1598
2508
  msgid "Sticky Topic"
2509
  msgstr ""
2510
 
2511
+ #: bp-forums/bp-forums-template.php:1600
2512
  msgid "Un-stick Topic"
2513
  msgstr ""
2514
 
2515
+ #: bp-forums/bp-forums-template.php:1603
2516
  msgid "Open Topic"
2517
  msgstr ""
2518
 
2519
+ #: bp-forums/bp-forums-template.php:1605
2520
  msgid "Close Topic"
2521
  msgstr ""
2522
 
2523
+ #: bp-forums/bp-forums-template.php:1607
2524
  msgid "Delete Topic"
2525
  msgstr ""
2526
 
2527
+ #: bp-forums/bp-forums-template.php:1888
2528
  msgid " matching tag \"%s\""
2529
  msgstr ""
2530
 
2531
+ #: bp-forums/bp-forums-template.php:1900
2532
  msgid "Viewing 1 topic"
2533
  msgid_plural "Viewing %1$s - %2$s of %3$s topics"
2534
  msgstr[0] ""
2535
  msgstr[1] ""
2536
 
2537
+ #: bp-forums/bp-forums-template.php:2646
2538
  msgid "Viewing 1 post"
2539
  msgid_plural "Viewing %1$s - %2$s of %3$s posts"
2540
  msgstr[0] ""
2732
  msgstr ""
2733
 
2734
  #: bp-friends/bp-friends-actions.php:76
2735
+ #: bp-templates/bp-legacy/buddypress-functions.php:1210
2736
  msgid "Friendship could not be canceled."
2737
  msgstr ""
2738
 
2880
  msgstr ""
2881
 
2882
  #: bp-friends/bp-friends-template.php:355
2883
+ #: bp-templates/bp-legacy/buddypress-functions.php:1222
2884
  msgid "Cancel Friendship Request"
2885
  msgstr ""
2886
 
2900
 
2901
  #: bp-friends/bp-friends-template.php:406
2902
  #: bp-friends/bp-friends-template.php:407
2903
+ #: bp-templates/bp-legacy/buddypress-functions.php:1212
2904
+ #: bp-templates/bp-legacy/buddypress-functions.php:1230
2905
  msgid "Add Friend"
2906
  msgstr ""
2907
 
3350
  msgid "No members of this type"
3351
  msgstr ""
3352
 
3353
+ #: bp-groups/bp-groups-admin.php:923 bp-groups/bp-groups-classes.php:3284
3354
  #: bp-templates/bp-legacy/buddypress/groups/single/admin.php:32
3355
  #: bp-templates/bp-legacy/buddypress/groups/single/admin.php:117
3356
  #: bp-templates/bp-legacy/buddypress/groups/single/forum/edit.php:58
3416
  msgid "Group Admin"
3417
  msgstr ""
3418
 
3419
+ #: bp-groups/bp-groups-classes.php:3589
3420
  msgid "You do not have access to this content."
3421
  msgstr ""
3422
 
3944
  msgstr ""
3945
 
3946
  #: bp-groups/bp-groups-template.php:2752 bp-groups/bp-groups-template.php:2753
3947
+ #: bp-templates/bp-legacy/buddypress-functions.php:1308
3948
+ #: bp-templates/bp-legacy/buddypress-functions.php:1321
3949
  msgid "Leave Group"
3950
  msgstr ""
3951
 
3952
  #: bp-groups/bp-groups-template.php:2775 bp-groups/bp-groups-template.php:2776
3953
+ #: bp-templates/bp-legacy/buddypress-functions.php:1342
3954
  msgid "Join Group"
3955
  msgstr ""
3956
 
3963
  msgstr ""
3964
 
3965
  #: bp-groups/bp-groups-template.php:2826 bp-groups/bp-groups-template.php:2827
3966
+ #: bp-templates/bp-legacy/buddypress-functions.php:1344
3967
  msgid "Request Membership"
3968
  msgstr ""
3969
 
4182
  msgstr ""
4183
 
4184
  #: bp-members/bp-members-admin.php:308
4185
+ msgid "There was a problem deleting that profile photo. Please try again."
4186
  msgstr ""
4187
 
4188
  #: bp-members/bp-members-admin.php:314
4454
  msgid "the sign-up has already been activated."
4455
  msgstr ""
4456
 
4457
+ #: bp-members/bp-members-functions.php:1169
4458
  msgid ""
4459
  "User last_activity data is no longer stored in usermeta. Use "
4460
  "bp_get_user_last_activity() instead."
4461
  msgstr ""
4462
 
4463
+ #: bp-members/bp-members-functions.php:1199
4464
  msgid ""
4465
  "User last_activity data is no longer stored in usermeta. Use "
4466
  "bp_update_user_last_activity() instead."
4467
  msgstr ""
4468
 
4469
+ #: bp-members/bp-members-functions.php:1406
4470
+ #: bp-members/bp-members-functions.php:2440
4471
  msgid "<strong>ERROR</strong>: Your account has been marked as a spammer."
4472
  msgstr ""
4473
 
4474
+ #: bp-members/bp-members-functions.php:1614
4475
  msgid "Please check your email address."
4476
  msgstr ""
4477
 
4478
+ #: bp-members/bp-members-functions.php:1618
4479
  #: bp-members/bp-members-functions.php:1622
 
4480
  msgid "Sorry, that email address is not allowed!"
4481
  msgstr ""
4482
 
4483
+ #: bp-members/bp-members-functions.php:1626
4484
  msgid "Sorry, that email address is already used!"
4485
  msgstr ""
4486
 
4487
+ #: bp-members/bp-members-functions.php:1664
4488
  msgid "Please enter a username"
4489
  msgstr ""
4490
 
4491
+ #: bp-members/bp-members-functions.php:1670
4492
  msgid "That username is not allowed"
4493
  msgstr ""
4494
 
4495
+ #: bp-members/bp-members-functions.php:1675
4496
  msgid "Usernames can contain only letters, numbers, ., -, and @"
4497
  msgstr ""
4498
 
4499
+ #: bp-members/bp-members-functions.php:1680
4500
  msgid "Username must be at least 4 characters"
4501
  msgstr ""
4502
 
4503
+ #: bp-members/bp-members-functions.php:1685
4504
  msgid "Sorry, usernames may not contain the character \"_\"!"
4505
  msgstr ""
4506
 
4507
+ #: bp-members/bp-members-functions.php:1692
4508
  msgid "Sorry, usernames must have letters too!"
4509
  msgstr ""
4510
 
4511
+ #: bp-members/bp-members-functions.php:1704
4512
  msgid "Sorry, that username already exists!"
4513
  msgstr ""
4514
 
4515
+ #: bp-members/bp-members-functions.php:1910
4516
  msgid "Invalid activation key."
4517
  msgstr ""
4518
 
4519
+ #: bp-members/bp-members-functions.php:1917
4520
  msgid "The user is already active."
4521
  msgstr ""
4522
 
4523
+ #: bp-members/bp-members-functions.php:1919
4524
  msgid "The site is already active."
4525
  msgstr ""
4526
 
4527
+ #: bp-members/bp-members-functions.php:1937
4528
  msgid "Invalid activation key"
4529
  msgstr ""
4530
 
4531
+ #: bp-members/bp-members-functions.php:1952
4532
  msgid "Could not create user"
4533
  msgstr ""
4534
 
4535
+ #: bp-members/bp-members-functions.php:1966
4536
  msgid "That username is already activated."
4537
  msgstr ""
4538
 
4539
+ #: bp-members/bp-members-functions.php:2305
4540
  msgid ""
4541
  "If you have not received an email yet, <a href=\"%s\">click here to resend "
4542
  "it</a>."
4543
  msgstr ""
4544
 
4545
+ #: bp-members/bp-members-functions.php:2307
4546
  msgid ""
4547
  "<strong>ERROR</strong>: Your account has not been activated. Check your "
4548
  "email for the activation link."
4549
  msgstr ""
4550
 
4551
+ #: bp-members/bp-members-functions.php:2338
4552
  msgid "<strong>ERROR</strong>: Your account has already been activated."
4553
  msgstr ""
4554
 
4555
+ #: bp-members/bp-members-functions.php:2340
4556
  msgid "Activation email resent! Please check your inbox or spam folder."
4557
  msgstr ""
4558
 
4559
+ #: bp-members/bp-members-functions.php:2471
4560
  msgid "Member type already exists."
4561
  msgstr ""
4562
 
4580
  msgid "This is a required field"
4581
  msgstr ""
4582
 
4583
+ #: bp-members/bp-members-screens.php:365
4584
  msgid "Your account is now active!"
4585
  msgstr ""
4586
 
4587
+ #: bp-members/bp-members-screens.php:671
4588
  msgid "Check Your Email To Activate Your Account!"
4589
  msgstr ""
4590
 
4591
+ #: bp-members/bp-members-screens.php:679
4592
  msgid "Account Activated"
4593
  msgstr ""
4594
 
4697
 
4698
  #: bp-messages/bp-messages-actions.php:225
4699
  #: bp-messages/bp-messages-actions.php:271
4700
+ #: bp-templates/bp-legacy/buddypress-functions.php:1502
4701
  msgid "Messages deleted."
4702
  msgstr ""
4703
 
4927
  #: bp-messages/bp-messages-template.php:1577
4928
  #: bp-templates/bp-legacy/buddypress/members/register.php:90
4929
  #: bp-templates/bp-legacy/buddypress/members/single/profile/edit.php:45
4930
+ #: bp-templates/bp-legacy/buddypress-functions.php:243
4931
  #: bp-xprofile/bp-xprofile-admin.php:888
4932
  msgid "Close"
4933
  msgstr ""
4945
  msgstr ""
4946
 
4947
  #: bp-messages/bp-messages-template.php:2398
4948
+ #: bp-templates/bp-legacy/buddypress-functions.php:1411
4949
  msgid "Sent %s"
4950
  msgstr ""
4951
 
5002
  msgid "Search Notifications..."
5003
  msgstr ""
5004
 
5005
+ #: bp-notifications/bp-notifications-template.php:759
5006
+ msgid "Date not found"
5007
+ msgstr ""
5008
+
5009
  #: bp-notifications/bp-notifications-template.php:837
5010
  #: bp-templates/bp-legacy/buddypress/members/single/messages/messages-loop.php:68
5011
  msgid "Read"
5012
  msgstr ""
5013
 
 
 
 
 
5014
  #: bp-notifications/bp-notifications-template.php:1163
5015
  msgid "Viewing 1 notification"
5016
  msgid_plural "Viewing %1$s - %2$s of %3$s notifications"
5161
  msgstr ""
5162
 
5163
  #: bp-templates/bp-legacy/buddypress/activity/entry.php:66
5164
+ #: bp-templates/bp-legacy/buddypress-functions.php:246
5165
+ #: bp-templates/bp-legacy/buddypress-functions.php:1055
5166
+ #: bp-templates/bp-legacy/buddypress-functions.php:1072
5167
  msgid "Favorite"
5168
  msgstr ""
5169
 
5170
  #: bp-templates/bp-legacy/buddypress/activity/entry.php:70
5171
+ #: bp-templates/bp-legacy/buddypress-functions.php:249
5172
+ #: bp-templates/bp-legacy/buddypress-functions.php:1053
5173
+ #: bp-templates/bp-legacy/buddypress-functions.php:1074
5174
  msgid "Remove Favorite"
5175
  msgstr ""
5176
 
5251
  msgid "What's new, %s?"
5252
  msgstr ""
5253
 
5254
+ #: bp-templates/bp-legacy/buddypress/activity/post-form.php:37
5255
  msgid "Post Update"
5256
  msgstr ""
5257
 
5258
+ #: bp-templates/bp-legacy/buddypress/activity/post-form.php:44
5259
  msgid "Post in"
5260
  msgstr ""
5261
 
5502
 
5503
  #: bp-templates/bp-legacy/buddypress/groups/create.php:225
5504
  #: bp-templates/bp-legacy/buddypress/groups/single/invites-loop.php:52
5505
+ #: bp-templates/bp-legacy/buddypress-functions.php:1161
5506
  msgid "Remove Invite"
5507
  msgstr ""
5508
 
6099
  msgid "BuddyPress Legacy"
6100
  msgstr ""
6101
 
6102
+ #: bp-templates/bp-legacy/buddypress-functions.php:242
6103
  msgid "Accepted"
6104
  msgstr ""
6105
 
6106
+ #: bp-templates/bp-legacy/buddypress-functions.php:244
6107
  msgid "comments"
6108
  msgstr ""
6109
 
6110
+ #: bp-templates/bp-legacy/buddypress-functions.php:245
6111
  msgid "Are you sure you want to leave this group?"
6112
  msgstr ""
6113
 
6114
+ #: bp-templates/bp-legacy/buddypress-functions.php:247
6115
  msgid "My Favorites"
6116
  msgstr ""
6117
 
6118
+ #: bp-templates/bp-legacy/buddypress-functions.php:248
6119
  msgid "Rejected"
6120
  msgstr ""
6121
 
6122
+ #: bp-templates/bp-legacy/buddypress-functions.php:250
6123
  msgid "Show all"
6124
  msgstr ""
6125
 
6126
+ #: bp-templates/bp-legacy/buddypress-functions.php:251
6127
  msgid "Show all comments for this thread"
6128
  msgstr ""
6129
 
6130
+ #: bp-templates/bp-legacy/buddypress-functions.php:252
6131
  msgid "Show all %d comments"
6132
  msgstr ""
6133
 
6134
+ #: bp-templates/bp-legacy/buddypress-functions.php:253
6135
  msgid ""
6136
  "Your profile has unsaved changes. If you leave the page, the changes will "
6137
  "be lost."
6138
  msgstr ""
6139
 
6140
+ #: bp-templates/bp-legacy/buddypress-functions.php:823
6141
  msgid "There was a problem posting your update. Please try again."
6142
  msgstr ""
6143
 
6144
+ #: bp-templates/bp-legacy/buddypress-functions.php:955
6145
+ #: bp-templates/bp-legacy/buddypress-functions.php:991
6146
  msgid "There was a problem when deleting. Please try again."
6147
  msgstr ""
6148
 
6149
+ #: bp-templates/bp-legacy/buddypress-functions.php:1165
6150
  msgid ""
6151
  "%s has previously requested to join this group. Sending an invitation will "
6152
  "automatically add the member to the group."
6153
  msgstr ""
6154
 
6155
+ #: bp-templates/bp-legacy/buddypress-functions.php:1220
6156
  msgid " Friendship could not be requested."
6157
  msgstr ""
6158
 
6159
+ #: bp-templates/bp-legacy/buddypress-functions.php:1232
6160
  msgid "Friendship request could not be cancelled."
6161
  msgstr ""
6162
 
6163
+ #: bp-templates/bp-legacy/buddypress-functions.php:1237
6164
  msgid "Request Pending"
6165
  msgstr ""
6166
 
6167
+ #: bp-templates/bp-legacy/buddypress-functions.php:1257
6168
  msgid "There was a problem accepting that request. Please try again."
6169
  msgstr ""
6170
 
6171
+ #: bp-templates/bp-legacy/buddypress-functions.php:1276
6172
  msgid "There was a problem rejecting that request. Please try again."
6173
  msgstr ""
6174
 
6175
+ #: bp-templates/bp-legacy/buddypress-functions.php:1306
6176
  msgid "Error joining group"
6177
  msgstr ""
6178
 
6179
+ #: bp-templates/bp-legacy/buddypress-functions.php:1319
6180
+ #: bp-templates/bp-legacy/buddypress-functions.php:1329
6181
  msgid "Error requesting membership"
6182
  msgstr ""
6183
 
6184
+ #: bp-templates/bp-legacy/buddypress-functions.php:1331
6185
  msgid "Membership Requested"
6186
  msgstr ""
6187
 
6188
+ #: bp-templates/bp-legacy/buddypress-functions.php:1340
6189
  msgid "Error leaving group"
6190
  msgstr ""
6191
 
6192
+ #: bp-templates/bp-legacy/buddypress-functions.php:1363
6193
  msgid "There was a problem closing the notice."
6194
  msgstr ""
6195
 
6196
+ #: bp-templates/bp-legacy/buddypress-functions.php:1428
6197
  msgid "There was a problem sending that reply. Please try again."
6198
  msgstr ""
6199
 
6200
+ #: bp-templates/bp-legacy/buddypress-functions.php:1446
6201
  msgid "There was a problem marking messages as unread."
6202
  msgstr ""
6203
 
6204
+ #: bp-templates/bp-legacy/buddypress-functions.php:1471
6205
  msgid "There was a problem marking messages as read."
6206
  msgstr ""
6207
 
6208
+ #: bp-templates/bp-legacy/buddypress-functions.php:1496
6209
  msgid "There was a problem deleting messages."
6210
  msgstr ""
6211
 
6597
  msgid "New item published"
6598
  msgstr ""
6599
 
6600
+ #: bp-activity/bp-activity-functions.php:1374
6601
  msgctxt "Activity Custom Post Type post action"
6602
  msgid "%1$s wrote a new <a href=\"%2$s\">item</a>, on the site %3$s"
6603
  msgstr ""
6604
 
6605
+ #: bp-activity/bp-activity-functions.php:1380
6606
  msgctxt "Activity Custom Post Type post action"
6607
  msgid "%1$s wrote a new <a href=\"%2$s\">item</a>"
6608
  msgstr ""
6859
  msgid "(BuddyPress) Log In"
6860
  msgstr ""
6861
 
6862
+ #: bp-forums/bp-forums-template.php:363 bp-forums/bp-forums-template.php:649
6863
  msgctxt "Forum topic pagination previous text"
6864
  msgid "&larr;"
6865
  msgstr ""
6866
 
6867
+ #: bp-forums/bp-forums-template.php:364 bp-forums/bp-forums-template.php:650
6868
  msgctxt "Forum topic pagination next text"
6869
  msgid "&rarr;"
6870
  msgstr ""
6871
 
6872
+ #: bp-forums/bp-forums-template.php:2109
6873
  msgctxt "Forum thread pagination previous text"
6874
  msgid "&larr;"
6875
  msgstr ""
6876
 
6877
+ #: bp-forums/bp-forums-template.php:2110
6878
  msgctxt "Forum thread pagination next text"
6879
  msgid "&rarr;"
6880
  msgstr ""
7375
  msgid "Unread"
7376
  msgstr ""
7377
 
7378
+ #: bp-notifications/bp-notifications-loader.php:208
7379
+ msgctxt "My Account Notification sub nav"
7380
+ msgid "Read"
7381
+ msgstr ""
7382
+
7383
  #: bp-notifications/bp-notifications-template.php:345
7384
  msgctxt "Notifications pagination previous text"
7385
  msgid "&larr;"