Version Description
See: http://codex.buddypress.org/releases/version-2-1/
Download this release
Release Info
Developer | boonebgorges |
Plugin | BuddyPress |
Version | 2.1 |
Comparing to | |
See all releases |
Code changes from version 2.1-RC1 to 2.1
- bp-activity/admin/css/admin-rtl.min.css +1 -1
- bp-activity/admin/css/admin.min.css +1 -1
- bp-activity/admin/js/admin.min.js +1 -1
- bp-activity/css/mentions-rtl.min.css +1 -1
- bp-activity/css/mentions.min.css +1 -1
- bp-activity/js/mentions.min.js +1 -1
- bp-core/admin/css/common-rtl.min.css +1 -1
- bp-core/admin/css/common.min.css +1 -1
- bp-core/css/admin-bar-rtl.min.css +1 -1
- bp-core/css/admin-bar.min.css +1 -1
- bp-core/css/buddybar-rtl.min.css +1 -1
- bp-core/css/buddybar.min.css +1 -1
- bp-core/deprecated/css/autocomplete/jquery.autocompletefb-rtl.min.css +1 -1
- bp-core/deprecated/css/autocomplete/jquery.autocompletefb.min.css +1 -1
- bp-core/deprecated/js/autocomplete/jquery.autocomplete.min.js +1 -1
- bp-core/deprecated/js/autocomplete/jquery.autocompletefb.min.js +1 -1
- bp-core/deprecated/js/autocomplete/jquery.bgiframe.min.js +1 -1
- bp-core/deprecated/js/autocomplete/jquery.dimensions.min.js +1 -1
- bp-core/deprecated/js/jquery-scroll-to.min.js +1 -1
- bp-core/js/confirm.min.js +1 -1
- bp-core/js/jquery-cookie.min.js +1 -1
- bp-core/js/jquery-query.min.js +1 -1
- bp-core/js/jquery.atwho.min.js +1 -1
- bp-core/js/jquery.caret.min.js +1 -1
- bp-core/js/widget-members.min.js +1 -1
- bp-friends/js/widget-friends.min.js +1 -1
- bp-groups/admin/css/admin-rtl.min.css +1 -1
- bp-groups/admin/css/admin.min.css +1 -1
- bp-groups/admin/js/admin.min.js +1 -1
- bp-groups/bp-groups-actions.php +7 -0
- bp-groups/bp-groups-activity.php +14 -5
- bp-groups/bp-groups-admin.php +1 -3
- bp-groups/bp-groups-adminbar.php +3 -0
- bp-groups/bp-groups-classes.php +43 -12
- bp-groups/bp-groups-filters.php +33 -5
- bp-groups/bp-groups-forums.php +57 -63
- bp-groups/bp-groups-functions.php +359 -56
- bp-groups/bp-groups-loader.php +58 -24
- bp-groups/bp-groups-notifications.php +45 -35
- bp-groups/bp-groups-screens.php +80 -41
- bp-groups/bp-groups-template.php +522 -102
- bp-groups/js/widget-groups.min.js +1 -1
- bp-loader.php +2 -2
- bp-members/admin/css/admin-rtl.min.css +1 -1
- bp-members/admin/css/admin.min.css +1 -1
- bp-members/admin/js/admin.min.js +1 -1
- bp-notifications/bp-notifications-actions.php +3 -3
- bp-notifications/bp-notifications-classes.php +18 -2
- bp-notifications/bp-notifications-functions.php +10 -8
- bp-notifications/bp-notifications-loader.php +2 -5
- bp-notifications/bp-notifications-template.php +7 -7
- bp-templates/bp-legacy/css/buddypress-rtl.min.css +1 -1
- bp-templates/bp-legacy/css/buddypress.min.css +1 -1
- bp-templates/bp-legacy/js/buddypress.min.js +1 -1
- bp-templates/bp-legacy/js/password-verify.min.js +1 -1
- bp-themes/bp-default/rtl.css +1 -1
- bp-themes/bp-default/style.css +1 -1
- bp-xprofile/admin/css/admin-rtl.min.css +1 -1
- bp-xprofile/admin/css/admin.min.css +1 -1
- bp-xprofile/admin/js/admin.min.js +1 -1
- buddypress.pot +273 -273
- readme.txt +7 -1
bp-activity/admin/css/admin-rtl.min.css
CHANGED
@@ -1,2 +1,2 @@
|
|
1 |
-
/*! buddypress - v2.1.0 - 2014-09-
|
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 - 2014-09-18 6:01:12 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 - 2014-09-
|
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 - 2014-09-18 6:01:12 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 - 2014-09-
|
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"),postboxes.add_postbox_toggles(bp_activity_admin_vars.page)})}(jQuery);
|
1 |
+
/*! buddypress - v2.1.0 - 2014-09-18 6:01:11 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"),postboxes.add_postbox_toggles(bp_activity_admin_vars.page)})}(jQuery);
|
bp-activity/css/mentions-rtl.min.css
CHANGED
@@ -1,2 +1,2 @@
|
|
1 |
-
/*! buddypress - v2.1.0 - 2014-09-
|
2 |
.atwho-view{background:#FFF;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{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}.atwho-view small{display:none}}@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}}
|
1 |
+
/*! buddypress - v2.1.0 - 2014-09-18 6:01:12 PM UTC - https://wordpress.org/plugins/buddypress/ */
|
2 |
.atwho-view{background:#FFF;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{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}.atwho-view small{display:none}}@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}}
|
bp-activity/css/mentions.min.css
CHANGED
@@ -1,2 +1,2 @@
|
|
1 |
-
/*! buddypress - v2.1.0 - 2014-09-
|
2 |
.atwho-view{background:#FFF;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{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}.atwho-view small{display:none}}@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}}
|
1 |
+
/*! buddypress - v2.1.0 - 2014-09-18 6:01:12 PM UTC - https://wordpress.org/plugins/buddypress/ */
|
2 |
.atwho-view{background:#FFF;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{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}.atwho-view small{display:none}}@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}}
|
bp-activity/js/mentions.min.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1 |
-
/*! buddypress - v2.1.0 - 2014-09-
|
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=a("#atwho-ground-"+this.id+" .atwho-view"),e=this.$inputor.caret("offset",{iframe:a("#content_ifr")[0]}).left;e>a("body").width()/2?(d.addClass("right"),c=e-b.left-this.view.$el.width()):(d.removeClass("right"),c=e-b.left+1),b.top+=1,b.left+=c},inserting_wrapper:function(a,b,c){var d=""===c?c:c||" ";return""+b+d}}},f={callbacks:{remote_filter:function(d,e){var f=a(this);return b=c[d],"object"==typeof b?void e(b):(f.xhr&&f.xhr.abort(),void(f.xhr=a.getJSON(ajaxurl,{action:"bp_get_suggestions",term:d,type:"members"}).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=[];"object"==typeof window.BP_Suggestions&&(b=window.BP_Suggestions.friends||b),a(".bp-suggestions, #comments form textarea, .wp-editor-area").bp_mentions(b)})}(jQuery);
|
1 |
+
/*! buddypress - v2.1.0 - 2014-09-18 6:01:11 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=a("#atwho-ground-"+this.id+" .atwho-view"),e=this.$inputor.caret("offset",{iframe:a("#content_ifr")[0]}).left;e>a("body").width()/2?(d.addClass("right"),c=e-b.left-this.view.$el.width()):(d.removeClass("right"),c=e-b.left+1),b.top+=1,b.left+=c},inserting_wrapper:function(a,b,c){var d=""===c?c:c||" ";return""+b+d}}},f={callbacks:{remote_filter:function(d,e){var f=a(this);return b=c[d],"object"==typeof b?void e(b):(f.xhr&&f.xhr.abort(),void(f.xhr=a.getJSON(ajaxurl,{action:"bp_get_suggestions",term:d,type:"members"}).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=[];"object"==typeof window.BP_Suggestions&&(b=window.BP_Suggestions.friends||b),a(".bp-suggestions, #comments form textarea, .wp-editor-area").bp_mentions(b)})}(jQuery);
|
bp-core/admin/css/common-rtl.min.css
CHANGED
@@ -1,2 +1,2 @@
|
|
1 |
-
/*! buddypress - v2.1.0 - 2014-09-
|
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) no-repeat -370px -6px}body.branch-3-6 div#icon-buddypress-activity,body.branch-3-7 div#icon-buddypress-activity{background:url(../images/icons32.png) no-repeat -10px -6px}body.branch-3-6 div#icon-buddypress-groups,body.branch-3-7 div#icon-buddypress-groups{background:url(../images/icons32.png) no-repeat -250px -6px}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 - 2014-09-18 6:01:12 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) no-repeat -370px -6px}body.branch-3-6 div#icon-buddypress-activity,body.branch-3-7 div#icon-buddypress-activity{background:url(../images/icons32.png) no-repeat -10px -6px}body.branch-3-6 div#icon-buddypress-groups,body.branch-3-7 div#icon-buddypress-groups{background:url(../images/icons32.png) no-repeat -250px -6px}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 - 2014-09-
|
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) no-repeat -370px -6px}body.branch-3-6 div#icon-buddypress-activity,body.branch-3-7 div#icon-buddypress-activity{background:url(../images/icons32.png) no-repeat -10px -6px}body.branch-3-6 div#icon-buddypress-groups,body.branch-3-7 div#icon-buddypress-groups{background:url(../images/icons32.png) no-repeat -250px -6px}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 - 2014-09-18 6:01:12 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) no-repeat -370px -6px}body.branch-3-6 div#icon-buddypress-activity,body.branch-3-7 div#icon-buddypress-activity{background:url(../images/icons32.png) no-repeat -10px -6px}body.branch-3-6 div#icon-buddypress-groups,body.branch-3-7 div#icon-buddypress-groups{background:url(../images/icons32.png) no-repeat -250px -6px}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/css/admin-bar-rtl.min.css
CHANGED
@@ -1,2 +1,2 @@
|
|
1 |
-
/*! buddypress - v2.1.0 - 2014-09-
|
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 - 2014-09-18 6:01:12 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 - 2014-09-
|
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 - 2014-09-18 6:01:12 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 - 2014-09-
|
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 - 2014-09-18 6:01:12 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 - 2014-09-
|
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 - 2014-09-18 6:01:12 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 - 2014-09-
|
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 - 2014-09-18 6:01:12 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 - 2014-09-
|
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 - 2014-09-18 6:01:12 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 - 2014-09-
|
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=w.selected();if(!a)return!1;var b=a.result;if(s=b,c.multiple){var d=f(r.val());d.length>1&&(b=d.slice(0,d.length-1).join(c.multipleSeparator)+c.multipleSeparator+b),b+=c.multipleSeparator}return r.val(b),j(),r.trigger("result",[a.data,a.value]),!0}function e(a,b){if(p==q.DEL)return void w.hide();var d=r.val();(b||d!=s)&&(s=d,d=g(d),d.length>=c.minChars?(r.addClass(c.loadingClass),jQuery("#send-to-input").addClass("loading"),c.matchCase||(d=d.toLowerCase()),l(d,k,j)):(n(),w.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(r.val()).toLowerCase()==d.toLowerCase()&&8!=p&&(r.val(r.val()+e.substring(g(s).length)),a.Autocompleter.Selection(b,s.length,s.length+e.length))}function i(){clearTimeout(o),o=setTimeout(j,200)}function j(){w.hide(),clearTimeout(o),n(),c.mustMatch&&r.search(function(a){a||r.val("")})}function k(a,b){if(b&&b.length&&u){n(),w.display(b,a);var c=b[0].value.split(";");b.value=c[0],h(a,b.value),w.show()}else j()}function l(d,e,f){c.matchCase||(d=d.toLowerCase());var h=t.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:encodeURIComponent(document.cookie)},i),success:function(a){var b=c.parse&&c.parse(a)||m(a);t.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(){r.removeClass(c.loadingClass),jQuery("#send-to-input").removeClass("loading")}var o,p,q={UP:38,DOWN:40,DEL:46,TAB:9,RETURN:13,ESC:27,COMMA:188,PAGEUP:33,PAGEDOWN:34},r=a(b).attr("autocomplete","off").addClass(c.inputClass),s="",t=a.Autocompleter.Cache(c),u=0,v={mouseDownOnSelect:!1},w=a.Autocompleter.Select(c,b,d,v);r.keydown(function(b){switch(p=b.keyCode,b.keyCode){case q.UP:b.preventDefault(),w.visible()?w.prev():e(0,!0);break;case q.DOWN:b.preventDefault(),w.visible()?w.next():e(0,!0);break;case q.PAGEUP:b.preventDefault(),w.visible()?w.pageUp():e(0,!0);break;case q.PAGEDOWN:b.preventDefault(),w.visible()?w.pageDown():e(0,!0);break;case c.multiple&&","==a.trim(c.multipleSeparator)&&q.COMMA:case q.TAB:case q.RETURN:d()&&(c.multiple||r.blur(),b.preventDefault(),r.focus());break;case q.ESC:w.hide();break;default:clearTimeout(o),o=setTimeout(e,c.delay)}}).keypress(function(){}).focus(function(){u++}).blur(function(){u=0,v.mouseDownOnSelect||i()}).click(function(){u++>1&&!w.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):r.trigger("result",d&&[d.data,d.value])}var c=arguments.length>1?arguments[1]:null;a.each(f(r.val()),function(a,c){l(c,b,b)})}).bind("flushCache",function(){t.flush()}).bind("setOptions",function(){a.extend(c,arguments[1]),"data"in arguments[1]&&t.populate()}).bind("unautocomplete",function(){w.unbind(),r.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 - 2014-09-18 6:01:11 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=w.selected();if(!a)return!1;var b=a.result;if(s=b,c.multiple){var d=f(r.val());d.length>1&&(b=d.slice(0,d.length-1).join(c.multipleSeparator)+c.multipleSeparator+b),b+=c.multipleSeparator}return r.val(b),j(),r.trigger("result",[a.data,a.value]),!0}function e(a,b){if(p==q.DEL)return void w.hide();var d=r.val();(b||d!=s)&&(s=d,d=g(d),d.length>=c.minChars?(r.addClass(c.loadingClass),jQuery("#send-to-input").addClass("loading"),c.matchCase||(d=d.toLowerCase()),l(d,k,j)):(n(),w.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(r.val()).toLowerCase()==d.toLowerCase()&&8!=p&&(r.val(r.val()+e.substring(g(s).length)),a.Autocompleter.Selection(b,s.length,s.length+e.length))}function i(){clearTimeout(o),o=setTimeout(j,200)}function j(){w.hide(),clearTimeout(o),n(),c.mustMatch&&r.search(function(a){a||r.val("")})}function k(a,b){if(b&&b.length&&u){n(),w.display(b,a);var c=b[0].value.split(";");b.value=c[0],h(a,b.value),w.show()}else j()}function l(d,e,f){c.matchCase||(d=d.toLowerCase());var h=t.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:encodeURIComponent(document.cookie)},i),success:function(a){var b=c.parse&&c.parse(a)||m(a);t.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(){r.removeClass(c.loadingClass),jQuery("#send-to-input").removeClass("loading")}var o,p,q={UP:38,DOWN:40,DEL:46,TAB:9,RETURN:13,ESC:27,COMMA:188,PAGEUP:33,PAGEDOWN:34},r=a(b).attr("autocomplete","off").addClass(c.inputClass),s="",t=a.Autocompleter.Cache(c),u=0,v={mouseDownOnSelect:!1},w=a.Autocompleter.Select(c,b,d,v);r.keydown(function(b){switch(p=b.keyCode,b.keyCode){case q.UP:b.preventDefault(),w.visible()?w.prev():e(0,!0);break;case q.DOWN:b.preventDefault(),w.visible()?w.next():e(0,!0);break;case q.PAGEUP:b.preventDefault(),w.visible()?w.pageUp():e(0,!0);break;case q.PAGEDOWN:b.preventDefault(),w.visible()?w.pageDown():e(0,!0);break;case c.multiple&&","==a.trim(c.multipleSeparator)&&q.COMMA:case q.TAB:case q.RETURN:d()&&(c.multiple||r.blur(),b.preventDefault(),r.focus());break;case q.ESC:w.hide();break;default:clearTimeout(o),o=setTimeout(e,c.delay)}}).keypress(function(){}).focus(function(){u++}).blur(function(){u=0,v.mouseDownOnSelect||i()}).click(function(){u++>1&&!w.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):r.trigger("result",d&&[d.data,d.value])}var c=arguments.length>1?arguments[1]:null;a.each(f(r.val()),function(a,c){l(c,b,b)})}).bind("flushCache",function(){t.flush()}).bind("setOptions",function(){a.extend(c,arguments[1]),"data"in arguments[1]&&t.populate()}).bind("unautocomplete",function(){w.unbind(),r.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 - 2014-09-
|
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 - 2014-09-18 6:01:11 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 - 2014-09-
|
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 - 2014-09-18 6:01:11 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 - 2014-09-
|
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 - 2014-09-18 6:01:11 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 - 2014-09-
|
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 - 2014-09-18 6:01:11 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 - 2014-09-
|
2 |
jQuery(document).ready(function(){jQuery("a.confirm").click(function(){return confirm(BP_Confirm.are_you_sure)?!0:!1})});
|
1 |
+
/*! buddypress - v2.1.0 - 2014-09-18 6:01:11 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 - 2014-09-
|
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 - 2014-09-18 6:01:11 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 - 2014-09-
|
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 - 2014-09-18 6:01:11 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 - 2014-09-
|
2 |
(function(){!function(a){return"function"==typeof define&&define.amd?define(["jquery"],a):a(window.jQuery)}(function(a){var b,c,d,e,f,g,h,i,j=[].slice;d=function(){function b(b){this.current_flag=null,this.controllers={},this.alias_maps={},this.$inputor=a(b),this.iframe=null,this.setIframe(),this.listen()}return b.prototype.setIframe=function(a){return a?(this.window=a.contentWindow,this.document=a.contentDocument||this.window.document,this.iframe=a):(this.document=document,this.window=window,this.iframe=null)},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,d;return c=(d=this.controllers)[a]||(d[a]=new e(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(b){var c;return null!=(c=a.controller())?c.view.hide(b):void 0}}(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")},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 g.ESC:b.preventDefault(),null!=(c=this.controller())&&c.view.hide();break;case g.DOWN:case g.UP:case g.CTRL:a.noop();break;case g.P:case g.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 g.ESC:b.preventDefault(),c.hide(b);break;case g.UP:b.preventDefault(),c.prev();break;case g.DOWN:b.preventDefault(),c.next();break;case g.P:if(!b.ctrlKey)return;b.preventDefault(),c.prev();break;case g.N:if(!b.ctrlKey)return;b.preventDefault(),c.next();break;case g.TAB:case g.ENTER:if(!c.visible())return;b.preventDefault(),c.choose(b);break;default:a.noop()}},b}(),e=function(){function c(c,d){this.app=c,this.at=d,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,b.append(this.$el=a("<div id='atwho-ground-"+this.id+"'></div>")),this.model=new h(this),this.view=new i(this)}return c.prototype.uid=function(){return(Math.random().toString(16)+"000000000").substr(2,8)+(new Date).getTime()},c.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)},c.prototype.destroy=function(){return this.trigger("beforeDestroy"),this.model.destroy(),this.view.destroy(),this.$el.remove()},c.prototype.call_default=function(){var b,c,d;d=arguments[0],b=2<=arguments.length?j.call(arguments,1):[];try{return f[d].apply(this,b)}catch(e){return c=e,a.error(""+c+" Or maybe At.js doesn't have function "+d)}},c.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)},c.prototype.callbacks=function(a){return this.get_opt("callbacks")[a]||f[a]},c.prototype.get_opt=function(a){var b;try{return this.setting[a]}catch(c){return b=c,null}},c.prototype.content=function(){return this.$inputor.is("textarea, input")?this.$inputor.val():this.$inputor.text()},c.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},c.prototype.rect=function(){var a,b;if(a=this.$inputor.caret("offset",this.pos-1,{iframe:this.app.iframe}))return"true"===this.$inputor.attr("contentEditable")&&(a=this.cur_rect||(this.cur_rect=a)||a),b=this.app.document.selection?0:2,{left:a.left,top:a.top,bottom:a.top+a.height+b}},c.prototype.reset_rect=function(){return"true"===this.$inputor.attr("contentEditable")?this.cur_rect=null:void 0},c.prototype.mark_range=function(){return"true"===this.$inputor.attr("contentEditable")&&(this.app.window.getSelection&&(this.range=this.app.window.getSelection().getRangeAt(0)),this.app.document.selection)?this.ie8_range=this.app.document.selection.createRange():void 0},c.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))},c.prototype.insert=function(b){var c,d,e,f,g,h,i,j,k;return 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})):(f=this.range)?(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(),d=a(k,this.app.document)[0],f.insertNode(d),f.setEndAfter(d),f.collapse(!1),g=this.app.window.getSelection(),g.removeAllRanges(),g.addRange(f)):(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()),c.is(":focus")||c.focus(),c.change()},c.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")))},c.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},c}(),h=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}(),i=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",function(a){return function(b){return a.choose(b),b.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;return b.bottom+this.$el.height()-a(window).scrollTop()>a(window).height()&&(b.bottom=b.top-this.$el.height()),c={left:b.left,top:b.bottom},null!=(d=this.context.callbacks("before_reposition"))&&d.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")},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")},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.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}(),g={DOWN:40,UP:38,ESC:27,TAB:9,ENTER:13,CTRL:17,P:80,N:78},f={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;return a=a.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"),c&&(a="(?:^|\\s)"+a),e=new RegExp(a+"([A-Za-z0-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],~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=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,e;return d=""===c?c:c||" ",a.is("textarea, input")?""+b+d:"true"===a.attr("contentEditable")?(d=""===c?c:c||" ",/firefox/i.test(navigator.userAgent)?e="<span>"+b+d+"</span>":(c="<span contenteditable='false'>"+d+"<span>",e="<span contenteditable='false'>"+b+c+"</span>"),this.app.document.selection&&(e="<span contenteditable='true'>"+b+"</span>"),e):void 0}},c={load:function(a,b){var c;return(c=this.controller(a))?c.model.load(b):void 0},setIframe:function(a){return this.setIframe(a),null},run:function(){return this.dispatch()},destroy:function(){return this.shutdown(),this.$inputor.data("atwho",null)}},b=a("<div id='atwho-container'></div>"),a.fn.atwho=function(e){var f,g;return g=arguments,a("body").append(b),f=null,this.filter("textarea, input, [contenteditable=true]").each(function(){var b,h;return(h=(b=a(this)).data("atwho"))||b.data("atwho",h=new d(this)),"object"!=typeof e&&e?c[e]&&h?f=c[e].apply(h,Array.prototype.slice.call(g,1)):a.error("Method "+e+" does not exist on jQuery.caret"):h.reg(e.at,e)}),f||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:f,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}})}).call(this);
|
1 |
+
/*! buddypress - v2.1.0 - 2014-09-18 6:01:11 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){var b,c,d,e,f,g,h,i,j=[].slice;d=function(){function b(b){this.current_flag=null,this.controllers={},this.alias_maps={},this.$inputor=a(b),this.iframe=null,this.setIframe(),this.listen()}return b.prototype.setIframe=function(a){return a?(this.window=a.contentWindow,this.document=a.contentDocument||this.window.document,this.iframe=a):(this.document=document,this.window=window,this.iframe=null)},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,d;return c=(d=this.controllers)[a]||(d[a]=new e(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(b){var c;return null!=(c=a.controller())?c.view.hide(b):void 0}}(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")},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 g.ESC:b.preventDefault(),null!=(c=this.controller())&&c.view.hide();break;case g.DOWN:case g.UP:case g.CTRL:a.noop();break;case g.P:case g.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 g.ESC:b.preventDefault(),c.hide(b);break;case g.UP:b.preventDefault(),c.prev();break;case g.DOWN:b.preventDefault(),c.next();break;case g.P:if(!b.ctrlKey)return;b.preventDefault(),c.prev();break;case g.N:if(!b.ctrlKey)return;b.preventDefault(),c.next();break;case g.TAB:case g.ENTER:if(!c.visible())return;b.preventDefault(),c.choose(b);break;default:a.noop()}},b}(),e=function(){function c(c,d){this.app=c,this.at=d,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,b.append(this.$el=a("<div id='atwho-ground-"+this.id+"'></div>")),this.model=new h(this),this.view=new i(this)}return c.prototype.uid=function(){return(Math.random().toString(16)+"000000000").substr(2,8)+(new Date).getTime()},c.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)},c.prototype.destroy=function(){return this.trigger("beforeDestroy"),this.model.destroy(),this.view.destroy(),this.$el.remove()},c.prototype.call_default=function(){var b,c,d;d=arguments[0],b=2<=arguments.length?j.call(arguments,1):[];try{return f[d].apply(this,b)}catch(e){return c=e,a.error(""+c+" Or maybe At.js doesn't have function "+d)}},c.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)},c.prototype.callbacks=function(a){return this.get_opt("callbacks")[a]||f[a]},c.prototype.get_opt=function(a){var b;try{return this.setting[a]}catch(c){return b=c,null}},c.prototype.content=function(){return this.$inputor.is("textarea, input")?this.$inputor.val():this.$inputor.text()},c.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},c.prototype.rect=function(){var a,b;if(a=this.$inputor.caret("offset",this.pos-1,{iframe:this.app.iframe}))return"true"===this.$inputor.attr("contentEditable")&&(a=this.cur_rect||(this.cur_rect=a)||a),b=this.app.document.selection?0:2,{left:a.left,top:a.top,bottom:a.top+a.height+b}},c.prototype.reset_rect=function(){return"true"===this.$inputor.attr("contentEditable")?this.cur_rect=null:void 0},c.prototype.mark_range=function(){return"true"===this.$inputor.attr("contentEditable")&&(this.app.window.getSelection&&(this.range=this.app.window.getSelection().getRangeAt(0)),this.app.document.selection)?this.ie8_range=this.app.document.selection.createRange():void 0},c.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))},c.prototype.insert=function(b){var c,d,e,f,g,h,i,j,k;return 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})):(f=this.range)?(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(),d=a(k,this.app.document)[0],f.insertNode(d),f.setEndAfter(d),f.collapse(!1),g=this.app.window.getSelection(),g.removeAllRanges(),g.addRange(f)):(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()),c.is(":focus")||c.focus(),c.change()},c.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")))},c.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},c}(),h=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}(),i=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",function(a){return function(b){return a.choose(b),b.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;return b.bottom+this.$el.height()-a(window).scrollTop()>a(window).height()&&(b.bottom=b.top-this.$el.height()),c={left:b.left,top:b.bottom},null!=(d=this.context.callbacks("before_reposition"))&&d.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")},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")},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.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}(),g={DOWN:40,UP:38,ESC:27,TAB:9,ENTER:13,CTRL:17,P:80,N:78},f={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;return a=a.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"),c&&(a="(?:^|\\s)"+a),e=new RegExp(a+"([A-Za-z0-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],~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=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,e;return d=""===c?c:c||" ",a.is("textarea, input")?""+b+d:"true"===a.attr("contentEditable")?(d=""===c?c:c||" ",/firefox/i.test(navigator.userAgent)?e="<span>"+b+d+"</span>":(c="<span contenteditable='false'>"+d+"<span>",e="<span contenteditable='false'>"+b+c+"</span>"),this.app.document.selection&&(e="<span contenteditable='true'>"+b+"</span>"),e):void 0}},c={load:function(a,b){var c;return(c=this.controller(a))?c.model.load(b):void 0},setIframe:function(a){return this.setIframe(a),null},run:function(){return this.dispatch()},destroy:function(){return this.shutdown(),this.$inputor.data("atwho",null)}},b=a("<div id='atwho-container'></div>"),a.fn.atwho=function(e){var f,g;return g=arguments,a("body").append(b),f=null,this.filter("textarea, input, [contenteditable=true]").each(function(){var b,h;return(h=(b=a(this)).data("atwho"))||b.data("atwho",h=new d(this)),"object"!=typeof e&&e?c[e]&&h?f=c[e].apply(h,Array.prototype.slice.call(g,1)):a.error("Method "+e+" does not exist on jQuery.caret"):h.reg(e.at,e)}),f||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:f,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}})}).call(this);
|
bp-core/js/jquery.caret.min.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1 |
-
/*! buddypress - v2.1.0 - 2014-09-
|
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 a.noop()},b.prototype.getPosition=function(){return a.noop()},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;if(j.getSelection&&(d=this.range())){if(d.endOffset-1<0)return null;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()}else h.selection&&(c=this.getOldIEOffset());return c&&!i&&(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(a){var b,c,e,f,g,h,i;return b=this.$inputor,f=function(a){return a.replace(/</g,"<").replace(/>/g,">").replace(/`/g,"`").replace(/"/g,""").replace(/\r\n|\r|\n/g,"<br />")},void 0===a&&(a=this.getPos()),i=b.val().slice(0,a),e=b.val().slice(a),g="<span style='position: relative; display: inline;'>"+f(i)+"</span>",g+="<span id='caret' style='position: relative; display: inline;'>|</span>",g+="<span style='position: relative; display: inline;'>"+f(e)+"</span>",h=new d(b),c=h.create(g).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(b){var c,d;return d=this.getOffset(b),i&&(c=a(i).offset(),d.top+=c.top,d.left+=c.left),d}},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 - 2014-09-18 6:01:11 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 a.noop()},b.prototype.getPosition=function(){return a.noop()},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;if(j.getSelection&&(d=this.range())){if(d.endOffset-1<0)return null;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()}else h.selection&&(c=this.getOldIEOffset());return c&&!i&&(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(a){var b,c,e,f,g,h,i;return b=this.$inputor,f=function(a){return a.replace(/</g,"<").replace(/>/g,">").replace(/`/g,"`").replace(/"/g,""").replace(/\r\n|\r|\n/g,"<br />")},void 0===a&&(a=this.getPos()),i=b.val().slice(0,a),e=b.val().slice(a),g="<span style='position: relative; display: inline;'>"+f(i)+"</span>",g+="<span id='caret' style='position: relative; display: inline;'>|</span>",g+="<span style='position: relative; display: inline;'>"+f(e)+"</span>",h=new d(b),c=h.create(g).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(b){var c,d;return d=this.getOffset(b),i&&(c=a(i).offset(),d.top+=c.top,d.left+=c.left),d}},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 - 2014-09-
|
2 |
function member_wiget_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_wiget_response(b)}),!1})});
|
1 |
+
/*! buddypress - v2.1.0 - 2014-09-18 6:01:11 PM UTC - https://wordpress.org/plugins/buddypress/ */
|
2 |
function member_wiget_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_wiget_response(b)}),!1})});
|
bp-friends/js/widget-friends.min.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1 |
-
/*! buddypress - v2.1.0 - 2014-09-
|
2 |
function friend_wiget_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_wiget_response(b)}),!1})});
|
1 |
+
/*! buddypress - v2.1.0 - 2014-09-18 6:01:11 PM UTC - https://wordpress.org/plugins/buddypress/ */
|
2 |
function friend_wiget_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_wiget_response(b)}),!1})});
|
bp-groups/admin/css/admin-rtl.min.css
CHANGED
@@ -1,2 +1,2 @@
|
|
1 |
-
/*! buddypress - v2.1.0 - 2014-09-
|
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 - 2014-09-18 6:01:12 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 - 2014-09-
|
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 - 2014-09-18 6:01:12 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 - 2014-09-
|
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 - 2014-09-18 6:01:11 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-actions.php
CHANGED
@@ -316,6 +316,9 @@ function groups_action_create_group() {
|
|
316 |
}
|
317 |
add_action( 'bp_actions', 'groups_action_create_group' );
|
318 |
|
|
|
|
|
|
|
319 |
function groups_action_join_group() {
|
320 |
global $bp;
|
321 |
|
@@ -401,6 +404,8 @@ add_action( 'bp_actions', 'groups_action_leave_group' );
|
|
401 |
|
402 |
/**
|
403 |
* Sort the group creation steps.
|
|
|
|
|
404 |
*/
|
405 |
function groups_action_sort_creation_steps() {
|
406 |
global $bp;
|
@@ -443,6 +448,8 @@ add_action( 'bp_actions', 'groups_action_redirect_to_random_group' );
|
|
443 |
* Load the activity feed for the current group.
|
444 |
*
|
445 |
* @since BuddyPress (1.2.0)
|
|
|
|
|
446 |
*/
|
447 |
function groups_action_group_feed() {
|
448 |
|
316 |
}
|
317 |
add_action( 'bp_actions', 'groups_action_create_group' );
|
318 |
|
319 |
+
/**
|
320 |
+
* Catch and process "Join Group" button clicks.
|
321 |
+
*/
|
322 |
function groups_action_join_group() {
|
323 |
global $bp;
|
324 |
|
404 |
|
405 |
/**
|
406 |
* Sort the group creation steps.
|
407 |
+
*
|
408 |
+
* @return bool|null False on failure.
|
409 |
*/
|
410 |
function groups_action_sort_creation_steps() {
|
411 |
global $bp;
|
448 |
* Load the activity feed for the current group.
|
449 |
*
|
450 |
* @since BuddyPress (1.2.0)
|
451 |
+
*
|
452 |
+
* @return bool|null False on failure.
|
453 |
*/
|
454 |
function groups_action_group_feed() {
|
455 |
|
bp-groups/bp-groups-activity.php
CHANGED
@@ -15,6 +15,8 @@ if ( !defined( 'ABSPATH' ) ) exit;
|
|
15 |
|
16 |
/**
|
17 |
* Register activity actions for the Groups component.
|
|
|
|
|
18 |
*/
|
19 |
function groups_register_activity_actions() {
|
20 |
$bp = buddypress();
|
@@ -239,6 +241,7 @@ function groups_record_activity( $args = '' ) {
|
|
239 |
*
|
240 |
* @param int $group_id Optional. The ID of the group whose last_activity is
|
241 |
* being updated. Default: the current group's ID.
|
|
|
242 |
*/
|
243 |
function groups_update_last_activity( $group_id = 0 ) {
|
244 |
|
@@ -261,8 +264,10 @@ add_action( 'groups_new_forum_topic_post', 'groups_update_last_activity' );
|
|
261 |
* Add an activity stream item when a member joins a group
|
262 |
*
|
263 |
* @since BuddyPress (1.9.0)
|
264 |
-
*
|
265 |
-
* @param int $
|
|
|
|
|
266 |
*/
|
267 |
function bp_groups_membership_accepted_add_activity( $user_id, $group_id ) {
|
268 |
|
@@ -285,9 +290,11 @@ function bp_groups_membership_accepted_add_activity( $user_id, $group_id ) {
|
|
285 |
add_action( 'groups_membership_accepted', 'bp_groups_membership_accepted_add_activity', 10, 2 );
|
286 |
|
287 |
/**
|
288 |
-
* Delete all
|
289 |
*
|
290 |
* @since BuddyPress (1.9.0)
|
|
|
|
|
291 |
*/
|
292 |
function bp_groups_delete_group_delete_all_activity( $group_id ) {
|
293 |
if ( bp_is_active( 'activity' ) ) {
|
@@ -300,14 +307,16 @@ function bp_groups_delete_group_delete_all_activity( $group_id ) {
|
|
300 |
add_action( 'groups_delete_group', 'bp_groups_delete_group_delete_all_activity', 10 );
|
301 |
|
302 |
/**
|
303 |
-
* Delete group member activity if they leave or are removed within 5 minutes of
|
304 |
-
* membership modification.
|
305 |
*
|
306 |
* If the user joined this group less than five minutes ago, remove the
|
307 |
* joined_group activity so users cannot flood the activity stream by
|
308 |
* joining/leaving the group in quick succession.
|
309 |
*
|
310 |
* @since BuddyPress (1.9.0)
|
|
|
|
|
|
|
311 |
*/
|
312 |
function bp_groups_leave_group_delete_recent_activity( $group_id, $user_id ) {
|
313 |
|
15 |
|
16 |
/**
|
17 |
* Register activity actions for the Groups component.
|
18 |
+
*
|
19 |
+
* @return bool|null False on failure.
|
20 |
*/
|
21 |
function groups_register_activity_actions() {
|
22 |
$bp = buddypress();
|
241 |
*
|
242 |
* @param int $group_id Optional. The ID of the group whose last_activity is
|
243 |
* being updated. Default: the current group's ID.
|
244 |
+
* @return bool|null False on failure.
|
245 |
*/
|
246 |
function groups_update_last_activity( $group_id = 0 ) {
|
247 |
|
264 |
* Add an activity stream item when a member joins a group
|
265 |
*
|
266 |
* @since BuddyPress (1.9.0)
|
267 |
+
*
|
268 |
+
* @param int $user_id ID of the user joining the group.
|
269 |
+
* @param int $group_id ID of the group.
|
270 |
+
* @return bool|null False on failure.
|
271 |
*/
|
272 |
function bp_groups_membership_accepted_add_activity( $user_id, $group_id ) {
|
273 |
|
290 |
add_action( 'groups_membership_accepted', 'bp_groups_membership_accepted_add_activity', 10, 2 );
|
291 |
|
292 |
/**
|
293 |
+
* Delete all activity items related to a specific group.
|
294 |
*
|
295 |
* @since BuddyPress (1.9.0)
|
296 |
+
*
|
297 |
+
* @param int $group_id ID of the group.
|
298 |
*/
|
299 |
function bp_groups_delete_group_delete_all_activity( $group_id ) {
|
300 |
if ( bp_is_active( 'activity' ) ) {
|
307 |
add_action( 'groups_delete_group', 'bp_groups_delete_group_delete_all_activity', 10 );
|
308 |
|
309 |
/**
|
310 |
+
* Delete group member activity if they leave or are removed within 5 minutes of membership modification.
|
|
|
311 |
*
|
312 |
* If the user joined this group less than five minutes ago, remove the
|
313 |
* joined_group activity so users cannot flood the activity stream by
|
314 |
* joining/leaving the group in quick succession.
|
315 |
*
|
316 |
* @since BuddyPress (1.9.0)
|
317 |
+
*
|
318 |
+
* @param int $group_id ID of the group.
|
319 |
+
* @param int $user_id ID of the user leaving the group.
|
320 |
*/
|
321 |
function bp_groups_leave_group_delete_recent_activity( $group_id, $user_id ) {
|
322 |
|
bp-groups/bp-groups-admin.php
CHANGED
@@ -68,7 +68,7 @@ add_filter( 'bp_admin_menu_order', 'bp_groups_admin_menu_order' );
|
|
68 |
*
|
69 |
* @since BuddyPress (1.7.0)
|
70 |
*
|
71 |
-
* @global BP_Groups_List_Table $bp_groups_list_table Groups screen list table
|
72 |
*/
|
73 |
function bp_groups_admin_load() {
|
74 |
global $bp_groups_list_table;
|
@@ -1038,7 +1038,6 @@ class BP_Groups_List_Table extends WP_List_Table {
|
|
1038 |
* e.g. "All", "Pending", "Approved", "Spam"...
|
1039 |
*
|
1040 |
* @since BuddyPress (1.7.0)
|
1041 |
-
*
|
1042 |
* @access public
|
1043 |
* @var string
|
1044 |
*/
|
@@ -1048,7 +1047,6 @@ class BP_Groups_List_Table extends WP_List_Table {
|
|
1048 |
* Group counts for each group type.
|
1049 |
*
|
1050 |
* @since BuddyPress (1.7.0)
|
1051 |
-
*
|
1052 |
* @access public
|
1053 |
* @var int
|
1054 |
*/
|
68 |
*
|
69 |
* @since BuddyPress (1.7.0)
|
70 |
*
|
71 |
+
* @global BP_Groups_List_Table $bp_groups_list_table Groups screen list table.
|
72 |
*/
|
73 |
function bp_groups_admin_load() {
|
74 |
global $bp_groups_list_table;
|
1038 |
* e.g. "All", "Pending", "Approved", "Spam"...
|
1039 |
*
|
1040 |
* @since BuddyPress (1.7.0)
|
|
|
1041 |
* @access public
|
1042 |
* @var string
|
1043 |
*/
|
1047 |
* Group counts for each group type.
|
1048 |
*
|
1049 |
* @since BuddyPress (1.7.0)
|
|
|
1050 |
* @access public
|
1051 |
* @var int
|
1052 |
*/
|
bp-groups/bp-groups-adminbar.php
CHANGED
@@ -18,6 +18,9 @@ if ( !defined( 'ABSPATH' ) ) exit;
|
|
18 |
* @since BuddyPress (1.5.0)
|
19 |
*
|
20 |
* @todo Add dynamic menu items for group extensions.
|
|
|
|
|
|
|
21 |
*/
|
22 |
function bp_groups_group_admin_menu() {
|
23 |
global $wp_admin_bar, $bp;
|
18 |
* @since BuddyPress (1.5.0)
|
19 |
*
|
20 |
* @todo Add dynamic menu items for group extensions.
|
21 |
+
*
|
22 |
+
* @return bool|null False if not on a group page, or if user does not have
|
23 |
+
* access to group admin options.
|
24 |
*/
|
25 |
function bp_groups_group_admin_menu() {
|
26 |
global $wp_admin_bar, $bp;
|
bp-groups/bp-groups-classes.php
CHANGED
@@ -158,6 +158,12 @@ class BP_Groups_Group {
|
|
158 |
*
|
159 |
* @param int $id Optional. If the ID of an existing group is provided,
|
160 |
* the object will be pre-populated with info about that group.
|
|
|
|
|
|
|
|
|
|
|
|
|
161 |
*/
|
162 |
public function __construct( $id = null, $args = array() ) {
|
163 |
$this->args = wp_parse_args( $args, array(
|
@@ -625,9 +631,11 @@ class BP_Groups_Group {
|
|
625 |
* @type bool $populate_extras Whether to fetch additional
|
626 |
* information (such as member count) about groups. Default:
|
627 |
* true.
|
628 |
-
* @type array|string Optional. Array or comma-separated
|
629 |
-
* group IDs. Results will exclude the listed groups.
|
630 |
* Default: false.
|
|
|
|
|
631 |
* @type bool $show_hidden Whether to include hidden groups in
|
632 |
* results. Default: false.
|
633 |
* }
|
@@ -1491,6 +1499,7 @@ class BP_Group_Member_Query extends BP_User_Query {
|
|
1491 |
* Array of group member ids, cached to prevent redundant lookups.
|
1492 |
*
|
1493 |
* @since BuddyPress (1.8.1)
|
|
|
1494 |
* @var null|array Null if not yet defined, otherwise an array of ints.
|
1495 |
*/
|
1496 |
protected $group_member_ids;
|
@@ -1737,10 +1746,11 @@ class BP_Group_Member_Query extends BP_User_Query {
|
|
1737 |
*
|
1738 |
* @since BuddyPress (1.8.0)
|
1739 |
*
|
1740 |
-
* @param
|
1741 |
-
*
|
|
|
1742 |
* @param string $user_ids_sql Sanitized, comma-separated string of
|
1743 |
-
*
|
1744 |
*/
|
1745 |
public function populate_group_member_extras( $query, $user_ids_sql ) {
|
1746 |
global $wpdb;
|
@@ -1772,7 +1782,7 @@ class BP_Group_Member_Query extends BP_User_Query {
|
|
1772 |
/**
|
1773 |
* Sort user IDs by how recently they have generated activity within a given group.
|
1774 |
*
|
1775 |
-
* @since
|
1776 |
*
|
1777 |
* @param BP_User_Query $query BP_User_Query object.
|
1778 |
* @param array $gm_ids array of group member ids.
|
@@ -1814,7 +1824,7 @@ class BP_Group_Member_Query extends BP_User_Query {
|
|
1814 |
}
|
1815 |
|
1816 |
/**
|
1817 |
-
* BuddyPress Group Membership
|
1818 |
*/
|
1819 |
class BP_Groups_Member {
|
1820 |
|
@@ -2840,6 +2850,7 @@ class BP_Group_Extension {
|
|
2840 |
* Information about this extension's screens.
|
2841 |
*
|
2842 |
* @since BuddyPress (1.8.0)
|
|
|
2843 |
* @var array
|
2844 |
*/
|
2845 |
public $screens = array();
|
@@ -2848,6 +2859,7 @@ class BP_Group_Extension {
|
|
2848 |
* The name of the extending class.
|
2849 |
*
|
2850 |
* @since BuddyPress (1.8.0)
|
|
|
2851 |
* @var string
|
2852 |
*/
|
2853 |
public $class_name = '';
|
@@ -2856,6 +2868,7 @@ class BP_Group_Extension {
|
|
2856 |
* A ReflectionClass object of the current extension.
|
2857 |
*
|
2858 |
* @since BuddyPress (1.8.0)
|
|
|
2859 |
* @var ReflectionClass
|
2860 |
*/
|
2861 |
public $class_reflection = null;
|
@@ -2864,6 +2877,7 @@ class BP_Group_Extension {
|
|
2864 |
* Parsed configuration paramaters for the extension.
|
2865 |
*
|
2866 |
* @since BuddyPress (1.8.0)
|
|
|
2867 |
* @var array
|
2868 |
*/
|
2869 |
public $params = array();
|
@@ -2872,6 +2886,7 @@ class BP_Group_Extension {
|
|
2872 |
* Raw config params, as passed by the extending class.
|
2873 |
*
|
2874 |
* @since BuddyPress (2.1.0)
|
|
|
2875 |
* @var array
|
2876 |
*/
|
2877 |
public $params_raw = array();
|
@@ -2880,6 +2895,7 @@ class BP_Group_Extension {
|
|
2880 |
* The ID of the current group.
|
2881 |
*
|
2882 |
* @since BuddyPress (1.8.0)
|
|
|
2883 |
* @var int
|
2884 |
*/
|
2885 |
public $group_id = 0;
|
@@ -2887,6 +2903,7 @@ class BP_Group_Extension {
|
|
2887 |
/**
|
2888 |
* The slug of the current extension.
|
2889 |
*
|
|
|
2890 |
* @var string
|
2891 |
*/
|
2892 |
public $slug = '';
|
@@ -2894,6 +2911,7 @@ class BP_Group_Extension {
|
|
2894 |
/**
|
2895 |
* The translatable name of the current extension.
|
2896 |
*
|
|
|
2897 |
* @var string
|
2898 |
*/
|
2899 |
public $name = '';
|
@@ -2901,6 +2919,7 @@ class BP_Group_Extension {
|
|
2901 |
/**
|
2902 |
* The visibility of the extension tab. 'public' or 'private'.
|
2903 |
*
|
|
|
2904 |
* @var string
|
2905 |
*/
|
2906 |
public $visibility = 'public';
|
@@ -2908,6 +2927,7 @@ class BP_Group_Extension {
|
|
2908 |
/**
|
2909 |
* The numeric position of the main nav item.
|
2910 |
*
|
|
|
2911 |
* @var int
|
2912 |
*/
|
2913 |
public $nav_item_position = 81;
|
@@ -2915,6 +2935,7 @@ class BP_Group_Extension {
|
|
2915 |
/**
|
2916 |
* Whether to show the nav item.
|
2917 |
*
|
|
|
2918 |
* @var bool
|
2919 |
*/
|
2920 |
public $enable_nav_item = true;
|
@@ -2923,6 +2944,7 @@ class BP_Group_Extension {
|
|
2923 |
* Whether the current user should see the navigation item.
|
2924 |
*
|
2925 |
* @since BuddyPress (2.1.0)
|
|
|
2926 |
* @var bool
|
2927 |
*/
|
2928 |
public $user_can_see_nav_item;
|
@@ -2931,6 +2953,7 @@ class BP_Group_Extension {
|
|
2931 |
* Whether the current user can visit the tab.
|
2932 |
*
|
2933 |
* @since BuddyPress (2.1.0)
|
|
|
2934 |
* @var bool
|
2935 |
*/
|
2936 |
public $user_can_visit;
|
@@ -2938,6 +2961,7 @@ class BP_Group_Extension {
|
|
2938 |
/**
|
2939 |
* The text of the nav item. Defaults to self::name.
|
2940 |
*
|
|
|
2941 |
* @var string
|
2942 |
*/
|
2943 |
public $nav_item_name = '';
|
@@ -2947,6 +2971,7 @@ class BP_Group_Extension {
|
|
2947 |
*
|
2948 |
* Default: 'groups_custom_group_boxes'.
|
2949 |
*
|
|
|
2950 |
* @var string
|
2951 |
*/
|
2952 |
public $display_hook = 'groups_custom_group_boxes';
|
@@ -2956,6 +2981,7 @@ class BP_Group_Extension {
|
|
2956 |
*
|
2957 |
* Default: 'groups/single/plugins'.
|
2958 |
*
|
|
|
2959 |
* @var string
|
2960 |
*/
|
2961 |
public $template_file = 'groups/single/plugins';
|
@@ -2966,6 +2992,7 @@ class BP_Group_Extension {
|
|
2966 |
* Has the extension been initialized?
|
2967 |
*
|
2968 |
* @since BuddyPress (1.8.0)
|
|
|
2969 |
* @var bool
|
2970 |
*/
|
2971 |
protected $initialized = false;
|
@@ -2974,6 +3001,7 @@ class BP_Group_Extension {
|
|
2974 |
* Extension properties as set by legacy extensions.
|
2975 |
*
|
2976 |
* @since BuddyPress (1.8.0)
|
|
|
2977 |
* @var array
|
2978 |
*/
|
2979 |
protected $legacy_properties = array();
|
@@ -2985,6 +3013,7 @@ class BP_Group_Extension {
|
|
2985 |
* then converted to match the new format for params.
|
2986 |
*
|
2987 |
* @since BuddyPress (1.8.0)
|
|
|
2988 |
* @var array
|
2989 |
*/
|
2990 |
protected $legacy_properties_converted = array();
|
@@ -2993,6 +3022,7 @@ class BP_Group_Extension {
|
|
2993 |
* Redirect location as defined by post-edit save callback.
|
2994 |
*
|
2995 |
* @since BuddyPress (2.1.0)
|
|
|
2996 |
* @var string
|
2997 |
*/
|
2998 |
protected $post_save_redirect;
|
@@ -3001,6 +3031,7 @@ class BP_Group_Extension {
|
|
3001 |
* Miscellaneous data as set by the __set() magic method.
|
3002 |
*
|
3003 |
* @since BuddyPress (1.8.0)
|
|
|
3004 |
* @var array
|
3005 |
*/
|
3006 |
protected $data = array();
|
@@ -3190,6 +3221,8 @@ class BP_Group_Extension {
|
|
3190 |
* - group admin
|
3191 |
*
|
3192 |
* @since BuddyPress (1.8.0)
|
|
|
|
|
3193 |
*/
|
3194 |
public static function get_group_id() {
|
3195 |
|
@@ -3221,6 +3254,8 @@ class BP_Group_Extension {
|
|
3221 |
* Gather configuration data about your screens.
|
3222 |
*
|
3223 |
* @since BuddyPress (1.8.0)
|
|
|
|
|
3224 |
*/
|
3225 |
protected function get_default_screens() {
|
3226 |
$this->setup_class_info();
|
@@ -3858,8 +3893,6 @@ class BP_Group_Extension {
|
|
3858 |
*
|
3859 |
* @since BuddyPress (1.8.0)
|
3860 |
*
|
3861 |
-
* @uses wp_nonce_field()
|
3862 |
-
*
|
3863 |
* @param string $context Screen context. 'create', 'edit', or 'admin'.
|
3864 |
*/
|
3865 |
public function nonce_field( $context = '' ) {
|
@@ -3871,8 +3904,6 @@ class BP_Group_Extension {
|
|
3871 |
*
|
3872 |
* @since BuddyPress (1.8.0)
|
3873 |
*
|
3874 |
-
* @uses check_admin_referer()
|
3875 |
-
*
|
3876 |
* @param string $context Screen context. 'create', 'edit', or 'admin'.
|
3877 |
*/
|
3878 |
public function check_nonce( $context = '' ) {
|
@@ -3889,7 +3920,6 @@ class BP_Group_Extension {
|
|
3889 |
* @since BuddyPress (1.8.0)
|
3890 |
*
|
3891 |
* @param string $context Screen context. 'create', 'edit', or 'admin'.
|
3892 |
-
*
|
3893 |
* @return bool True if the screen is enabled, otherwise false.
|
3894 |
*/
|
3895 |
public function is_screen_enabled( $context = '' ) {
|
@@ -4360,6 +4390,7 @@ class BP_Groups_Member_Suggestions extends BP_Members_Suggestions {
|
|
4360 |
* Default arguments for this suggestions service.
|
4361 |
*
|
4362 |
* @since BuddyPress (2.1.0)
|
|
|
4363 |
* @var array $args {
|
4364 |
* @type int $group_id Positive integers will restrict the search to members in that group.
|
4365 |
* Negative integers will restrict the search to members in every other group.
|
158 |
*
|
159 |
* @param int $id Optional. If the ID of an existing group is provided,
|
160 |
* the object will be pre-populated with info about that group.
|
161 |
+
* @param array $args {
|
162 |
+
* Array of optional arguments.
|
163 |
+
* @type bool $populate_extras Whether to fetch "extra" data about
|
164 |
+
* the group (group admins/mods, access for the current user).
|
165 |
+
* Default: false.
|
166 |
+
* }
|
167 |
*/
|
168 |
public function __construct( $id = null, $args = array() ) {
|
169 |
$this->args = wp_parse_args( $args, array(
|
631 |
* @type bool $populate_extras Whether to fetch additional
|
632 |
* information (such as member count) about groups. Default:
|
633 |
* true.
|
634 |
+
* @type array|string $exclude Optional. Array or comma-separated
|
635 |
+
* list of group IDs. Results will exclude the listed groups.
|
636 |
* Default: false.
|
637 |
+
* @type bool $update_meta_cache Whether to pre-fetch groupmeta for
|
638 |
+
* the returned groups. Default: true.
|
639 |
* @type bool $show_hidden Whether to include hidden groups in
|
640 |
* results. Default: false.
|
641 |
* }
|
1499 |
* Array of group member ids, cached to prevent redundant lookups.
|
1500 |
*
|
1501 |
* @since BuddyPress (1.8.1)
|
1502 |
+
* @access protected
|
1503 |
* @var null|array Null if not yet defined, otherwise an array of ints.
|
1504 |
*/
|
1505 |
protected $group_member_ids;
|
1746 |
*
|
1747 |
* @since BuddyPress (1.8.0)
|
1748 |
*
|
1749 |
+
* @param BP_User_Query $query BP_User_Query object. Because we're
|
1750 |
+
* filtering the current object, we use $this inside of the
|
1751 |
+
* method instead.
|
1752 |
* @param string $user_ids_sql Sanitized, comma-separated string of
|
1753 |
+
* the user ids returned by the main query.
|
1754 |
*/
|
1755 |
public function populate_group_member_extras( $query, $user_ids_sql ) {
|
1756 |
global $wpdb;
|
1782 |
/**
|
1783 |
* Sort user IDs by how recently they have generated activity within a given group.
|
1784 |
*
|
1785 |
+
* @since BuddyPress (2.1.0)
|
1786 |
*
|
1787 |
* @param BP_User_Query $query BP_User_Query object.
|
1788 |
* @param array $gm_ids array of group member ids.
|
1824 |
}
|
1825 |
|
1826 |
/**
|
1827 |
+
* BuddyPress Group Membership object.
|
1828 |
*/
|
1829 |
class BP_Groups_Member {
|
1830 |
|
2850 |
* Information about this extension's screens.
|
2851 |
*
|
2852 |
* @since BuddyPress (1.8.0)
|
2853 |
+
* @access public
|
2854 |
* @var array
|
2855 |
*/
|
2856 |
public $screens = array();
|
2859 |
* The name of the extending class.
|
2860 |
*
|
2861 |
* @since BuddyPress (1.8.0)
|
2862 |
+
* @access public
|
2863 |
* @var string
|
2864 |
*/
|
2865 |
public $class_name = '';
|
2868 |
* A ReflectionClass object of the current extension.
|
2869 |
*
|
2870 |
* @since BuddyPress (1.8.0)
|
2871 |
+
* @access public
|
2872 |
* @var ReflectionClass
|
2873 |
*/
|
2874 |
public $class_reflection = null;
|
2877 |
* Parsed configuration paramaters for the extension.
|
2878 |
*
|
2879 |
* @since BuddyPress (1.8.0)
|
2880 |
+
* @access public
|
2881 |
* @var array
|
2882 |
*/
|
2883 |
public $params = array();
|
2886 |
* Raw config params, as passed by the extending class.
|
2887 |
*
|
2888 |
* @since BuddyPress (2.1.0)
|
2889 |
+
* @access public
|
2890 |
* @var array
|
2891 |
*/
|
2892 |
public $params_raw = array();
|
2895 |
* The ID of the current group.
|
2896 |
*
|
2897 |
* @since BuddyPress (1.8.0)
|
2898 |
+
* @access public
|
2899 |
* @var int
|
2900 |
*/
|
2901 |
public $group_id = 0;
|
2903 |
/**
|
2904 |
* The slug of the current extension.
|
2905 |
*
|
2906 |
+
* @access public
|
2907 |
* @var string
|
2908 |
*/
|
2909 |
public $slug = '';
|
2911 |
/**
|
2912 |
* The translatable name of the current extension.
|
2913 |
*
|
2914 |
+
* @access public
|
2915 |
* @var string
|
2916 |
*/
|
2917 |
public $name = '';
|
2919 |
/**
|
2920 |
* The visibility of the extension tab. 'public' or 'private'.
|
2921 |
*
|
2922 |
+
* @access public
|
2923 |
* @var string
|
2924 |
*/
|
2925 |
public $visibility = 'public';
|
2927 |
/**
|
2928 |
* The numeric position of the main nav item.
|
2929 |
*
|
2930 |
+
* @access public
|
2931 |
* @var int
|
2932 |
*/
|
2933 |
public $nav_item_position = 81;
|
2935 |
/**
|
2936 |
* Whether to show the nav item.
|
2937 |
*
|
2938 |
+
* @access public
|
2939 |
* @var bool
|
2940 |
*/
|
2941 |
public $enable_nav_item = true;
|
2944 |
* Whether the current user should see the navigation item.
|
2945 |
*
|
2946 |
* @since BuddyPress (2.1.0)
|
2947 |
+
* @access public
|
2948 |
* @var bool
|
2949 |
*/
|
2950 |
public $user_can_see_nav_item;
|
2953 |
* Whether the current user can visit the tab.
|
2954 |
*
|
2955 |
* @since BuddyPress (2.1.0)
|
2956 |
+
* @access public
|
2957 |
* @var bool
|
2958 |
*/
|
2959 |
public $user_can_visit;
|
2961 |
/**
|
2962 |
* The text of the nav item. Defaults to self::name.
|
2963 |
*
|
2964 |
+
* @access public
|
2965 |
* @var string
|
2966 |
*/
|
2967 |
public $nav_item_name = '';
|
2971 |
*
|
2972 |
* Default: 'groups_custom_group_boxes'.
|
2973 |
*
|
2974 |
+
* @access public
|
2975 |
* @var string
|
2976 |
*/
|
2977 |
public $display_hook = 'groups_custom_group_boxes';
|
2981 |
*
|
2982 |
* Default: 'groups/single/plugins'.
|
2983 |
*
|
2984 |
+
* @access public
|
2985 |
* @var string
|
2986 |
*/
|
2987 |
public $template_file = 'groups/single/plugins';
|
2992 |
* Has the extension been initialized?
|
2993 |
*
|
2994 |
* @since BuddyPress (1.8.0)
|
2995 |
+
* @access protected
|
2996 |
* @var bool
|
2997 |
*/
|
2998 |
protected $initialized = false;
|
3001 |
* Extension properties as set by legacy extensions.
|
3002 |
*
|
3003 |
* @since BuddyPress (1.8.0)
|
3004 |
+
* @access protected
|
3005 |
* @var array
|
3006 |
*/
|
3007 |
protected $legacy_properties = array();
|
3013 |
* then converted to match the new format for params.
|
3014 |
*
|
3015 |
* @since BuddyPress (1.8.0)
|
3016 |
+
* @access protected
|
3017 |
* @var array
|
3018 |
*/
|
3019 |
protected $legacy_properties_converted = array();
|
3022 |
* Redirect location as defined by post-edit save callback.
|
3023 |
*
|
3024 |
* @since BuddyPress (2.1.0)
|
3025 |
+
* @access protected
|
3026 |
* @var string
|
3027 |
*/
|
3028 |
protected $post_save_redirect;
|
3031 |
* Miscellaneous data as set by the __set() magic method.
|
3032 |
*
|
3033 |
* @since BuddyPress (1.8.0)
|
3034 |
+
* @access protected
|
3035 |
* @var array
|
3036 |
*/
|
3037 |
protected $data = array();
|
3221 |
* - group admin
|
3222 |
*
|
3223 |
* @since BuddyPress (1.8.0)
|
3224 |
+
*
|
3225 |
+
* @return int
|
3226 |
*/
|
3227 |
public static function get_group_id() {
|
3228 |
|
3254 |
* Gather configuration data about your screens.
|
3255 |
*
|
3256 |
* @since BuddyPress (1.8.0)
|
3257 |
+
*
|
3258 |
+
* @return array
|
3259 |
*/
|
3260 |
protected function get_default_screens() {
|
3261 |
$this->setup_class_info();
|
3893 |
*
|
3894 |
* @since BuddyPress (1.8.0)
|
3895 |
*
|
|
|
|
|
3896 |
* @param string $context Screen context. 'create', 'edit', or 'admin'.
|
3897 |
*/
|
3898 |
public function nonce_field( $context = '' ) {
|
3904 |
*
|
3905 |
* @since BuddyPress (1.8.0)
|
3906 |
*
|
|
|
|
|
3907 |
* @param string $context Screen context. 'create', 'edit', or 'admin'.
|
3908 |
*/
|
3909 |
public function check_nonce( $context = '' ) {
|
3920 |
* @since BuddyPress (1.8.0)
|
3921 |
*
|
3922 |
* @param string $context Screen context. 'create', 'edit', or 'admin'.
|
|
|
3923 |
* @return bool True if the screen is enabled, otherwise false.
|
3924 |
*/
|
3925 |
public function is_screen_enabled( $context = '' ) {
|
4390 |
* Default arguments for this suggestions service.
|
4391 |
*
|
4392 |
* @since BuddyPress (2.1.0)
|
4393 |
+
* @access protected
|
4394 |
* @var array $args {
|
4395 |
* @type int $group_id Positive integers will restrict the search to members in that group.
|
4396 |
* Negative integers will restrict the search to members in every other group.
|
bp-groups/bp-groups-filters.php
CHANGED
@@ -110,10 +110,10 @@ function bp_groups_filter_kses( $content = '' ) {
|
|
110 |
return wp_kses( $content, $tags );
|
111 |
}
|
112 |
|
113 |
-
/**
|
114 |
|
115 |
/**
|
116 |
-
*
|
117 |
*/
|
118 |
function groups_add_forum_privacy_sql() {
|
119 |
add_filter( 'get_topics_fields', 'groups_add_forum_fields_sql' );
|
@@ -122,11 +122,23 @@ function groups_add_forum_privacy_sql() {
|
|
122 |
}
|
123 |
add_filter( 'bbpress_init', 'groups_add_forum_privacy_sql' );
|
124 |
|
|
|
|
|
|
|
|
|
|
|
|
|
125 |
function groups_add_forum_fields_sql( $sql = '' ) {
|
126 |
$sql = 't.*, g.id as object_id, g.name as object_name, g.slug as object_slug';
|
127 |
return $sql;
|
128 |
}
|
129 |
|
|
|
|
|
|
|
|
|
|
|
|
|
130 |
function groups_add_forum_tables_sql( $sql = '' ) {
|
131 |
global $bp;
|
132 |
|
@@ -135,6 +147,12 @@ function groups_add_forum_tables_sql( $sql = '' ) {
|
|
135 |
return $sql;
|
136 |
}
|
137 |
|
|
|
|
|
|
|
|
|
|
|
|
|
138 |
function groups_add_forum_where_sql( $sql = '' ) {
|
139 |
global $bp;
|
140 |
|
@@ -178,6 +196,14 @@ function groups_add_forum_where_sql( $sql = '' ) {
|
|
178 |
return $bp->groups->filter_sql;
|
179 |
}
|
180 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
181 |
function groups_filter_bbpress_caps( $value, $cap, $args ) {
|
182 |
global $bp;
|
183 |
|
@@ -195,11 +221,13 @@ function groups_filter_bbpress_caps( $value, $cap, $args ) {
|
|
195 |
add_filter( 'bb_current_user_can', 'groups_filter_bbpress_caps', 10, 3 );
|
196 |
|
197 |
/**
|
198 |
-
* Amends the forum directory's "last active" bbPress SQL query to stop it fetching
|
199 |
-
*
|
|
|
|
|
|
|
200 |
*
|
201 |
* @see BB_Query::_filter_sql()
|
202 |
-
* @since BuddyPress (1.5)
|
203 |
*/
|
204 |
function groups_filter_forums_root_page_sql( $sql ) {
|
205 |
return apply_filters( 'groups_filter_bbpress_root_page_sql', 't.topic_id' );
|
110 |
return wp_kses( $content, $tags );
|
111 |
}
|
112 |
|
113 |
+
/** Legacy group forums (bbPress 1.x) *****************************************/
|
114 |
|
115 |
/**
|
116 |
+
* Filter bbPress query SQL when on group pages or on forums directory.
|
117 |
*/
|
118 |
function groups_add_forum_privacy_sql() {
|
119 |
add_filter( 'get_topics_fields', 'groups_add_forum_fields_sql' );
|
122 |
}
|
123 |
add_filter( 'bbpress_init', 'groups_add_forum_privacy_sql' );
|
124 |
|
125 |
+
/**
|
126 |
+
* Add fields to bbPress query for group-specific data.
|
127 |
+
*
|
128 |
+
* @param string $sql
|
129 |
+
* @return string
|
130 |
+
*/
|
131 |
function groups_add_forum_fields_sql( $sql = '' ) {
|
132 |
$sql = 't.*, g.id as object_id, g.name as object_name, g.slug as object_slug';
|
133 |
return $sql;
|
134 |
}
|
135 |
|
136 |
+
/**
|
137 |
+
* Add JOINed tables to bbPress query for group-specific data.
|
138 |
+
*
|
139 |
+
* @param string $sql
|
140 |
+
* @return string
|
141 |
+
*/
|
142 |
function groups_add_forum_tables_sql( $sql = '' ) {
|
143 |
global $bp;
|
144 |
|
147 |
return $sql;
|
148 |
}
|
149 |
|
150 |
+
/**
|
151 |
+
* Add WHERE clauses to bbPress query for group-specific data and access protection.
|
152 |
+
*
|
153 |
+
* @param string $sql
|
154 |
+
* @return string
|
155 |
+
*/
|
156 |
function groups_add_forum_where_sql( $sql = '' ) {
|
157 |
global $bp;
|
158 |
|
196 |
return $bp->groups->filter_sql;
|
197 |
}
|
198 |
|
199 |
+
/**
|
200 |
+
* Modify bbPress caps for bp-forums.
|
201 |
+
*
|
202 |
+
* @param bool $value
|
203 |
+
* @param string $cap
|
204 |
+
* @param array $args
|
205 |
+
* @return bool
|
206 |
+
*/
|
207 |
function groups_filter_bbpress_caps( $value, $cap, $args ) {
|
208 |
global $bp;
|
209 |
|
221 |
add_filter( 'bb_current_user_can', 'groups_filter_bbpress_caps', 10, 3 );
|
222 |
|
223 |
/**
|
224 |
+
* Amends the forum directory's "last active" bbPress SQL query to stop it fetching information we aren't going to use.
|
225 |
+
*
|
226 |
+
* This speeds up the query.
|
227 |
+
*
|
228 |
+
* @since BuddyPress (1.5.0)
|
229 |
*
|
230 |
* @see BB_Query::_filter_sql()
|
|
|
231 |
*/
|
232 |
function groups_filter_forums_root_page_sql( $sql ) {
|
233 |
return apply_filters( 'groups_filter_bbpress_root_page_sql', 't.topic_id' );
|
bp-groups/bp-groups-forums.php
CHANGED
@@ -22,11 +22,11 @@ if ( !defined( 'ABSPATH' ) ) exit;
|
|
22 |
*
|
23 |
* Uses the bundled version of bbPress packaged with BuddyPress.
|
24 |
*
|
25 |
-
* @
|
26 |
-
* @param string $group_name The group name
|
27 |
-
* @param string $group_desc The group description
|
28 |
*
|
29 |
-
* @
|
|
|
|
|
30 |
*/
|
31 |
function groups_new_group_forum( $group_id = 0, $group_name = '', $group_desc = '' ) {
|
32 |
|
@@ -53,14 +53,11 @@ function groups_new_group_forum( $group_id = 0, $group_name = '', $group_desc =
|
|
53 |
}
|
54 |
|
55 |
/**
|
56 |
-
*
|
57 |
*
|
58 |
-
* @
|
59 |
-
* @subpackage Groups
|
60 |
-
*
|
61 |
-
* @param int $group_id Group id, passed from groups_details_updated
|
62 |
*
|
63 |
-
* @
|
64 |
*/
|
65 |
function groups_update_group_forum( $group_id ) {
|
66 |
|
@@ -87,16 +84,18 @@ function groups_update_group_forum( $group_id ) {
|
|
87 |
add_action( 'groups_details_updated', 'groups_update_group_forum' );
|
88 |
|
89 |
/**
|
90 |
-
*
|
91 |
*
|
92 |
* Uses the bundled version of bbPress packaged with BuddyPress.
|
93 |
*
|
94 |
-
* @
|
95 |
-
* @param int $topic_id The topic ID used so we can identify where the new forum post should reside
|
96 |
-
* @param mixed $page The page number where the new forum post should reside. Defaults to boolean false.
|
97 |
-
* @return mixed The new forum post ID on success. Boolean false on failure.
|
98 |
*
|
99 |
-
* @
|
|
|
|
|
|
|
|
|
|
|
100 |
*/
|
101 |
function groups_new_group_forum_post( $post_text, $topic_id, $page = false ) {
|
102 |
if ( empty( $post_text ) ) {
|
@@ -139,17 +138,17 @@ function groups_new_group_forum_post( $post_text, $topic_id, $page = false ) {
|
|
139 |
}
|
140 |
|
141 |
/**
|
142 |
-
*
|
143 |
*
|
144 |
* Uses the bundled version of bbPress packaged with BuddyPress.
|
145 |
*
|
146 |
-
* @
|
147 |
-
* @param string $topic_text The text for the forum topic
|
148 |
-
* @param string $topic_tags A comma-delimited string of topic tags
|
149 |
-
* @param int $forum_id The forum ID this forum topic resides in
|
150 |
-
* @return mixed The new topic object on success. Boolean false on failure.
|
151 |
*
|
152 |
-
* @
|
|
|
|
|
|
|
|
|
153 |
*/
|
154 |
function groups_new_group_forum_topic( $topic_title, $topic_text, $topic_tags, $forum_id ) {
|
155 |
if ( empty( $topic_title ) || empty( $topic_text ) )
|
@@ -190,17 +189,17 @@ function groups_new_group_forum_topic( $topic_title, $topic_text, $topic_tags, $
|
|
190 |
}
|
191 |
|
192 |
/**
|
193 |
-
*
|
194 |
*
|
195 |
* Uses the bundled version of bbPress packaged with BuddyPress.
|
196 |
*
|
197 |
-
* @
|
198 |
-
* @param string $topic_title The title for the forum topic
|
199 |
-
* @param string $topic_text The text for the forum topic
|
200 |
-
* @param mixed $topic_tags A comma-delimited string of topic tags. Defaults to boolean false.
|
201 |
-
* @return mixed The topic object on success. Boolean false on failure.
|
202 |
*
|
203 |
-
* @
|
|
|
|
|
|
|
|
|
204 |
*/
|
205 |
function groups_update_group_forum_topic( $topic_id, $topic_title, $topic_text, $topic_tags = false ) {
|
206 |
$bp = buddypress();
|
@@ -250,17 +249,18 @@ function groups_update_group_forum_topic( $topic_id, $topic_title, $topic_text,
|
|
250 |
}
|
251 |
|
252 |
/**
|
253 |
-
*
|
254 |
*
|
255 |
* Uses the bundled version of bbPress packaged with BuddyPress.
|
256 |
*
|
257 |
-
* @
|
258 |
-
* @param string $post_text The text for the forum post
|
259 |
-
* @param int $topic_id The topic ID of the existing forum topic
|
260 |
-
* @param mixed $page The page number where the new forum post should reside. Defaults to boolean false.
|
261 |
-
* @return mixed The forum post ID on success. Boolean false on failure.
|
262 |
*
|
263 |
-
* @
|
|
|
|
|
|
|
|
|
|
|
264 |
*/
|
265 |
function groups_update_group_forum_post( $post_id, $post_text, $topic_id, $page = false ) {
|
266 |
$bp = buddypress();
|
@@ -319,19 +319,14 @@ function groups_update_group_forum_post( $post_id, $post_text, $topic_id, $page
|
|
319 |
}
|
320 |
|
321 |
/**
|
322 |
-
*
|
323 |
*
|
324 |
* Uses the bundled version of bbPress packaged with BuddyPress.
|
325 |
*
|
326 |
-
* @
|
327 |
-
*
|
328 |
-
* @uses bp_activity_delete() to delete corresponding activity items
|
329 |
-
* @uses bp_forums_get_topic_posts() to get the child posts
|
330 |
-
* @uses bp_forums_delete_topic() to do the deletion itself
|
331 |
-
* @param int $topic_id The id of the topic to be deleted
|
332 |
-
* @return bool True if the delete routine went through properly
|
333 |
*
|
334 |
-
* @
|
|
|
335 |
*/
|
336 |
function groups_delete_group_forum_topic( $topic_id ) {
|
337 |
$bp = buddypress();
|
@@ -372,19 +367,17 @@ function groups_delete_group_forum_topic( $topic_id ) {
|
|
372 |
}
|
373 |
|
374 |
/**
|
375 |
-
*
|
376 |
*
|
377 |
* Uses the bundled version of bbPress packaged with BuddyPress.
|
378 |
*
|
379 |
-
* @
|
380 |
*
|
381 |
-
* @param int $post_id The
|
382 |
* @param int $topic_id Optional. The topic to which the post belongs. This
|
383 |
-
*
|
384 |
-
*
|
385 |
* @return bool True on success.
|
386 |
-
*
|
387 |
-
* @since BuddyPress (1.1)
|
388 |
*/
|
389 |
function groups_delete_group_forum_post( $post_id, $topic_id = false ) {
|
390 |
|
@@ -410,26 +403,27 @@ function groups_delete_group_forum_post( $post_id, $topic_id = false ) {
|
|
410 |
}
|
411 |
|
412 |
/**
|
413 |
-
* Get a total count of all public topics of a given type, across groups/forums
|
414 |
*
|
415 |
-
* @
|
416 |
-
* @since BuddyPress (1.5)
|
417 |
*
|
418 |
-
* @param string $type Either 'newest', 'popular', 'unreplied', 'tags'.
|
419 |
-
*
|
|
|
420 |
*/
|
421 |
function groups_total_public_forum_topic_count( $type = 'newest' ) {
|
422 |
return apply_filters( 'groups_total_public_forum_topic_count', BP_Groups_Group::get_global_forum_topic_count( $type ) );
|
423 |
}
|
424 |
|
425 |
/**
|
426 |
-
* Get a total count of all topics of a given status, across groups/forums
|
427 |
*
|
428 |
-
* @
|
429 |
-
* @since BuddyPress (1.5)
|
430 |
*
|
431 |
-
* @param string $status 'public', 'private', 'hidden',
|
432 |
-
*
|
|
|
|
|
433 |
*/
|
434 |
function groups_total_forum_topic_count( $status = 'public', $search_terms = false ) {
|
435 |
return apply_filters( 'groups_total_forum_topic_count', BP_Groups_Group::get_global_topic_count( $status, $search_terms ) );
|
22 |
*
|
23 |
* Uses the bundled version of bbPress packaged with BuddyPress.
|
24 |
*
|
25 |
+
* @since BuddyPress (1.0.0)
|
|
|
|
|
26 |
*
|
27 |
+
* @param int $group_id The group ID that the new forum should be attached to.
|
28 |
+
* @param string $group_name The group name.
|
29 |
+
* @param string $group_desc The group description.
|
30 |
*/
|
31 |
function groups_new_group_forum( $group_id = 0, $group_name = '', $group_desc = '' ) {
|
32 |
|
53 |
}
|
54 |
|
55 |
/**
|
56 |
+
* Update group forum metadata (title, description, slug) when the group's details are edited.
|
57 |
*
|
58 |
+
* @since BuddyPress (1.1.0)
|
|
|
|
|
|
|
59 |
*
|
60 |
+
* @param int $group_id Group id, passed from groups_details_updated.
|
61 |
*/
|
62 |
function groups_update_group_forum( $group_id ) {
|
63 |
|
84 |
add_action( 'groups_details_updated', 'groups_update_group_forum' );
|
85 |
|
86 |
/**
|
87 |
+
* Create a new group forum post.
|
88 |
*
|
89 |
* Uses the bundled version of bbPress packaged with BuddyPress.
|
90 |
*
|
91 |
+
* @since BuddyPress (1.0.0)
|
|
|
|
|
|
|
92 |
*
|
93 |
+
* @param string $post_text The text for the forum post.
|
94 |
+
* @param int $topic_id The topic ID used so we can identify where the new
|
95 |
+
* forum post should reside.
|
96 |
+
* @param mixed $page The page number where the new forum post should reside.
|
97 |
+
* Default: false.
|
98 |
+
* @return mixed The new forum post ID on success. Boolean false on failure.
|
99 |
*/
|
100 |
function groups_new_group_forum_post( $post_text, $topic_id, $page = false ) {
|
101 |
if ( empty( $post_text ) ) {
|
138 |
}
|
139 |
|
140 |
/**
|
141 |
+
* Create a new group forum topic.
|
142 |
*
|
143 |
* Uses the bundled version of bbPress packaged with BuddyPress.
|
144 |
*
|
145 |
+
* @since BuddyPress (1.0.0)
|
|
|
|
|
|
|
|
|
146 |
*
|
147 |
+
* @param string $topic_title The title for the forum topic.
|
148 |
+
* @param string $topic_text The text for the forum topic.
|
149 |
+
* @param string $topic_tags A comma-delimited string of topic tags.
|
150 |
+
* @param int $forum_id The forum ID this forum topic resides in.
|
151 |
+
* @return mixed The new topic object on success. Boolean false on failure.
|
152 |
*/
|
153 |
function groups_new_group_forum_topic( $topic_title, $topic_text, $topic_tags, $forum_id ) {
|
154 |
if ( empty( $topic_title ) || empty( $topic_text ) )
|
189 |
}
|
190 |
|
191 |
/**
|
192 |
+
* Update an existing group forum topic.
|
193 |
*
|
194 |
* Uses the bundled version of bbPress packaged with BuddyPress.
|
195 |
*
|
196 |
+
* @since BuddyPress (1.1.0)
|
|
|
|
|
|
|
|
|
197 |
*
|
198 |
+
* @param int $topic_id The topic ID of the existing forum topic.
|
199 |
+
* @param string $topic_title The title for the forum topic.
|
200 |
+
* @param string $topic_text The text for the forum topic.
|
201 |
+
* @param mixed $topic_tags A comma-delimited string of topic tags. Optional.
|
202 |
+
* @return mixed The topic object on success. Boolean false on failure.
|
203 |
*/
|
204 |
function groups_update_group_forum_topic( $topic_id, $topic_title, $topic_text, $topic_tags = false ) {
|
205 |
$bp = buddypress();
|
249 |
}
|
250 |
|
251 |
/**
|
252 |
+
* Update an existing group forum post.
|
253 |
*
|
254 |
* Uses the bundled version of bbPress packaged with BuddyPress.
|
255 |
*
|
256 |
+
* @since BuddyPress (1.1.0)
|
|
|
|
|
|
|
|
|
257 |
*
|
258 |
+
* @param int $post_id The post ID of the existing forum post.
|
259 |
+
* @param string $post_text The text for the forum post.
|
260 |
+
* @param int $topic_id The topic ID of the existing forum topic.
|
261 |
+
* @param mixed $page The page number where the new forum post should reside.
|
262 |
+
* Optional.
|
263 |
+
* @return mixed The forum post ID on success. Boolean false on failure.
|
264 |
*/
|
265 |
function groups_update_group_forum_post( $post_id, $post_text, $topic_id, $page = false ) {
|
266 |
$bp = buddypress();
|
319 |
}
|
320 |
|
321 |
/**
|
322 |
+
* Delete a group forum topic and also any corresponding activity items.
|
323 |
*
|
324 |
* Uses the bundled version of bbPress packaged with BuddyPress.
|
325 |
*
|
326 |
+
* @since BuddyPress (1.1.0)
|
|
|
|
|
|
|
|
|
|
|
|
|
327 |
*
|
328 |
+
* @param int $topic_id The ID of the topic to be deleted.
|
329 |
+
* @return bool True if the delete routine went through properly.
|
330 |
*/
|
331 |
function groups_delete_group_forum_topic( $topic_id ) {
|
332 |
$bp = buddypress();
|
367 |
}
|
368 |
|
369 |
/**
|
370 |
+
* Delete a group forum post and its corresponding activity item.
|
371 |
*
|
372 |
* Uses the bundled version of bbPress packaged with BuddyPress.
|
373 |
*
|
374 |
+
* @since BuddyPress (1.1.0)
|
375 |
*
|
376 |
+
* @param int $post_id The ID of the post you want to delete.
|
377 |
* @param int $topic_id Optional. The topic to which the post belongs. This
|
378 |
+
* value isn't used in the function but is passed along to do_action()
|
379 |
+
* hooks.
|
380 |
* @return bool True on success.
|
|
|
|
|
381 |
*/
|
382 |
function groups_delete_group_forum_post( $post_id, $topic_id = false ) {
|
383 |
|
403 |
}
|
404 |
|
405 |
/**
|
406 |
+
* Get a total count of all public topics of a given type, across groups/forums.
|
407 |
*
|
408 |
+
* @since BuddyPress (1.5.0)
|
|
|
409 |
*
|
410 |
+
* @param string $type Either 'newest', 'popular', 'unreplied', 'tags'.
|
411 |
+
* Default: 'newest'.
|
412 |
+
* @return int The topic count.
|
413 |
*/
|
414 |
function groups_total_public_forum_topic_count( $type = 'newest' ) {
|
415 |
return apply_filters( 'groups_total_public_forum_topic_count', BP_Groups_Group::get_global_forum_topic_count( $type ) );
|
416 |
}
|
417 |
|
418 |
/**
|
419 |
+
* Get a total count of all topics of a given status, across groups/forums.
|
420 |
*
|
421 |
+
* @since BuddyPress (1.5.0)
|
|
|
422 |
*
|
423 |
+
* @param string $status Which groups to count. 'public', 'private', 'hidden',
|
424 |
+
* 'all'. Default: 'public'.
|
425 |
+
* @param string $search_terms Optional. Limit by a search term.
|
426 |
+
* @return int The topic count.
|
427 |
*/
|
428 |
function groups_total_forum_topic_count( $status = 'public', $search_terms = false ) {
|
429 |
return apply_filters( 'groups_total_forum_topic_count', BP_Groups_Group::get_global_topic_count( $status, $search_terms ) );
|
bp-groups/bp-groups-functions.php
CHANGED
@@ -16,9 +16,9 @@
|
|
16 |
if ( !defined( 'ABSPATH' ) ) exit;
|
17 |
|
18 |
/**
|
19 |
-
*
|
20 |
*
|
21 |
-
* @since BuddyPress (1.5)
|
22 |
*
|
23 |
* @global BuddyPress $bp The one true BuddyPress instance
|
24 |
* @return bool True if set, False if empty
|
@@ -30,14 +30,19 @@ function bp_groups_has_directory() {
|
|
30 |
}
|
31 |
|
32 |
/**
|
33 |
-
*
|
34 |
*
|
35 |
* When calling up a group object, you should always use this function instead
|
36 |
* of instantiating BP_Groups_Group directly, so that you will inherit cache
|
37 |
* support and pass through the groups_get_group filter.
|
38 |
*
|
39 |
-
* @param
|
40 |
-
*
|
|
|
|
|
|
|
|
|
|
|
41 |
*/
|
42 |
function groups_get_group( $args = '' ) {
|
43 |
$r = wp_parse_args( $args, array(
|
@@ -55,7 +60,7 @@ function groups_get_group( $args = '' ) {
|
|
55 |
return apply_filters( 'groups_get_group', $group );
|
56 |
}
|
57 |
|
58 |
-
|
59 |
|
60 |
/**
|
61 |
* Create a group.
|
@@ -163,6 +168,19 @@ function groups_create_group( $args = '' ) {
|
|
163 |
return $group->id;
|
164 |
}
|
165 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
166 |
function groups_edit_base_group_details( $group_id, $group_name, $group_desc, $notify_members ) {
|
167 |
|
168 |
if ( empty( $group_name ) || empty( $group_desc ) )
|
@@ -184,6 +202,19 @@ function groups_edit_base_group_details( $group_id, $group_name, $group_desc, $n
|
|
184 |
return true;
|
185 |
}
|
186 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
187 |
function groups_edit_group_settings( $group_id, $enable_forum, $status, $invite_status = false ) {
|
188 |
|
189 |
$group = groups_get_group( array( 'group_id' => $group_id ) );
|
@@ -220,11 +251,12 @@ function groups_edit_group_settings( $group_id, $enable_forum, $status, $invite_
|
|
220 |
}
|
221 |
|
222 |
/**
|
223 |
-
* Delete a group and all of its associated
|
|
|
|
|
224 |
*
|
225 |
-
* @
|
226 |
-
* @
|
227 |
-
* @since BuddyPress (1.0)
|
228 |
*/
|
229 |
function groups_delete_group( $group_id ) {
|
230 |
|
@@ -246,12 +278,24 @@ function groups_delete_group( $group_id ) {
|
|
246 |
return true;
|
247 |
}
|
248 |
|
|
|
|
|
|
|
|
|
|
|
|
|
249 |
function groups_is_valid_status( $status ) {
|
250 |
global $bp;
|
251 |
|
252 |
return in_array( $status, (array) $bp->groups->valid_status );
|
253 |
}
|
254 |
|
|
|
|
|
|
|
|
|
|
|
|
|
255 |
function groups_check_slug( $slug ) {
|
256 |
global $bp;
|
257 |
|
@@ -272,10 +316,10 @@ function groups_check_slug( $slug ) {
|
|
272 |
}
|
273 |
|
274 |
/**
|
275 |
-
* Get a group slug by its ID
|
276 |
*
|
277 |
-
* @param int $group_id The numeric ID of the group
|
278 |
-
* @return string The group's slug
|
279 |
*/
|
280 |
function groups_get_slug( $group_id ) {
|
281 |
$group = groups_get_group( array( 'group_id' => $group_id ) );
|
@@ -283,19 +327,27 @@ function groups_get_slug( $group_id ) {
|
|
283 |
}
|
284 |
|
285 |
/**
|
286 |
-
* Get a group ID by its slug
|
287 |
*
|
288 |
-
* @since BuddyPress (1.6)
|
289 |
*
|
290 |
-
* @param string $group_slug The group's slug
|
291 |
-
* @return int The ID
|
292 |
*/
|
293 |
function groups_get_id( $group_slug ) {
|
294 |
return (int)BP_Groups_Group::group_exists( $group_slug );
|
295 |
}
|
296 |
|
297 |
-
|
298 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
299 |
function groups_leave_group( $group_id, $user_id = 0 ) {
|
300 |
global $bp;
|
301 |
|
@@ -322,6 +374,14 @@ function groups_leave_group( $group_id, $user_id = 0 ) {
|
|
322 |
return true;
|
323 |
}
|
324 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
325 |
function groups_join_group( $group_id, $user_id = 0 ) {
|
326 |
global $bp;
|
327 |
|
@@ -372,12 +432,24 @@ function groups_join_group( $group_id, $user_id = 0 ) {
|
|
372 |
return true;
|
373 |
}
|
374 |
|
375 |
-
|
376 |
|
|
|
|
|
|
|
|
|
|
|
|
|
377 |
function groups_get_group_admins( $group_id ) {
|
378 |
return BP_Groups_Member::get_group_administrator_ids( $group_id );
|
379 |
}
|
380 |
|
|
|
|
|
|
|
|
|
|
|
|
|
381 |
function groups_get_group_mods( $group_id ) {
|
382 |
return BP_Groups_Member::get_group_moderator_ids( $group_id );
|
383 |
}
|
@@ -488,19 +560,29 @@ function groups_get_group_members( $args = array() ) {
|
|
488 |
return $retval;
|
489 |
}
|
490 |
|
|
|
|
|
|
|
|
|
|
|
|
|
491 |
function groups_get_total_member_count( $group_id ) {
|
492 |
return BP_Groups_Group::get_total_member_count( $group_id );
|
493 |
}
|
494 |
|
495 |
-
|
496 |
|
497 |
/**
|
498 |
-
* Get a collection of groups, based on the parameters passed
|
499 |
*
|
500 |
-
* @
|
501 |
-
*
|
502 |
-
*
|
503 |
-
*
|
|
|
|
|
|
|
|
|
504 |
*/
|
505 |
function groups_get_groups( $args = '' ) {
|
506 |
|
@@ -541,6 +623,11 @@ function groups_get_groups( $args = '' ) {
|
|
541 |
return apply_filters_ref_array( 'groups_get_groups', array( &$groups, &$r ) );
|
542 |
}
|
543 |
|
|
|
|
|
|
|
|
|
|
|
544 |
function groups_get_total_group_count() {
|
545 |
if ( !$count = wp_cache_get( 'bp_total_group_count', 'bp' ) ) {
|
546 |
$count = BP_Groups_Group::get_total_group_count();
|
@@ -550,6 +637,19 @@ function groups_get_total_group_count() {
|
|
550 |
return $count;
|
551 |
}
|
552 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
553 |
function groups_get_user_groups( $user_id = 0, $pag_num = 0, $pag_page = 0 ) {
|
554 |
|
555 |
if ( empty( $user_id ) )
|
@@ -558,6 +658,12 @@ function groups_get_user_groups( $user_id = 0, $pag_num = 0, $pag_page = 0 ) {
|
|
558 |
return BP_Groups_Member::get_group_ids( $user_id, $pag_num, $pag_page );
|
559 |
}
|
560 |
|
|
|
|
|
|
|
|
|
|
|
|
|
561 |
function groups_total_groups_for_user( $user_id = 0 ) {
|
562 |
|
563 |
if ( empty( $user_id ) )
|
@@ -572,12 +678,11 @@ function groups_total_groups_for_user( $user_id = 0 ) {
|
|
572 |
}
|
573 |
|
574 |
/**
|
575 |
-
*
|
576 |
*
|
577 |
-
* @
|
578 |
-
* @since BuddyPress (1.5)
|
579 |
*
|
580 |
-
* @return BP_Groups_Group The current group object
|
581 |
*/
|
582 |
function groups_get_current_group() {
|
583 |
global $bp;
|
@@ -587,8 +692,15 @@ function groups_get_current_group() {
|
|
587 |
return apply_filters( 'groups_get_current_group', $current_group );
|
588 |
}
|
589 |
|
590 |
-
|
591 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
592 |
function groups_avatar_upload_dir( $group_id = 0 ) {
|
593 |
global $bp;
|
594 |
|
@@ -608,16 +720,37 @@ function groups_avatar_upload_dir( $group_id = 0 ) {
|
|
608 |
return apply_filters( 'groups_avatar_upload_dir', array( 'path' => $path, 'url' => $newurl, 'subdir' => $newsubdir, 'basedir' => $newbdir, 'baseurl' => $newburl, 'error' => false ) );
|
609 |
}
|
610 |
|
611 |
-
|
612 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
613 |
function groups_is_user_admin( $user_id, $group_id ) {
|
614 |
return BP_Groups_Member::check_is_admin( $user_id, $group_id );
|
615 |
}
|
616 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
617 |
function groups_is_user_mod( $user_id, $group_id ) {
|
618 |
return BP_Groups_Member::check_is_mod( $user_id, $group_id );
|
619 |
}
|
620 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
621 |
function groups_is_user_member( $user_id, $group_id ) {
|
622 |
return BP_Groups_Member::check_is_member( $user_id, $group_id );
|
623 |
}
|
@@ -629,17 +762,33 @@ function groups_is_user_banned( $user_id, $group_id ) {
|
|
629 |
/**
|
630 |
* Is the specified user the creator of the group?
|
631 |
*
|
632 |
-
* @param int $user_id
|
633 |
-
* @param int $group_id
|
634 |
* @since BuddyPress (1.2.6)
|
635 |
-
*
|
|
|
|
|
|
|
636 |
*/
|
637 |
function groups_is_user_creator( $user_id, $group_id ) {
|
638 |
return BP_Groups_Member::check_is_creator( $user_id, $group_id );
|
639 |
}
|
640 |
|
641 |
-
|
642 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
643 |
function groups_post_update( $args = '' ) {
|
644 |
global $bp;
|
645 |
|
@@ -682,8 +831,16 @@ function groups_post_update( $args = '' ) {
|
|
682 |
return $activity_id;
|
683 |
}
|
684 |
|
685 |
-
|
686 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
687 |
function groups_get_invites_for_user( $user_id = 0, $limit = false, $page = false, $exclude = false ) {
|
688 |
|
689 |
if ( empty( $user_id ) )
|
@@ -693,11 +850,11 @@ function groups_get_invites_for_user( $user_id = 0, $limit = false, $page = fals
|
|
693 |
}
|
694 |
|
695 |
/**
|
696 |
-
*
|
697 |
*
|
698 |
* @since BuddyPress (2.0.0)
|
699 |
*
|
700 |
-
* @param int $user_id The user ID
|
701 |
* @return int
|
702 |
*/
|
703 |
function groups_get_invite_count_for_user( $user_id = 0 ) {
|
@@ -708,6 +865,22 @@ function groups_get_invite_count_for_user( $user_id = 0 ) {
|
|
708 |
return BP_Groups_Member::get_invite_count_for_user( $user_id );
|
709 |
}
|
710 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
711 |
function groups_invite_user( $args = '' ) {
|
712 |
|
713 |
$defaults = array(
|
@@ -746,6 +919,15 @@ function groups_invite_user( $args = '' ) {
|
|
746 |
return true;
|
747 |
}
|
748 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
749 |
function groups_uninvite_user( $user_id, $group_id ) {
|
750 |
|
751 |
if ( !BP_Groups_Member::delete( $user_id, $group_id ) )
|
@@ -761,9 +943,9 @@ function groups_uninvite_user( $user_id, $group_id ) {
|
|
761 |
*
|
762 |
* Returns true if a user is already a member of the group.
|
763 |
*
|
764 |
-
* @param int $user_id
|
765 |
-
* @param int $group_id
|
766 |
-
* @return bool True when the user is a member of the group, otherwise false
|
767 |
*/
|
768 |
function groups_accept_invite( $user_id, $group_id ) {
|
769 |
|
@@ -801,6 +983,13 @@ function groups_accept_invite( $user_id, $group_id ) {
|
|
801 |
return true;
|
802 |
}
|
803 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
804 |
function groups_reject_invite( $user_id, $group_id ) {
|
805 |
if ( ! BP_Groups_Member::delete( $user_id, $group_id ) )
|
806 |
return false;
|
@@ -810,6 +999,13 @@ function groups_reject_invite( $user_id, $group_id ) {
|
|
810 |
return true;
|
811 |
}
|
812 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
813 |
function groups_delete_invite( $user_id, $group_id ) {
|
814 |
if ( ! BP_Groups_Member::delete_invite( $user_id, $group_id ) )
|
815 |
return false;
|
@@ -819,6 +1015,12 @@ function groups_delete_invite( $user_id, $group_id ) {
|
|
819 |
return true;
|
820 |
}
|
821 |
|
|
|
|
|
|
|
|
|
|
|
|
|
822 |
function groups_send_invites( $user_id, $group_id ) {
|
823 |
|
824 |
if ( empty( $user_id ) )
|
@@ -846,29 +1048,42 @@ function groups_get_invites_for_group( $user_id, $group_id ) {
|
|
846 |
}
|
847 |
|
848 |
/**
|
849 |
-
* Check to see whether a user has already been invited to a group
|
850 |
*
|
851 |
-
* By default, the function checks for invitations that have been sent.
|
852 |
-
* parameter will return unsent invitations as
|
853 |
-
* duplicated)
|
854 |
*
|
855 |
-
* @
|
856 |
-
*
|
857 |
-
* @param
|
858 |
-
*
|
859 |
-
* @
|
860 |
-
* @return bool Returns true if an invitation is found
|
861 |
*/
|
862 |
function groups_check_user_has_invite( $user_id, $group_id, $type = 'sent' ) {
|
863 |
return BP_Groups_Member::check_has_invite( $user_id, $group_id, $type );
|
864 |
}
|
865 |
|
|
|
|
|
|
|
|
|
|
|
|
|
866 |
function groups_delete_all_group_invites( $group_id ) {
|
867 |
return BP_Groups_Group::delete_all_invites( $group_id );
|
868 |
}
|
869 |
|
870 |
-
|
871 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
872 |
function groups_promote_member( $user_id, $group_id, $status ) {
|
873 |
|
874 |
if ( ! bp_is_item_admin() )
|
@@ -885,6 +1100,13 @@ function groups_promote_member( $user_id, $group_id, $status ) {
|
|
885 |
return $member->promote( $status );
|
886 |
}
|
887 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
888 |
function groups_demote_member( $user_id, $group_id ) {
|
889 |
|
890 |
if ( ! bp_is_item_admin() )
|
@@ -897,6 +1119,13 @@ function groups_demote_member( $user_id, $group_id ) {
|
|
897 |
return $member->demote();
|
898 |
}
|
899 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
900 |
function groups_ban_member( $user_id, $group_id ) {
|
901 |
|
902 |
if ( ! bp_is_item_admin() )
|
@@ -909,6 +1138,13 @@ function groups_ban_member( $user_id, $group_id ) {
|
|
909 |
return $member->ban();
|
910 |
}
|
911 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
912 |
function groups_unban_member( $user_id, $group_id ) {
|
913 |
|
914 |
if ( ! bp_is_item_admin() )
|
@@ -921,8 +1157,15 @@ function groups_unban_member( $user_id, $group_id ) {
|
|
921 |
return $member->unban();
|
922 |
}
|
923 |
|
924 |
-
|
925 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
926 |
function groups_remove_member( $user_id, $group_id ) {
|
927 |
|
928 |
if ( ! bp_is_item_admin() )
|
@@ -935,8 +1178,15 @@ function groups_remove_member( $user_id, $group_id ) {
|
|
935 |
return $member->remove();
|
936 |
}
|
937 |
|
938 |
-
|
939 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
940 |
function groups_send_membership_request( $requesting_user_id, $group_id ) {
|
941 |
|
942 |
// Prevent duplicate requests
|
@@ -978,6 +1228,17 @@ function groups_send_membership_request( $requesting_user_id, $group_id ) {
|
|
978 |
return false;
|
979 |
}
|
980 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
981 |
function groups_accept_membership_request( $membership_id, $user_id = 0, $group_id = 0 ) {
|
982 |
|
983 |
if ( !empty( $user_id ) && !empty( $group_id ) ) {
|
@@ -1002,6 +1263,17 @@ function groups_accept_membership_request( $membership_id, $user_id = 0, $group_
|
|
1002 |
return true;
|
1003 |
}
|
1004 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1005 |
function groups_reject_membership_request( $membership_id, $user_id = 0, $group_id = 0 ) {
|
1006 |
if ( !$membership = groups_delete_membership_request( $membership_id, $user_id, $group_id ) ) {
|
1007 |
return false;
|
@@ -1012,6 +1284,17 @@ function groups_reject_membership_request( $membership_id, $user_id = 0, $group_
|
|
1012 |
return true;
|
1013 |
}
|
1014 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1015 |
function groups_delete_membership_request( $membership_id, $user_id = 0, $group_id = 0 ) {
|
1016 |
if ( !empty( $user_id ) && !empty( $group_id ) )
|
1017 |
$membership = new BP_Groups_Member( $user_id, $group_id );
|
@@ -1024,10 +1307,23 @@ function groups_delete_membership_request( $membership_id, $user_id = 0, $group_
|
|
1024 |
return $membership;
|
1025 |
}
|
1026 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1027 |
function groups_check_for_membership_request( $user_id, $group_id ) {
|
1028 |
return BP_Groups_Member::check_for_membership_request( $user_id, $group_id );
|
1029 |
}
|
1030 |
|
|
|
|
|
|
|
|
|
|
|
|
|
1031 |
function groups_accept_all_pending_membership_requests( $group_id ) {
|
1032 |
$user_ids = BP_Groups_Member::get_all_membership_request_user_ids( $group_id );
|
1033 |
|
@@ -1042,7 +1338,7 @@ function groups_accept_all_pending_membership_requests( $group_id ) {
|
|
1042 |
return true;
|
1043 |
}
|
1044 |
|
1045 |
-
|
1046 |
|
1047 |
/**
|
1048 |
* Delete metadata for a group.
|
@@ -1143,8 +1439,15 @@ function groups_add_groupmeta( $group_id, $meta_key, $meta_value, $unique = fals
|
|
1143 |
return $retval;
|
1144 |
}
|
1145 |
|
1146 |
-
|
1147 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1148 |
function groups_remove_data_for_user( $user_id ) {
|
1149 |
BP_Groups_Member::delete_all_for_user( $user_id );
|
1150 |
|
16 |
if ( !defined( 'ABSPATH' ) ) exit;
|
17 |
|
18 |
/**
|
19 |
+
* Check whether there is a Groups directory page in the $bp global.
|
20 |
*
|
21 |
+
* @since BuddyPress (1.5.0)
|
22 |
*
|
23 |
* @global BuddyPress $bp The one true BuddyPress instance
|
24 |
* @return bool True if set, False if empty
|
30 |
}
|
31 |
|
32 |
/**
|
33 |
+
* Fetch a single group object.
|
34 |
*
|
35 |
* When calling up a group object, you should always use this function instead
|
36 |
* of instantiating BP_Groups_Group directly, so that you will inherit cache
|
37 |
* support and pass through the groups_get_group filter.
|
38 |
*
|
39 |
+
* @param array $args {
|
40 |
+
* Array of al arguments.
|
41 |
+
* @type int $group_id ID of the group.
|
42 |
+
* @type bool $load_users No longer used.
|
43 |
+
* @type bool $populate_extras Whether to fetch membership data and other
|
44 |
+
* extra information about the group. Default: false.
|
45 |
+
* @return BP_Groups_Group $group The group object.
|
46 |
*/
|
47 |
function groups_get_group( $args = '' ) {
|
48 |
$r = wp_parse_args( $args, array(
|
60 |
return apply_filters( 'groups_get_group', $group );
|
61 |
}
|
62 |
|
63 |
+
/** Group Creation, Editing & Deletion ****************************************/
|
64 |
|
65 |
/**
|
66 |
* Create a group.
|
168 |
return $group->id;
|
169 |
}
|
170 |
|
171 |
+
/**
|
172 |
+
* Edit the base details for a group.
|
173 |
+
*
|
174 |
+
* These are the settings that appear on the first page of the group's Admin
|
175 |
+
* section (Name, Description, and "Notify members...").
|
176 |
+
*
|
177 |
+
* @param int $group_id ID of the group.
|
178 |
+
* @param string $group_name Name of the group.
|
179 |
+
* @param string $group_desc Description of the group.
|
180 |
+
* @param bool $notify_members Whether to send an email notification to group
|
181 |
+
* members about changes in these details.
|
182 |
+
* @return bool True on success, false on failure.
|
183 |
+
*/
|
184 |
function groups_edit_base_group_details( $group_id, $group_name, $group_desc, $notify_members ) {
|
185 |
|
186 |
if ( empty( $group_name ) || empty( $group_desc ) )
|
202 |
return true;
|
203 |
}
|
204 |
|
205 |
+
/**
|
206 |
+
* Edit the base details for a group.
|
207 |
+
*
|
208 |
+
* These are the settings that appear on the Settings page of the group's Admin
|
209 |
+
* section (privacy settings, "enable forum", invitation status).
|
210 |
+
*
|
211 |
+
* @param int $group_id ID of the group.
|
212 |
+
* @param bool $enable_forum Whether to enable a forum for the group.
|
213 |
+
* @param string $status Group status. 'public', 'private', 'hidden'.
|
214 |
+
* @param string $invite_status Optional. Who is allowed to send invitations
|
215 |
+
* to the group. 'members', 'mods', or 'admins'.
|
216 |
+
* @return bool True on success, false on failure.
|
217 |
+
*/
|
218 |
function groups_edit_group_settings( $group_id, $enable_forum, $status, $invite_status = false ) {
|
219 |
|
220 |
$group = groups_get_group( array( 'group_id' => $group_id ) );
|
251 |
}
|
252 |
|
253 |
/**
|
254 |
+
* Delete a group and all of its associated metadata.
|
255 |
+
*
|
256 |
+
* @since BuddyPress (1.0.0)
|
257 |
*
|
258 |
+
* @param int $group_id ID of the group to delete.
|
259 |
+
* @return bool True on success, false on failure.
|
|
|
260 |
*/
|
261 |
function groups_delete_group( $group_id ) {
|
262 |
|
278 |
return true;
|
279 |
}
|
280 |
|
281 |
+
/**
|
282 |
+
* Check a group status (eg 'private') against the whitelist of registered statuses.
|
283 |
+
*
|
284 |
+
* @param string $status Status to check.
|
285 |
+
* @return bool True if status is allowed, otherwise false.
|
286 |
+
*/
|
287 |
function groups_is_valid_status( $status ) {
|
288 |
global $bp;
|
289 |
|
290 |
return in_array( $status, (array) $bp->groups->valid_status );
|
291 |
}
|
292 |
|
293 |
+
/**
|
294 |
+
* Provide a unique, sanitized version of a group slug.
|
295 |
+
*
|
296 |
+
* @param string $slug Group slug to check.
|
297 |
+
* @return A unique and sanitized slug.
|
298 |
+
*/
|
299 |
function groups_check_slug( $slug ) {
|
300 |
global $bp;
|
301 |
|
316 |
}
|
317 |
|
318 |
/**
|
319 |
+
* Get a group slug by its ID.
|
320 |
*
|
321 |
+
* @param int $group_id The numeric ID of the group.
|
322 |
+
* @return string The group's slug.
|
323 |
*/
|
324 |
function groups_get_slug( $group_id ) {
|
325 |
$group = groups_get_group( array( 'group_id' => $group_id ) );
|
327 |
}
|
328 |
|
329 |
/**
|
330 |
+
* Get a group ID by its slug.
|
331 |
*
|
332 |
+
* @since BuddyPress (1.6.0)
|
333 |
*
|
334 |
+
* @param string $group_slug The group's slug.
|
335 |
+
* @return int The ID.
|
336 |
*/
|
337 |
function groups_get_id( $group_slug ) {
|
338 |
return (int)BP_Groups_Group::group_exists( $group_slug );
|
339 |
}
|
340 |
|
341 |
+
/** User Actions **************************************************************/
|
342 |
|
343 |
+
/**
|
344 |
+
* Remove a user from a group.
|
345 |
+
*
|
346 |
+
* @param int $group_id ID of the group.
|
347 |
+
* @param int $user_id Optional. ID of the user. Defaults to the currently
|
348 |
+
* logged-in user.
|
349 |
+
* @return bool True on success, false on failure.
|
350 |
+
*/
|
351 |
function groups_leave_group( $group_id, $user_id = 0 ) {
|
352 |
global $bp;
|
353 |
|
374 |
return true;
|
375 |
}
|
376 |
|
377 |
+
/**
|
378 |
+
* Add a user to a group.
|
379 |
+
*
|
380 |
+
* @param int $group_id ID of the group.
|
381 |
+
* @param int $user_id Optional. ID of the user. Defaults to the currently
|
382 |
+
* logged-in user.
|
383 |
+
* @return bool True on success, false on failure.
|
384 |
+
*/
|
385 |
function groups_join_group( $group_id, $user_id = 0 ) {
|
386 |
global $bp;
|
387 |
|
432 |
return true;
|
433 |
}
|
434 |
|
435 |
+
/** General Group Functions ***************************************************/
|
436 |
|
437 |
+
/**
|
438 |
+
* Get a list of group administrators.
|
439 |
+
*
|
440 |
+
* @param int $group_id ID of the group.
|
441 |
+
* @return array Info about group admins (user_id + date_modified).
|
442 |
+
*/
|
443 |
function groups_get_group_admins( $group_id ) {
|
444 |
return BP_Groups_Member::get_group_administrator_ids( $group_id );
|
445 |
}
|
446 |
|
447 |
+
/**
|
448 |
+
* Get a list of group moderators.
|
449 |
+
*
|
450 |
+
* @param int $group_id ID of the group.
|
451 |
+
* @return array Info about group admins (user_id + date_modified).
|
452 |
+
*/
|
453 |
function groups_get_group_mods( $group_id ) {
|
454 |
return BP_Groups_Member::get_group_moderator_ids( $group_id );
|
455 |
}
|
560 |
return $retval;
|
561 |
}
|
562 |
|
563 |
+
/**
|
564 |
+
* Get the member count for a group.
|
565 |
+
*
|
566 |
+
* @param int $group_id Group ID.
|
567 |
+
* @return int Count of confirmed members for the group.
|
568 |
+
*/
|
569 |
function groups_get_total_member_count( $group_id ) {
|
570 |
return BP_Groups_Group::get_total_member_count( $group_id );
|
571 |
}
|
572 |
|
573 |
+
/** Group Fetching, Filtering & Searching ************************************/
|
574 |
|
575 |
/**
|
576 |
+
* Get a collection of groups, based on the parameters passed.
|
577 |
*
|
578 |
+
* @param array $args {
|
579 |
+
* Array of arguments. Supports all arguments of
|
580 |
+
* {@link BP_Groups_Group::get()}. Where the default values differ, they
|
581 |
+
* have been described here.
|
582 |
+
* @type int $per_page Default: 20.
|
583 |
+
* @type int $page Default: 1.
|
584 |
+
* }
|
585 |
+
* @return array See {@link BP_Groups_Group::get()}.
|
586 |
*/
|
587 |
function groups_get_groups( $args = '' ) {
|
588 |
|
623 |
return apply_filters_ref_array( 'groups_get_groups', array( &$groups, &$r ) );
|
624 |
}
|
625 |
|
626 |
+
/**
|
627 |
+
* Get the total group count for the site.
|
628 |
+
*
|
629 |
+
* @return int
|
630 |
+
*/
|
631 |
function groups_get_total_group_count() {
|
632 |
if ( !$count = wp_cache_get( 'bp_total_group_count', 'bp' ) ) {
|
633 |
$count = BP_Groups_Group::get_total_group_count();
|
637 |
return $count;
|
638 |
}
|
639 |
|
640 |
+
/**
|
641 |
+
* Get the IDs of the groups of which a specified user is a member.
|
642 |
+
*
|
643 |
+
* @param int $user_id ID of the user.
|
644 |
+
* @param int $limit Optional. Max number of results to return.
|
645 |
+
* Default: false (no limit).
|
646 |
+
* @param int $page Optional. Page offset of results to return.
|
647 |
+
* Default: false (no limit).
|
648 |
+
* @return array {
|
649 |
+
* @type array $groups Array of groups returned by paginated query.
|
650 |
+
* @type int $total Count of groups matching query.
|
651 |
+
* }
|
652 |
+
*/
|
653 |
function groups_get_user_groups( $user_id = 0, $pag_num = 0, $pag_page = 0 ) {
|
654 |
|
655 |
if ( empty( $user_id ) )
|
658 |
return BP_Groups_Member::get_group_ids( $user_id, $pag_num, $pag_page );
|
659 |
}
|
660 |
|
661 |
+
/**
|
662 |
+
* Get the count of groups of which the specified user is a member.
|
663 |
+
*
|
664 |
+
* @param int $user_id Optional. Default: ID of the displayed user.
|
665 |
+
* @return int Group count.
|
666 |
+
*/
|
667 |
function groups_total_groups_for_user( $user_id = 0 ) {
|
668 |
|
669 |
if ( empty( $user_id ) )
|
678 |
}
|
679 |
|
680 |
/**
|
681 |
+
* Get the BP_Groups_Group object corresponding to the current group.
|
682 |
*
|
683 |
+
* @since BuddyPress (1.5.0)
|
|
|
684 |
*
|
685 |
+
* @return BP_Groups_Group The current group object.
|
686 |
*/
|
687 |
function groups_get_current_group() {
|
688 |
global $bp;
|
692 |
return apply_filters( 'groups_get_current_group', $current_group );
|
693 |
}
|
694 |
|
695 |
+
/** Group Avatars *************************************************************/
|
696 |
|
697 |
+
/**
|
698 |
+
* Generate the avatar upload directory path for a given group.
|
699 |
+
*
|
700 |
+
* @param int $group_id Optional. ID of the group. Default: ID of the
|
701 |
+
* current group.
|
702 |
+
* @return string
|
703 |
+
*/
|
704 |
function groups_avatar_upload_dir( $group_id = 0 ) {
|
705 |
global $bp;
|
706 |
|
720 |
return apply_filters( 'groups_avatar_upload_dir', array( 'path' => $path, 'url' => $newurl, 'subdir' => $newsubdir, 'basedir' => $newbdir, 'baseurl' => $newburl, 'error' => false ) );
|
721 |
}
|
722 |
|
723 |
+
/** Group Member Status Checks ************************************************/
|
724 |
|
725 |
+
/**
|
726 |
+
* Check whether a user is an admin of a given group.
|
727 |
+
*
|
728 |
+
* @param int $user_id ID of the user.
|
729 |
+
* @param int $group_id ID of the group.
|
730 |
+
* @param int|null ID of the membership if the user is an admin, otherwise null.
|
731 |
+
*/
|
732 |
function groups_is_user_admin( $user_id, $group_id ) {
|
733 |
return BP_Groups_Member::check_is_admin( $user_id, $group_id );
|
734 |
}
|
735 |
|
736 |
+
/**
|
737 |
+
* Check whether a user is a mod of a given group.
|
738 |
+
*
|
739 |
+
* @param int $user_id ID of the user.
|
740 |
+
* @param int $group_id ID of the group.
|
741 |
+
* @param int|null ID of the membership if the user is a mod, otherwise null.
|
742 |
+
*/
|
743 |
function groups_is_user_mod( $user_id, $group_id ) {
|
744 |
return BP_Groups_Member::check_is_mod( $user_id, $group_id );
|
745 |
}
|
746 |
|
747 |
+
/**
|
748 |
+
* Check whether a user is a member of a given group.
|
749 |
+
*
|
750 |
+
* @param int $user_id ID of the user.
|
751 |
+
* @param int $group_id ID of the group.
|
752 |
+
* @param int|null ID of the membership if the user is a member, otherwise null.
|
753 |
+
*/
|
754 |
function groups_is_user_member( $user_id, $group_id ) {
|
755 |
return BP_Groups_Member::check_is_member( $user_id, $group_id );
|
756 |
}
|
762 |
/**
|
763 |
* Is the specified user the creator of the group?
|
764 |
*
|
|
|
|
|
765 |
* @since BuddyPress (1.2.6)
|
766 |
+
*
|
767 |
+
* @param int $user_id ID of the user.
|
768 |
+
* @param int $group_id ID of the group.
|
769 |
+
* @return int|null ID of the group if the user is the creator, otherwise false.
|
770 |
*/
|
771 |
function groups_is_user_creator( $user_id, $group_id ) {
|
772 |
return BP_Groups_Member::check_is_creator( $user_id, $group_id );
|
773 |
}
|
774 |
|
775 |
+
/** Group Activity Posting ****************************************************/
|
776 |
|
777 |
+
/**
|
778 |
+
* Post an Activity status update affiliated with a group.
|
779 |
+
*
|
780 |
+
* @todo Should bail out when the Activity component is not active.
|
781 |
+
*
|
782 |
+
* @param array {
|
783 |
+
* Array of arguments.
|
784 |
+
* @type string $content The content of the update.
|
785 |
+
* @type int $user_id Optional. ID of the user posting the update. Default:
|
786 |
+
* ID of the logged-in user.
|
787 |
+
* @type int $group_id Optional. ID of the group to be affiliated with the
|
788 |
+
* update. Default: ID of the current group.
|
789 |
+
* }
|
790 |
+
* @return int
|
791 |
+
*/
|
792 |
function groups_post_update( $args = '' ) {
|
793 |
global $bp;
|
794 |
|
831 |
return $activity_id;
|
832 |
}
|
833 |
|
834 |
+
/** Group Invitations *********************************************************/
|
835 |
|
836 |
+
/**
|
837 |
+
* Get IDs of users with outstanding invites to a given group from a specified user.
|
838 |
+
*
|
839 |
+
* @param int $user_id ID of the inviting user.
|
840 |
+
* @param int $group_id ID of the group.
|
841 |
+
* @return array IDs of users who have been invited to the group by the
|
842 |
+
* user but have not yet accepted.
|
843 |
+
*/
|
844 |
function groups_get_invites_for_user( $user_id = 0, $limit = false, $page = false, $exclude = false ) {
|
845 |
|
846 |
if ( empty( $user_id ) )
|
850 |
}
|
851 |
|
852 |
/**
|
853 |
+
* Get the total group invite count for a user.
|
854 |
*
|
855 |
* @since BuddyPress (2.0.0)
|
856 |
*
|
857 |
+
* @param int $user_id The user ID.
|
858 |
* @return int
|
859 |
*/
|
860 |
function groups_get_invite_count_for_user( $user_id = 0 ) {
|
865 |
return BP_Groups_Member::get_invite_count_for_user( $user_id );
|
866 |
}
|
867 |
|
868 |
+
/**
|
869 |
+
* Invite a user to a group.
|
870 |
+
*
|
871 |
+
* @param array $args {
|
872 |
+
* Array of arguments.
|
873 |
+
* @type int $user_id ID of the user being invited.
|
874 |
+
* @type int $group_id ID of the group to which the user is being invited.
|
875 |
+
* @type int $inviter_id Optional. ID of the inviting user. Default:
|
876 |
+
* ID of the logged-in user.
|
877 |
+
* @type string $date_modified Optional. Modified date for the invitation.
|
878 |
+
* Default: current date/time.
|
879 |
+
* @type bool $is_confirmed. Optional. Whether the invitation should be
|
880 |
+
* marked confirmed. Default: false.
|
881 |
+
* }
|
882 |
+
* @return bool True on success, false on failure.
|
883 |
+
*/
|
884 |
function groups_invite_user( $args = '' ) {
|
885 |
|
886 |
$defaults = array(
|
919 |
return true;
|
920 |
}
|
921 |
|
922 |
+
/**
|
923 |
+
* Uninvite a user from a group.
|
924 |
+
*
|
925 |
+
* Functionally, this is equivalent to removing a user from a group.
|
926 |
+
*
|
927 |
+
* @param int $user_id ID of the user.
|
928 |
+
* @param int $group_id ID of the group.
|
929 |
+
* @return bool True on success, false on failure.
|
930 |
+
*/
|
931 |
function groups_uninvite_user( $user_id, $group_id ) {
|
932 |
|
933 |
if ( !BP_Groups_Member::delete( $user_id, $group_id ) )
|
943 |
*
|
944 |
* Returns true if a user is already a member of the group.
|
945 |
*
|
946 |
+
* @param int $user_id ID of the user.
|
947 |
+
* @param int $group_id ID of the group.
|
948 |
+
* @return bool True when the user is a member of the group, otherwise false.
|
949 |
*/
|
950 |
function groups_accept_invite( $user_id, $group_id ) {
|
951 |
|
983 |
return true;
|
984 |
}
|
985 |
|
986 |
+
/**
|
987 |
+
* Reject a group invitation.
|
988 |
+
*
|
989 |
+
* @param int $user_id ID of the user.
|
990 |
+
* @param int $group_id ID of the group.
|
991 |
+
* @return bool True on success, false on failure.
|
992 |
+
*/
|
993 |
function groups_reject_invite( $user_id, $group_id ) {
|
994 |
if ( ! BP_Groups_Member::delete( $user_id, $group_id ) )
|
995 |
return false;
|
999 |
return true;
|
1000 |
}
|
1001 |
|
1002 |
+
/**
|
1003 |
+
* Delete a group invitation.
|
1004 |
+
*
|
1005 |
+
* @param int $user_id ID of the invited user.
|
1006 |
+
* @param int $group_id ID of the group.
|
1007 |
+
* @return bool True on success, false on failure.
|
1008 |
+
*/
|
1009 |
function groups_delete_invite( $user_id, $group_id ) {
|
1010 |
if ( ! BP_Groups_Member::delete_invite( $user_id, $group_id ) )
|
1011 |
return false;
|
1015 |
return true;
|
1016 |
}
|
1017 |
|
1018 |
+
/**
|
1019 |
+
* Send all pending invites by a single user to a specific group.
|
1020 |
+
*
|
1021 |
+
* @param int $user_id ID of the inviting user.
|
1022 |
+
* @param int $group_id ID of the group.
|
1023 |
+
*/
|
1024 |
function groups_send_invites( $user_id, $group_id ) {
|
1025 |
|
1026 |
if ( empty( $user_id ) )
|
1048 |
}
|
1049 |
|
1050 |
/**
|
1051 |
+
* Check to see whether a user has already been invited to a group.
|
1052 |
*
|
1053 |
+
* By default, the function checks for invitations that have been sent.
|
1054 |
+
* Entering 'all' as the $type parameter will return unsent invitations as
|
1055 |
+
* well (useful to make sure AJAX requests are not duplicated).
|
1056 |
*
|
1057 |
+
* @param int $user_id ID of potential group member.
|
1058 |
+
* @param int $group_id ID of potential group.
|
1059 |
+
* @param string $type Optional. Use 'sent' to check for sent invites, 'all' to
|
1060 |
+
* check for all. Default: 'sent'.
|
1061 |
+
* @return bool True if an invitation is found, otherwise false.
|
|
|
1062 |
*/
|
1063 |
function groups_check_user_has_invite( $user_id, $group_id, $type = 'sent' ) {
|
1064 |
return BP_Groups_Member::check_has_invite( $user_id, $group_id, $type );
|
1065 |
}
|
1066 |
|
1067 |
+
/**
|
1068 |
+
* Delete all invitations to a given group.
|
1069 |
+
*
|
1070 |
+
* @param int $group_id ID of the group whose invitations are being deleted.
|
1071 |
+
* @return int|null Number of rows records deleted on success, null on failure.
|
1072 |
+
*/
|
1073 |
function groups_delete_all_group_invites( $group_id ) {
|
1074 |
return BP_Groups_Group::delete_all_invites( $group_id );
|
1075 |
}
|
1076 |
|
1077 |
+
/** Group Promotion & Banning *************************************************/
|
1078 |
|
1079 |
+
/**
|
1080 |
+
* Promote a member to a new status within a group.
|
1081 |
+
*
|
1082 |
+
* @param int $user_id ID of the user.
|
1083 |
+
* @param int $group_id ID of the group.
|
1084 |
+
* @param string $status The new status. 'mod' or 'admin'.
|
1085 |
+
* @return bool True on success, false on failure.
|
1086 |
+
*/
|
1087 |
function groups_promote_member( $user_id, $group_id, $status ) {
|
1088 |
|
1089 |
if ( ! bp_is_item_admin() )
|
1100 |
return $member->promote( $status );
|
1101 |
}
|
1102 |
|
1103 |
+
/**
|
1104 |
+
* Demone a user to 'member' status within a group.
|
1105 |
+
*
|
1106 |
+
* @param int $user_id ID of the user.
|
1107 |
+
* @param int $group_id ID of the group.
|
1108 |
+
* @return bool True on success, false on failure.
|
1109 |
+
*/
|
1110 |
function groups_demote_member( $user_id, $group_id ) {
|
1111 |
|
1112 |
if ( ! bp_is_item_admin() )
|
1119 |
return $member->demote();
|
1120 |
}
|
1121 |
|
1122 |
+
/**
|
1123 |
+
* Ban a member from a group.
|
1124 |
+
*
|
1125 |
+
* @param int $user_id ID of the user.
|
1126 |
+
* @param int $group_id ID of the group.
|
1127 |
+
* @return bool True on success, false on failure.
|
1128 |
+
*/
|
1129 |
function groups_ban_member( $user_id, $group_id ) {
|
1130 |
|
1131 |
if ( ! bp_is_item_admin() )
|
1138 |
return $member->ban();
|
1139 |
}
|
1140 |
|
1141 |
+
/**
|
1142 |
+
* Unban a member from a group.
|
1143 |
+
*
|
1144 |
+
* @param int $user_id ID of the user.
|
1145 |
+
* @param int $group_id ID of the group.
|
1146 |
+
* @return bool True on success, false on failure.
|
1147 |
+
*/
|
1148 |
function groups_unban_member( $user_id, $group_id ) {
|
1149 |
|
1150 |
if ( ! bp_is_item_admin() )
|
1157 |
return $member->unban();
|
1158 |
}
|
1159 |
|
1160 |
+
/** Group Removal *************************************************************/
|
1161 |
|
1162 |
+
/**
|
1163 |
+
* Remove a member from a group.
|
1164 |
+
*
|
1165 |
+
* @param int $user_id ID of the user.
|
1166 |
+
* @param int $group_id ID of the group.
|
1167 |
+
* @return bool True on success, false on failure.
|
1168 |
+
*/
|
1169 |
function groups_remove_member( $user_id, $group_id ) {
|
1170 |
|
1171 |
if ( ! bp_is_item_admin() )
|
1178 |
return $member->remove();
|
1179 |
}
|
1180 |
|
1181 |
+
/** Group Membership **********************************************************/
|
1182 |
|
1183 |
+
/**
|
1184 |
+
* Create a group membership request.
|
1185 |
+
*
|
1186 |
+
* @param int $requesting_user_id ID of the user requesting membership.
|
1187 |
+
* @param int $group_id ID of the group.
|
1188 |
+
* @return bool True on success, false on failure.
|
1189 |
+
*/
|
1190 |
function groups_send_membership_request( $requesting_user_id, $group_id ) {
|
1191 |
|
1192 |
// Prevent duplicate requests
|
1228 |
return false;
|
1229 |
}
|
1230 |
|
1231 |
+
/**
|
1232 |
+
* Accept a pending group membership request.
|
1233 |
+
*
|
1234 |
+
* @param int $membership_id ID of the membership object.
|
1235 |
+
* @param int $user_id Optional. ID of the user who requested membership.
|
1236 |
+
* Provide this value along with $group_id to override $membership_id.
|
1237 |
+
* @param int $group_id Optional. ID of the group to which membership is being
|
1238 |
+
* requested. Provide this value along with $user_id to override
|
1239 |
+
* $membership_id.
|
1240 |
+
* @return bool True on success, false on failure.
|
1241 |
+
*/
|
1242 |
function groups_accept_membership_request( $membership_id, $user_id = 0, $group_id = 0 ) {
|
1243 |
|
1244 |
if ( !empty( $user_id ) && !empty( $group_id ) ) {
|
1263 |
return true;
|
1264 |
}
|
1265 |
|
1266 |
+
/**
|
1267 |
+
* Reject a pending group membership request.
|
1268 |
+
*
|
1269 |
+
* @param int $membership_id ID of the membership object.
|
1270 |
+
* @param int $user_id Optional. ID of the user who requested membership.
|
1271 |
+
* Provide this value along with $group_id to override $membership_id.
|
1272 |
+
* @param int $group_id Optional. ID of the group to which membership is being
|
1273 |
+
* requested. Provide this value along with $user_id to override
|
1274 |
+
* $membership_id.
|
1275 |
+
* @return bool True on success, false on failure.
|
1276 |
+
*/
|
1277 |
function groups_reject_membership_request( $membership_id, $user_id = 0, $group_id = 0 ) {
|
1278 |
if ( !$membership = groups_delete_membership_request( $membership_id, $user_id, $group_id ) ) {
|
1279 |
return false;
|
1284 |
return true;
|
1285 |
}
|
1286 |
|
1287 |
+
/**
|
1288 |
+
* Delete a pending group membership request.
|
1289 |
+
*
|
1290 |
+
* @param int $membership_id ID of the membership object.
|
1291 |
+
* @param int $user_id Optional. ID of the user who requested membership.
|
1292 |
+
* Provide this value along with $group_id to override $membership_id.
|
1293 |
+
* @param int $group_id Optional. ID of the group to which membership is being
|
1294 |
+
* requested. Provide this value along with $user_id to override
|
1295 |
+
* $membership_id.
|
1296 |
+
* @return bool True on success, false on failure.
|
1297 |
+
*/
|
1298 |
function groups_delete_membership_request( $membership_id, $user_id = 0, $group_id = 0 ) {
|
1299 |
if ( !empty( $user_id ) && !empty( $group_id ) )
|
1300 |
$membership = new BP_Groups_Member( $user_id, $group_id );
|
1307 |
return $membership;
|
1308 |
}
|
1309 |
|
1310 |
+
/**
|
1311 |
+
* Check whether a user has an outstanding membership request for a given group.
|
1312 |
+
*
|
1313 |
+
* @param int $user_id ID of the user.
|
1314 |
+
* @param int $group_id ID of the group.
|
1315 |
+
* @return int|null ID of the membership if found, otherwise false.
|
1316 |
+
*/
|
1317 |
function groups_check_for_membership_request( $user_id, $group_id ) {
|
1318 |
return BP_Groups_Member::check_for_membership_request( $user_id, $group_id );
|
1319 |
}
|
1320 |
|
1321 |
+
/**
|
1322 |
+
* Accept all pending membership requests to a group.
|
1323 |
+
*
|
1324 |
+
* @param int $group_id ID of the group.
|
1325 |
+
* @return bool True on success, false on failure.
|
1326 |
+
*/
|
1327 |
function groups_accept_all_pending_membership_requests( $group_id ) {
|
1328 |
$user_ids = BP_Groups_Member::get_all_membership_request_user_ids( $group_id );
|
1329 |
|
1338 |
return true;
|
1339 |
}
|
1340 |
|
1341 |
+
/** Group Meta ****************************************************************/
|
1342 |
|
1343 |
/**
|
1344 |
* Delete metadata for a group.
|
1439 |
return $retval;
|
1440 |
}
|
1441 |
|
1442 |
+
/** Group Cleanup Functions ***************************************************/
|
1443 |
|
1444 |
+
/**
|
1445 |
+
* Delete all group membership information for the specified user.
|
1446 |
+
*
|
1447 |
+
* @since BuddyPress (1.0.0)
|
1448 |
+
*
|
1449 |
+
* @param int $user_id ID of the user.
|
1450 |
+
*/
|
1451 |
function groups_remove_data_for_user( $user_id ) {
|
1452 |
BP_Groups_Member::delete_all_for_user( $user_id );
|
1453 |
|
bp-groups/bp-groups-loader.php
CHANGED
@@ -17,65 +17,72 @@ if ( !defined( 'ABSPATH' ) ) exit;
|
|
17 |
class BP_Groups_Component extends BP_Component {
|
18 |
|
19 |
/**
|
20 |
-
* Auto
|
21 |
*
|
22 |
-
* @since BuddyPress (1.5)
|
|
|
23 |
* @var bool
|
24 |
*/
|
25 |
public $auto_join;
|
26 |
|
27 |
/**
|
28 |
-
* The group being currently accessed
|
29 |
*
|
30 |
-
* @since BuddyPress (1.5)
|
|
|
31 |
* @var BP_Groups_Group
|
32 |
*/
|
33 |
public $current_group;
|
34 |
|
35 |
/**
|
36 |
-
* Default group extension
|
37 |
*
|
38 |
-
* @since BuddyPress (1.6)
|
|
|
39 |
* @todo Is this used anywhere? Is this a duplicate of $default_extension?
|
40 |
*/
|
41 |
var $default_component;
|
42 |
|
43 |
/**
|
44 |
-
* Default group extension
|
45 |
*
|
46 |
-
* @since BuddyPress (1.6)
|
|
|
47 |
* @var string
|
48 |
*/
|
49 |
public $default_extension;
|
50 |
|
51 |
/**
|
52 |
-
* Illegal group names/slugs
|
53 |
*
|
54 |
-
* @since BuddyPress (1.5)
|
|
|
55 |
* @var array
|
56 |
*/
|
57 |
public $forbidden_names;
|
58 |
|
59 |
/**
|
60 |
-
* Group creation/edit steps (e.g. Details, Settings, Avatar, Invites)
|
61 |
*
|
62 |
-
* @since BuddyPress (1.5)
|
|
|
63 |
* @var array
|
64 |
*/
|
65 |
public $group_creation_steps;
|
66 |
|
67 |
/**
|
68 |
-
* Types of group statuses (Public, Private, Hidden)
|
69 |
*
|
70 |
-
* @since BuddyPress (1.5)
|
|
|
71 |
* @var array
|
72 |
*/
|
73 |
public $valid_status;
|
74 |
|
75 |
/**
|
76 |
-
* Start the groups component creation process
|
77 |
*
|
78 |
-
* @since BuddyPress (1.5)
|
79 |
*/
|
80 |
public function __construct() {
|
81 |
parent::start(
|
@@ -89,7 +96,13 @@ class BP_Groups_Component extends BP_Component {
|
|
89 |
}
|
90 |
|
91 |
/**
|
92 |
-
* Include files
|
|
|
|
|
|
|
|
|
|
|
|
|
93 |
*/
|
94 |
public function includes( $includes = array() ) {
|
95 |
$includes = array(
|
@@ -114,12 +127,16 @@ class BP_Groups_Component extends BP_Component {
|
|
114 |
}
|
115 |
|
116 |
/**
|
117 |
-
*
|
118 |
*
|
119 |
* The BP_GROUPS_SLUG constant is deprecated, and only used here for
|
120 |
* backwards compatibility.
|
121 |
*
|
122 |
-
* @since BuddyPress (1.5)
|
|
|
|
|
|
|
|
|
123 |
*/
|
124 |
public function setup_globals( $args = array() ) {
|
125 |
$bp = buddypress();
|
@@ -320,9 +337,16 @@ class BP_Groups_Component extends BP_Component {
|
|
320 |
}
|
321 |
|
322 |
/**
|
323 |
-
* Set up navigation.
|
|
|
|
|
|
|
|
|
324 |
*
|
325 |
-
* @
|
|
|
|
|
|
|
326 |
*/
|
327 |
public function setup_nav( $main_nav = array(), $sub_nav = array() ) {
|
328 |
|
@@ -496,7 +520,13 @@ class BP_Groups_Component extends BP_Component {
|
|
496 |
}
|
497 |
|
498 |
/**
|
499 |
-
* Set up the
|
|
|
|
|
|
|
|
|
|
|
|
|
500 |
*/
|
501 |
public function setup_admin_bar( $wp_admin_nav = array() ) {
|
502 |
$bp = buddypress();
|
@@ -557,7 +587,7 @@ class BP_Groups_Component extends BP_Component {
|
|
557 |
}
|
558 |
|
559 |
/**
|
560 |
-
*
|
561 |
*/
|
562 |
public function setup_title() {
|
563 |
$bp = buddypress();
|
@@ -597,7 +627,11 @@ class BP_Groups_Component extends BP_Component {
|
|
597 |
}
|
598 |
}
|
599 |
|
600 |
-
|
|
|
|
|
|
|
|
|
601 |
function bp_setup_groups() {
|
602 |
buddypress()->groups = new BP_Groups_Component();
|
603 |
}
|
17 |
class BP_Groups_Component extends BP_Component {
|
18 |
|
19 |
/**
|
20 |
+
* Auto-join group when non group member performs group activity
|
21 |
*
|
22 |
+
* @since BuddyPress (1.5.0)
|
23 |
+
* @access public
|
24 |
* @var bool
|
25 |
*/
|
26 |
public $auto_join;
|
27 |
|
28 |
/**
|
29 |
+
* The group being currently accessed.
|
30 |
*
|
31 |
+
* @since BuddyPress (1.5.0)
|
32 |
+
* @access public
|
33 |
* @var BP_Groups_Group
|
34 |
*/
|
35 |
public $current_group;
|
36 |
|
37 |
/**
|
38 |
+
* Default group extension.
|
39 |
*
|
40 |
+
* @since BuddyPress (1.6.0)
|
41 |
+
* @access public
|
42 |
* @todo Is this used anywhere? Is this a duplicate of $default_extension?
|
43 |
*/
|
44 |
var $default_component;
|
45 |
|
46 |
/**
|
47 |
+
* Default group extension.
|
48 |
*
|
49 |
+
* @since BuddyPress (1.6.0)
|
50 |
+
* @access public
|
51 |
* @var string
|
52 |
*/
|
53 |
public $default_extension;
|
54 |
|
55 |
/**
|
56 |
+
* Illegal group names/slugs.
|
57 |
*
|
58 |
+
* @since BuddyPress (1.5.0)
|
59 |
+
* @access public
|
60 |
* @var array
|
61 |
*/
|
62 |
public $forbidden_names;
|
63 |
|
64 |
/**
|
65 |
+
* Group creation/edit steps (e.g. Details, Settings, Avatar, Invites).
|
66 |
*
|
67 |
+
* @since BuddyPress (1.5.0)
|
68 |
+
* @access public
|
69 |
* @var array
|
70 |
*/
|
71 |
public $group_creation_steps;
|
72 |
|
73 |
/**
|
74 |
+
* Types of group statuses (Public, Private, Hidden).
|
75 |
*
|
76 |
+
* @since BuddyPress (1.5.0)
|
77 |
+
* @access public
|
78 |
* @var array
|
79 |
*/
|
80 |
public $valid_status;
|
81 |
|
82 |
/**
|
83 |
+
* Start the groups component creation process.
|
84 |
*
|
85 |
+
* @since BuddyPress (1.5.0)
|
86 |
*/
|
87 |
public function __construct() {
|
88 |
parent::start(
|
96 |
}
|
97 |
|
98 |
/**
|
99 |
+
* Include Groups component files.
|
100 |
+
*
|
101 |
+
* @since BuddyPress (1.5.0)
|
102 |
+
*
|
103 |
+
* @see BP_Component::includes() for a description of arguments.
|
104 |
+
*
|
105 |
+
* @param array $includes See BP_Component::includes() for a description.
|
106 |
*/
|
107 |
public function includes( $includes = array() ) {
|
108 |
$includes = array(
|
127 |
}
|
128 |
|
129 |
/**
|
130 |
+
* Set up component global data.
|
131 |
*
|
132 |
* The BP_GROUPS_SLUG constant is deprecated, and only used here for
|
133 |
* backwards compatibility.
|
134 |
*
|
135 |
+
* @since BuddyPress (1.5.0)
|
136 |
+
*
|
137 |
+
* @see BP_Component::setup_globals() for a description of arguments.
|
138 |
+
*
|
139 |
+
* @param array $args See BP_Component::setup_globals() for a description.
|
140 |
*/
|
141 |
public function setup_globals( $args = array() ) {
|
142 |
$bp = buddypress();
|
337 |
}
|
338 |
|
339 |
/**
|
340 |
+
* Set up component navigation.
|
341 |
+
*
|
342 |
+
* @since BuddyPress (1.5.0)
|
343 |
+
*
|
344 |
+
* @see BP_Component::setup_nav() for a description of arguments.
|
345 |
*
|
346 |
+
* @param array $main_nav Optional. See BP_Component::setup_nav() for
|
347 |
+
* description.
|
348 |
+
* @param array $sub_nav Optional. See BP_Component::setup_nav() for
|
349 |
+
* description.
|
350 |
*/
|
351 |
public function setup_nav( $main_nav = array(), $sub_nav = array() ) {
|
352 |
|
520 |
}
|
521 |
|
522 |
/**
|
523 |
+
* Set up the component entries in the WordPress Admin Bar.
|
524 |
+
*
|
525 |
+
* @see BP_Component::setup_nav() for a description of the $wp_admin_nav
|
526 |
+
* parameter array.
|
527 |
+
*
|
528 |
+
* @param array $wp_admin_nav See BP_Component::setup_admin_bar() for a
|
529 |
+
* description.
|
530 |
*/
|
531 |
public function setup_admin_bar( $wp_admin_nav = array() ) {
|
532 |
$bp = buddypress();
|
587 |
}
|
588 |
|
589 |
/**
|
590 |
+
* Set up the title for pages and <title>.
|
591 |
*/
|
592 |
public function setup_title() {
|
593 |
$bp = buddypress();
|
627 |
}
|
628 |
}
|
629 |
|
630 |
+
/**
|
631 |
+
* Bootstrap the Notifications component.
|
632 |
+
*
|
633 |
+
* @since BuddyPress (1.5.0)
|
634 |
+
*/
|
635 |
function bp_setup_groups() {
|
636 |
buddypress()->groups = new BP_Groups_Component();
|
637 |
}
|
bp-groups/bp-groups-notifications.php
CHANGED
@@ -16,11 +16,11 @@ if ( !defined( 'ABSPATH' ) ) exit;
|
|
16 |
/** Emails ********************************************************************/
|
17 |
|
18 |
/**
|
19 |
-
* Notify all group members when a group is updated
|
20 |
*
|
21 |
* @since BuddyPress (1.0.0)
|
22 |
*
|
23 |
-
* @param int $group_id
|
24 |
*/
|
25 |
function groups_notification_group_updated( $group_id = 0 ) {
|
26 |
|
@@ -68,15 +68,15 @@ To view the group: %2$s
|
|
68 |
}
|
69 |
|
70 |
/**
|
71 |
-
* Notify group admin about new membership request
|
72 |
*
|
73 |
* @since BuddyPress (1.0.0)
|
74 |
*
|
75 |
-
* @param int $requesting_user_id
|
76 |
-
* @param int $admin_id
|
77 |
-
* @param int $group_id
|
78 |
-
* @param int $membership_id
|
79 |
-
* @return
|
80 |
*/
|
81 |
function groups_notification_new_membership_request( $requesting_user_id = 0, $admin_id = 0, $group_id = 0, $membership_id = 0 ) {
|
82 |
|
@@ -144,13 +144,14 @@ To view %4$s\'s profile: %5$s
|
|
144 |
}
|
145 |
|
146 |
/**
|
147 |
-
* Notify member about their group membership request
|
148 |
*
|
149 |
* @since BuddyPress (1.0.0)
|
150 |
*
|
151 |
-
* @param
|
152 |
-
* @param
|
153 |
-
* @param
|
|
|
154 |
* @return boolean
|
155 |
*/
|
156 |
function groups_notification_membership_request_completed( $requesting_user_id = 0, $group_id = 0, $accepted = true ) {
|
@@ -223,13 +224,13 @@ add_action( 'groups_membership_accepted', 'groups_notification_membership_reques
|
|
223 |
add_action( 'groups_membership_rejected', 'groups_notification_membership_request_completed', 10, 3 );
|
224 |
|
225 |
/**
|
226 |
-
* Notify group member they have been promoted
|
227 |
*
|
228 |
* @since BuddyPress (1.0.0)
|
229 |
*
|
230 |
-
* @param int $user_id
|
231 |
-
* @param int $group_id
|
232 |
-
* @return
|
233 |
*/
|
234 |
function groups_notification_promoted_member( $user_id = 0, $group_id = 0 ) {
|
235 |
|
@@ -291,14 +292,14 @@ To view the group please visit: %3$s
|
|
291 |
add_action( 'groups_promoted_member', 'groups_notification_promoted_member', 10, 2 );
|
292 |
|
293 |
/**
|
294 |
-
* Notify a member they have been
|
295 |
*
|
296 |
* @since BuddyPress (1.0.0)
|
297 |
*
|
298 |
-
* @param
|
299 |
-
* @param
|
300 |
-
* @param int $inviter_user_id
|
301 |
-
* @return
|
302 |
*/
|
303 |
function groups_notification_group_invites( &$group, &$member, $inviter_user_id ) {
|
304 |
|
@@ -374,11 +375,14 @@ To view %5$s\'s profile visit: %6$s
|
|
374 |
*
|
375 |
* @since BuddyPress (1.0.0)
|
376 |
*
|
377 |
-
* @param string $action The kind of notification being rendered
|
378 |
-
* @param int $item_id The primary item
|
379 |
-
* @param int $secondary_item_id The secondary item
|
380 |
-
* @param int $total_items The total number of messaging-related notifications
|
381 |
-
*
|
|
|
|
|
|
|
382 |
*/
|
383 |
function groups_format_notifications( $action, $item_id, $secondary_item_id, $total_items, $format = 'string' ) {
|
384 |
|
@@ -610,9 +614,11 @@ function groups_format_notifications( $action, $item_id, $secondary_item_id, $to
|
|
610 |
}
|
611 |
|
612 |
/**
|
613 |
-
* Remove all notifications for any member belonging to a specific group
|
614 |
*
|
615 |
* @since BuddyPress (1.9.0)
|
|
|
|
|
616 |
*/
|
617 |
function bp_groups_delete_group_delete_all_notifications( $group_id ) {
|
618 |
if ( bp_is_active( 'notifications' ) ) {
|
@@ -625,6 +631,9 @@ add_action( 'groups_delete_group', 'bp_groups_delete_group_delete_all_notificati
|
|
625 |
* When a demotion takes place, delete any corresponding promotion notifications.
|
626 |
*
|
627 |
* @since BuddyPress (2.0.0)
|
|
|
|
|
|
|
628 |
*/
|
629 |
function bp_groups_delete_promotion_notifications( $user_id = 0, $group_id = 0 ) {
|
630 |
if ( bp_is_active( 'notifications' ) && ! empty( $group_id ) && ! empty( $user_id ) ) {
|
@@ -635,11 +644,12 @@ function bp_groups_delete_promotion_notifications( $user_id = 0, $group_id = 0 )
|
|
635 |
add_action( 'groups_demoted_member', 'bp_groups_delete_promotion_notifications', 10, 2 );
|
636 |
|
637 |
/**
|
638 |
-
* Mark notifications read when a member accepts a group invitation
|
639 |
*
|
640 |
* @since BuddyPress (1.9.0)
|
641 |
-
*
|
642 |
-
* @param int $
|
|
|
643 |
*/
|
644 |
function bp_groups_accept_invite_mark_notifications( $user_id, $group_id ) {
|
645 |
if ( bp_is_active( 'notifications' ) ) {
|
@@ -651,7 +661,7 @@ add_action( 'groups_reject_invite', 'bp_groups_accept_invite_mark_notifications'
|
|
651 |
add_action( 'groups_delete_invite', 'bp_groups_accept_invite_mark_notifications', 10, 2 );
|
652 |
|
653 |
/**
|
654 |
-
* Mark notifications read when a member views their group memberships
|
655 |
*
|
656 |
* @since BuddyPress (1.9.0)
|
657 |
*/
|
@@ -675,7 +685,7 @@ add_action( 'groups_screen_my_groups', 'bp_groups_screen_my_groups_mark_notific
|
|
675 |
add_action( 'groups_screen_group_home', 'bp_groups_screen_my_groups_mark_notifications', 10 );
|
676 |
|
677 |
/**
|
678 |
-
* Mark group invitation notifications read when a member views their invitations
|
679 |
*
|
680 |
* @since BuddyPress (1.9.0)
|
681 |
*/
|
@@ -687,8 +697,7 @@ function bp_groups_screen_invites_mark_notifications() {
|
|
687 |
add_action( 'groups_screen_group_invites', 'bp_groups_screen_invites_mark_notifications', 10 );
|
688 |
|
689 |
/**
|
690 |
-
* Mark group join requests read when an admin or moderator visits the group
|
691 |
-
* administration area.
|
692 |
*
|
693 |
* @since BuddyPress (1.9.0)
|
694 |
*/
|
@@ -703,7 +712,8 @@ add_action( 'groups_screen_group_admin_requests', 'bp_groups_screen_group_admin_
|
|
703 |
* Delete new group membership notifications when a user is being deleted.
|
704 |
*
|
705 |
* @since BuddyPress (1.9.0)
|
706 |
-
*
|
|
|
707 |
*/
|
708 |
function bp_groups_remove_data_for_user_notifications( $user_id ) {
|
709 |
if ( bp_is_active( 'notifications' ) ) {
|
16 |
/** Emails ********************************************************************/
|
17 |
|
18 |
/**
|
19 |
+
* Notify all group members when a group is updated.
|
20 |
*
|
21 |
* @since BuddyPress (1.0.0)
|
22 |
*
|
23 |
+
* @param int $group_id ID of the group.
|
24 |
*/
|
25 |
function groups_notification_group_updated( $group_id = 0 ) {
|
26 |
|
68 |
}
|
69 |
|
70 |
/**
|
71 |
+
* Notify group admin about new membership request.
|
72 |
*
|
73 |
* @since BuddyPress (1.0.0)
|
74 |
*
|
75 |
+
* @param int $requesting_user_id ID of the user requesting group membership.
|
76 |
+
* @param int $admin_id ID of the group admin.
|
77 |
+
* @param int $group_id ID of the group.
|
78 |
+
* @param int $membership_id ID of the group membership object.
|
79 |
+
* @return bool|null False on failure.
|
80 |
*/
|
81 |
function groups_notification_new_membership_request( $requesting_user_id = 0, $admin_id = 0, $group_id = 0, $membership_id = 0 ) {
|
82 |
|
144 |
}
|
145 |
|
146 |
/**
|
147 |
+
* Notify member about their group membership request.
|
148 |
*
|
149 |
* @since BuddyPress (1.0.0)
|
150 |
*
|
151 |
+
* @param int $requesting_user_id ID of the user requesting group membership.
|
152 |
+
* @param int $group_id ID of the group.
|
153 |
+
* @param bool $accepted Optional. Whether the membership request was accepted.
|
154 |
+
* Default: true.
|
155 |
* @return boolean
|
156 |
*/
|
157 |
function groups_notification_membership_request_completed( $requesting_user_id = 0, $group_id = 0, $accepted = true ) {
|
224 |
add_action( 'groups_membership_rejected', 'groups_notification_membership_request_completed', 10, 3 );
|
225 |
|
226 |
/**
|
227 |
+
* Notify group member they have been promoted.
|
228 |
*
|
229 |
* @since BuddyPress (1.0.0)
|
230 |
*
|
231 |
+
* @param int $user_id ID of the user.
|
232 |
+
* @param int $group_id ID of the group.
|
233 |
+
* @return bool|null False on failure.
|
234 |
*/
|
235 |
function groups_notification_promoted_member( $user_id = 0, $group_id = 0 ) {
|
236 |
|
292 |
add_action( 'groups_promoted_member', 'groups_notification_promoted_member', 10, 2 );
|
293 |
|
294 |
/**
|
295 |
+
* Notify a member they have been invited to a group.
|
296 |
*
|
297 |
* @since BuddyPress (1.0.0)
|
298 |
*
|
299 |
+
* @param BP_Groups_Group $group Group object.
|
300 |
+
* @param BP_Groups_Member $member Member object.
|
301 |
+
* @param int $inviter_user_id ID of the user who sent the invite.
|
302 |
+
* @return bool|null False on failure.
|
303 |
*/
|
304 |
function groups_notification_group_invites( &$group, &$member, $inviter_user_id ) {
|
305 |
|
375 |
*
|
376 |
* @since BuddyPress (1.0.0)
|
377 |
*
|
378 |
+
* @param string $action The kind of notification being rendered.
|
379 |
+
* @param int $item_id The primary item ID.
|
380 |
+
* @param int $secondary_item_id The secondary item ID.
|
381 |
+
* @param int $total_items The total number of messaging-related notifications
|
382 |
+
* waiting for the user.
|
383 |
+
* @param string $format 'string' for BuddyBar-compatible notifications; 'array'
|
384 |
+
* for WP Toolbar. Default: 'string'.
|
385 |
+
* @return string
|
386 |
*/
|
387 |
function groups_format_notifications( $action, $item_id, $secondary_item_id, $total_items, $format = 'string' ) {
|
388 |
|
614 |
}
|
615 |
|
616 |
/**
|
617 |
+
* Remove all notifications for any member belonging to a specific group.
|
618 |
*
|
619 |
* @since BuddyPress (1.9.0)
|
620 |
+
*
|
621 |
+
* @param int $group_id ID of the group.
|
622 |
*/
|
623 |
function bp_groups_delete_group_delete_all_notifications( $group_id ) {
|
624 |
if ( bp_is_active( 'notifications' ) ) {
|
631 |
* When a demotion takes place, delete any corresponding promotion notifications.
|
632 |
*
|
633 |
* @since BuddyPress (2.0.0)
|
634 |
+
*
|
635 |
+
* @param int $user_id ID of the user.
|
636 |
+
* @param int $group_id ID of the group.
|
637 |
*/
|
638 |
function bp_groups_delete_promotion_notifications( $user_id = 0, $group_id = 0 ) {
|
639 |
if ( bp_is_active( 'notifications' ) && ! empty( $group_id ) && ! empty( $user_id ) ) {
|
644 |
add_action( 'groups_demoted_member', 'bp_groups_delete_promotion_notifications', 10, 2 );
|
645 |
|
646 |
/**
|
647 |
+
* Mark notifications read when a member accepts a group invitation.
|
648 |
*
|
649 |
* @since BuddyPress (1.9.0)
|
650 |
+
*
|
651 |
+
* @param int $user_id ID of the user.
|
652 |
+
* @param int $group_id ID of the group.
|
653 |
*/
|
654 |
function bp_groups_accept_invite_mark_notifications( $user_id, $group_id ) {
|
655 |
if ( bp_is_active( 'notifications' ) ) {
|
661 |
add_action( 'groups_delete_invite', 'bp_groups_accept_invite_mark_notifications', 10, 2 );
|
662 |
|
663 |
/**
|
664 |
+
* Mark notifications read when a member views their group memberships.
|
665 |
*
|
666 |
* @since BuddyPress (1.9.0)
|
667 |
*/
|
685 |
add_action( 'groups_screen_group_home', 'bp_groups_screen_my_groups_mark_notifications', 10 );
|
686 |
|
687 |
/**
|
688 |
+
* Mark group invitation notifications read when a member views their invitations.
|
689 |
*
|
690 |
* @since BuddyPress (1.9.0)
|
691 |
*/
|
697 |
add_action( 'groups_screen_group_invites', 'bp_groups_screen_invites_mark_notifications', 10 );
|
698 |
|
699 |
/**
|
700 |
+
* Mark group join requests read when an admin or moderator visits the group administration area.
|
|
|
701 |
*
|
702 |
* @since BuddyPress (1.9.0)
|
703 |
*/
|
712 |
* Delete new group membership notifications when a user is being deleted.
|
713 |
*
|
714 |
* @since BuddyPress (1.9.0)
|
715 |
+
*
|
716 |
+
* @param int $user_id ID of the user.
|
717 |
*/
|
718 |
function bp_groups_remove_data_for_user_notifications( $user_id ) {
|
719 |
if ( bp_is_active( 'notifications' ) ) {
|
bp-groups/bp-groups-screens.php
CHANGED
@@ -3,9 +3,9 @@
|
|
3 |
/**
|
4 |
* BuddyPress Groups Screen Functions
|
5 |
*
|
6 |
-
* Screen functions are the controllers of BuddyPress. They will execute when
|
7 |
-
* specific URL is caught. They will first save or manipulate data using
|
8 |
-
* functions, then pass on the user to a template file.
|
9 |
*
|
10 |
* @package BuddyPress
|
11 |
* @subpackage GroupsScreens
|
@@ -14,6 +14,9 @@
|
|
14 |
// Exit if accessed directly
|
15 |
if ( !defined( 'ABSPATH' ) ) exit;
|
16 |
|
|
|
|
|
|
|
17 |
function groups_directory_groups_setup() {
|
18 |
if ( bp_is_groups_directory() ) {
|
19 |
bp_update_is_directory( true, 'groups' );
|
@@ -25,6 +28,9 @@ function groups_directory_groups_setup() {
|
|
25 |
}
|
26 |
add_action( 'bp_screens', 'groups_directory_groups_setup', 2 );
|
27 |
|
|
|
|
|
|
|
28 |
function groups_screen_my_groups() {
|
29 |
|
30 |
do_action( 'groups_screen_my_groups' );
|
@@ -32,6 +38,9 @@ function groups_screen_my_groups() {
|
|
32 |
bp_core_load_template( apply_filters( 'groups_template_my_groups', 'members/single/home' ) );
|
33 |
}
|
34 |
|
|
|
|
|
|
|
35 |
function groups_screen_group_invites() {
|
36 |
$group_id = (int)bp_action_variable( 1 );
|
37 |
|
@@ -87,6 +96,9 @@ function groups_screen_group_invites() {
|
|
87 |
bp_core_load_template( apply_filters( 'groups_template_group_invites', 'members/single/home' ) );
|
88 |
}
|
89 |
|
|
|
|
|
|
|
90 |
function groups_screen_group_home() {
|
91 |
|
92 |
if ( ! bp_is_single_item() ) {
|
@@ -99,9 +111,7 @@ function groups_screen_group_home() {
|
|
99 |
}
|
100 |
|
101 |
/**
|
102 |
-
* This screen function handles actions related to group forums
|
103 |
-
*
|
104 |
-
* @package BuddyPress
|
105 |
*/
|
106 |
function groups_screen_group_forum() {
|
107 |
|
@@ -399,6 +409,9 @@ function groups_screen_group_forum() {
|
|
399 |
}
|
400 |
}
|
401 |
|
|
|
|
|
|
|
402 |
function groups_screen_group_members() {
|
403 |
|
404 |
if ( !bp_is_single_item() )
|
@@ -413,6 +426,9 @@ function groups_screen_group_members() {
|
|
413 |
bp_core_load_template( apply_filters( 'groups_template_group_members', 'groups/single/home' ) );
|
414 |
}
|
415 |
|
|
|
|
|
|
|
416 |
function groups_screen_group_invite() {
|
417 |
|
418 |
if ( !bp_is_single_item() )
|
@@ -489,6 +505,9 @@ function groups_remove_group_invite() {
|
|
489 |
}
|
490 |
add_action( 'bp_screens', 'groups_remove_group_invite' );
|
491 |
|
|
|
|
|
|
|
492 |
function groups_screen_group_request_membership() {
|
493 |
global $bp;
|
494 |
|
@@ -529,6 +548,9 @@ function groups_screen_group_request_membership() {
|
|
529 |
bp_core_load_template( apply_filters( 'groups_template_group_request_membership', 'groups/single/home' ) );
|
530 |
}
|
531 |
|
|
|
|
|
|
|
532 |
function groups_screen_group_activity_permalink() {
|
533 |
|
534 |
if ( !bp_is_groups_component() || !bp_is_active( 'activity' ) || ( bp_is_active( 'activity' ) && !bp_is_current_action( bp_get_activity_slug() ) ) || !bp_action_variable( 0 ) )
|
@@ -540,6 +562,9 @@ function groups_screen_group_activity_permalink() {
|
|
540 |
}
|
541 |
add_action( 'bp_screens', 'groups_screen_group_activity_permalink' );
|
542 |
|
|
|
|
|
|
|
543 |
function groups_screen_group_admin() {
|
544 |
if ( !bp_is_groups_component() || !bp_is_current_action( 'admin' ) )
|
545 |
return false;
|
@@ -550,6 +575,9 @@ function groups_screen_group_admin() {
|
|
550 |
bp_core_redirect( bp_get_group_permalink( groups_get_current_group() ) . 'admin/edit-details/' );
|
551 |
}
|
552 |
|
|
|
|
|
|
|
553 |
function groups_screen_group_admin_edit_details() {
|
554 |
|
555 |
if ( 'edit-details' != bp_get_group_current_admin_tab() )
|
@@ -585,6 +613,9 @@ function groups_screen_group_admin_edit_details() {
|
|
585 |
}
|
586 |
add_action( 'bp_screens', 'groups_screen_group_admin_edit_details' );
|
587 |
|
|
|
|
|
|
|
588 |
function groups_screen_group_admin_settings() {
|
589 |
|
590 |
if ( 'group-settings' != bp_get_group_current_admin_tab() )
|
@@ -628,6 +659,9 @@ function groups_screen_group_admin_settings() {
|
|
628 |
}
|
629 |
add_action( 'bp_screens', 'groups_screen_group_admin_settings' );
|
630 |
|
|
|
|
|
|
|
631 |
function groups_screen_group_admin_avatar() {
|
632 |
|
633 |
if ( 'group-avatar' != bp_get_group_current_admin_tab() )
|
@@ -705,8 +739,6 @@ add_action( 'bp_screens', 'groups_screen_group_admin_avatar' );
|
|
705 |
|
706 |
/**
|
707 |
* This function handles actions related to member management on the group admin.
|
708 |
-
*
|
709 |
-
* @package BuddyPress
|
710 |
*/
|
711 |
function groups_screen_group_admin_manage_members() {
|
712 |
|
@@ -824,6 +856,9 @@ function groups_screen_group_admin_manage_members() {
|
|
824 |
}
|
825 |
add_action( 'bp_screens', 'groups_screen_group_admin_manage_members' );
|
826 |
|
|
|
|
|
|
|
827 |
function groups_screen_group_admin_requests() {
|
828 |
$bp = buddypress();
|
829 |
|
@@ -872,6 +907,9 @@ function groups_screen_group_admin_requests() {
|
|
872 |
}
|
873 |
add_action( 'bp_screens', 'groups_screen_group_admin_requests' );
|
874 |
|
|
|
|
|
|
|
875 |
function groups_screen_group_admin_delete_group() {
|
876 |
global $bp;
|
877 |
|
@@ -911,9 +949,7 @@ function groups_screen_group_admin_delete_group() {
|
|
911 |
add_action( 'bp_screens', 'groups_screen_group_admin_delete_group' );
|
912 |
|
913 |
/**
|
914 |
-
*
|
915 |
-
*
|
916 |
-
* @package BuddyPress
|
917 |
*/
|
918 |
function groups_screen_notification_settings() {
|
919 |
|
@@ -933,7 +969,7 @@ function groups_screen_notification_settings() {
|
|
933 |
<thead>
|
934 |
<tr>
|
935 |
<th class="icon"></th>
|
936 |
-
<th class="title"><?php _ex( 'Groups', 'Group settings on notification settings page', 'buddypress' ) ?></th>
|
937 |
<th class="yes"><?php _e( 'Yes', 'buddypress' ) ?></th>
|
938 |
<th class="no"><?php _e( 'No', 'buddypress' )?></th>
|
939 |
</tr>
|
@@ -977,19 +1013,19 @@ add_action( 'bp_notification_settings', 'groups_screen_notification_settings' );
|
|
977 |
/** Theme Compatability *******************************************************/
|
978 |
|
979 |
/**
|
980 |
-
* The main theme compat class for BuddyPress Groups
|
981 |
*
|
982 |
* This class sets up the necessary theme compatability actions to safely output
|
983 |
* group template parts to the_title and the_content areas of a theme.
|
984 |
*
|
985 |
-
* @since BuddyPress (1.7)
|
986 |
*/
|
987 |
class BP_Groups_Theme_Compat {
|
988 |
|
989 |
/**
|
990 |
-
*
|
991 |
*
|
992 |
-
* @since BuddyPress (1.7)
|
993 |
*/
|
994 |
public function __construct() {
|
995 |
add_action( 'bp_setup_theme_compat', array( $this, 'is_group' ) );
|
@@ -998,7 +1034,7 @@ class BP_Groups_Theme_Compat {
|
|
998 |
/**
|
999 |
* Are we looking at something that needs group theme compatability?
|
1000 |
*
|
1001 |
-
* @since BuddyPress (1.7)
|
1002 |
*/
|
1003 |
public function is_group() {
|
1004 |
|
@@ -1031,16 +1067,17 @@ class BP_Groups_Theme_Compat {
|
|
1031 |
}
|
1032 |
}
|
1033 |
|
1034 |
-
/** Directory
|
1035 |
|
1036 |
/**
|
1037 |
* Add template hierarchy to theme compat for the group directory page.
|
1038 |
*
|
1039 |
-
* This is to mirror how WordPress has
|
|
|
1040 |
*
|
1041 |
-
* @since BuddyPress (1.8)
|
1042 |
*
|
1043 |
-
* @param string $templates The templates from bp_get_theme_compat_templates()
|
1044 |
* @return array $templates Array of custom templates to look for.
|
1045 |
*/
|
1046 |
public function directory_template_hierarchy( $templates ) {
|
@@ -1057,9 +1094,9 @@ class BP_Groups_Theme_Compat {
|
|
1057 |
}
|
1058 |
|
1059 |
/**
|
1060 |
-
* Update the global $post with directory data
|
1061 |
*
|
1062 |
-
* @since BuddyPress (1.7)
|
1063 |
*/
|
1064 |
public function directory_dummy_post() {
|
1065 |
|
@@ -1079,24 +1116,25 @@ class BP_Groups_Theme_Compat {
|
|
1079 |
}
|
1080 |
|
1081 |
/**
|
1082 |
-
* Filter the_content with the groups index template part
|
1083 |
*
|
1084 |
-
* @since BuddyPress (1.7)
|
1085 |
*/
|
1086 |
public function directory_content() {
|
1087 |
return bp_buffer_template_part( 'groups/index', null, false );
|
1088 |
}
|
1089 |
|
1090 |
-
/** Create
|
1091 |
|
1092 |
/**
|
1093 |
* Add custom template hierarchy to theme compat for the group create page.
|
1094 |
*
|
1095 |
-
* This is to mirror how WordPress has
|
|
|
1096 |
*
|
1097 |
-
* @since BuddyPress (1.8)
|
1098 |
*
|
1099 |
-
* @param string $templates The templates from bp_get_theme_compat_templates()
|
1100 |
* @return array $templates Array of custom templates to look for.
|
1101 |
*/
|
1102 |
public function create_template_hierarchy( $templates ) {
|
@@ -1113,9 +1151,9 @@ class BP_Groups_Theme_Compat {
|
|
1113 |
}
|
1114 |
|
1115 |
/**
|
1116 |
-
* Update the global $post with create screen data
|
1117 |
*
|
1118 |
-
* @since BuddyPress (1.7)
|
1119 |
*/
|
1120 |
public function create_dummy_post() {
|
1121 |
|
@@ -1135,24 +1173,25 @@ class BP_Groups_Theme_Compat {
|
|
1135 |
}
|
1136 |
|
1137 |
/**
|
1138 |
-
* Filter the_content with the create screen template part
|
1139 |
*
|
1140 |
-
* @since BuddyPress (1.7)
|
1141 |
*/
|
1142 |
public function create_content() {
|
1143 |
return bp_buffer_template_part( 'groups/create', null, false );
|
1144 |
}
|
1145 |
|
1146 |
-
/** Single
|
1147 |
|
1148 |
/**
|
1149 |
* Add custom template hierarchy to theme compat for group pages.
|
1150 |
*
|
1151 |
-
* This is to mirror how WordPress has
|
|
|
1152 |
*
|
1153 |
-
* @since BuddyPress (1.8)
|
1154 |
*
|
1155 |
-
* @param string $templates The templates from bp_get_theme_compat_templates()
|
1156 |
* @return array $templates Array of custom templates to look for.
|
1157 |
*/
|
1158 |
public function single_template_hierarchy( $templates ) {
|
@@ -1176,9 +1215,9 @@ class BP_Groups_Theme_Compat {
|
|
1176 |
}
|
1177 |
|
1178 |
/**
|
1179 |
-
* Update the global $post with single group data
|
1180 |
*
|
1181 |
-
* @since BuddyPress (1.7)
|
1182 |
*/
|
1183 |
public function single_dummy_post() {
|
1184 |
bp_theme_compat_reset_post( array(
|
@@ -1195,9 +1234,9 @@ class BP_Groups_Theme_Compat {
|
|
1195 |
}
|
1196 |
|
1197 |
/**
|
1198 |
-
* Filter the_content with the single group template part
|
1199 |
*
|
1200 |
-
* @since BuddyPress (1.7)
|
1201 |
*/
|
1202 |
public function single_content() {
|
1203 |
return bp_buffer_template_part( 'groups/single/home', null, false );
|
3 |
/**
|
4 |
* BuddyPress Groups Screen Functions
|
5 |
*
|
6 |
+
* Screen functions are the controllers of BuddyPress. They will execute when
|
7 |
+
* their specific URL is caught. They will first save or manipulate data using
|
8 |
+
* business functions, then pass on the user to a template file.
|
9 |
*
|
10 |
* @package BuddyPress
|
11 |
* @subpackage GroupsScreens
|
14 |
// Exit if accessed directly
|
15 |
if ( !defined( 'ABSPATH' ) ) exit;
|
16 |
|
17 |
+
/**
|
18 |
+
* Handle the display of the Groups directory index.
|
19 |
+
*/
|
20 |
function groups_directory_groups_setup() {
|
21 |
if ( bp_is_groups_directory() ) {
|
22 |
bp_update_is_directory( true, 'groups' );
|
28 |
}
|
29 |
add_action( 'bp_screens', 'groups_directory_groups_setup', 2 );
|
30 |
|
31 |
+
/**
|
32 |
+
* Handle the loading of the My Groups page.
|
33 |
+
*/
|
34 |
function groups_screen_my_groups() {
|
35 |
|
36 |
do_action( 'groups_screen_my_groups' );
|
38 |
bp_core_load_template( apply_filters( 'groups_template_my_groups', 'members/single/home' ) );
|
39 |
}
|
40 |
|
41 |
+
/**
|
42 |
+
* Handle the loading of a user's Groups > Invites page.
|
43 |
+
*/
|
44 |
function groups_screen_group_invites() {
|
45 |
$group_id = (int)bp_action_variable( 1 );
|
46 |
|
96 |
bp_core_load_template( apply_filters( 'groups_template_group_invites', 'members/single/home' ) );
|
97 |
}
|
98 |
|
99 |
+
/**
|
100 |
+
* Handle the loading of a single group's page.
|
101 |
+
*/
|
102 |
function groups_screen_group_home() {
|
103 |
|
104 |
if ( ! bp_is_single_item() ) {
|
111 |
}
|
112 |
|
113 |
/**
|
114 |
+
* This screen function handles actions related to group forums.
|
|
|
|
|
115 |
*/
|
116 |
function groups_screen_group_forum() {
|
117 |
|
409 |
}
|
410 |
}
|
411 |
|
412 |
+
/**
|
413 |
+
* Handle the display of a group's Members page.
|
414 |
+
*/
|
415 |
function groups_screen_group_members() {
|
416 |
|
417 |
if ( !bp_is_single_item() )
|
426 |
bp_core_load_template( apply_filters( 'groups_template_group_members', 'groups/single/home' ) );
|
427 |
}
|
428 |
|
429 |
+
/**
|
430 |
+
* Handle the display of a group's Send Invites page.
|
431 |
+
*/
|
432 |
function groups_screen_group_invite() {
|
433 |
|
434 |
if ( !bp_is_single_item() )
|
505 |
}
|
506 |
add_action( 'bp_screens', 'groups_remove_group_invite' );
|
507 |
|
508 |
+
/**
|
509 |
+
* Handle the display of a group's Request Membership page.
|
510 |
+
*/
|
511 |
function groups_screen_group_request_membership() {
|
512 |
global $bp;
|
513 |
|
548 |
bp_core_load_template( apply_filters( 'groups_template_group_request_membership', 'groups/single/home' ) );
|
549 |
}
|
550 |
|
551 |
+
/**
|
552 |
+
* Handle the display of a single group activity item.
|
553 |
+
*/
|
554 |
function groups_screen_group_activity_permalink() {
|
555 |
|
556 |
if ( !bp_is_groups_component() || !bp_is_active( 'activity' ) || ( bp_is_active( 'activity' ) && !bp_is_current_action( bp_get_activity_slug() ) ) || !bp_action_variable( 0 ) )
|
562 |
}
|
563 |
add_action( 'bp_screens', 'groups_screen_group_activity_permalink' );
|
564 |
|
565 |
+
/**
|
566 |
+
* Handle the display of a group's Admin pages.
|
567 |
+
*/
|
568 |
function groups_screen_group_admin() {
|
569 |
if ( !bp_is_groups_component() || !bp_is_current_action( 'admin' ) )
|
570 |
return false;
|
575 |
bp_core_redirect( bp_get_group_permalink( groups_get_current_group() ) . 'admin/edit-details/' );
|
576 |
}
|
577 |
|
578 |
+
/**
|
579 |
+
* Handle the display of a group's admin/edit-details page.
|
580 |
+
*/
|
581 |
function groups_screen_group_admin_edit_details() {
|
582 |
|
583 |
if ( 'edit-details' != bp_get_group_current_admin_tab() )
|
613 |
}
|
614 |
add_action( 'bp_screens', 'groups_screen_group_admin_edit_details' );
|
615 |
|
616 |
+
/**
|
617 |
+
* Handle the display of a group's admin/group-settings page.
|
618 |
+
*/
|
619 |
function groups_screen_group_admin_settings() {
|
620 |
|
621 |
if ( 'group-settings' != bp_get_group_current_admin_tab() )
|
659 |
}
|
660 |
add_action( 'bp_screens', 'groups_screen_group_admin_settings' );
|
661 |
|
662 |
+
/**
|
663 |
+
* Handle the display of a group's Change Avatar page.
|
664 |
+
*/
|
665 |
function groups_screen_group_admin_avatar() {
|
666 |
|
667 |
if ( 'group-avatar' != bp_get_group_current_admin_tab() )
|
739 |
|
740 |
/**
|
741 |
* This function handles actions related to member management on the group admin.
|
|
|
|
|
742 |
*/
|
743 |
function groups_screen_group_admin_manage_members() {
|
744 |
|
856 |
}
|
857 |
add_action( 'bp_screens', 'groups_screen_group_admin_manage_members' );
|
858 |
|
859 |
+
/**
|
860 |
+
* Handle the display of Admin > Membership Requests.
|
861 |
+
*/
|
862 |
function groups_screen_group_admin_requests() {
|
863 |
$bp = buddypress();
|
864 |
|
907 |
}
|
908 |
add_action( 'bp_screens', 'groups_screen_group_admin_requests' );
|
909 |
|
910 |
+
/**
|
911 |
+
* Handle the display of the Delete Group page.
|
912 |
+
*/
|
913 |
function groups_screen_group_admin_delete_group() {
|
914 |
global $bp;
|
915 |
|
949 |
add_action( 'bp_screens', 'groups_screen_group_admin_delete_group' );
|
950 |
|
951 |
/**
|
952 |
+
* Render the group settings fields on the Notification Settings page.
|
|
|
|
|
953 |
*/
|
954 |
function groups_screen_notification_settings() {
|
955 |
|
969 |
<thead>
|
970 |
<tr>
|
971 |
<th class="icon"></th>
|
972 |
+
<th class="title"><?php _ex( 'Groups', 'Group settings on notification settings page', 'buddypress' ) ?></th>
|
973 |
<th class="yes"><?php _e( 'Yes', 'buddypress' ) ?></th>
|
974 |
<th class="no"><?php _e( 'No', 'buddypress' )?></th>
|
975 |
</tr>
|
1013 |
/** Theme Compatability *******************************************************/
|
1014 |
|
1015 |
/**
|
1016 |
+
* The main theme compat class for BuddyPress Groups.
|
1017 |
*
|
1018 |
* This class sets up the necessary theme compatability actions to safely output
|
1019 |
* group template parts to the_title and the_content areas of a theme.
|
1020 |
*
|
1021 |
+
* @since BuddyPress (1.7.0)
|
1022 |
*/
|
1023 |
class BP_Groups_Theme_Compat {
|
1024 |
|
1025 |
/**
|
1026 |
+
* Set up theme compatibility for the Groups component.
|
1027 |
*
|
1028 |
+
* @since BuddyPress (1.7.0)
|
1029 |
*/
|
1030 |
public function __construct() {
|
1031 |
add_action( 'bp_setup_theme_compat', array( $this, 'is_group' ) );
|
1034 |
/**
|
1035 |
* Are we looking at something that needs group theme compatability?
|
1036 |
*
|
1037 |
+
* @since BuddyPress (1.7.0)
|
1038 |
*/
|
1039 |
public function is_group() {
|
1040 |
|
1067 |
}
|
1068 |
}
|
1069 |
|
1070 |
+
/** Directory *********************************************************/
|
1071 |
|
1072 |
/**
|
1073 |
* Add template hierarchy to theme compat for the group directory page.
|
1074 |
*
|
1075 |
+
* This is to mirror how WordPress has
|
1076 |
+
* {@link https://codex.wordpress.org/Template_Hierarchy template hierarchy}.
|
1077 |
*
|
1078 |
+
* @since BuddyPress (1.8.0)
|
1079 |
*
|
1080 |
+
* @param string $templates The templates from bp_get_theme_compat_templates().
|
1081 |
* @return array $templates Array of custom templates to look for.
|
1082 |
*/
|
1083 |
public function directory_template_hierarchy( $templates ) {
|
1094 |
}
|
1095 |
|
1096 |
/**
|
1097 |
+
* Update the global $post with directory data.
|
1098 |
*
|
1099 |
+
* @since BuddyPress (1.7.0)
|
1100 |
*/
|
1101 |
public function directory_dummy_post() {
|
1102 |
|
1116 |
}
|
1117 |
|
1118 |
/**
|
1119 |
+
* Filter the_content with the groups index template part.
|
1120 |
*
|
1121 |
+
* @since BuddyPress (1.7.0)
|
1122 |
*/
|
1123 |
public function directory_content() {
|
1124 |
return bp_buffer_template_part( 'groups/index', null, false );
|
1125 |
}
|
1126 |
|
1127 |
+
/** Create ************************************************************/
|
1128 |
|
1129 |
/**
|
1130 |
* Add custom template hierarchy to theme compat for the group create page.
|
1131 |
*
|
1132 |
+
* This is to mirror how WordPress has
|
1133 |
+
* {@link https://codex.wordpress.org/Template_Hierarchy template hierarchy}.
|
1134 |
*
|
1135 |
+
* @since BuddyPress (1.8.0)
|
1136 |
*
|
1137 |
+
* @param string $templates The templates from bp_get_theme_compat_templates().
|
1138 |
* @return array $templates Array of custom templates to look for.
|
1139 |
*/
|
1140 |
public function create_template_hierarchy( $templates ) {
|
1151 |
}
|
1152 |
|
1153 |
/**
|
1154 |
+
* Update the global $post with create screen data.
|
1155 |
*
|
1156 |
+
* @since BuddyPress (1.7.0)
|
1157 |
*/
|
1158 |
public function create_dummy_post() {
|
1159 |
|
1173 |
}
|
1174 |
|
1175 |
/**
|
1176 |
+
* Filter the_content with the create screen template part.
|
1177 |
*
|
1178 |
+
* @since BuddyPress (1.7.0)
|
1179 |
*/
|
1180 |
public function create_content() {
|
1181 |
return bp_buffer_template_part( 'groups/create', null, false );
|
1182 |
}
|
1183 |
|
1184 |
+
/** Single ************************************************************/
|
1185 |
|
1186 |
/**
|
1187 |
* Add custom template hierarchy to theme compat for group pages.
|
1188 |
*
|
1189 |
+
* This is to mirror how WordPress has
|
1190 |
+
* {@link https://codex.wordpress.org/Template_Hierarchy template hierarchy}.
|
1191 |
*
|
1192 |
+
* @since BuddyPress (1.8.0)
|
1193 |
*
|
1194 |
+
* @param string $templates The templates from bp_get_theme_compat_templates().
|
1195 |
* @return array $templates Array of custom templates to look for.
|
1196 |
*/
|
1197 |
public function single_template_hierarchy( $templates ) {
|
1215 |
}
|
1216 |
|
1217 |
/**
|
1218 |
+
* Update the global $post with single group data.
|
1219 |
*
|
1220 |
+
* @since BuddyPress (1.7.0)
|
1221 |
*/
|
1222 |
public function single_dummy_post() {
|
1223 |
bp_theme_compat_reset_post( array(
|
1234 |
}
|
1235 |
|
1236 |
/**
|
1237 |
+
* Filter the_content with the single group template part.
|
1238 |
*
|
1239 |
+
* @since BuddyPress (1.7.0)
|
1240 |
*/
|
1241 |
public function single_content() {
|
1242 |
return bp_buffer_template_part( 'groups/single/home', null, false );
|
bp-groups/bp-groups-template.php
CHANGED
@@ -1,33 +1,26 @@
|
|
1 |
<?php
|
2 |
|
3 |
/**
|
4 |
-
* BuddyPress Groups Template Functions
|
5 |
-
*
|
6 |
-
* @package BuddyPress
|
7 |
-
* @subpackage GroupsTemplate
|
8 |
*/
|
9 |
|
10 |
// Exit if accessed directly
|
11 |
if ( !defined( 'ABSPATH' ) ) exit;
|
12 |
|
13 |
/**
|
14 |
-
* Output the groups component slug
|
15 |
-
*
|
16 |
-
* @package BuddyPress
|
17 |
-
* @subpackage Groups Template
|
18 |
-
* @since BuddyPress (1.5)
|
19 |
*
|
20 |
-
* @
|
21 |
*/
|
22 |
function bp_groups_slug() {
|
23 |
echo bp_get_groups_slug();
|
24 |
}
|
25 |
/**
|
26 |
-
* Return the groups component slug
|
27 |
*
|
28 |
-
* @
|
29 |
-
*
|
30 |
-
* @
|
31 |
*/
|
32 |
function bp_get_groups_slug() {
|
33 |
return apply_filters( 'bp_get_groups_slug', buddypress()->groups->slug );
|
@@ -36,11 +29,7 @@ function bp_groups_slug() {
|
|
36 |
/**
|
37 |
* Output the groups component root slug
|
38 |
*
|
39 |
-
* @
|
40 |
-
* @subpackage Groups Template
|
41 |
-
* @since BuddyPress (1.5)
|
42 |
-
*
|
43 |
-
* @uses bp_get_groups_root_slug()
|
44 |
*/
|
45 |
function bp_groups_root_slug() {
|
46 |
echo bp_get_groups_root_slug();
|
@@ -48,9 +37,9 @@ function bp_groups_root_slug() {
|
|
48 |
/**
|
49 |
* Return the groups component root slug
|
50 |
*
|
51 |
-
* @
|
52 |
-
*
|
53 |
-
* @
|
54 |
*/
|
55 |
function bp_get_groups_root_slug() {
|
56 |
return apply_filters( 'bp_get_groups_root_slug', buddypress()->groups->root_slug );
|
@@ -59,10 +48,7 @@ function bp_groups_root_slug() {
|
|
59 |
/**
|
60 |
* Output group directory permalink
|
61 |
*
|
62 |
-
* @
|
63 |
-
* @subpackage Groups Template
|
64 |
-
* @since BuddyPress (1.5)
|
65 |
-
* @uses bp_get_groups_directory_permalink()
|
66 |
*/
|
67 |
function bp_groups_directory_permalink() {
|
68 |
echo bp_get_groups_directory_permalink();
|
@@ -70,41 +56,130 @@ function bp_groups_directory_permalink() {
|
|
70 |
/**
|
71 |
* Return group directory permalink
|
72 |
*
|
73 |
-
* @
|
74 |
-
*
|
75 |
-
* @since BuddyPress (1.5)
|
76 |
-
* @uses apply_filters()
|
77 |
-
* @uses traisingslashit()
|
78 |
-
* @uses bp_get_root_domain()
|
79 |
-
* @uses bp_get_groups_root_slug()
|
80 |
* @return string
|
81 |
*/
|
82 |
function bp_get_groups_directory_permalink() {
|
83 |
return apply_filters( 'bp_get_groups_directory_permalink', trailingslashit( bp_get_root_domain() . '/' . bp_get_groups_root_slug() ) );
|
84 |
}
|
85 |
|
86 |
-
|
87 |
-
* Groups
|
88 |
-
|
89 |
-
|
|
|
90 |
class BP_Groups_Template {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
91 |
var $current_group = -1;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
92 |
var $group_count;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
93 |
var $groups;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
94 |
var $group;
|
95 |
|
|
|
|
|
|
|
|
|
|
|
|
|
96 |
var $in_the_loop;
|
97 |
|
|
|
|
|
|
|
|
|
|
|
|
|
98 |
var $pag_page;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
99 |
var $pag_num;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
100 |
var $pag_links;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
101 |
var $total_group_count;
|
102 |
|
|
|
|
|
|
|
|
|
|
|
|
|
103 |
var $single_group = false;
|
104 |
|
|
|
|
|
|
|
|
|
|
|
|
|
105 |
var $sort_by;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
106 |
var $order;
|
107 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
108 |
function __construct( $args = array() ){
|
109 |
|
110 |
// Backward compatibility with old method of passing arguments
|
@@ -263,6 +338,13 @@ class BP_Groups_Template {
|
|
263 |
}
|
264 |
}
|
265 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
266 |
function has_groups() {
|
267 |
if ( $this->group_count )
|
268 |
return true;
|
@@ -270,6 +352,11 @@ class BP_Groups_Template {
|
|
270 |
return false;
|
271 |
}
|
272 |
|
|
|
|
|
|
|
|
|
|
|
273 |
function next_group() {
|
274 |
$this->current_group++;
|
275 |
$this->group = $this->groups[$this->current_group];
|
@@ -277,6 +364,9 @@ class BP_Groups_Template {
|
|
277 |
return $this->group;
|
278 |
}
|
279 |
|
|
|
|
|
|
|
280 |
function rewind_groups() {
|
281 |
$this->current_group = -1;
|
282 |
if ( $this->group_count > 0 ) {
|
@@ -284,6 +374,17 @@ class BP_Groups_Template {
|
|
284 |
}
|
285 |
}
|
286 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
287 |
function groups() {
|
288 |
if ( $this->current_group + 1 < $this->group_count ) {
|
289 |
return true;
|
@@ -297,6 +398,15 @@ class BP_Groups_Template {
|
|
297 |
return false;
|
298 |
}
|
299 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
300 |
function the_group() {
|
301 |
$this->in_the_loop = true;
|
302 |
$this->group = $this->next_group();
|
@@ -307,7 +417,7 @@ class BP_Groups_Template {
|
|
307 |
}
|
308 |
|
309 |
/**
|
310 |
-
* Start the Groups Template Loop
|
311 |
*
|
312 |
* @since BuddyPress (1.0.0)
|
313 |
*
|
@@ -347,7 +457,6 @@ class BP_Groups_Template {
|
|
347 |
* @type bool $show_hidden Whether to include hidden groups in
|
348 |
* results. Default: false.
|
349 |
* }
|
350 |
-
*
|
351 |
* @return bool True if there are groups to display that match the params
|
352 |
*/
|
353 |
function bp_has_groups( $args = '' ) {
|
@@ -429,16 +538,32 @@ function bp_has_groups( $args = '' ) {
|
|
429 |
return apply_filters( 'bp_has_groups', $groups_template->has_groups(), $groups_template, $r );
|
430 |
}
|
431 |
|
|
|
|
|
|
|
|
|
|
|
432 |
function bp_groups() {
|
433 |
global $groups_template;
|
434 |
return $groups_template->groups();
|
435 |
}
|
436 |
|
|
|
|
|
|
|
|
|
|
|
437 |
function bp_the_group() {
|
438 |
global $groups_template;
|
439 |
return $groups_template->the_group();
|
440 |
}
|
441 |
|
|
|
|
|
|
|
|
|
|
|
|
|
442 |
function bp_group_is_visible( $group = false ) {
|
443 |
global $groups_template;
|
444 |
|
@@ -459,9 +584,21 @@ function bp_group_is_visible( $group = false ) {
|
|
459 |
return false;
|
460 |
}
|
461 |
|
|
|
|
|
|
|
|
|
|
|
462 |
function bp_group_id( $group = false ) {
|
463 |
echo bp_get_group_id( $group );
|
464 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
465 |
function bp_get_group_id( $group = false ) {
|
466 |
global $groups_template;
|
467 |
|
@@ -472,19 +609,19 @@ function bp_group_id( $group = false ) {
|
|
472 |
}
|
473 |
|
474 |
/**
|
475 |
-
* Output the row class of
|
476 |
*
|
477 |
-
* @since BuddyPress (1.7)
|
478 |
*/
|
479 |
function bp_group_class() {
|
480 |
echo bp_get_group_class();
|
481 |
}
|
482 |
/**
|
483 |
-
*
|
|
|
|
|
484 |
*
|
485 |
-
* @
|
486 |
-
* @return string Row class of the group
|
487 |
-
* @since BuddyPress (1.7)
|
488 |
*/
|
489 |
function bp_get_group_class() {
|
490 |
global $groups_template;
|
@@ -520,9 +657,22 @@ function bp_group_class() {
|
|
520 |
return $retval;
|
521 |
}
|
522 |
|
|
|
|
|
|
|
|
|
|
|
|
|
523 |
function bp_group_name( $group = false ) {
|
524 |
echo bp_get_group_name( $group );
|
525 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
526 |
function bp_get_group_name( $group = false ) {
|
527 |
global $groups_template;
|
528 |
|
@@ -532,9 +682,22 @@ function bp_group_name( $group = false ) {
|
|
532 |
return apply_filters( 'bp_get_group_name', $group->name );
|
533 |
}
|
534 |
|
|
|
|
|
|
|
|
|
|
|
|
|
535 |
function bp_group_type( $group = false ) {
|
536 |
echo bp_get_group_type( $group );
|
537 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
538 |
function bp_get_group_type( $group = false ) {
|
539 |
global $groups_template;
|
540 |
|
@@ -554,9 +717,22 @@ function bp_group_type( $group = false ) {
|
|
554 |
return apply_filters( 'bp_get_group_type', $type );
|
555 |
}
|
556 |
|
|
|
|
|
|
|
|
|
|
|
|
|
557 |
function bp_group_status( $group = false ) {
|
558 |
echo bp_get_group_status( $group );
|
559 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
560 |
function bp_get_group_status( $group = false ) {
|
561 |
global $groups_template;
|
562 |
|
@@ -571,7 +747,9 @@ function bp_group_status( $group = false ) {
|
|
571 |
*
|
572 |
* @since BuddyPress (1.0.0)
|
573 |
*
|
574 |
-
* @param array $args {
|
|
|
|
|
575 |
*/
|
576 |
function bp_group_avatar( $args = '' ) {
|
577 |
echo bp_get_group_avatar( $args );
|
@@ -581,7 +759,14 @@ function bp_group_avatar( $args = '' ) {
|
|
581 |
*
|
582 |
* @since BuddyPress (1.0.0)
|
583 |
*
|
584 |
-
* @param array $args {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
585 |
*/
|
586 |
function bp_get_group_avatar( $args = '' ) {
|
587 |
global $groups_template;
|
@@ -629,7 +814,8 @@ function bp_group_avatar( $args = '' ) {
|
|
629 |
*
|
630 |
* @since BuddyPress (1.0.0)
|
631 |
*
|
632 |
-
* @param object $group
|
|
|
633 |
*/
|
634 |
function bp_group_avatar_thumb( $group = false ) {
|
635 |
echo bp_get_group_avatar_thumb( $group );
|
@@ -639,7 +825,9 @@ function bp_group_avatar_thumb( $group = false ) {
|
|
639 |
*
|
640 |
* @since BuddyPress (1.0.0)
|
641 |
*
|
642 |
-
* @param object $group
|
|
|
|
|
643 |
*/
|
644 |
function bp_get_group_avatar_thumb( $group = false ) {
|
645 |
return bp_get_group_avatar( array(
|
@@ -653,7 +841,8 @@ function bp_group_avatar_thumb( $group = false ) {
|
|
653 |
*
|
654 |
* @since BuddyPress (1.0.0)
|
655 |
*
|
656 |
-
* @param object $group
|
|
|
657 |
*/
|
658 |
function bp_group_avatar_mini( $group = false ) {
|
659 |
echo bp_get_group_avatar_mini( $group );
|
@@ -663,7 +852,8 @@ function bp_group_avatar_mini( $group = false ) {
|
|
663 |
*
|
664 |
* @since BuddyPress (1.0.0)
|
665 |
*
|
666 |
-
* @param object $group
|
|
|
667 |
*/
|
668 |
function bp_get_group_avatar_mini( $group = false ) {
|
669 |
return bp_get_group_avatar( array(
|
@@ -674,9 +864,22 @@ function bp_group_avatar_mini( $group = false ) {
|
|
674 |
) );
|
675 |
}
|
676 |
|
|
|
|
|
|
|
|
|
|
|
|
|
677 |
function bp_group_last_active( $group = false ) {
|
678 |
echo bp_get_group_last_active( $group );
|
679 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
680 |
function bp_get_group_last_active( $group = false ) {
|
681 |
global $groups_template;
|
682 |
|
@@ -695,9 +898,22 @@ function bp_group_last_active( $group = false ) {
|
|
695 |
}
|
696 |
}
|
697 |
|
|
|
|
|
|
|
|
|
|
|
|
|
698 |
function bp_group_permalink( $group = false ) {
|
699 |
echo bp_get_group_permalink( $group );
|
700 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
701 |
function bp_get_group_permalink( $group = false ) {
|
702 |
global $groups_template;
|
703 |
|
@@ -707,9 +923,22 @@ function bp_group_permalink( $group = false ) {
|
|
707 |
return apply_filters( 'bp_get_group_permalink', trailingslashit( bp_get_root_domain() . '/' . bp_get_groups_root_slug() . '/' . $group->slug . '/' ) );
|
708 |
}
|
709 |
|
|
|
|
|
|
|
|
|
|
|
|
|
710 |
function bp_group_admin_permalink( $group = false ) {
|
711 |
echo bp_get_group_admin_permalink( $group );
|
712 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
713 |
function bp_get_group_admin_permalink( $group = false ) {
|
714 |
global $groups_template;
|
715 |
|
@@ -719,9 +948,22 @@ function bp_group_admin_permalink( $group = false ) {
|
|
719 |
return apply_filters( 'bp_get_group_admin_permalink', trailingslashit( bp_get_group_permalink( $group ) . 'admin' ) );
|
720 |
}
|
721 |
|
|
|
|
|
|
|
|
|
|
|
|
|
722 |
function bp_group_slug( $group = false ) {
|
723 |
echo bp_get_group_slug( $group );
|
724 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
725 |
function bp_get_group_slug( $group = false ) {
|
726 |
global $groups_template;
|
727 |
|
@@ -731,9 +973,22 @@ function bp_group_slug( $group = false ) {
|
|
731 |
return apply_filters( 'bp_get_group_slug', $group->slug );
|
732 |
}
|
733 |
|
|
|
|
|
|
|
|
|
|
|
|
|
734 |
function bp_group_description( $group = false ) {
|
735 |
echo bp_get_group_description( $group );
|
736 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
737 |
function bp_get_group_description( $group = false ) {
|
738 |
global $groups_template;
|
739 |
|
@@ -743,9 +998,26 @@ function bp_group_description( $group = false ) {
|
|
743 |
return apply_filters( 'bp_get_group_description', stripslashes($group->description) );
|
744 |
}
|
745 |
|
|
|
|
|
|
|
|
|
|
|
|
|
746 |
function bp_group_description_editable( $group = false ) {
|
747 |
echo bp_get_group_description_editable( $group );
|
748 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
749 |
function bp_get_group_description_editable( $group = false ) {
|
750 |
global $groups_template;
|
751 |
|
@@ -781,10 +1053,26 @@ function bp_group_description_excerpt( $group = false ) {
|
|
781 |
return apply_filters( 'bp_get_group_description_excerpt', bp_create_excerpt( $group->description ), $group );
|
782 |
}
|
783 |
|
784 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
785 |
function bp_group_public_status( $group = false ) {
|
786 |
echo bp_get_group_public_status( $group );
|
787 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
788 |
function bp_get_group_public_status( $group = false ) {
|
789 |
global $groups_template;
|
790 |
|
@@ -798,9 +1086,26 @@ function bp_group_public_status( $group = false ) {
|
|
798 |
}
|
799 |
}
|
800 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
801 |
function bp_group_is_public( $group = false ) {
|
802 |
echo bp_get_group_is_public( $group );
|
803 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
804 |
function bp_get_group_is_public( $group = false ) {
|
805 |
global $groups_template;
|
806 |
|
@@ -810,9 +1115,22 @@ function bp_group_is_public( $group = false ) {
|
|
810 |
return apply_filters( 'bp_get_group_is_public', $group->is_public );
|
811 |
}
|
812 |
|
|
|
|
|
|
|
|
|
|
|
|
|
813 |
function bp_group_date_created( $group = false ) {
|
814 |
echo bp_get_group_date_created( $group );
|
815 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
816 |
function bp_get_group_date_created( $group = false ) {
|
817 |
global $groups_template;
|
818 |
|
@@ -822,9 +1140,22 @@ function bp_group_date_created( $group = false ) {
|
|
822 |
return apply_filters( 'bp_get_group_date_created', bp_core_time_since( strtotime( $group->date_created ) ) );
|
823 |
}
|
824 |
|
|
|
|
|
|
|
|
|
|
|
|
|
825 |
function bp_group_creator_username( $group = false ) {
|
826 |
echo bp_get_group_creator_username( $group );
|
827 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
828 |
function bp_get_group_creator_username( $group = false ) {
|
829 |
global $groups_template;
|
830 |
|
@@ -834,9 +1165,22 @@ function bp_group_creator_username( $group = false ) {
|
|
834 |
return apply_filters( 'bp_get_group_creator_username', bp_core_get_user_displayname( $group->creator_id ) );
|
835 |
}
|
836 |
|
|
|
|
|
|
|
|
|
|
|
|
|
837 |
function bp_group_creator_id( $group = false ) {
|
838 |
echo bp_get_group_creator_id( $group );
|
839 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
840 |
function bp_get_group_creator_id( $group = false ) {
|
841 |
global $groups_template;
|
842 |
|
@@ -846,9 +1190,22 @@ function bp_group_creator_id( $group = false ) {
|
|
846 |
return apply_filters( 'bp_get_group_creator_id', $group->creator_id );
|
847 |
}
|
848 |
|
|
|
|
|
|
|
|
|
|
|
|
|
849 |
function bp_group_creator_permalink( $group = false ) {
|
850 |
echo bp_get_group_creator_permalink( $group );
|
851 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
852 |
function bp_get_group_creator_permalink( $group = false ) {
|
853 |
global $groups_template;
|
854 |
|
@@ -858,6 +1215,14 @@ function bp_group_creator_permalink( $group = false ) {
|
|
858 |
return apply_filters( 'bp_get_group_creator_permalink', bp_core_get_user_domain( $group->creator_id ) );
|
859 |
}
|
860 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
861 |
function bp_is_group_creator( $group = false, $user_id = 0 ) {
|
862 |
global $groups_template;
|
863 |
|
@@ -870,9 +1235,37 @@ function bp_is_group_creator( $group = false, $user_id = 0 ) {
|
|
870 |
return (bool) ( $group->creator_id == $user_id );
|
871 |
}
|
872 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
873 |
function bp_group_creator_avatar( $group = false, $args = array() ) {
|
874 |
echo bp_get_group_creator_avatar( $group, $args );
|
875 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
876 |
function bp_get_group_creator_avatar( $group = false, $args = array() ) {
|
877 |
global $groups_template;
|
878 |
|
@@ -896,15 +1289,34 @@ function bp_group_creator_avatar( $group = false, $args = array() ) {
|
|
896 |
return apply_filters( 'bp_get_group_creator_avatar', $avatar );
|
897 |
}
|
898 |
|
899 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
900 |
function bp_group_is_admin() {
|
901 |
return bp_is_item_admin();
|
902 |
}
|
903 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
904 |
function bp_group_is_mod() {
|
905 |
return bp_is_item_mod();
|
906 |
}
|
907 |
|
|
|
|
|
|
|
|
|
|
|
|
|
908 |
function bp_group_list_admins( $group = false ) {
|
909 |
global $groups_template;
|
910 |
|
@@ -939,6 +1351,12 @@ function bp_group_list_admins( $group = false ) {
|
|
939 |
<?php
|
940 |
}
|
941 |
|
|
|
|
|
|
|
|
|
|
|
|
|
942 |
function bp_group_list_mods( $group = false ) {
|
943 |
global $groups_template;
|
944 |
|
@@ -982,14 +1400,15 @@ function bp_group_list_mods( $group = false ) {
|
|
982 |
}
|
983 |
|
984 |
/**
|
985 |
-
* Return a list of
|
986 |
*
|
987 |
-
* @
|
988 |
-
* @since BuddyPress (1.5)
|
989 |
*
|
990 |
-
* @param BP_Groups_Group $group
|
991 |
-
*
|
992 |
-
* @
|
|
|
|
|
993 |
*/
|
994 |
function bp_group_admin_ids( $group = false, $format = 'string' ) {
|
995 |
global $groups_template;
|
@@ -1012,14 +1431,15 @@ function bp_group_admin_ids( $group = false, $format = 'string' ) {
|
|
1012 |
}
|
1013 |
|
1014 |
/**
|
1015 |
-
* Return a list of
|
1016 |
*
|
1017 |
-
* @
|
1018 |
-
* @since BuddyPress (1.5)
|
1019 |
*
|
1020 |
-
* @param BP_Groups_Group $group
|
1021 |
-
*
|
1022 |
-
* @
|
|
|
|
|
1023 |
*/
|
1024 |
function bp_group_mod_ids( $group = false, $format = 'string' ) {
|
1025 |
global $groups_template;
|
@@ -1041,9 +1461,19 @@ function bp_group_mod_ids( $group = false, $format = 'string' ) {
|
|
1041 |
return apply_filters( 'bp_group_mod_ids', $mod_ids );
|
1042 |
}
|
1043 |
|
|
|
|
|
|
|
1044 |
function bp_group_all_members_permalink() {
|
1045 |
echo bp_get_group_all_members_permalink();
|
1046 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1047 |
function bp_get_group_all_members_permalink( $group = false ) {
|
1048 |
global $groups_template;
|
1049 |
|
@@ -1053,6 +1483,13 @@ function bp_group_all_members_permalink() {
|
|
1053 |
return apply_filters( 'bp_get_group_all_members_permalink', bp_get_group_permalink( $group ) . 'members' );
|
1054 |
}
|
1055 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1056 |
function bp_group_search_form() {
|
1057 |
global $bp;
|
1058 |
|
@@ -1253,9 +1690,7 @@ function bp_group_show_status_setting( $setting, $group = false ) {
|
|
1253 |
/**
|
1254 |
* Get the 'checked' value, if needed, for a given invite_status on the group create/admin screens
|
1255 |
*
|
1256 |
-
* @
|
1257 |
-
* @subpackage Groups Template
|
1258 |
-
* @since BuddyPress (1.5)
|
1259 |
*
|
1260 |
* @param string $setting The setting you want to check against ('members', 'mods', or 'admins')
|
1261 |
* @param BP_Groups_Group $group (optional) The group whose status you want to check
|
@@ -1278,9 +1713,7 @@ function bp_group_show_invite_status_setting( $setting, $group = false ) {
|
|
1278 |
*
|
1279 |
* This function can be used either in or out of the loop.
|
1280 |
*
|
1281 |
-
* @
|
1282 |
-
* @subpackage Groups Template
|
1283 |
-
* @since BuddyPress (1.5)
|
1284 |
*
|
1285 |
* @param int $group_id (optional) The id of the group whose status you want to check
|
1286 |
* @return mixed Returns false when no group can be found. Otherwise returns the group invite
|
@@ -1314,9 +1747,7 @@ function bp_group_get_invite_status( $group_id = false ) {
|
|
1314 |
/**
|
1315 |
* Can the logged-in user send invitations in the specified group?
|
1316 |
*
|
1317 |
-
* @
|
1318 |
-
* @subpackage Groups Template
|
1319 |
-
* @since BuddyPress (1.5)
|
1320 |
*
|
1321 |
* @param int $group_id (optional) The id of the group whose status you want to check
|
1322 |
* @return bool $can_send_invites
|
@@ -1373,7 +1804,7 @@ function bp_groups_user_can_send_invites( $group_id = false ) {
|
|
1373 |
*
|
1374 |
* @deprecated 1.5
|
1375 |
* @deprecated No longer used.
|
1376 |
-
* @since BuddyPress (1.0)
|
1377 |
* @todo Remove in 1.4
|
1378 |
*/
|
1379 |
function bp_group_admin_memberlist( $admin_list = false, $group = false ) {
|
@@ -2095,7 +2526,7 @@ function bp_group_create_button() {
|
|
2095 |
*
|
2096 |
* @global BP_Groups_Template $groups_template Groups template object
|
2097 |
* @param object $group Group to get status message for. Optional; defaults to current group.
|
2098 |
-
* @since BuddyPress (1.0)
|
2099 |
*/
|
2100 |
function bp_group_status_message( $group = null ) {
|
2101 |
global $groups_template;
|
@@ -2680,8 +3111,7 @@ function bp_groups_members_filter() {
|
|
2680 |
/**
|
2681 |
* Determine if the current logged in user can create groups.
|
2682 |
*
|
2683 |
-
* @
|
2684 |
-
* @since BuddyPress (1.5)
|
2685 |
*
|
2686 |
* @uses apply_filters() To call 'bp_user_can_create_groups'.
|
2687 |
* @uses bp_get_option() To retrieve value of 'bp_restrict_group_creation'. Defaults to 0.
|
@@ -2920,7 +3350,7 @@ function bp_group_creation_previous_link() {
|
|
2920 |
/**
|
2921 |
* Echoes the current group creation step
|
2922 |
*
|
2923 |
-
* @since BuddyPress (1.6)
|
2924 |
*/
|
2925 |
function bp_groups_current_create_step() {
|
2926 |
echo bp_get_groups_current_create_step();
|
@@ -2928,7 +3358,7 @@ function bp_groups_current_create_step() {
|
|
2928 |
/**
|
2929 |
* Returns the current group creation step. If none is found, returns an empty string
|
2930 |
*
|
2931 |
-
* @since BuddyPress (1.6)
|
2932 |
*
|
2933 |
* @uses apply_filters() Filter bp_get_groups_current_create_step to modify
|
2934 |
* @return string $current_create_step
|
@@ -3027,7 +3457,6 @@ function bp_directory_groups_search_form() {
|
|
3027 |
/**
|
3028 |
* Displays group header tabs
|
3029 |
*
|
3030 |
-
* @package BuddyPress
|
3031 |
* @todo Deprecate?
|
3032 |
*/
|
3033 |
function bp_groups_header_tabs() {
|
@@ -3047,7 +3476,6 @@ function bp_groups_header_tabs() {
|
|
3047 |
/**
|
3048 |
* Displays group filter titles
|
3049 |
*
|
3050 |
-
* @package BuddyPress
|
3051 |
* @todo Deprecate?
|
3052 |
*/
|
3053 |
function bp_groups_filter_title() {
|
@@ -3079,7 +3507,7 @@ function bp_groups_filter_title() {
|
|
3079 |
/**
|
3080 |
* Is the current page a specific group admin screen?
|
3081 |
*
|
3082 |
-
* @since BuddyPress (1.1)
|
3083 |
*
|
3084 |
* @param string $slug
|
3085 |
* @return bool
|
@@ -3091,7 +3519,7 @@ function bp_is_group_admin_screen( $slug = '' ) {
|
|
3091 |
/**
|
3092 |
* Echoes the current group admin tab slug
|
3093 |
*
|
3094 |
-
* @since BuddyPress (1.6)
|
3095 |
*/
|
3096 |
function bp_group_current_admin_tab() {
|
3097 |
echo bp_get_group_current_admin_tab();
|
@@ -3099,7 +3527,7 @@ function bp_group_current_admin_tab() {
|
|
3099 |
/**
|
3100 |
* Returns the current group admin tab slug
|
3101 |
*
|
3102 |
-
* @since BuddyPress (1.6)
|
3103 |
*
|
3104 |
* @uses apply_filters() Filter bp_get_current_group_admin_tab to modify return value
|
3105 |
* @return string $tab The current tab's slug
|
@@ -3121,7 +3549,7 @@ function bp_group_current_admin_tab() {
|
|
3121 |
/**
|
3122 |
* Outputs the current group avatar
|
3123 |
*
|
3124 |
-
* @since BuddyPress (1.0)
|
3125 |
* @param string $type thumb or full ?
|
3126 |
* @uses bp_get_group_current_avatar() to get the avatar of the current group
|
3127 |
*/
|
@@ -3788,7 +4216,7 @@ function bp_group_invite_pagination_count() {
|
|
3788 |
/**
|
3789 |
* Hook group activity feed to <head>
|
3790 |
*
|
3791 |
-
* @since BuddyPress (1.5)
|
3792 |
*/
|
3793 |
function bp_groups_activity_feed() {
|
3794 |
if ( !bp_is_active( 'groups' ) || !bp_is_active( 'activity' ) || !bp_is_group() )
|
@@ -3810,8 +4238,7 @@ function bp_group_activity_feed_link() {
|
|
3810 |
/**
|
3811 |
* Echoes the output of bp_get_current_group_id()
|
3812 |
*
|
3813 |
-
* @
|
3814 |
-
* @since BuddyPress (1.5)
|
3815 |
*/
|
3816 |
function bp_current_group_id() {
|
3817 |
echo bp_get_current_group_id();
|
@@ -3819,8 +4246,7 @@ function bp_current_group_id() {
|
|
3819 |
/**
|
3820 |
* Returns the ID of the current group
|
3821 |
*
|
3822 |
-
* @
|
3823 |
-
* @since BuddyPress (1.5)
|
3824 |
* @uses apply_filters() Filter bp_get_current_group_id to modify this output
|
3825 |
*
|
3826 |
* @return int $current_group_id The id of the current group, if there is one
|
@@ -3835,8 +4261,7 @@ function bp_current_group_id() {
|
|
3835 |
/**
|
3836 |
* Echoes the output of bp_get_current_group_slug()
|
3837 |
*
|
3838 |
-
* @
|
3839 |
-
* @since BuddyPress (1.5)
|
3840 |
*/
|
3841 |
function bp_current_group_slug() {
|
3842 |
echo bp_get_current_group_slug();
|
@@ -3844,8 +4269,7 @@ function bp_current_group_slug() {
|
|
3844 |
/**
|
3845 |
* Returns the slug of the current group
|
3846 |
*
|
3847 |
-
* @
|
3848 |
-
* @since BuddyPress (1.5)
|
3849 |
* @uses apply_filters() Filter bp_get_current_group_slug to modify this output
|
3850 |
*
|
3851 |
* @return string $current_group_slug The slug of the current group, if there is one
|
@@ -3860,7 +4284,6 @@ function bp_current_group_slug() {
|
|
3860 |
/**
|
3861 |
* Echoes the output of bp_get_current_group_name()
|
3862 |
*
|
3863 |
-
* @package BuddyPress
|
3864 |
*/
|
3865 |
function bp_current_group_name() {
|
3866 |
echo bp_get_current_group_name();
|
@@ -3868,8 +4291,7 @@ function bp_current_group_name() {
|
|
3868 |
/**
|
3869 |
* Returns the name of the current group
|
3870 |
*
|
3871 |
-
* @
|
3872 |
-
* @since BuddyPress (1.5)
|
3873 |
* @uses apply_filters() Filter bp_get_current_group_name to modify this output
|
3874 |
*
|
3875 |
* @return string The name of the current group, if there is one
|
@@ -3885,7 +4307,6 @@ function bp_current_group_name() {
|
|
3885 |
/**
|
3886 |
* Echoes the output of bp_get_current_group_description()
|
3887 |
*
|
3888 |
-
* @package BuddyPress
|
3889 |
* @since BuddyPress (2.1.0)
|
3890 |
*/
|
3891 |
function bp_current_group_description() {
|
@@ -3894,7 +4315,6 @@ function bp_current_group_description() {
|
|
3894 |
/**
|
3895 |
* Returns the description of the current group
|
3896 |
*
|
3897 |
-
* @package BuddyPress
|
3898 |
* @since BuddyPress (2.1.0)
|
3899 |
* @uses apply_filters() Filter bp_get_current_group_description to modify
|
3900 |
* this output
|
@@ -3912,7 +4332,7 @@ function bp_current_group_description() {
|
|
3912 |
/**
|
3913 |
* Output a URL for a group component action
|
3914 |
*
|
3915 |
-
* @since BuddyPress (1.2)
|
3916 |
*
|
3917 |
* @param string $action
|
3918 |
* @param string $query_args
|
@@ -3925,7 +4345,7 @@ function bp_groups_action_link( $action = '', $query_args = '', $nonce = false )
|
|
3925 |
/**
|
3926 |
* Get a URL for a group component action
|
3927 |
*
|
3928 |
-
* @since BuddyPress (1.2)
|
3929 |
*
|
3930 |
* @param string $action
|
3931 |
* @param string $query_args
|
1 |
<?php
|
2 |
|
3 |
/**
|
4 |
+
* BuddyPress Groups Template Functions.
|
|
|
|
|
|
|
5 |
*/
|
6 |
|
7 |
// Exit if accessed directly
|
8 |
if ( !defined( 'ABSPATH' ) ) exit;
|
9 |
|
10 |
/**
|
11 |
+
* Output the groups component slug.
|
|
|
|
|
|
|
|
|
12 |
*
|
13 |
+
* @since BuddyPress (1.5.0)
|
14 |
*/
|
15 |
function bp_groups_slug() {
|
16 |
echo bp_get_groups_slug();
|
17 |
}
|
18 |
/**
|
19 |
+
* Return the groups component slug.
|
20 |
*
|
21 |
+
* @since BuddyPress (1.5.0)
|
22 |
+
*
|
23 |
+
* @return string
|
24 |
*/
|
25 |
function bp_get_groups_slug() {
|
26 |
return apply_filters( 'bp_get_groups_slug', buddypress()->groups->slug );
|
29 |
/**
|
30 |
* Output the groups component root slug
|
31 |
*
|
32 |
+
* @since BuddyPress (1.5.0)
|
|
|
|
|
|
|
|
|
33 |
*/
|
34 |
function bp_groups_root_slug() {
|
35 |
echo bp_get_groups_root_slug();
|
37 |
/**
|
38 |
* Return the groups component root slug
|
39 |
*
|
40 |
+
* @since BuddyPress (1.5.0)
|
41 |
+
*
|
42 |
+
* @return string
|
43 |
*/
|
44 |
function bp_get_groups_root_slug() {
|
45 |
return apply_filters( 'bp_get_groups_root_slug', buddypress()->groups->root_slug );
|
48 |
/**
|
49 |
* Output group directory permalink
|
50 |
*
|
51 |
+
* @since BuddyPress (1.5.0)
|
|
|
|
|
|
|
52 |
*/
|
53 |
function bp_groups_directory_permalink() {
|
54 |
echo bp_get_groups_directory_permalink();
|
56 |
/**
|
57 |
* Return group directory permalink
|
58 |
*
|
59 |
+
* @since BuddyPress (1.5.0)
|
60 |
+
*
|
|
|
|
|
|
|
|
|
|
|
61 |
* @return string
|
62 |
*/
|
63 |
function bp_get_groups_directory_permalink() {
|
64 |
return apply_filters( 'bp_get_groups_directory_permalink', trailingslashit( bp_get_root_domain() . '/' . bp_get_groups_root_slug() ) );
|
65 |
}
|
66 |
|
67 |
+
/**
|
68 |
+
* The main Groups template loop class.
|
69 |
+
*
|
70 |
+
* Responsible for loading a group of groups into a loop for display.
|
71 |
+
*/
|
72 |
class BP_Groups_Template {
|
73 |
+
|
74 |
+
/**
|
75 |
+
* The loop iterator.
|
76 |
+
*
|
77 |
+
* @access public
|
78 |
+
* @var int
|
79 |
+
*/
|
80 |
var $current_group = -1;
|
81 |
+
|
82 |
+
/**
|
83 |
+
* The number of groups returned by the paged query.
|
84 |
+
*
|
85 |
+
* @access public
|
86 |
+
* @var int
|
87 |
+
*/
|
88 |
var $group_count;
|
89 |
+
|
90 |
+
/**
|
91 |
+
* Array of groups located by the query.
|
92 |
+
*
|
93 |
+
* @access public
|
94 |
+
* @var array
|
95 |
+
*/
|
96 |
var $groups;
|
97 |
+
|
98 |
+
/**
|
99 |
+
* The group object currently being iterated on.
|
100 |
+
*
|
101 |
+
* @access public
|
102 |
+
* @var object
|
103 |
+
*/
|
104 |
var $group;
|
105 |
|
106 |
+
/**
|
107 |
+
* A flag for whether the loop is currently being iterated.
|
108 |
+
*
|
109 |
+
* @access public
|
110 |
+
* @var bool
|
111 |
+
*/
|
112 |
var $in_the_loop;
|
113 |
|
114 |
+
/**
|
115 |
+
* The page number being requested.
|
116 |
+
*
|
117 |
+
* @access public
|
118 |
+
* @var public
|
119 |
+
*/
|
120 |
var $pag_page;
|
121 |
+
|
122 |
+
/**
|
123 |
+
* The number of items being requested per page.
|
124 |
+
*
|
125 |
+
* @access public
|
126 |
+
* @var public
|
127 |
+
*/
|
128 |
var $pag_num;
|
129 |
+
|
130 |
+
/**
|
131 |
+
* An HTML string containing pagination links.
|
132 |
+
*
|
133 |
+
* @access public
|
134 |
+
* @var string
|
135 |
+
*/
|
136 |
var $pag_links;
|
137 |
+
|
138 |
+
/**
|
139 |
+
* The total number of groups matching the query parameters.
|
140 |
+
*
|
141 |
+
* @access public
|
142 |
+
* @var int
|
143 |
+
*/
|
144 |
var $total_group_count;
|
145 |
|
146 |
+
/**
|
147 |
+
* Whether the template loop is for a single group page.
|
148 |
+
*
|
149 |
+
* @access public
|
150 |
+
* @var bool
|
151 |
+
*/
|
152 |
var $single_group = false;
|
153 |
|
154 |
+
/**
|
155 |
+
* Field to sort by.
|
156 |
+
*
|
157 |
+
* @access public
|
158 |
+
* @var string
|
159 |
+
*/
|
160 |
var $sort_by;
|
161 |
+
|
162 |
+
/**
|
163 |
+
* Sort order.
|
164 |
+
*
|
165 |
+
* @access public
|
166 |
+
* @var string
|
167 |
+
*/
|
168 |
var $order;
|
169 |
|
170 |
+
/**
|
171 |
+
* Constructor method.
|
172 |
+
*
|
173 |
+
* @see BP_Groups_Group::get() for an in-depth description of arguments.
|
174 |
+
*
|
175 |
+
* @param array $args {
|
176 |
+
* Array of arguments. Accepts all arguments accepted by
|
177 |
+
* {@link BP_Groups_Group::get()}. In cases where the default
|
178 |
+
* values of the params differ, they have been discussed below.
|
179 |
+
* @type int $per_page Default: 20.
|
180 |
+
* @type int $page Default: 1.
|
181 |
+
* }
|
182 |
+
*/
|
183 |
function __construct( $args = array() ){
|
184 |
|
185 |
// Backward compatibility with old method of passing arguments
|
338 |
}
|
339 |
}
|
340 |
|
341 |
+
/**
|
342 |
+
* Whether there are groups available in the loop.
|
343 |
+
*
|
344 |
+
* @see bp_has_groups()
|
345 |
+
*
|
346 |
+
* @return bool True if there are items in the loop, otherwise false.
|
347 |
+
*/
|
348 |
function has_groups() {
|
349 |
if ( $this->group_count )
|
350 |
return true;
|
352 |
return false;
|
353 |
}
|
354 |
|
355 |
+
/**
|
356 |
+
* Set up the next group and iterate index.
|
357 |
+
*
|
358 |
+
* @return object The next group to iterate over.
|
359 |
+
*/
|
360 |
function next_group() {
|
361 |
$this->current_group++;
|
362 |
$this->group = $this->groups[$this->current_group];
|
364 |
return $this->group;
|
365 |
}
|
366 |
|
367 |
+
/**
|
368 |
+
* Rewind the groups and reset member index.
|
369 |
+
*/
|
370 |
function rewind_groups() {
|
371 |
$this->current_group = -1;
|
372 |
if ( $this->group_count > 0 ) {
|
374 |
}
|
375 |
}
|
376 |
|
377 |
+
/**
|
378 |
+
* Whether there are groups left in the loop to iterate over.
|
379 |
+
*
|
380 |
+
* This method is used by {@link bp_groups()} as part of the while loop
|
381 |
+
* that controls iteration inside the groups loop, eg:
|
382 |
+
* while ( bp_groups() ) { ...
|
383 |
+
*
|
384 |
+
* @see bp_groups()
|
385 |
+
*
|
386 |
+
* @return bool True if there are more groups to show, otherwise false.
|
387 |
+
*/
|
388 |
function groups() {
|
389 |
if ( $this->current_group + 1 < $this->group_count ) {
|
390 |
return true;
|
398 |
return false;
|
399 |
}
|
400 |
|
401 |
+
/**
|
402 |
+
* Set up the current group inside the loop.
|
403 |
+
*
|
404 |
+
* Used by {@link bp_the_group()} to set up the current group data
|
405 |
+
* while looping, so that template tags used during that iteration make
|
406 |
+
* reference to the current member.
|
407 |
+
*
|
408 |
+
* @see bp_the_group()
|
409 |
+
*/
|
410 |
function the_group() {
|
411 |
$this->in_the_loop = true;
|
412 |
$this->group = $this->next_group();
|
417 |
}
|
418 |
|
419 |
/**
|
420 |
+
* Start the Groups Template Loop.
|
421 |
*
|
422 |
* @since BuddyPress (1.0.0)
|
423 |
*
|
457 |
* @type bool $show_hidden Whether to include hidden groups in
|
458 |
* results. Default: false.
|
459 |
* }
|
|
|
460 |
* @return bool True if there are groups to display that match the params
|
461 |
*/
|
462 |
function bp_has_groups( $args = '' ) {
|
538 |
return apply_filters( 'bp_has_groups', $groups_template->has_groups(), $groups_template, $r );
|
539 |
}
|
540 |
|
541 |
+
/**
|
542 |
+
* Check whether there are more groups to iterate over.
|
543 |
+
*
|
544 |
+
* @return bool
|
545 |
+
*/
|
546 |
function bp_groups() {
|
547 |
global $groups_template;
|
548 |
return $groups_template->groups();
|
549 |
}
|
550 |
|
551 |
+
/**
|
552 |
+
* Set up the current group inside the loop.
|
553 |
+
*
|
554 |
+
* @return object
|
555 |
+
*/
|
556 |
function bp_the_group() {
|
557 |
global $groups_template;
|
558 |
return $groups_template->the_group();
|
559 |
}
|
560 |
|
561 |
+
/**
|
562 |
+
* Is the group visible to the currently logged-in user?
|
563 |
+
*
|
564 |
+
* @param object $group Optional. Group object. Default: current group in loop.
|
565 |
+
* @return bool
|
566 |
+
*/
|
567 |
function bp_group_is_visible( $group = false ) {
|
568 |
global $groups_template;
|
569 |
|
584 |
return false;
|
585 |
}
|
586 |
|
587 |
+
/**
|
588 |
+
* Output the ID of the current group in the loop.
|
589 |
+
*
|
590 |
+
* @param object $group Optional. Group object. Default: current group in loop.
|
591 |
+
*/
|
592 |
function bp_group_id( $group = false ) {
|
593 |
echo bp_get_group_id( $group );
|
594 |
}
|
595 |
+
/**
|
596 |
+
* Get the ID of the current group in the loop.
|
597 |
+
*
|
598 |
+
* @param object $group Optional. Group object. Default: current
|
599 |
+
* group in loop.
|
600 |
+
* @return int
|
601 |
+
*/
|
602 |
function bp_get_group_id( $group = false ) {
|
603 |
global $groups_template;
|
604 |
|
609 |
}
|
610 |
|
611 |
/**
|
612 |
+
* Output the row class of the current group in the loop.
|
613 |
*
|
614 |
+
* @since BuddyPress (1.7.0)
|
615 |
*/
|
616 |
function bp_group_class() {
|
617 |
echo bp_get_group_class();
|
618 |
}
|
619 |
/**
|
620 |
+
* Get the row class of the current group in the loop.
|
621 |
+
*
|
622 |
+
* @since BuddyPress (1.7.0)
|
623 |
*
|
624 |
+
* @return string Row class of the group.
|
|
|
|
|
625 |
*/
|
626 |
function bp_get_group_class() {
|
627 |
global $groups_template;
|
657 |
return $retval;
|
658 |
}
|
659 |
|
660 |
+
/**
|
661 |
+
* Output the name of the current group in the loop.
|
662 |
+
*
|
663 |
+
* @param object $group Optional. Group object. Default: current
|
664 |
+
* group in loop.
|
665 |
+
*/
|
666 |
function bp_group_name( $group = false ) {
|
667 |
echo bp_get_group_name( $group );
|
668 |
}
|
669 |
+
/**
|
670 |
+
* Get the name of the current group in the loop.
|
671 |
+
*
|
672 |
+
* @param object $group Optional. Group object. Default: current
|
673 |
+
* group in loop.
|
674 |
+
* @return string
|
675 |
+
*/
|
676 |
function bp_get_group_name( $group = false ) {
|
677 |
global $groups_template;
|
678 |
|
682 |
return apply_filters( 'bp_get_group_name', $group->name );
|
683 |
}
|
684 |
|
685 |
+
/**
|
686 |
+
* Output the type of the current group in the loop.
|
687 |
+
*
|
688 |
+
* @param object $group Optional. Group object. Default: current
|
689 |
+
* group in loop.
|
690 |
+
*/
|
691 |
function bp_group_type( $group = false ) {
|
692 |
echo bp_get_group_type( $group );
|
693 |
}
|
694 |
+
/**
|
695 |
+
* Get the type of the current group in the loop.
|
696 |
+
*
|
697 |
+
* @param object $group Optional. Group object. Default: current
|
698 |
+
* group in loop.
|
699 |
+
* @return string
|
700 |
+
*/
|
701 |
function bp_get_group_type( $group = false ) {
|
702 |
global $groups_template;
|
703 |
|
717 |
return apply_filters( 'bp_get_group_type', $type );
|
718 |
}
|
719 |
|
720 |
+
/**
|
721 |
+
* Output the status of the current group in the loop.
|
722 |
+
*
|
723 |
+
* @param object $group Optional. Group object. Default: current
|
724 |
+
* group in loop.
|
725 |
+
*/
|
726 |
function bp_group_status( $group = false ) {
|
727 |
echo bp_get_group_status( $group );
|
728 |
}
|
729 |
+
/**
|
730 |
+
* Get the status of the current group in the loop.
|
731 |
+
*
|
732 |
+
* @param object $group Optional. Group object. Default: current
|
733 |
+
* group in loop.
|
734 |
+
* @return string
|
735 |
+
*/
|
736 |
function bp_get_group_status( $group = false ) {
|
737 |
global $groups_template;
|
738 |
|
747 |
*
|
748 |
* @since BuddyPress (1.0.0)
|
749 |
*
|
750 |
+
* @param array $args {
|
751 |
+
* See {@link bp_get_group_avatar()} for description of arguments.
|
752 |
+
* }
|
753 |
*/
|
754 |
function bp_group_avatar( $args = '' ) {
|
755 |
echo bp_get_group_avatar( $args );
|
759 |
*
|
760 |
* @since BuddyPress (1.0.0)
|
761 |
*
|
762 |
+
* @param array $args {
|
763 |
+
* Array of arguments. See {@link bp_core_fetch_avatar()} for
|
764 |
+
* detailed description. Default values that differ from that
|
765 |
+
* function are described below.
|
766 |
+
* @type string $type Default: 'full'.
|
767 |
+
* @type string $id Passed to $css_id parameter.
|
768 |
+
* }
|
769 |
+
* @return string
|
770 |
*/
|
771 |
function bp_get_group_avatar( $args = '' ) {
|
772 |
global $groups_template;
|
814 |
*
|
815 |
* @since BuddyPress (1.0.0)
|
816 |
*
|
817 |
+
* @param object $group Optional. Group object. Default: current
|
818 |
+
* group in loop.
|
819 |
*/
|
820 |
function bp_group_avatar_thumb( $group = false ) {
|
821 |
echo bp_get_group_avatar_thumb( $group );
|
825 |
*
|
826 |
* @since BuddyPress (1.0.0)
|
827 |
*
|
828 |
+
* @param object $group Optional. Group object. Default: current
|
829 |
+
* group in loop.
|
830 |
+
* @return string
|
831 |
*/
|
832 |
function bp_get_group_avatar_thumb( $group = false ) {
|
833 |
return bp_get_group_avatar( array(
|
841 |
*
|
842 |
* @since BuddyPress (1.0.0)
|
843 |
*
|
844 |
+
* @param object $group Optional. Group object. Default: current
|
845 |
+
* group in loop.
|
846 |
*/
|
847 |
function bp_group_avatar_mini( $group = false ) {
|
848 |
echo bp_get_group_avatar_mini( $group );
|
852 |
*
|
853 |
* @since BuddyPress (1.0.0)
|
854 |
*
|
855 |
+
* @param object $group Optional. Group object. Default: current
|
856 |
+
* group in loop.
|
857 |
*/
|
858 |
function bp_get_group_avatar_mini( $group = false ) {
|
859 |
return bp_get_group_avatar( array(
|
864 |
) );
|
865 |
}
|
866 |
|
867 |
+
/**
|
868 |
+
* Output the 'last active' string for the current group in the loop.
|
869 |
+
*
|
870 |
+
* @param object $group Optional. Group object. Default: current
|
871 |
+
* group in loop.
|
872 |
+
*/
|
873 |
function bp_group_last_active( $group = false ) {
|
874 |
echo bp_get_group_last_active( $group );
|
875 |
}
|
876 |
+
/**
|
877 |
+
* Return the 'last active' string for the current group in the loop.
|
878 |
+
*
|
879 |
+
* @param object $group Optional. Group object. Default: current
|
880 |
+
* group in loop.
|
881 |
+
* @return string
|
882 |
+
*/
|
883 |
function bp_get_group_last_active( $group = false ) {
|
884 |
global $groups_template;
|
885 |
|
898 |
}
|
899 |
}
|
900 |
|
901 |
+
/**
|
902 |
+
* Output the permalink for the current group in the loop.
|
903 |
+
*
|
904 |
+
* @param object $group Optional. Group object. Default: current
|
905 |
+
* group in loop.
|
906 |
+
*/
|
907 |
function bp_group_permalink( $group = false ) {
|
908 |
echo bp_get_group_permalink( $group );
|
909 |
}
|
910 |
+
/**
|
911 |
+
* Return the permalink for the current group in the loop.
|
912 |
+
*
|
913 |
+
* @param object $group Optional. Group object. Default: current
|
914 |
+
* group in loop.
|
915 |
+
* @return string
|
916 |
+
*/
|
917 |
function bp_get_group_permalink( $group = false ) {
|
918 |
global $groups_template;
|
919 |
|
923 |
return apply_filters( 'bp_get_group_permalink', trailingslashit( bp_get_root_domain() . '/' . bp_get_groups_root_slug() . '/' . $group->slug . '/' ) );
|
924 |
}
|
925 |
|
926 |
+
/**
|
927 |
+
* Output the permalink for the admin section of the current group in the loop.
|
928 |
+
*
|
929 |
+
* @param object $group Optional. Group object. Default: current
|
930 |
+
* group in loop.
|
931 |
+
*/
|
932 |
function bp_group_admin_permalink( $group = false ) {
|
933 |
echo bp_get_group_admin_permalink( $group );
|
934 |
}
|
935 |
+
/**
|
936 |
+
* Return the permalink for the admin section of the current group in the loop.
|
937 |
+
*
|
938 |
+
* @param object $group Optional. Group object. Default: current
|
939 |
+
* group in loop.
|
940 |
+
* @return string
|
941 |
+
*/
|
942 |
function bp_get_group_admin_permalink( $group = false ) {
|
943 |
global $groups_template;
|
944 |
|
948 |
return apply_filters( 'bp_get_group_admin_permalink', trailingslashit( bp_get_group_permalink( $group ) . 'admin' ) );
|
949 |
}
|
950 |
|
951 |
+
/**
|
952 |
+
* Return the slug for the current group in the loop.
|
953 |
+
*
|
954 |
+
* @param object $group Optional. Group object. Default: current
|
955 |
+
* group in loop.
|
956 |
+
*/
|
957 |
function bp_group_slug( $group = false ) {
|
958 |
echo bp_get_group_slug( $group );
|
959 |
}
|
960 |
+
/**
|
961 |
+
* Return the slug for the current group in the loop.
|
962 |
+
*
|
963 |
+
* @param object $group Optional. Group object. Default: current
|
964 |
+
* group in loop.
|
965 |
+
* @return string
|
966 |
+
*/
|
967 |
function bp_get_group_slug( $group = false ) {
|
968 |
global $groups_template;
|
969 |
|
973 |
return apply_filters( 'bp_get_group_slug', $group->slug );
|
974 |
}
|
975 |
|
976 |
+
/**
|
977 |
+
* Output the description for the current group in the loop.
|
978 |
+
*
|
979 |
+
* @param object $group Optional. Group object. Default: current
|
980 |
+
* group in loop.
|
981 |
+
*/
|
982 |
function bp_group_description( $group = false ) {
|
983 |
echo bp_get_group_description( $group );
|
984 |
}
|
985 |
+
/**
|
986 |
+
* Return the description for the current group in the loop.
|
987 |
+
*
|
988 |
+
* @param object $group Optional. Group object. Default: current
|
989 |
+
* group in loop.
|
990 |
+
* @return string
|
991 |
+
*/
|
992 |
function bp_get_group_description( $group = false ) {
|
993 |
global $groups_template;
|
994 |
|
998 |
return apply_filters( 'bp_get_group_description', stripslashes($group->description) );
|
999 |
}
|
1000 |
|
1001 |
+
/**
|
1002 |
+
* Output the description for the current group in the loop, for use in a textarea.
|
1003 |
+
*
|
1004 |
+
* @param object $group Optional. Group object. Default: current
|
1005 |
+
* group in loop.
|
1006 |
+
*/
|
1007 |
function bp_group_description_editable( $group = false ) {
|
1008 |
echo bp_get_group_description_editable( $group );
|
1009 |
}
|
1010 |
+
/**
|
1011 |
+
* Return the permalink for the current group in the loop, for use in a textarea.
|
1012 |
+
*
|
1013 |
+
* 'bp_get_group_description_editable' does not have the formatting
|
1014 |
+
* filters that 'bp_get_group_description' has, which makes it
|
1015 |
+
* appropriate for "raw" editing.
|
1016 |
+
*
|
1017 |
+
* @param object $group Optional. Group object. Default: current
|
1018 |
+
* group in loop.
|
1019 |
+
* @return string
|
1020 |
+
*/
|
1021 |
function bp_get_group_description_editable( $group = false ) {
|
1022 |
global $groups_template;
|
1023 |
|
1053 |
return apply_filters( 'bp_get_group_description_excerpt', bp_create_excerpt( $group->description ), $group );
|
1054 |
}
|
1055 |
|
1056 |
+
/**
|
1057 |
+
* Output the status of the current group in the loop.
|
1058 |
+
*
|
1059 |
+
* Either 'Public' or 'Private'.
|
1060 |
+
*
|
1061 |
+
* @param object $group Optional. Group object. Default: current
|
1062 |
+
* group in loop.
|
1063 |
+
*/
|
1064 |
function bp_group_public_status( $group = false ) {
|
1065 |
echo bp_get_group_public_status( $group );
|
1066 |
}
|
1067 |
+
/**
|
1068 |
+
* Return the status of the current group in the loop.
|
1069 |
+
*
|
1070 |
+
* Either 'Public' or 'Private'.
|
1071 |
+
*
|
1072 |
+
* @param object $group Optional. Group object. Default: current
|
1073 |
+
* group in loop.
|
1074 |
+
* @return string
|
1075 |
+
*/
|
1076 |
function bp_get_group_public_status( $group = false ) {
|
1077 |
global $groups_template;
|
1078 |
|
1086 |
}
|
1087 |
}
|
1088 |
|
1089 |
+
/**
|
1090 |
+
* Output whether the current group in the loop is public.
|
1091 |
+
*
|
1092 |
+
* No longer used in BuddyPress.
|
1093 |
+
*
|
1094 |
+
* @param object $group Optional. Group object. Default: current
|
1095 |
+
* group in loop.
|
1096 |
+
*/
|
1097 |
function bp_group_is_public( $group = false ) {
|
1098 |
echo bp_get_group_is_public( $group );
|
1099 |
}
|
1100 |
+
/**
|
1101 |
+
* Return whether the current group in the loop is public.
|
1102 |
+
*
|
1103 |
+
* No longer used in BuddyPress.
|
1104 |
+
*
|
1105 |
+
* @param object $group Optional. Group object. Default: current
|
1106 |
+
* group in loop.
|
1107 |
+
* @return unknown
|
1108 |
+
*/
|
1109 |
function bp_get_group_is_public( $group = false ) {
|
1110 |
global $groups_template;
|
1111 |
|
1115 |
return apply_filters( 'bp_get_group_is_public', $group->is_public );
|
1116 |
}
|
1117 |
|
1118 |
+
/**
|
1119 |
+
* Output the created date of the current group in the loop.
|
1120 |
+
*
|
1121 |
+
* @param object $group Optional. Group object. Default: current
|
1122 |
+
* group in loop.
|
1123 |
+
*/
|
1124 |
function bp_group_date_created( $group = false ) {
|
1125 |
echo bp_get_group_date_created( $group );
|
1126 |
}
|
1127 |
+
/**
|
1128 |
+
* Return the created date of the current group in the loop.
|
1129 |
+
*
|
1130 |
+
* @param object $group Optional. Group object. Default: current
|
1131 |
+
* group in loop.
|
1132 |
+
* @return string
|
1133 |
+
*/
|
1134 |
function bp_get_group_date_created( $group = false ) {
|
1135 |
global $groups_template;
|
1136 |
|
1140 |
return apply_filters( 'bp_get_group_date_created', bp_core_time_since( strtotime( $group->date_created ) ) );
|
1141 |
}
|
1142 |
|
1143 |
+
/**
|
1144 |
+
* Output the username of the creator of the current group in the loop.
|
1145 |
+
*
|
1146 |
+
* @param object $group Optional. Group object. Default: current
|
1147 |
+
* group in loop.
|
1148 |
+
*/
|
1149 |
function bp_group_creator_username( $group = false ) {
|
1150 |
echo bp_get_group_creator_username( $group );
|
1151 |
}
|
1152 |
+
/**
|
1153 |
+
* Return the username of the creator of the current group in the loop.
|
1154 |
+
*
|
1155 |
+
* @param object $group Optional. Group object. Default: current
|
1156 |
+
* group in loop.
|
1157 |
+
* @return string
|
1158 |
+
*/
|
1159 |
function bp_get_group_creator_username( $group = false ) {
|
1160 |
global $groups_template;
|
1161 |
|
1165 |
return apply_filters( 'bp_get_group_creator_username', bp_core_get_user_displayname( $group->creator_id ) );
|
1166 |
}
|
1167 |
|
1168 |
+
/**
|
1169 |
+
* Output the user ID of the creator of the current group in the loop.
|
1170 |
+
*
|
1171 |
+
* @param object $group Optional. Group object. Default: current
|
1172 |
+
* group in loop.
|
1173 |
+
*/
|
1174 |
function bp_group_creator_id( $group = false ) {
|
1175 |
echo bp_get_group_creator_id( $group );
|
1176 |
}
|
1177 |
+
/**
|
1178 |
+
* Return the user ID of the creator of the current group in the loop.
|
1179 |
+
*
|
1180 |
+
* @param object $group Optional. Group object. Default: current
|
1181 |
+
* group in loop.
|
1182 |
+
* @return int
|
1183 |
+
*/
|
1184 |
function bp_get_group_creator_id( $group = false ) {
|
1185 |
global $groups_template;
|
1186 |
|
1190 |
return apply_filters( 'bp_get_group_creator_id', $group->creator_id );
|
1191 |
}
|
1192 |
|
1193 |
+
/**
|
1194 |
+
* Output the permalink of the creator of the current group in the loop.
|
1195 |
+
*
|
1196 |
+
* @param object $group Optional. Group object. Default: current
|
1197 |
+
* group in loop.
|
1198 |
+
*/
|
1199 |
function bp_group_creator_permalink( $group = false ) {
|
1200 |
echo bp_get_group_creator_permalink( $group );
|
1201 |
}
|
1202 |
+
/**
|
1203 |
+
* Return the permalink of the creator of the current group in the loop.
|
1204 |
+
*
|
1205 |
+
* @param object $group Optional. Group object. Default: current
|
1206 |
+
* group in loop.
|
1207 |
+
* @return string
|
1208 |
+
*/
|
1209 |
function bp_get_group_creator_permalink( $group = false ) {
|
1210 |
global $groups_template;
|
1211 |
|
1215 |
return apply_filters( 'bp_get_group_creator_permalink', bp_core_get_user_domain( $group->creator_id ) );
|
1216 |
}
|
1217 |
|
1218 |
+
/**
|
1219 |
+
* Determine whether a user is the creator of the current group in the loop.
|
1220 |
+
*
|
1221 |
+
* @param object $group Optional. Group object. Default: current
|
1222 |
+
* group in loop.
|
1223 |
+
* @param int $user_id ID of the user.
|
1224 |
+
* @return bool
|
1225 |
+
*/
|
1226 |
function bp_is_group_creator( $group = false, $user_id = 0 ) {
|
1227 |
global $groups_template;
|
1228 |
|
1235 |
return (bool) ( $group->creator_id == $user_id );
|
1236 |
}
|
1237 |
|
1238 |
+
/**
|
1239 |
+
* Output the avatar of the creator of the current group in the loop.
|
1240 |
+
*
|
1241 |
+
* @param object $group Optional. Group object. Default: current
|
1242 |
+
* group in loop.
|
1243 |
+
* @param array $args {
|
1244 |
+
* Array of optional arguments. See {@link bp_get_group_creator_avatar()}
|
1245 |
+
* for description.
|
1246 |
+
* }
|
1247 |
+
*/
|
1248 |
function bp_group_creator_avatar( $group = false, $args = array() ) {
|
1249 |
echo bp_get_group_creator_avatar( $group, $args );
|
1250 |
}
|
1251 |
+
/**
|
1252 |
+
* Return the avatar of the creator of the current group in the loop.
|
1253 |
+
*
|
1254 |
+
* @param object $group Optional. Group object. Default: current
|
1255 |
+
* group in loop.
|
1256 |
+
* @param array $args {
|
1257 |
+
* Array of optional arguments. See {@link bp_core_fetch_avatar()}
|
1258 |
+
* for detailed description of arguments.
|
1259 |
+
* @type string $type Default: 'full'.
|
1260 |
+
* @type int $width Default: false.
|
1261 |
+
* @type int $height Default: false.
|
1262 |
+
* @type int $class Default: 'avatar'.
|
1263 |
+
* @type string $id Passed to 'css_id'. Default: false.
|
1264 |
+
* @type string $alt Alt text. Default: 'Group creator profile
|
1265 |
+
* photo of [user display name]'.
|
1266 |
+
* }
|
1267 |
+
* @return string
|
1268 |
+
*/
|
1269 |
function bp_get_group_creator_avatar( $group = false, $args = array() ) {
|
1270 |
global $groups_template;
|
1271 |
|
1289 |
return apply_filters( 'bp_get_group_creator_avatar', $avatar );
|
1290 |
}
|
1291 |
|
1292 |
+
/**
|
1293 |
+
* Determine whether the current user is the admin of the current group.
|
1294 |
+
*
|
1295 |
+
* Alias of {@link bp_is_item_admin()}.
|
1296 |
+
*
|
1297 |
+
* @return bool
|
1298 |
+
*/
|
1299 |
function bp_group_is_admin() {
|
1300 |
return bp_is_item_admin();
|
1301 |
}
|
1302 |
|
1303 |
+
/**
|
1304 |
+
* Determine whether the current user is a mod of the current group.
|
1305 |
+
*
|
1306 |
+
* Alias of {@link bp_is_item_mod()}.
|
1307 |
+
*
|
1308 |
+
* @return bool
|
1309 |
+
*/
|
1310 |
function bp_group_is_mod() {
|
1311 |
return bp_is_item_mod();
|
1312 |
}
|
1313 |
|
1314 |
+
/**
|
1315 |
+
* Output markup listing group admins.
|
1316 |
+
*
|
1317 |
+
* @param object $group Optional. Group object. Default: current
|
1318 |
+
* group in loop.
|
1319 |
+
*/
|
1320 |
function bp_group_list_admins( $group = false ) {
|
1321 |
global $groups_template;
|
1322 |
|
1351 |
<?php
|
1352 |
}
|
1353 |
|
1354 |
+
/**
|
1355 |
+
* Output markup listing group mod.
|
1356 |
+
*
|
1357 |
+
* @param object $group Optional. Group object. Default: current
|
1358 |
+
* group in loop.
|
1359 |
+
*/
|
1360 |
function bp_group_list_mods( $group = false ) {
|
1361 |
global $groups_template;
|
1362 |
|
1400 |
}
|
1401 |
|
1402 |
/**
|
1403 |
+
* Return a list of user IDs for a group's admins.
|
1404 |
*
|
1405 |
+
* @since BuddyPress (1.5.0)
|
|
|
1406 |
*
|
1407 |
+
* @param BP_Groups_Group $group Optional. The group being queried. Defaults
|
1408 |
+
* to the current group in the loop.
|
1409 |
+
* @param string $format Optional. 'string' to get a comma-separated string,
|
1410 |
+
* 'array' to get an array.
|
1411 |
+
* @return mixed $admin_ids A string or array of user IDs.
|
1412 |
*/
|
1413 |
function bp_group_admin_ids( $group = false, $format = 'string' ) {
|
1414 |
global $groups_template;
|
1431 |
}
|
1432 |
|
1433 |
/**
|
1434 |
+
* Return a list of user IDs for a group's moderators.
|
1435 |
*
|
1436 |
+
* @since BuddyPress (1.5.0)
|
|
|
1437 |
*
|
1438 |
+
* @param BP_Groups_Group $group Optional. The group being queried. Defaults
|
1439 |
+
* to the current group in the loop.
|
1440 |
+
* @param string $format Optional. 'string' to get a comma-separated string,
|
1441 |
+
* 'array' to get an array.
|
1442 |
+
* @return mixed $mod_ids A string or array of user IDs.
|
1443 |
*/
|
1444 |
function bp_group_mod_ids( $group = false, $format = 'string' ) {
|
1445 |
global $groups_template;
|
1461 |
return apply_filters( 'bp_group_mod_ids', $mod_ids );
|
1462 |
}
|
1463 |
|
1464 |
+
/**
|
1465 |
+
* Output the permalink of the current group's Members page.
|
1466 |
+
*/
|
1467 |
function bp_group_all_members_permalink() {
|
1468 |
echo bp_get_group_all_members_permalink();
|
1469 |
}
|
1470 |
+
/**
|
1471 |
+
* Return the permalink of the Members page of the current group in the loop.
|
1472 |
+
*
|
1473 |
+
* @param object $group Optional. Group object. Default: current
|
1474 |
+
* group in loop.
|
1475 |
+
* @return string
|
1476 |
+
*/
|
1477 |
function bp_get_group_all_members_permalink( $group = false ) {
|
1478 |
global $groups_template;
|
1479 |
|
1483 |
return apply_filters( 'bp_get_group_all_members_permalink', bp_get_group_permalink( $group ) . 'members' );
|
1484 |
}
|
1485 |
|
1486 |
+
/**
|
1487 |
+
* Display a Groups search form.
|
1488 |
+
*
|
1489 |
+
* No longer used in BuddyPress.
|
1490 |
+
*
|
1491 |
+
* @todo Deprecate
|
1492 |
+
*/
|
1493 |
function bp_group_search_form() {
|
1494 |
global $bp;
|
1495 |
|
1690 |
/**
|
1691 |
* Get the 'checked' value, if needed, for a given invite_status on the group create/admin screens
|
1692 |
*
|
1693 |
+
* @since BuddyPress (1.5.0)
|
|
|
|
|
1694 |
*
|
1695 |
* @param string $setting The setting you want to check against ('members', 'mods', or 'admins')
|
1696 |
* @param BP_Groups_Group $group (optional) The group whose status you want to check
|
1713 |
*
|
1714 |
* This function can be used either in or out of the loop.
|
1715 |
*
|
1716 |
+
* @since BuddyPress (1.5.0)
|
|
|
|
|
1717 |
*
|
1718 |
* @param int $group_id (optional) The id of the group whose status you want to check
|
1719 |
* @return mixed Returns false when no group can be found. Otherwise returns the group invite
|
1747 |
/**
|
1748 |
* Can the logged-in user send invitations in the specified group?
|
1749 |
*
|
1750 |
+
* @since BuddyPress (1.5.0)
|
|
|
|
|
1751 |
*
|
1752 |
* @param int $group_id (optional) The id of the group whose status you want to check
|
1753 |
* @return bool $can_send_invites
|
1804 |
*
|
1805 |
* @deprecated 1.5
|
1806 |
* @deprecated No longer used.
|
1807 |
+
* @since BuddyPress (1.0.0)
|
1808 |
* @todo Remove in 1.4
|
1809 |
*/
|
1810 |
function bp_group_admin_memberlist( $admin_list = false, $group = false ) {
|
2526 |
*
|
2527 |
* @global BP_Groups_Template $groups_template Groups template object
|
2528 |
* @param object $group Group to get status message for. Optional; defaults to current group.
|
2529 |
+
* @since BuddyPress (1.0.0)
|
2530 |
*/
|
2531 |
function bp_group_status_message( $group = null ) {
|
2532 |
global $groups_template;
|
3111 |
/**
|
3112 |
* Determine if the current logged in user can create groups.
|
3113 |
*
|
3114 |
+
* @since BuddyPress (1.5.0)
|
|
|
3115 |
*
|
3116 |
* @uses apply_filters() To call 'bp_user_can_create_groups'.
|
3117 |
* @uses bp_get_option() To retrieve value of 'bp_restrict_group_creation'. Defaults to 0.
|
3350 |
/**
|
3351 |
* Echoes the current group creation step
|
3352 |
*
|
3353 |
+
* @since BuddyPress (1.6.0)
|
3354 |
*/
|
3355 |
function bp_groups_current_create_step() {
|
3356 |
echo bp_get_groups_current_create_step();
|
3358 |
/**
|
3359 |
* Returns the current group creation step. If none is found, returns an empty string
|
3360 |
*
|
3361 |
+
* @since BuddyPress (1.6.0)
|
3362 |
*
|
3363 |
* @uses apply_filters() Filter bp_get_groups_current_create_step to modify
|
3364 |
* @return string $current_create_step
|
3457 |
/**
|
3458 |
* Displays group header tabs
|
3459 |
*
|
|
|
3460 |
* @todo Deprecate?
|
3461 |
*/
|
3462 |
function bp_groups_header_tabs() {
|
3476 |
/**
|
3477 |
* Displays group filter titles
|
3478 |
*
|
|
|
3479 |
* @todo Deprecate?
|
3480 |
*/
|
3481 |
function bp_groups_filter_title() {
|
3507 |
/**
|
3508 |
* Is the current page a specific group admin screen?
|
3509 |
*
|
3510 |
+
* @since BuddyPress (1.1.0)
|
3511 |
*
|
3512 |
* @param string $slug
|
3513 |
* @return bool
|
3519 |
/**
|
3520 |
* Echoes the current group admin tab slug
|
3521 |
*
|
3522 |
+
* @since BuddyPress (1.6.0)
|
3523 |
*/
|
3524 |
function bp_group_current_admin_tab() {
|
3525 |
echo bp_get_group_current_admin_tab();
|
3527 |
/**
|
3528 |
* Returns the current group admin tab slug
|
3529 |
*
|
3530 |
+
* @since BuddyPress (1.6.0)
|
3531 |
*
|
3532 |
* @uses apply_filters() Filter bp_get_current_group_admin_tab to modify return value
|
3533 |
* @return string $tab The current tab's slug
|
3549 |
/**
|
3550 |
* Outputs the current group avatar
|
3551 |
*
|
3552 |
+
* @since BuddyPress (1.0.0)
|
3553 |
* @param string $type thumb or full ?
|
3554 |
* @uses bp_get_group_current_avatar() to get the avatar of the current group
|
3555 |
*/
|
4216 |
/**
|
4217 |
* Hook group activity feed to <head>
|
4218 |
*
|
4219 |
+
* @since BuddyPress (1.5.0)
|
4220 |
*/
|
4221 |
function bp_groups_activity_feed() {
|
4222 |
if ( !bp_is_active( 'groups' ) || !bp_is_active( 'activity' ) || !bp_is_group() )
|
4238 |
/**
|
4239 |
* Echoes the output of bp_get_current_group_id()
|
4240 |
*
|
4241 |
+
* @since BuddyPress (1.5.0)
|
|
|
4242 |
*/
|
4243 |
function bp_current_group_id() {
|
4244 |
echo bp_get_current_group_id();
|
4246 |
/**
|
4247 |
* Returns the ID of the current group
|
4248 |
*
|
4249 |
+
* @since BuddyPress (1.5.0)
|
|
|
4250 |
* @uses apply_filters() Filter bp_get_current_group_id to modify this output
|
4251 |
*
|
4252 |
* @return int $current_group_id The id of the current group, if there is one
|
4261 |
/**
|
4262 |
* Echoes the output of bp_get_current_group_slug()
|
4263 |
*
|
4264 |
+
* @since BuddyPress (1.5.0)
|
|
|
4265 |
*/
|
4266 |
function bp_current_group_slug() {
|
4267 |
echo bp_get_current_group_slug();
|
4269 |
/**
|
4270 |
* Returns the slug of the current group
|
4271 |
*
|
4272 |
+
* @since BuddyPress (1.5.0)
|
|
|
4273 |
* @uses apply_filters() Filter bp_get_current_group_slug to modify this output
|
4274 |
*
|
4275 |
* @return string $current_group_slug The slug of the current group, if there is one
|
4284 |
/**
|
4285 |
* Echoes the output of bp_get_current_group_name()
|
4286 |
*
|
|
|
4287 |
*/
|
4288 |
function bp_current_group_name() {
|
4289 |
echo bp_get_current_group_name();
|
4291 |
/**
|
4292 |
* Returns the name of the current group
|
4293 |
*
|
4294 |
+
* @since BuddyPress (1.5.0)
|
|
|
4295 |
* @uses apply_filters() Filter bp_get_current_group_name to modify this output
|
4296 |
*
|
4297 |
* @return string The name of the current group, if there is one
|
4307 |
/**
|
4308 |
* Echoes the output of bp_get_current_group_description()
|
4309 |
*
|
|
|
4310 |
* @since BuddyPress (2.1.0)
|
4311 |
*/
|
4312 |
function bp_current_group_description() {
|
4315 |
/**
|
4316 |
* Returns the description of the current group
|
4317 |
*
|
|
|
4318 |
* @since BuddyPress (2.1.0)
|
4319 |
* @uses apply_filters() Filter bp_get_current_group_description to modify
|
4320 |
* this output
|
4332 |
/**
|
4333 |
* Output a URL for a group component action
|
4334 |
*
|
4335 |
+
* @since BuddyPress (1.2.0)
|
4336 |
*
|
4337 |
* @param string $action
|
4338 |
* @param string $query_args
|
4345 |
/**
|
4346 |
* Get a URL for a group component action
|
4347 |
*
|
4348 |
+
* @since BuddyPress (1.2.0)
|
4349 |
*
|
4350 |
* @param string $action
|
4351 |
* @param string $query_args
|
bp-groups/js/widget-groups.min.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1 |
-
/*! buddypress - v2.1.0 - 2014-09-
|
2 |
function groups_wiget_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_wiget_response(b)}),!1})});
|
1 |
+
/*! buddypress - v2.1.0 - 2014-09-18 6:01:11 PM UTC - https://wordpress.org/plugins/buddypress/ */
|
2 |
function groups_wiget_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_wiget_response(b)}),!1})});
|
bp-loader.php
CHANGED
@@ -14,7 +14,7 @@
|
|
14 |
* Description: Social networking in a box. Build a social network for your company, school, sports team or niche community all based on the power and flexibility of WordPress.
|
15 |
* Author: The BuddyPress Community
|
16 |
* Author URI: http://buddypress.org/community/members/
|
17 |
-
* Version: 2.1
|
18 |
* Text Domain: buddypress
|
19 |
* Domain Path: /bp-languages/
|
20 |
* License: GPLv2 or later (license.txt)
|
@@ -300,7 +300,7 @@ class BuddyPress {
|
|
300 |
|
301 |
/** Versions **********************************************************/
|
302 |
|
303 |
-
$this->version = '2.1
|
304 |
$this->db_version = 8311;
|
305 |
|
306 |
/** Loading ***********************************************************/
|
14 |
* Description: Social networking in a box. Build a social network for your company, school, sports team or niche community all based on the power and flexibility of WordPress.
|
15 |
* Author: The BuddyPress Community
|
16 |
* Author URI: http://buddypress.org/community/members/
|
17 |
+
* Version: 2.1
|
18 |
* Text Domain: buddypress
|
19 |
* Domain Path: /bp-languages/
|
20 |
* License: GPLv2 or later (license.txt)
|
300 |
|
301 |
/** Versions **********************************************************/
|
302 |
|
303 |
+
$this->version = '2.1';
|
304 |
$this->db_version = 8311;
|
305 |
|
306 |
/** Loading ***********************************************************/
|
bp-members/admin/css/admin-rtl.min.css
CHANGED
@@ -1,2 +1,2 @@
|
|
1 |
-
/*! buddypress - v2.1.0 - 2014-09-
|
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 - 2014-09-18 6:01:12 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 - 2014-09-
|
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 - 2014-09-18 6:01:12 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 - 2014-09-
|
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 - 2014-09-18 6:01:11 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-notifications/bp-notifications-actions.php
CHANGED
@@ -19,7 +19,7 @@ if ( !defined( 'ABSPATH' ) ) exit;
|
|
19 |
*
|
20 |
* @since BuddyPress (1.9.0)
|
21 |
*
|
22 |
-
* @return
|
23 |
*/
|
24 |
function bp_notifications_action_mark_read() {
|
25 |
|
@@ -55,7 +55,7 @@ add_action( 'bp_actions', 'bp_notifications_action_mark_read' );
|
|
55 |
*
|
56 |
* @since BuddyPress (1.9.0)
|
57 |
*
|
58 |
-
* @return
|
59 |
*/
|
60 |
function bp_notifications_action_mark_unread() {
|
61 |
|
@@ -91,7 +91,7 @@ add_action( 'bp_actions', 'bp_notifications_action_mark_unread' );
|
|
91 |
*
|
92 |
* @since BuddyPress (1.9.0)
|
93 |
*
|
94 |
-
* @return
|
95 |
*/
|
96 |
function bp_notifications_action_delete() {
|
97 |
|
19 |
*
|
20 |
* @since BuddyPress (1.9.0)
|
21 |
*
|
22 |
+
* @return bool
|
23 |
*/
|
24 |
function bp_notifications_action_mark_read() {
|
25 |
|
55 |
*
|
56 |
* @since BuddyPress (1.9.0)
|
57 |
*
|
58 |
+
* @return bool
|
59 |
*/
|
60 |
function bp_notifications_action_mark_unread() {
|
61 |
|
91 |
*
|
92 |
* @since BuddyPress (1.9.0)
|
93 |
*
|
94 |
+
* @return bool
|
95 |
*/
|
96 |
function bp_notifications_action_delete() {
|
97 |
|
bp-notifications/bp-notifications-classes.php
CHANGED
@@ -26,6 +26,8 @@ class BP_Notifications_Notification {
|
|
26 |
/**
|
27 |
* The notification ID.
|
28 |
*
|
|
|
|
|
29 |
* @var int
|
30 |
*/
|
31 |
public $id;
|
@@ -33,6 +35,8 @@ class BP_Notifications_Notification {
|
|
33 |
/**
|
34 |
* The ID of the item associated with the notification.
|
35 |
*
|
|
|
|
|
36 |
* @var int
|
37 |
*/
|
38 |
public $item_id;
|
@@ -40,6 +44,8 @@ class BP_Notifications_Notification {
|
|
40 |
/**
|
41 |
* The ID of the secondary item associated with the notification.
|
42 |
*
|
|
|
|
|
43 |
* @var int
|
44 |
*/
|
45 |
public $secondary_item_id = null;
|
@@ -47,6 +53,8 @@ class BP_Notifications_Notification {
|
|
47 |
/**
|
48 |
* The ID of the user the notification is associated with.
|
49 |
*
|
|
|
|
|
50 |
* @var int
|
51 |
*/
|
52 |
public $user_id;
|
@@ -54,6 +62,8 @@ class BP_Notifications_Notification {
|
|
54 |
/**
|
55 |
* The name of the component that the notification is for.
|
56 |
*
|
|
|
|
|
57 |
* @var string
|
58 |
*/
|
59 |
public $component_name;
|
@@ -61,6 +71,8 @@ class BP_Notifications_Notification {
|
|
61 |
/**
|
62 |
* The component action which the notification is related to.
|
63 |
*
|
|
|
|
|
64 |
* @var string
|
65 |
*/
|
66 |
public $component_action;
|
@@ -68,6 +80,8 @@ class BP_Notifications_Notification {
|
|
68 |
/**
|
69 |
* The date the notification was created.
|
70 |
*
|
|
|
|
|
71 |
* @var string
|
72 |
*/
|
73 |
public $date_notified;
|
@@ -75,6 +89,8 @@ class BP_Notifications_Notification {
|
|
75 |
/**
|
76 |
* Is the notification new, or has it already been read.
|
77 |
*
|
|
|
|
|
78 |
* @var bool
|
79 |
*/
|
80 |
public $is_new;
|
@@ -692,7 +708,7 @@ class BP_Notifications_Notification {
|
|
692 |
return self::_delete( $where['data'], $where['format'] );
|
693 |
}
|
694 |
|
695 |
-
/** Convenience methods
|
696 |
|
697 |
/**
|
698 |
* Delete a single notification by ID.
|
@@ -805,7 +821,7 @@ class BP_Notifications_Notification {
|
|
805 |
return array( 'notifications' => &$notifications, 'total' => $total_count );
|
806 |
}
|
807 |
|
808 |
-
/** Mark
|
809 |
|
810 |
/**
|
811 |
* Mark all user notifications as read.
|
26 |
/**
|
27 |
* The notification ID.
|
28 |
*
|
29 |
+
* @since BuddyPress (1.9.0)
|
30 |
+
* @access public
|
31 |
* @var int
|
32 |
*/
|
33 |
public $id;
|
35 |
/**
|
36 |
* The ID of the item associated with the notification.
|
37 |
*
|
38 |
+
* @since BuddyPress (1.9.0)
|
39 |
+
* @access public
|
40 |
* @var int
|
41 |
*/
|
42 |
public $item_id;
|
44 |
/**
|
45 |
* The ID of the secondary item associated with the notification.
|
46 |
*
|
47 |
+
* @since BuddyPress (1.9.0)
|
48 |
+
* @access public
|
49 |
* @var int
|
50 |
*/
|
51 |
public $secondary_item_id = null;
|
53 |
/**
|
54 |
* The ID of the user the notification is associated with.
|
55 |
*
|
56 |
+
* @since BuddyPress (1.9.0)
|
57 |
+
* @access public
|
58 |
* @var int
|
59 |
*/
|
60 |
public $user_id;
|
62 |
/**
|
63 |
* The name of the component that the notification is for.
|
64 |
*
|
65 |
+
* @since BuddyPress (1.9.0)
|
66 |
+
* @access public
|
67 |
* @var string
|
68 |
*/
|
69 |
public $component_name;
|
71 |
/**
|
72 |
* The component action which the notification is related to.
|
73 |
*
|
74 |
+
* @since BuddyPress (1.9.0)
|
75 |
+
* @access public
|
76 |
* @var string
|
77 |
*/
|
78 |
public $component_action;
|
80 |
/**
|
81 |
* The date the notification was created.
|
82 |
*
|
83 |
+
* @since BuddyPress (1.9.0)
|
84 |
+
* @access public
|
85 |
* @var string
|
86 |
*/
|
87 |
public $date_notified;
|
89 |
/**
|
90 |
* Is the notification new, or has it already been read.
|
91 |
*
|
92 |
+
* @since BuddyPress (1.9.0)
|
93 |
+
* @access public
|
94 |
* @var bool
|
95 |
*/
|
96 |
public $is_new;
|
708 |
return self::_delete( $where['data'], $where['format'] );
|
709 |
}
|
710 |
|
711 |
+
/** Convenience methods ***********************************************/
|
712 |
|
713 |
/**
|
714 |
* Delete a single notification by ID.
|
821 |
return array( 'notifications' => &$notifications, 'total' => $total_count );
|
822 |
}
|
823 |
|
824 |
+
/** Mark **************************************************************/
|
825 |
|
826 |
/**
|
827 |
* Mark all user notifications as read.
|
bp-notifications/bp-notifications-functions.php
CHANGED
@@ -113,7 +113,7 @@ function bp_notifications_delete_notification( $id ) {
|
|
113 |
* @since BuddyPress (1.9.0)
|
114 |
*
|
115 |
* @param int $id ID of the user whose notifications are being deleted.
|
116 |
-
* @param int $is_new 0 for read, 1 for unread
|
117 |
* @return bool True on success, false on failure.
|
118 |
*/
|
119 |
function bp_notifications_mark_notification( $id, $is_new = false ) {
|
@@ -128,11 +128,11 @@ function bp_notifications_mark_notification( $id, $is_new = false ) {
|
|
128 |
}
|
129 |
|
130 |
/**
|
131 |
-
* Get all notifications for a user and cache them
|
132 |
*
|
133 |
* @since BuddyPress (2.1.0)
|
134 |
*
|
135 |
-
* @param int $user_id
|
136 |
* @return array
|
137 |
*/
|
138 |
function bp_notifications_get_all_notifications_for_user( $user_id = 0 ) {
|
@@ -160,7 +160,7 @@ function bp_notifications_get_all_notifications_for_user( $user_id = 0 ) {
|
|
160 |
*
|
161 |
* @since BuddyPress (1.9.0)
|
162 |
*
|
163 |
-
* @param int $user_id ID of the user whose
|
164 |
* @param string $format Format of the returned values. 'string' returns HTML,
|
165 |
* while 'object' returns a structured object for parsing.
|
166 |
* @return mixed Object or array on success, false on failure.
|
@@ -403,7 +403,7 @@ function bp_notifications_delete_notifications_from_user( $user_id, $component_n
|
|
403 |
* @param int $user_id ID of the user whose notifications are being deleted.
|
404 |
* @param string $component_name Name of the associated component.
|
405 |
* @param string $component_action Name of the associated action.
|
406 |
-
* @param int $is_new 0 for read, 1 for unread
|
407 |
* @return bool True on success, false on failure.
|
408 |
*/
|
409 |
function bp_notifications_mark_notifications_by_type( $user_id, $component_name, $component_action, $is_new = false ) {
|
@@ -432,7 +432,7 @@ function bp_notifications_mark_notifications_by_type( $user_id, $component_name,
|
|
432 |
* @param string $component_name Name of the associated component.
|
433 |
* @param string $component_action Name of the associated action.
|
434 |
* @param int $secondary_item_id ID of the secondary associated item.
|
435 |
-
* @param int $is_new 0 for read, 1 for unread
|
436 |
* @return bool True on success, false on failure.
|
437 |
*/
|
438 |
function bp_notifications_mark_notifications_by_item_id( $user_id, $item_id, $component_name, $component_action, $secondary_item_id = false, $is_new = false ) {
|
@@ -462,7 +462,7 @@ function bp_notifications_mark_notifications_by_item_id( $user_id, $item_id, $co
|
|
462 |
* @param string $component_name Name of the associated component.
|
463 |
* @param string $component_action Optional. Name of the associated action.
|
464 |
* @param int $secondary_item_id Optional. ID of the secondary associated item.
|
465 |
-
* @param int $is_new 0 for read, 1 for unread
|
466 |
* @return bool True on success, false on failure.
|
467 |
*/
|
468 |
function bp_notifications_mark_all_notifications_by_type( $item_id, $component_name, $component_action = false, $secondary_item_id = false, $is_new = false ) {
|
@@ -494,7 +494,7 @@ function bp_notifications_mark_all_notifications_by_type( $item_id, $component_n
|
|
494 |
* @param int $is_new 0 for read, 1 for unread
|
495 |
* @param string $component_name Name of the associated component.
|
496 |
* @param string $component_action Name of the associated action.
|
497 |
-
* @param int $is_new 0 for read, 1 for unread
|
498 |
* @return bool True on success, false on failure.
|
499 |
*/
|
500 |
function bp_notifications_mark_notifications_from_user( $user_id, $component_name, $component_action, $is_new = false ) {
|
@@ -550,6 +550,8 @@ function bp_notifications_get_unread_notification_count( $user_id = 0 ) {
|
|
550 |
* @since BuddyPress (1.9.1)
|
551 |
*
|
552 |
* @see http://buddypress.trac.wordpress.org/ticket/5300
|
|
|
|
|
553 |
*/
|
554 |
function bp_notifications_get_registered_components() {
|
555 |
|
113 |
* @since BuddyPress (1.9.0)
|
114 |
*
|
115 |
* @param int $id ID of the user whose notifications are being deleted.
|
116 |
+
* @param int $is_new 0 for read, 1 for unread.
|
117 |
* @return bool True on success, false on failure.
|
118 |
*/
|
119 |
function bp_notifications_mark_notification( $id, $is_new = false ) {
|
128 |
}
|
129 |
|
130 |
/**
|
131 |
+
* Get all notifications for a user and cache them.
|
132 |
*
|
133 |
* @since BuddyPress (2.1.0)
|
134 |
*
|
135 |
+
* @param int $user_id ID of the user whose notifications are being fetched.
|
136 |
* @return array
|
137 |
*/
|
138 |
function bp_notifications_get_all_notifications_for_user( $user_id = 0 ) {
|
160 |
*
|
161 |
* @since BuddyPress (1.9.0)
|
162 |
*
|
163 |
+
* @param int $user_id ID of the user whose notifications are being fetched.
|
164 |
* @param string $format Format of the returned values. 'string' returns HTML,
|
165 |
* while 'object' returns a structured object for parsing.
|
166 |
* @return mixed Object or array on success, false on failure.
|
403 |
* @param int $user_id ID of the user whose notifications are being deleted.
|
404 |
* @param string $component_name Name of the associated component.
|
405 |
* @param string $component_action Name of the associated action.
|
406 |
+
* @param int $is_new 0 for read, 1 for unread.
|
407 |
* @return bool True on success, false on failure.
|
408 |
*/
|
409 |
function bp_notifications_mark_notifications_by_type( $user_id, $component_name, $component_action, $is_new = false ) {
|
432 |
* @param string $component_name Name of the associated component.
|
433 |
* @param string $component_action Name of the associated action.
|
434 |
* @param int $secondary_item_id ID of the secondary associated item.
|
435 |
+
* @param int $is_new 0 for read, 1 for unread.
|
436 |
* @return bool True on success, false on failure.
|
437 |
*/
|
438 |
function bp_notifications_mark_notifications_by_item_id( $user_id, $item_id, $component_name, $component_action, $secondary_item_id = false, $is_new = false ) {
|
462 |
* @param string $component_name Name of the associated component.
|
463 |
* @param string $component_action Optional. Name of the associated action.
|
464 |
* @param int $secondary_item_id Optional. ID of the secondary associated item.
|
465 |
+
* @param int $is_new 0 for read, 1 for unread.
|
466 |
* @return bool True on success, false on failure.
|
467 |
*/
|
468 |
function bp_notifications_mark_all_notifications_by_type( $item_id, $component_name, $component_action = false, $secondary_item_id = false, $is_new = false ) {
|
494 |
* @param int $is_new 0 for read, 1 for unread
|
495 |
* @param string $component_name Name of the associated component.
|
496 |
* @param string $component_action Name of the associated action.
|
497 |
+
* @param int $is_new 0 for read, 1 for unread.
|
498 |
* @return bool True on success, false on failure.
|
499 |
*/
|
500 |
function bp_notifications_mark_notifications_from_user( $user_id, $component_name, $component_action, $is_new = false ) {
|
550 |
* @since BuddyPress (1.9.1)
|
551 |
*
|
552 |
* @see http://buddypress.trac.wordpress.org/ticket/5300
|
553 |
+
*
|
554 |
+
* @return array
|
555 |
*/
|
556 |
function bp_notifications_get_registered_components() {
|
557 |
|
bp-notifications/bp-notifications-loader.php
CHANGED
@@ -55,10 +55,7 @@ class BP_Notifications_Component extends BP_Component {
|
|
55 |
}
|
56 |
|
57 |
/**
|
58 |
-
*
|
59 |
-
*
|
60 |
-
* The BP_FRIENDS_SLUG constant is deprecated, and only used here for
|
61 |
-
* backwards compatibility.
|
62 |
*
|
63 |
* @since BuddyPress (1.9.0)
|
64 |
*
|
@@ -250,4 +247,4 @@ class BP_Notifications_Component extends BP_Component {
|
|
250 |
function bp_setup_notifications() {
|
251 |
buddypress()->notifications = new BP_Notifications_Component();
|
252 |
}
|
253 |
-
add_action( 'bp_setup_components', 'bp_setup_notifications', 6 );
|
55 |
}
|
56 |
|
57 |
/**
|
58 |
+
* Set up component global data.
|
|
|
|
|
|
|
59 |
*
|
60 |
* @since BuddyPress (1.9.0)
|
61 |
*
|
247 |
function bp_setup_notifications() {
|
248 |
buddypress()->notifications = new BP_Notifications_Component();
|
249 |
}
|
250 |
+
add_action( 'bp_setup_components', 'bp_setup_notifications', 6 );
|
bp-notifications/bp-notifications-template.php
CHANGED
@@ -42,7 +42,7 @@ function bp_notifications_permalink() {
|
|
42 |
*
|
43 |
* @since BuddyPress (1.9.0)
|
44 |
*
|
45 |
-
* @return string Notifications permalink
|
46 |
*/
|
47 |
function bp_get_notifications_permalink() {
|
48 |
$retval = trailingslashit( bp_loggedin_user_domain() . bp_get_notifications_slug() );
|
@@ -62,7 +62,7 @@ function bp_notifications_unread_permalink() {
|
|
62 |
*
|
63 |
* @since BuddyPress (1.9.0)
|
64 |
*
|
65 |
-
* @return string Unread notifications permalink
|
66 |
*/
|
67 |
function bp_get_notifications_unread_permalink() {
|
68 |
$retval = trailingslashit( bp_loggedin_user_domain() . bp_get_notifications_slug() . '/unread' );
|
@@ -82,7 +82,7 @@ function bp_notifications_read_permalink() {
|
|
82 |
*
|
83 |
* @since BuddyPress (1.9.0)
|
84 |
*
|
85 |
-
* @return string Read notifications permalink
|
86 |
*/
|
87 |
function bp_get_notifications_read_permalink() {
|
88 |
$retval = trailingslashit( bp_loggedin_user_domain() . bp_get_notifications_slug() . '/read' );
|
@@ -942,10 +942,10 @@ function bp_the_notification_action_links( $args = '' ) {
|
|
942 |
* @since BuddyPress (1.9.0)
|
943 |
*
|
944 |
* @param array $args {
|
945 |
-
* @type string $before HTML before the links
|
946 |
-
* @type string $after HTML after the links
|
947 |
-
* @type string $sep HTML between the links
|
948 |
-
* @type array $links Array of links to implode by 'sep'
|
949 |
* }
|
950 |
*
|
951 |
* @return string HTML links for actions to take on single notifications.
|
42 |
*
|
43 |
* @since BuddyPress (1.9.0)
|
44 |
*
|
45 |
+
* @return string Notifications permalink.
|
46 |
*/
|
47 |
function bp_get_notifications_permalink() {
|
48 |
$retval = trailingslashit( bp_loggedin_user_domain() . bp_get_notifications_slug() );
|
62 |
*
|
63 |
* @since BuddyPress (1.9.0)
|
64 |
*
|
65 |
+
* @return string Unread notifications permalink.
|
66 |
*/
|
67 |
function bp_get_notifications_unread_permalink() {
|
68 |
$retval = trailingslashit( bp_loggedin_user_domain() . bp_get_notifications_slug() . '/unread' );
|
82 |
*
|
83 |
* @since BuddyPress (1.9.0)
|
84 |
*
|
85 |
+
* @return string Read notifications permalink.
|
86 |
*/
|
87 |
function bp_get_notifications_read_permalink() {
|
88 |
$retval = trailingslashit( bp_loggedin_user_domain() . bp_get_notifications_slug() . '/read' );
|
942 |
* @since BuddyPress (1.9.0)
|
943 |
*
|
944 |
* @param array $args {
|
945 |
+
* @type string $before HTML before the links.
|
946 |
+
* @type string $after HTML after the links.
|
947 |
+
* @type string $sep HTML between the links.
|
948 |
+
* @type array $links Array of links to implode by 'sep'.
|
949 |
* }
|
950 |
*
|
951 |
* @return string HTML links for actions to take on single notifications.
|
bp-templates/bp-legacy/css/buddypress-rtl.min.css
CHANGED
@@ -1,2 +1,2 @@
|
|
1 |
-
/*! buddypress - v2.1.0 - 2014-09-
|
2 |
#buddypress div.pagination{background:0 0;border:none;color:#888;font-size:90%;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:90%;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}#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 .standard-form #blog-details-section{clear:right}#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:.8rem;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 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{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;margin:0;width:auto}#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 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:80%;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:175px}#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 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.messages-options-nav{background:#eee;font-size:80%;margin:0;padding:5px 15px;text-align:left}#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:80%;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:38px}.widget.buddypress ul.item-list img.avatar{height:20px;margin-left:10px;width:20px}.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:60px}.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}@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 - 2014-09-18 6:01:12 PM UTC - https://wordpress.org/plugins/buddypress/ */
|
2 |
#buddypress div.pagination{background:0 0;border:none;color:#888;font-size:90%;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:90%;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}#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 .standard-form #blog-details-section{clear:right}#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:.8rem;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 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{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;margin:0;width:auto}#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 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:80%;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:175px}#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 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.messages-options-nav{background:#eee;font-size:80%;margin:0;padding:5px 15px;text-align:left}#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:80%;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:38px}.widget.buddypress ul.item-list img.avatar{height:20px;margin-left:10px;width:20px}.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:60px}.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}@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.min.css
CHANGED
@@ -1,2 +1,2 @@
|
|
1 |
-
/*! buddypress - v2.1.0 - 2014-09-
|
2 |
#buddypress div.pagination{background:0 0;border:none;color:#888;font-size:90%;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:90%;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}#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 .standard-form #blog-details-section{clear:left}#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:.8rem;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 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{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;margin:0;width:auto}#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 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:80%;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:175px}#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 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.messages-options-nav{background:#eee;font-size:80%;margin:0;padding:5px 15px;text-align:right}#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:80%;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:38px}.widget.buddypress ul.item-list img.avatar{height:20px;margin-right:10px;width:20px}.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:60px}.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}@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 - 2014-09-18 6:01:12 PM UTC - https://wordpress.org/plugins/buddypress/ */
|
2 |
#buddypress div.pagination{background:0 0;border:none;color:#888;font-size:90%;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:90%;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}#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 .standard-form #blog-details-section{clear:left}#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:.8rem;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 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{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;margin:0;width:auto}#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 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:80%;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:175px}#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 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.messages-options-nav{background:#eee;font-size:80%;margin:0;padding:5px 15px;text-align:right}#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:80%;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:38px}.widget.buddypress ul.item-list img.avatar{height:20px;margin-right:10px;width:20px}.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:60px}.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}@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,2 +1,2 @@
|
|
1 |
-
/*! buddypress - v2.1.0 - 2014-09-
|
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)}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,"members"===c&&"groups"===b[1]&&(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")){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()),"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()),i=jq(".groups-members-search input"),i.length&&(e=i.val()),"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(/ /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").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(".message-search").on("click",function(a){if(!jq(this).hasClass("no-ajax")){var b,c=jq(a.target);return"submit"===c.attr("type")?(b="messages",bp_filter_request(b,jq.cookie("bp-"+b+"-filter"),jq.cookie("bp-"+b+"-scope"),"div."+b,c.parent().children("label").children("input").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("#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.cookie("bp-activity-scope",null,{path:"/"}),jq.cookie("bp-activity-filter",null,{path:"/"}),jq.cookie("bp-activity-oldestpage",null,{path:"/"});var a=["members","groups","blogs","forums"];jq(a).each(function(b){jq.cookie("bp-"+a[b]+"-scope",null,{path:"/"}),jq.cookie("bp-"+a[b]+"-filter",null,{path:"/"}),jq.cookie("bp-"+a[b]+"-extras",null,{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")}})),jq(document).on("heartbeat-send.buddypress",function(a,b){firstrow=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&&(firstrow=timestamp[1])),(0===activity_last_recorded||Number(firstrow)>activity_last_recorded)&&(activity_last_recorded=Number(firstrow)),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>"))})});
|
1 |
+
/*! buddypress - v2.1.0 - 2014-09-18 6:01:11 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)}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,"members"===c&&"groups"===b[1]&&(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")){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()),"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()),i=jq(".groups-members-search input"),i.length&&(e=i.val()),"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(/ /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").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(".message-search").on("click",function(a){if(!jq(this).hasClass("no-ajax")){var b,c=jq(a.target);return"submit"===c.attr("type")?(b="messages",bp_filter_request(b,jq.cookie("bp-"+b+"-filter"),jq.cookie("bp-"+b+"-scope"),"div."+b,c.parent().children("label").children("input").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("#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.cookie("bp-activity-scope",null,{path:"/"}),jq.cookie("bp-activity-filter",null,{path:"/"}),jq.cookie("bp-activity-oldestpage",null,{path:"/"});var a=["members","groups","blogs","forums"];jq(a).each(function(b){jq.cookie("bp-"+a[b]+"-scope",null,{path:"/"}),jq.cookie("bp-"+a[b]+"-filter",null,{path:"/"}),jq.cookie("bp-"+a[b]+"-extras",null,{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")}})),jq(document).on("heartbeat-send.buddypress",function(a,b){firstrow=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&&(firstrow=timestamp[1])),(0===activity_last_recorded||Number(firstrow)>activity_last_recorded)&&(activity_last_recorded=Number(firstrow)),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>"))})});
|
bp-templates/bp-legacy/js/password-verify.min.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1 |
-
/*! buddypress - v2.1.0 - 2014-09-
|
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 - 2014-09-18 6:01:11 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-themes/bp-default/rtl.css
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
* Theme Name: BuddyPress Default
|
3 |
* Theme URI: http://buddypress.org/extend/themes/
|
4 |
* Description: Clean and stylish, BuddyPress Default lets you build a social network straight out of the box. Make it yours with a custom menu, header image, and background. Along with five widgetized areas (one in the sidebar, four in the footer), BP-Default supports featured images (as custom header images on posts and pages) and is furnished with an optional one-column page template that removes the sidebar, and a stylesheet for the admin Visual Editor.
|
5 |
-
* Version: 2.1
|
6 |
* Author: the BuddyPress team
|
7 |
* Author URI: http://buddypress.org
|
8 |
* License: GNU General Public License
|
2 |
* Theme Name: BuddyPress Default
|
3 |
* Theme URI: http://buddypress.org/extend/themes/
|
4 |
* Description: Clean and stylish, BuddyPress Default lets you build a social network straight out of the box. Make it yours with a custom menu, header image, and background. Along with five widgetized areas (one in the sidebar, four in the footer), BP-Default supports featured images (as custom header images on posts and pages) and is furnished with an optional one-column page template that removes the sidebar, and a stylesheet for the admin Visual Editor.
|
5 |
+
* Version: 2.1
|
6 |
* Author: the BuddyPress team
|
7 |
* Author URI: http://buddypress.org
|
8 |
* License: GNU General Public License
|
bp-themes/bp-default/style.css
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
* Theme Name: BuddyPress Default
|
3 |
* Theme URI: http://buddypress.org/extend/themes/
|
4 |
* Description: [NOTE: except for security issues, BuddyPress Default is no longer being actively maintained by the BuddyPress team.] Clean and stylish, BuddyPress Default lets you build a social network straight out of the box. Make it yours with a custom menu, header image, and background. Along with five widgetized areas (one in the sidebar, four in the footer), BP-Default supports featured images (as custom header images on posts and pages) and is furnished with an optional one-column page template that removes the sidebar, and a stylesheet for the admin Visual Editor.
|
5 |
-
* Version: 2.1
|
6 |
* Author: the BuddyPress team
|
7 |
* Author URI: http://buddypress.org
|
8 |
* License: GNU General Public License
|
2 |
* Theme Name: BuddyPress Default
|
3 |
* Theme URI: http://buddypress.org/extend/themes/
|
4 |
* Description: [NOTE: except for security issues, BuddyPress Default is no longer being actively maintained by the BuddyPress team.] Clean and stylish, BuddyPress Default lets you build a social network straight out of the box. Make it yours with a custom menu, header image, and background. Along with five widgetized areas (one in the sidebar, four in the footer), BP-Default supports featured images (as custom header images on posts and pages) and is furnished with an optional one-column page template that removes the sidebar, and a stylesheet for the admin Visual Editor.
|
5 |
+
* Version: 2.1
|
6 |
* Author: the BuddyPress team
|
7 |
* Author URI: http://buddypress.org
|
8 |
* License: GNU General Public License
|
bp-xprofile/admin/css/admin-rtl.min.css
CHANGED
@@ -1,2 +1,2 @@
|
|
1 |
-
/*! buddypress - v2.1.0 - 2014-09-
|
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%}
|
1 |
+
/*! buddypress - v2.1.0 - 2014-09-18 6:01:12 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/admin/css/admin.min.css
CHANGED
@@ -1,2 +1,2 @@
|
|
1 |
-
/*! buddypress - v2.1.0 - 2014-09-
|
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%}
|
1 |
+
/*! buddypress - v2.1.0 - 2014-09-18 6:01:12 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/admin/js/admin.min.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1 |
-
/*! buddypress - v2.1.0 - 2014-09-
|
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")}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:"ponter",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());var b,c=jQuery("#tabs").tabs();a(c)});
|
1 |
+
/*! buddypress - v2.1.0 - 2014-09-18 6:01:11 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")}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:"ponter",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());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.1
|
6 |
"Report-Msgid-Bugs-To: https://buddypress.trac.wordpress.org\n"
|
7 |
-
"POT-Creation-Date: 2014-09-
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=utf-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
@@ -79,7 +79,7 @@ msgstr ""
|
|
79 |
msgid "Activity feed for the entire site."
|
80 |
msgstr ""
|
81 |
|
82 |
-
#: bp-activity/bp-activity-actions.php:470 bp-groups/bp-groups-actions.php:
|
83 |
#. translators: Personal activity RSS title - "[Site Name] | [User Display
|
84 |
#. Name] | Activity"
|
85 |
#. translators: Group activity RSS title - "[Site Name] | [Group Name] |
|
@@ -313,7 +313,7 @@ msgid "Submitted on: <strong>%1$s</strong>"
|
|
313 |
msgstr ""
|
314 |
|
315 |
#: bp-activity/bp-activity-admin.php:678 bp-activity/bp-activity-admin.php:1417
|
316 |
-
#: bp-forums/bp-forums-template.php:2112 bp-groups/bp-groups-admin.php:
|
317 |
#: bp-xprofile/bp-xprofile-admin.php:402
|
318 |
msgid "Edit"
|
319 |
msgstr ""
|
@@ -427,7 +427,7 @@ msgstr ""
|
|
427 |
msgid "No activities found."
|
428 |
msgstr ""
|
429 |
|
430 |
-
#: bp-activity/bp-activity-admin.php:1211 bp-groups/bp-groups-admin.php:
|
431 |
msgid "All"
|
432 |
msgstr ""
|
433 |
|
@@ -540,10 +540,10 @@ msgid "Activity History"
|
|
540 |
msgstr ""
|
541 |
|
542 |
#: bp-activity/bp-activity-classes.php:286
|
543 |
-
#: bp-activity/bp-activity-template.php:147 bp-groups/bp-groups-classes.php:
|
544 |
-
#: bp-groups/bp-groups-functions.php:
|
545 |
-
#: bp-groups/bp-groups-template.php:
|
546 |
-
#: bp-groups/bp-groups-template.php:
|
547 |
msgid ""
|
548 |
"Arguments passed to %1$s should be in an associative array. See the inline "
|
549 |
"documentation at %2$s for more details."
|
@@ -613,18 +613,18 @@ msgstr ""
|
|
613 |
#: bp-core/deprecated/2.1.php:501 bp-forums/bp-forums-loader.php:245
|
614 |
#: bp-forums/bp-forums-template.php:730 bp-forums/bp-forums-template.php:960
|
615 |
#: bp-forums/bp-forums-template.php:1990 bp-friends/bp-friends-loader.php:234
|
616 |
-
#: bp-groups/bp-groups-loader.php:
|
617 |
-
#: bp-groups/bp-groups-template.php:
|
618 |
-
#: bp-groups/bp-groups-template.php:
|
619 |
-
#: bp-groups/bp-groups-template.php:
|
620 |
-
#: bp-groups/bp-groups-template.php:
|
621 |
-
#: bp-groups/bp-groups-template.php:
|
622 |
#: bp-members/bp-members-template.php:724
|
623 |
#: bp-members/bp-members-template.php:1168
|
624 |
#: bp-members/bp-members-template.php:1210
|
625 |
#: bp-messages/bp-messages-loader.php:282
|
626 |
#: bp-messages/bp-messages-template.php:687
|
627 |
-
#: bp-notifications/bp-notifications-loader.php:
|
628 |
#: bp-templates/bp-legacy/buddypress/groups/single/admin.php:185
|
629 |
#: bp-templates/bp-legacy/buddypress/groups/single/admin.php:212
|
630 |
msgid "Profile picture of %s"
|
@@ -663,9 +663,9 @@ msgstr ""
|
|
663 |
#: bp-friends/bp-friends-notifications.php:105
|
664 |
#: bp-groups/bp-groups-notifications.php:55
|
665 |
#: bp-groups/bp-groups-notifications.php:133
|
666 |
-
#: bp-groups/bp-groups-notifications.php:
|
667 |
-
#: bp-groups/bp-groups-notifications.php:
|
668 |
-
#: bp-groups/bp-groups-notifications.php:
|
669 |
msgid "To disable these notifications please log in and go to: %s"
|
670 |
msgstr ""
|
671 |
|
@@ -722,14 +722,14 @@ msgid "Activity"
|
|
722 |
msgstr ""
|
723 |
|
724 |
#: bp-activity/bp-activity-screens.php:271 bp-blogs/bp-blogs-template.php:1052
|
725 |
-
#: bp-friends/bp-friends-screens.php:86 bp-groups/bp-groups-screens.php:
|
726 |
#: bp-messages/bp-messages-screens.php:199
|
727 |
#: bp-templates/bp-legacy/buddypress/members/register.php:149
|
728 |
msgid "Yes"
|
729 |
msgstr ""
|
730 |
|
731 |
#: bp-activity/bp-activity-screens.php:272 bp-blogs/bp-blogs-template.php:1056
|
732 |
-
#: bp-friends/bp-friends-screens.php:87 bp-groups/bp-groups-screens.php:
|
733 |
#: bp-messages/bp-messages-screens.php:200
|
734 |
#: bp-templates/bp-legacy/buddypress/members/register.php:150
|
735 |
msgid "No"
|
@@ -757,8 +757,8 @@ msgstr ""
|
|
757 |
msgid "Group logo"
|
758 |
msgstr ""
|
759 |
|
760 |
-
#: bp-activity/bp-activity-template.php:1411 bp-groups/bp-groups-admin.php:
|
761 |
-
#: bp-groups/bp-groups-template.php:
|
762 |
msgid "Group logo of %s"
|
763 |
msgstr ""
|
764 |
|
@@ -777,8 +777,8 @@ msgid ""
|
|
777 |
msgstr ""
|
778 |
|
779 |
#: bp-activity/bp-activity-template.php:2582
|
780 |
-
#: bp-forums/bp-forums-template.php:2113 bp-groups/bp-groups-admin.php:
|
781 |
-
#: bp-groups/bp-groups-admin.php:
|
782 |
#: bp-members/admin/bp-members-classes.php:146
|
783 |
#: bp-members/admin/bp-members-classes.php:277
|
784 |
#: bp-members/admin/bp-members-classes.php:474
|
@@ -794,7 +794,7 @@ msgstr ""
|
|
794 |
|
795 |
#: bp-activity/bp-activity-template.php:2674
|
796 |
#: bp-core/admin/bp-core-functions.php:829 bp-core/admin/bp-core-slugs.php:109
|
797 |
-
#: bp-core/admin/bp-core-slugs.php:172 bp-groups/bp-groups-admin.php:
|
798 |
#: bp-members/bp-members-template.php:892
|
799 |
#: bp-templates/bp-legacy/buddypress-functions.php:250
|
800 |
msgid "View"
|
@@ -904,7 +904,7 @@ msgid "Profile picture of site author %s"
|
|
904 |
msgstr ""
|
905 |
|
906 |
#: bp-blogs/bp-blogs-template.php:670 bp-core/bp-core-classes.php:838
|
907 |
-
#: bp-groups/bp-groups-template.php:
|
908 |
#: bp-groups/bp-groups-widgets.php:206 bp-members/bp-members-template.php:834
|
909 |
#: bp-members/bp-members-template.php:1263
|
910 |
#: bp-templates/bp-legacy/buddypress/groups/groups-loop.php:47
|
@@ -1005,7 +1005,7 @@ msgid "%s's Recent Comments"
|
|
1005 |
msgstr ""
|
1006 |
|
1007 |
#: bp-blogs/bp-blogs-template.php:1183 bp-core/deprecated/1.5.php:417
|
1008 |
-
#: bp-forums/bp-forums-template.php:2196 bp-groups/bp-groups-template.php:
|
1009 |
#: bp-members/bp-members-template.php:1031
|
1010 |
#: bp-messages/bp-messages-template.php:768
|
1011 |
msgid "Search"
|
@@ -1078,7 +1078,7 @@ msgstr ""
|
|
1078 |
|
1079 |
#: bp-core/admin/bp-core-components.php:67
|
1080 |
#: bp-core/admin/bp-core-components.php:384 bp-core/deprecated/2.1.php:570
|
1081 |
-
#: bp-notifications/bp-notifications-loader.php:
|
1082 |
msgid "Notifications"
|
1083 |
msgstr ""
|
1084 |
|
@@ -1276,7 +1276,7 @@ msgstr ""
|
|
1276 |
|
1277 |
#: bp-core/admin/bp-core-functions.php:391
|
1278 |
#: bp-core/admin/bp-core-settings.php:243 bp-core/bp-core-admin.php:439
|
1279 |
-
#: bp-groups/bp-groups-template.php:
|
1280 |
#: bp-settings/bp-settings-loader.php:73 bp-settings/bp-settings-loader.php:163
|
1281 |
msgid "Settings"
|
1282 |
msgstr ""
|
@@ -2027,8 +2027,8 @@ msgstr ""
|
|
2027 |
#: bp-core/bp-core-avatars.php:856 bp-core/bp-core-classes.php:835
|
2028 |
#: bp-core/bp-core-classes.php:836 bp-core/bp-core-classes.php:837
|
2029 |
#: bp-core/bp-core-template.php:151 bp-core/bp-core-template.php:170
|
2030 |
-
#: bp-groups/bp-groups-template.php:
|
2031 |
-
#: bp-groups/bp-groups-template.php:
|
2032 |
msgid "Profile photo of %s"
|
2033 |
msgstr ""
|
2034 |
|
@@ -2052,7 +2052,7 @@ msgstr ""
|
|
2052 |
msgid "You must log in to access the page you requested."
|
2053 |
msgstr ""
|
2054 |
|
2055 |
-
#: bp-core/bp-core-classes.php:852 bp-groups/bp-groups-template.php:
|
2056 |
msgid "%d group"
|
2057 |
msgid_plural "%d groups"
|
2058 |
msgstr[0] ""
|
@@ -2120,8 +2120,8 @@ msgstr ""
|
|
2120 |
msgid "Activate your Account"
|
2121 |
msgstr ""
|
2122 |
|
2123 |
-
#: bp-core/bp-core-filters.php:495 bp-groups/bp-groups-template.php:
|
2124 |
-
#: bp-groups/bp-groups-template.php:
|
2125 |
msgid "Create a Group"
|
2126 |
msgstr ""
|
2127 |
|
@@ -2258,7 +2258,7 @@ msgstr ""
|
|
2258 |
#: bp-core/bp-core-widgets.php:199 bp-core/bp-core-widgets.php:297
|
2259 |
#: bp-core/deprecated/1.6.php:129 bp-core/deprecated/1.6.php:152
|
2260 |
#: bp-friends/bp-friends-widgets.php:98 bp-friends/bp-friends-widgets.php:186
|
2261 |
-
#: bp-groups/bp-groups-template.php:
|
2262 |
#: bp-groups/bp-groups-widgets.php:155
|
2263 |
#: bp-templates/bp-legacy/buddypress/blogs/index.php:39
|
2264 |
#: bp-templates/bp-legacy/buddypress/members/single/blogs.php:22
|
@@ -2283,7 +2283,7 @@ msgid "No one has signed up yet!"
|
|
2283 |
msgstr ""
|
2284 |
|
2285 |
#: bp-core/bp-core-widgets.php:275 bp-groups/bp-groups-admin.php:784
|
2286 |
-
#: bp-groups/bp-groups-template.php:
|
2287 |
#: bp-templates/bp-legacy/buddypress/groups/single/admin.php:231
|
2288 |
msgid "Members"
|
2289 |
msgstr ""
|
@@ -2374,12 +2374,12 @@ msgid "%1$s mentioned you in the group \"%2$s\""
|
|
2374 |
msgstr ""
|
2375 |
|
2376 |
#: bp-core/deprecated/1.6.php:128 bp-core/deprecated/1.6.php:149
|
2377 |
-
#: bp-groups/bp-groups-template.php:
|
2378 |
msgid "Recently Active"
|
2379 |
msgstr ""
|
2380 |
|
2381 |
#: bp-core/deprecated/1.6.php:130 bp-core/deprecated/1.6.php:155
|
2382 |
-
#: bp-groups/bp-groups-template.php:
|
2383 |
msgid "Alphabetically"
|
2384 |
msgstr ""
|
2385 |
|
@@ -2431,7 +2431,7 @@ msgstr ""
|
|
2431 |
msgid "Admin Options"
|
2432 |
msgstr ""
|
2433 |
|
2434 |
-
#: bp-core/deprecated/2.1.php:413 bp-groups/bp-groups-adminbar.php:
|
2435 |
msgid "Edit Details"
|
2436 |
msgstr ""
|
2437 |
|
@@ -2439,24 +2439,24 @@ msgstr ""
|
|
2439 |
msgid "Group Settings"
|
2440 |
msgstr ""
|
2441 |
|
2442 |
-
#: bp-core/deprecated/2.1.php:419 bp-groups/bp-groups-loader.php:
|
2443 |
msgid "Group Profile Photo"
|
2444 |
msgstr ""
|
2445 |
|
2446 |
-
#: bp-core/deprecated/2.1.php:425 bp-groups/bp-groups-adminbar.php:
|
2447 |
msgid "Manage Invitations"
|
2448 |
msgstr ""
|
2449 |
|
2450 |
-
#: bp-core/deprecated/2.1.php:429 bp-groups/bp-groups-adminbar.php:
|
2451 |
msgid "Manage Members"
|
2452 |
msgstr ""
|
2453 |
|
2454 |
-
#: bp-core/deprecated/2.1.php:433 bp-groups/bp-groups-adminbar.php:
|
2455 |
msgid "Membership Requests"
|
2456 |
msgstr ""
|
2457 |
|
2458 |
#: bp-core/deprecated/2.1.php:437 bp-groups/bp-groups-admin.php:893
|
2459 |
-
#: bp-groups/bp-groups-adminbar.php:
|
2460 |
#: bp-templates/bp-legacy/buddypress/groups/single/admin.php:332
|
2461 |
#: bp-xprofile/bp-xprofile-admin.php:118
|
2462 |
msgid "Delete Group"
|
@@ -2514,19 +2514,19 @@ msgstr ""
|
|
2514 |
msgid "The forums component has not been set up yet."
|
2515 |
msgstr ""
|
2516 |
|
2517 |
-
#: bp-forums/bp-forums-screens.php:48 bp-groups/bp-groups-screens.php:
|
2518 |
msgid "Please provide a title for your forum topic."
|
2519 |
msgstr ""
|
2520 |
|
2521 |
-
#: bp-forums/bp-forums-screens.php:50 bp-groups/bp-groups-screens.php:
|
2522 |
msgid "Forum posts cannot be empty. Please enter some text."
|
2523 |
msgstr ""
|
2524 |
|
2525 |
-
#: bp-forums/bp-forums-screens.php:57 bp-groups/bp-groups-screens.php:
|
2526 |
msgid "There was an error when creating the topic"
|
2527 |
msgstr ""
|
2528 |
|
2529 |
-
#: bp-forums/bp-forums-screens.php:60 bp-groups/bp-groups-screens.php:
|
2530 |
msgid "The topic was created successfully"
|
2531 |
msgstr ""
|
2532 |
|
@@ -2534,8 +2534,8 @@ msgstr ""
|
|
2534 |
msgid "Please pick the group forum where you would like to post this topic."
|
2535 |
msgstr ""
|
2536 |
|
2537 |
-
#: bp-forums/bp-forums-screens.php:208 bp-groups/bp-groups-template.php:
|
2538 |
-
#: bp-groups/bp-groups-template.php:
|
2539 |
#: bp-templates/bp-legacy/buddypress/groups/single/forum.php:19
|
2540 |
msgid "New Topic"
|
2541 |
msgstr ""
|
@@ -2552,11 +2552,11 @@ msgstr ""
|
|
2552 |
msgid "Group logo for %s"
|
2553 |
msgstr ""
|
2554 |
|
2555 |
-
#: bp-forums/bp-forums-template.php:1103 bp-groups/bp-groups-template.php:
|
2556 |
msgid "%d post"
|
2557 |
msgstr ""
|
2558 |
|
2559 |
-
#: bp-forums/bp-forums-template.php:1105 bp-groups/bp-groups-template.php:
|
2560 |
msgid "%d posts"
|
2561 |
msgstr ""
|
2562 |
|
@@ -3022,11 +3022,11 @@ msgstr ""
|
|
3022 |
msgid "There was an error saving group details, please try again."
|
3023 |
msgstr ""
|
3024 |
|
3025 |
-
#: bp-groups/bp-groups-actions.php:274 bp-groups/bp-groups-screens.php:
|
3026 |
msgid "Invite successfully removed"
|
3027 |
msgstr ""
|
3028 |
|
3029 |
-
#: bp-groups/bp-groups-actions.php:278 bp-groups/bp-groups-screens.php:
|
3030 |
msgid "There was an error removing the invite"
|
3031 |
msgstr ""
|
3032 |
|
@@ -3040,67 +3040,67 @@ msgstr ""
|
|
3040 |
msgid "The group profile photo was uploaded successfully!"
|
3041 |
msgstr ""
|
3042 |
|
3043 |
-
#: bp-groups/bp-groups-actions.php:
|
3044 |
msgid "There was an error joining the group."
|
3045 |
msgstr ""
|
3046 |
|
3047 |
-
#: bp-groups/bp-groups-actions.php:
|
3048 |
msgid "You joined the group!"
|
3049 |
msgstr ""
|
3050 |
|
3051 |
-
#: bp-groups/bp-groups-actions.php:
|
3052 |
msgid "This group must have at least one admin"
|
3053 |
msgstr ""
|
3054 |
|
3055 |
-
#: bp-groups/bp-groups-actions.php:
|
3056 |
msgid "There was an error leaving the group."
|
3057 |
msgstr ""
|
3058 |
|
3059 |
-
#: bp-groups/bp-groups-actions.php:
|
3060 |
msgid "You successfully left the group."
|
3061 |
msgstr ""
|
3062 |
|
3063 |
-
#: bp-groups/bp-groups-actions.php:
|
3064 |
msgid "Activity feed for the group, %s."
|
3065 |
msgstr ""
|
3066 |
|
3067 |
-
#: bp-groups/bp-groups-activity.php:
|
3068 |
msgid "Created a group"
|
3069 |
msgstr ""
|
3070 |
|
3071 |
-
#: bp-groups/bp-groups-activity.php:
|
3072 |
msgid "New Groups"
|
3073 |
msgstr ""
|
3074 |
|
3075 |
-
#: bp-groups/bp-groups-activity.php:
|
3076 |
msgid "Joined a group"
|
3077 |
msgstr ""
|
3078 |
|
3079 |
-
#: bp-groups/bp-groups-activity.php:
|
3080 |
msgid "Group Memberships"
|
3081 |
msgstr ""
|
3082 |
|
3083 |
-
#: bp-groups/bp-groups-activity.php:
|
3084 |
msgid "New group forum topic"
|
3085 |
msgstr ""
|
3086 |
|
3087 |
-
#: bp-groups/bp-groups-activity.php:
|
3088 |
msgid "Forum Topics"
|
3089 |
msgstr ""
|
3090 |
|
3091 |
-
#: bp-groups/bp-groups-activity.php:
|
3092 |
msgid "New group forum post"
|
3093 |
msgstr ""
|
3094 |
|
3095 |
-
#: bp-groups/bp-groups-activity.php:
|
3096 |
msgid "Forum Replies"
|
3097 |
msgstr ""
|
3098 |
|
3099 |
-
#: bp-groups/bp-groups-activity.php:
|
3100 |
msgid "%1$s created the group %2$s"
|
3101 |
msgstr ""
|
3102 |
|
3103 |
-
#: bp-groups/bp-groups-activity.php:
|
3104 |
msgid "%1$s joined the group %2$s"
|
3105 |
msgstr ""
|
3106 |
|
@@ -3193,7 +3193,7 @@ msgstr ""
|
|
3193 |
msgid "The following members were successfully modified: <em>%s</em>"
|
3194 |
msgstr ""
|
3195 |
|
3196 |
-
#: bp-groups/bp-groups-admin.php:497 bp-groups/bp-groups-adminbar.php:
|
3197 |
#: bp-xprofile/bp-xprofile-admin.php:114
|
3198 |
msgid "Edit Group"
|
3199 |
msgstr ""
|
@@ -3236,10 +3236,10 @@ msgid_plural "%s groups have been permanently deleted."
|
|
3236 |
msgstr[0] ""
|
3237 |
msgstr[1] ""
|
3238 |
|
3239 |
-
#: bp-groups/bp-groups-admin.php:644 bp-groups/bp-groups-notifications.php:
|
3240 |
-
#: bp-groups/bp-groups-notifications.php:
|
3241 |
-
#: bp-groups/bp-groups-notifications.php:
|
3242 |
-
#: bp-groups/bp-groups-notifications.php:
|
3243 |
#: bp-groups/bp-groups-widgets.php:133
|
3244 |
msgid "Groups"
|
3245 |
msgstr ""
|
@@ -3258,17 +3258,17 @@ msgstr ""
|
|
3258 |
msgid "Privacy"
|
3259 |
msgstr ""
|
3260 |
|
3261 |
-
#: bp-groups/bp-groups-admin.php:696 bp-groups/bp-groups-admin.php:
|
3262 |
-
#: bp-groups/bp-groups-template.php:
|
3263 |
msgid "Public"
|
3264 |
msgstr ""
|
3265 |
|
3266 |
-
#: bp-groups/bp-groups-admin.php:697 bp-groups/bp-groups-admin.php:
|
3267 |
-
#: bp-groups/bp-groups-template.php:
|
3268 |
msgid "Private"
|
3269 |
msgstr ""
|
3270 |
|
3271 |
-
#: bp-groups/bp-groups-admin.php:698 bp-groups/bp-groups-admin.php:
|
3272 |
msgid "Hidden"
|
3273 |
msgstr ""
|
3274 |
|
@@ -3349,7 +3349,7 @@ msgstr ""
|
|
3349 |
msgid "No members of this type"
|
3350 |
msgstr ""
|
3351 |
|
3352 |
-
#: bp-groups/bp-groups-admin.php:897 bp-groups/bp-groups-classes.php:
|
3353 |
#: bp-templates/bp-legacy/buddypress/groups/single/admin.php:32
|
3354 |
#: bp-templates/bp-legacy/buddypress/groups/single/admin.php:117
|
3355 |
#: bp-templates/bp-legacy/buddypress/groups/single/forum/edit.php:58
|
@@ -3369,7 +3369,7 @@ msgstr ""
|
|
3369 |
msgid "»"
|
3370 |
msgstr ""
|
3371 |
|
3372 |
-
#: bp-groups/bp-groups-admin.php:953 bp-groups/bp-groups-template.php:
|
3373 |
#: bp-members/bp-members-template.php:543
|
3374 |
msgid "Viewing 1 member"
|
3375 |
msgid_plural "Viewing %1$s - %2$s of %3$s members"
|
@@ -3381,81 +3381,81 @@ msgstr[1] ""
|
|
3381 |
msgid "%1$s (%2$s)"
|
3382 |
msgstr ""
|
3383 |
|
3384 |
-
#: bp-groups/bp-groups-admin.php:
|
3385 |
msgid "No groups found."
|
3386 |
msgstr ""
|
3387 |
|
3388 |
-
#: bp-groups/bp-groups-admin.php:
|
3389 |
msgid "Public <span class=\"count\">(%s)</span>"
|
3390 |
msgid_plural "Public <span class=\"count\">(%s)</span>"
|
3391 |
msgstr[0] ""
|
3392 |
msgstr[1] ""
|
3393 |
|
3394 |
-
#: bp-groups/bp-groups-admin.php:
|
3395 |
msgid "Private <span class=\"count\">(%s)</span>"
|
3396 |
msgid_plural "Private <span class=\"count\">(%s)</span>"
|
3397 |
msgstr[0] ""
|
3398 |
msgstr[1] ""
|
3399 |
|
3400 |
-
#: bp-groups/bp-groups-admin.php:
|
3401 |
msgid "Hidden <span class=\"count\">(%s)</span>"
|
3402 |
msgid_plural "Hidden <span class=\"count\">(%s)</span>"
|
3403 |
msgstr[0] ""
|
3404 |
msgstr[1] ""
|
3405 |
|
3406 |
-
#: bp-groups/bp-groups-admin.php:
|
3407 |
msgid "Select group %1$d"
|
3408 |
msgstr ""
|
3409 |
|
3410 |
-
#: bp-groups/bp-groups-adminbar.php:
|
3411 |
msgid "Edit Settings"
|
3412 |
msgstr ""
|
3413 |
|
3414 |
-
#: bp-groups/bp-groups-adminbar.php:
|
3415 |
msgid "Edit Profile Photo"
|
3416 |
msgstr ""
|
3417 |
|
3418 |
-
#: bp-groups/bp-groups-classes.php:
|
3419 |
msgid "Group Mod"
|
3420 |
msgstr ""
|
3421 |
|
3422 |
-
#: bp-groups/bp-groups-classes.php:
|
3423 |
msgid "Group Admin"
|
3424 |
msgstr ""
|
3425 |
|
3426 |
-
#: bp-groups/bp-groups-classes.php:
|
3427 |
msgid "You do not have access to this content."
|
3428 |
msgstr ""
|
3429 |
|
3430 |
-
#: bp-groups/bp-groups-forums.php:
|
3431 |
msgid "%1$s replied to the forum topic %2$s in the group %3$s"
|
3432 |
msgstr ""
|
3433 |
|
3434 |
-
#: bp-groups/bp-groups-forums.php:
|
3435 |
msgid "%1$s started the forum topic %2$s in the group %3$s"
|
3436 |
msgstr ""
|
3437 |
|
3438 |
-
#: bp-groups/bp-groups-forums.php:
|
3439 |
msgid "%1$s edited the forum topic %2$s in the group %3$s"
|
3440 |
msgstr ""
|
3441 |
|
3442 |
-
#: bp-groups/bp-groups-functions.php:
|
3443 |
msgid "As the only admin, you cannot leave the group."
|
3444 |
msgstr ""
|
3445 |
|
3446 |
-
#: bp-groups/bp-groups-functions.php:
|
3447 |
msgid "%1$s posted an update in the group %2$s"
|
3448 |
msgstr ""
|
3449 |
|
3450 |
-
#: bp-groups/bp-groups-loader.php:
|
3451 |
msgid "Memberships"
|
3452 |
msgstr ""
|
3453 |
|
3454 |
-
#: bp-groups/bp-groups-loader.php:
|
3455 |
msgid "Invitations"
|
3456 |
msgstr ""
|
3457 |
|
3458 |
-
#: bp-groups/bp-groups-loader.php:
|
3459 |
msgid "No Group Profile Photo"
|
3460 |
msgstr ""
|
3461 |
|
@@ -3491,11 +3491,11 @@ msgid ""
|
|
3491 |
"---------------------\n"
|
3492 |
msgstr ""
|
3493 |
|
3494 |
-
#: bp-groups/bp-groups-notifications.php:
|
3495 |
msgid "Membership request for group \"%s\" accepted"
|
3496 |
msgstr ""
|
3497 |
|
3498 |
-
#: bp-groups/bp-groups-notifications.php:
|
3499 |
msgid ""
|
3500 |
"Your membership request for the group \"%1$s\" has been accepted.\n"
|
3501 |
"\n"
|
@@ -3504,11 +3504,11 @@ msgid ""
|
|
3504 |
"---------------------\n"
|
3505 |
msgstr ""
|
3506 |
|
3507 |
-
#: bp-groups/bp-groups-notifications.php:
|
3508 |
msgid "Membership request for group \"%s\" rejected"
|
3509 |
msgstr ""
|
3510 |
|
3511 |
-
#: bp-groups/bp-groups-notifications.php:
|
3512 |
msgid ""
|
3513 |
"Your membership request for the group \"%1$s\" has been rejected.\n"
|
3514 |
"\n"
|
@@ -3517,19 +3517,19 @@ msgid ""
|
|
3517 |
"---------------------\n"
|
3518 |
msgstr ""
|
3519 |
|
3520 |
-
#: bp-groups/bp-groups-notifications.php:
|
3521 |
msgid "an administrator"
|
3522 |
msgstr ""
|
3523 |
|
3524 |
-
#: bp-groups/bp-groups-notifications.php:
|
3525 |
msgid "a moderator"
|
3526 |
msgstr ""
|
3527 |
|
3528 |
-
#: bp-groups/bp-groups-notifications.php:
|
3529 |
msgid "You have been promoted in the group: \"%s\""
|
3530 |
msgstr ""
|
3531 |
|
3532 |
-
#: bp-groups/bp-groups-notifications.php:
|
3533 |
msgid ""
|
3534 |
"You have been promoted to %1$s for the group: \"%2$s\".\n"
|
3535 |
"\n"
|
@@ -3538,11 +3538,11 @@ msgid ""
|
|
3538 |
"---------------------\n"
|
3539 |
msgstr ""
|
3540 |
|
3541 |
-
#: bp-groups/bp-groups-notifications.php:
|
3542 |
msgid "You have an invitation to the group: \"%s\""
|
3543 |
msgstr ""
|
3544 |
|
3545 |
-
#: bp-groups/bp-groups-notifications.php:
|
3546 |
msgid ""
|
3547 |
"One of your friends %1$s has invited you to the group: \"%2$s\".\n"
|
3548 |
"\n"
|
@@ -3555,433 +3555,433 @@ msgid ""
|
|
3555 |
"---------------------\n"
|
3556 |
msgstr ""
|
3557 |
|
3558 |
-
#: bp-groups/bp-groups-notifications.php:
|
3559 |
msgid "%1$d new membership requests for the group \"%2$s\""
|
3560 |
msgstr ""
|
3561 |
|
3562 |
-
#: bp-groups/bp-groups-notifications.php:
|
3563 |
msgid "Group Membership Requests"
|
3564 |
msgstr ""
|
3565 |
|
3566 |
-
#: bp-groups/bp-groups-notifications.php:
|
3567 |
-
#: bp-groups/bp-groups-notifications.php:
|
3568 |
msgid "%s requests group membership"
|
3569 |
msgstr ""
|
3570 |
|
3571 |
-
#: bp-groups/bp-groups-notifications.php:
|
3572 |
msgid "%d accepted group membership requests"
|
3573 |
msgstr ""
|
3574 |
|
3575 |
-
#: bp-groups/bp-groups-notifications.php:
|
3576 |
msgid "Membership for group \"%s\" accepted"
|
3577 |
msgstr ""
|
3578 |
|
3579 |
-
#: bp-groups/bp-groups-notifications.php:
|
3580 |
msgid "%d rejected group membership requests"
|
3581 |
msgstr ""
|
3582 |
|
3583 |
-
#: bp-groups/bp-groups-notifications.php:
|
3584 |
msgid "Membership for group \"%s\" rejected"
|
3585 |
msgstr ""
|
3586 |
|
3587 |
-
#: bp-groups/bp-groups-notifications.php:
|
3588 |
msgid "You were promoted to an admin in %d groups"
|
3589 |
msgstr ""
|
3590 |
|
3591 |
-
#: bp-groups/bp-groups-notifications.php:
|
3592 |
msgid "You were promoted to an admin in the group \"%s\""
|
3593 |
msgstr ""
|
3594 |
|
3595 |
-
#: bp-groups/bp-groups-notifications.php:
|
3596 |
msgid "You were promoted to a mod in %d groups"
|
3597 |
msgstr ""
|
3598 |
|
3599 |
-
#: bp-groups/bp-groups-notifications.php:
|
3600 |
msgid "You were promoted to a mod in the group \"%s\""
|
3601 |
msgstr ""
|
3602 |
|
3603 |
-
#: bp-groups/bp-groups-notifications.php:
|
3604 |
msgid "You have %d new group invitations"
|
3605 |
msgstr ""
|
3606 |
|
3607 |
-
#: bp-groups/bp-groups-notifications.php:
|
3608 |
msgid "Group Invites"
|
3609 |
msgstr ""
|
3610 |
|
3611 |
-
#: bp-groups/bp-groups-notifications.php:
|
3612 |
msgid "You have an invitation to the group: %s"
|
3613 |
msgstr ""
|
3614 |
|
3615 |
-
#: bp-groups/bp-groups-screens.php:
|
3616 |
msgid "Group invite could not be accepted"
|
3617 |
msgstr ""
|
3618 |
|
3619 |
-
#: bp-groups/bp-groups-screens.php:
|
3620 |
msgid "Group invite accepted"
|
3621 |
msgstr ""
|
3622 |
|
3623 |
-
#: bp-groups/bp-groups-screens.php:
|
3624 |
msgid "Group invite could not be rejected"
|
3625 |
msgstr ""
|
3626 |
|
3627 |
-
#: bp-groups/bp-groups-screens.php:
|
3628 |
msgid "Group invite rejected"
|
3629 |
msgstr ""
|
3630 |
|
3631 |
-
#: bp-groups/bp-groups-screens.php:
|
3632 |
msgid "It looks like you've already said that!"
|
3633 |
msgstr ""
|
3634 |
|
3635 |
-
#: bp-groups/bp-groups-screens.php:
|
3636 |
msgid "There was an error when replying to that topic"
|
3637 |
msgstr ""
|
3638 |
|
3639 |
-
#: bp-groups/bp-groups-screens.php:
|
3640 |
msgid "Your reply was posted successfully"
|
3641 |
msgstr ""
|
3642 |
|
3643 |
-
#: bp-groups/bp-groups-screens.php:
|
3644 |
msgid "There was an error when making that topic a sticky"
|
3645 |
msgstr ""
|
3646 |
|
3647 |
-
#: bp-groups/bp-groups-screens.php:
|
3648 |
msgid "The topic was made sticky successfully"
|
3649 |
msgstr ""
|
3650 |
|
3651 |
-
#: bp-groups/bp-groups-screens.php:
|
3652 |
msgid "There was an error when unsticking that topic"
|
3653 |
msgstr ""
|
3654 |
|
3655 |
-
#: bp-groups/bp-groups-screens.php:
|
3656 |
msgid "The topic was unstuck successfully"
|
3657 |
msgstr ""
|
3658 |
|
3659 |
-
#: bp-groups/bp-groups-screens.php:
|
3660 |
msgid "There was an error when closing that topic"
|
3661 |
msgstr ""
|
3662 |
|
3663 |
-
#: bp-groups/bp-groups-screens.php:
|
3664 |
msgid "The topic was closed successfully"
|
3665 |
msgstr ""
|
3666 |
|
3667 |
-
#: bp-groups/bp-groups-screens.php:
|
3668 |
msgid "There was an error when opening that topic"
|
3669 |
msgstr ""
|
3670 |
|
3671 |
-
#: bp-groups/bp-groups-screens.php:
|
3672 |
msgid "The topic was opened successfully"
|
3673 |
msgstr ""
|
3674 |
|
3675 |
-
#: bp-groups/bp-groups-screens.php:
|
3676 |
msgid "There was an error deleting the topic"
|
3677 |
msgstr ""
|
3678 |
|
3679 |
-
#: bp-groups/bp-groups-screens.php:
|
3680 |
msgid "The topic was deleted successfully"
|
3681 |
msgstr ""
|
3682 |
|
3683 |
-
#: bp-groups/bp-groups-screens.php:
|
3684 |
msgid "There was an error when editing that topic"
|
3685 |
msgstr ""
|
3686 |
|
3687 |
-
#: bp-groups/bp-groups-screens.php:
|
3688 |
msgid "The topic was edited successfully"
|
3689 |
msgstr ""
|
3690 |
|
3691 |
-
#: bp-groups/bp-groups-screens.php:
|
3692 |
msgid "There was an error deleting that post"
|
3693 |
msgstr ""
|
3694 |
|
3695 |
-
#: bp-groups/bp-groups-screens.php:
|
3696 |
msgid "The post was deleted successfully"
|
3697 |
msgstr ""
|
3698 |
|
3699 |
-
#: bp-groups/bp-groups-screens.php:
|
3700 |
msgid "There was an error when editing that post"
|
3701 |
msgstr ""
|
3702 |
|
3703 |
-
#: bp-groups/bp-groups-screens.php:
|
3704 |
msgid "The post was edited successfully"
|
3705 |
msgstr ""
|
3706 |
|
3707 |
-
#: bp-groups/bp-groups-screens.php:
|
3708 |
msgid "You have been banned from this group."
|
3709 |
msgstr ""
|
3710 |
|
3711 |
-
#: bp-groups/bp-groups-screens.php:
|
3712 |
msgid "This group does not have a forum setup yet."
|
3713 |
msgstr ""
|
3714 |
|
3715 |
-
#: bp-groups/bp-groups-screens.php:
|
3716 |
msgid "Group invites sent."
|
3717 |
msgstr ""
|
3718 |
|
3719 |
-
#: bp-groups/bp-groups-screens.php:
|
3720 |
msgid "You are not allowed to send or remove invites"
|
3721 |
msgstr ""
|
3722 |
|
3723 |
-
#: bp-groups/bp-groups-screens.php:
|
3724 |
msgid "The member requested to join the group"
|
3725 |
msgstr ""
|
3726 |
|
3727 |
-
#: bp-groups/bp-groups-screens.php:
|
3728 |
msgid "There was an error accepting the group invitation; please try again."
|
3729 |
msgstr ""
|
3730 |
|
3731 |
-
#: bp-groups/bp-groups-screens.php:
|
3732 |
msgid "There was an error sending your group membership request; please try again."
|
3733 |
msgstr ""
|
3734 |
|
3735 |
-
#: bp-groups/bp-groups-screens.php:
|
3736 |
msgid ""
|
3737 |
"Your membership request was sent to the group administrator successfully. "
|
3738 |
"You will be notified when the group administrator responds to your request."
|
3739 |
msgstr ""
|
3740 |
|
3741 |
-
#: bp-groups/bp-groups-screens.php:
|
3742 |
msgid "There was an error updating group details; please try again."
|
3743 |
msgstr ""
|
3744 |
|
3745 |
-
#: bp-groups/bp-groups-screens.php:
|
3746 |
msgid "Group details were successfully updated."
|
3747 |
msgstr ""
|
3748 |
|
3749 |
-
#: bp-groups/bp-groups-screens.php:
|
3750 |
msgid "There was an error updating group settings; please try again."
|
3751 |
msgstr ""
|
3752 |
|
3753 |
-
#: bp-groups/bp-groups-screens.php:
|
3754 |
msgid "Group settings were successfully updated."
|
3755 |
msgstr ""
|
3756 |
|
3757 |
-
#: bp-groups/bp-groups-screens.php:
|
3758 |
msgid "The group profile photo was deleted successfully!"
|
3759 |
msgstr ""
|
3760 |
|
3761 |
-
#: bp-groups/bp-groups-screens.php:
|
3762 |
msgid "There was a problem deleting the group profile photo; please try again."
|
3763 |
msgstr ""
|
3764 |
|
3765 |
-
#: bp-groups/bp-groups-screens.php:
|
3766 |
msgid "There was a problem cropping the group profile photo."
|
3767 |
msgstr ""
|
3768 |
|
3769 |
-
#: bp-groups/bp-groups-screens.php:
|
3770 |
msgid "The new group profile photo was uploaded successfully."
|
3771 |
msgstr ""
|
3772 |
|
3773 |
-
#: bp-groups/bp-groups-screens.php:
|
3774 |
msgid "There was an error when promoting that user, please try again"
|
3775 |
msgstr ""
|
3776 |
|
3777 |
-
#: bp-groups/bp-groups-screens.php:
|
3778 |
msgid "User promoted successfully"
|
3779 |
msgstr ""
|
3780 |
|
3781 |
-
#: bp-groups/bp-groups-screens.php:
|
3782 |
msgid "There was an error when demoting that user; please try again"
|
3783 |
msgstr ""
|
3784 |
|
3785 |
-
#: bp-groups/bp-groups-screens.php:
|
3786 |
msgid "User demoted successfully"
|
3787 |
msgstr ""
|
3788 |
|
3789 |
-
#: bp-groups/bp-groups-screens.php:
|
3790 |
msgid "There was an error when banning that user; please try again"
|
3791 |
msgstr ""
|
3792 |
|
3793 |
-
#: bp-groups/bp-groups-screens.php:
|
3794 |
msgid "User banned successfully"
|
3795 |
msgstr ""
|
3796 |
|
3797 |
-
#: bp-groups/bp-groups-screens.php:
|
3798 |
msgid "There was an error when unbanning that user, please try again"
|
3799 |
msgstr ""
|
3800 |
|
3801 |
-
#: bp-groups/bp-groups-screens.php:
|
3802 |
msgid "User ban removed successfully"
|
3803 |
msgstr ""
|
3804 |
|
3805 |
-
#: bp-groups/bp-groups-screens.php:
|
3806 |
msgid "There was an error removing that user from the group; please try again"
|
3807 |
msgstr ""
|
3808 |
|
3809 |
-
#: bp-groups/bp-groups-screens.php:
|
3810 |
msgid "User removed successfully"
|
3811 |
msgstr ""
|
3812 |
|
3813 |
-
#: bp-groups/bp-groups-screens.php:
|
3814 |
msgid "There was an error accepting the membership request; please try again."
|
3815 |
msgstr ""
|
3816 |
|
3817 |
-
#: bp-groups/bp-groups-screens.php:
|
3818 |
msgid "Group membership request accepted"
|
3819 |
msgstr ""
|
3820 |
|
3821 |
-
#: bp-groups/bp-groups-screens.php:
|
3822 |
msgid "There was an error rejecting the membership request; please try again."
|
3823 |
msgstr ""
|
3824 |
|
3825 |
-
#: bp-groups/bp-groups-screens.php:
|
3826 |
msgid "Group membership request rejected"
|
3827 |
msgstr ""
|
3828 |
|
3829 |
-
#: bp-groups/bp-groups-screens.php:
|
3830 |
msgid "There was an error deleting the group; please try again."
|
3831 |
msgstr ""
|
3832 |
|
3833 |
-
#: bp-groups/bp-groups-screens.php:
|
3834 |
msgid "The group was deleted successfully"
|
3835 |
msgstr ""
|
3836 |
|
3837 |
-
#: bp-groups/bp-groups-template.php:
|
3838 |
msgid "Public Group"
|
3839 |
msgstr ""
|
3840 |
|
3841 |
-
#: bp-groups/bp-groups-template.php:
|
3842 |
msgid "Hidden Group"
|
3843 |
msgstr ""
|
3844 |
|
3845 |
-
#: bp-groups/bp-groups-template.php:
|
3846 |
msgid "Private Group"
|
3847 |
msgstr ""
|
3848 |
|
3849 |
-
#: bp-groups/bp-groups-template.php:
|
3850 |
msgid "Group"
|
3851 |
msgstr ""
|
3852 |
|
3853 |
-
#: bp-groups/bp-groups-template.php:
|
3854 |
msgid "not yet active"
|
3855 |
msgstr ""
|
3856 |
|
3857 |
-
#: bp-groups/bp-groups-template.php:
|
3858 |
msgid "Group creator profile photo of %s"
|
3859 |
msgstr ""
|
3860 |
|
3861 |
-
#: bp-groups/bp-groups-template.php:
|
3862 |
msgid "No Admins"
|
3863 |
msgstr ""
|
3864 |
|
3865 |
-
#: bp-groups/bp-groups-template.php:
|
3866 |
msgid "No Mods"
|
3867 |
msgstr ""
|
3868 |
|
3869 |
-
#: bp-groups/bp-groups-template.php:
|
3870 |
msgid "Filter Groups"
|
3871 |
msgstr ""
|
3872 |
|
3873 |
-
#: bp-groups/bp-groups-template.php:
|
3874 |
msgid "Viewing 1"
|
3875 |
msgid_plural "Viewing %1$s - %2$s of %3$s groups"
|
3876 |
msgstr[0] ""
|
3877 |
msgstr[1] ""
|
3878 |
|
3879 |
-
#: bp-groups/bp-groups-template.php:
|
3880 |
msgid "%s member"
|
3881 |
msgstr ""
|
3882 |
|
3883 |
-
#: bp-groups/bp-groups-template.php:
|
3884 |
msgid "%s members"
|
3885 |
msgstr ""
|
3886 |
|
3887 |
-
#: bp-groups/bp-groups-template.php:
|
3888 |
msgid "%d topic"
|
3889 |
msgstr ""
|
3890 |
|
3891 |
-
#: bp-groups/bp-groups-template.php:
|
3892 |
msgid "%d topics"
|
3893 |
msgstr ""
|
3894 |
|
3895 |
-
#: bp-groups/bp-groups-template.php:
|
3896 |
#: bp-templates/bp-legacy/buddypress/groups/single/admin.php:190
|
3897 |
#: bp-templates/bp-legacy/buddypress/groups/single/admin.php:217
|
3898 |
msgid "Demote to Member"
|
3899 |
msgstr ""
|
3900 |
|
3901 |
-
#: bp-groups/bp-groups-template.php:
|
3902 |
-
#: bp-groups/bp-groups-template.php:
|
3903 |
msgid "joined %s"
|
3904 |
msgstr ""
|
3905 |
|
3906 |
-
#: bp-groups/bp-groups-template.php:
|
3907 |
msgid "This group has no administrators"
|
3908 |
msgstr ""
|
3909 |
|
3910 |
-
#: bp-groups/bp-groups-template.php:
|
3911 |
#: bp-templates/bp-legacy/buddypress/groups/single/admin.php:216
|
3912 |
#: bp-templates/bp-legacy/buddypress/groups/single/admin.php:272
|
3913 |
msgid "Promote to Admin"
|
3914 |
msgstr ""
|
3915 |
|
3916 |
-
#: bp-groups/bp-groups-template.php:
|
3917 |
msgid "This group has no moderators"
|
3918 |
msgstr ""
|
3919 |
|
3920 |
-
#: bp-groups/bp-groups-template.php:
|
3921 |
msgid "Details"
|
3922 |
msgstr ""
|
3923 |
|
3924 |
-
#: bp-groups/bp-groups-template.php:
|
3925 |
msgid "Photo"
|
3926 |
msgstr ""
|
3927 |
|
3928 |
-
#: bp-groups/bp-groups-template.php:
|
3929 |
msgid "Requests"
|
3930 |
msgstr ""
|
3931 |
|
3932 |
-
#: bp-groups/bp-groups-template.php:
|
3933 |
#: bp-templates/bp-legacy/buddypress-functions.php:1194
|
3934 |
#: bp-templates/bp-legacy/buddypress-functions.php:1207
|
3935 |
msgid "Leave Group"
|
3936 |
msgstr ""
|
3937 |
|
3938 |
-
#: bp-groups/bp-groups-template.php:
|
3939 |
#: bp-templates/bp-legacy/buddypress-functions.php:1228
|
3940 |
msgid "Join Group"
|
3941 |
msgstr ""
|
3942 |
|
3943 |
-
#: bp-groups/bp-groups-template.php:
|
3944 |
msgid "Accept Invitation"
|
3945 |
msgstr ""
|
3946 |
|
3947 |
-
#: bp-groups/bp-groups-template.php:
|
3948 |
msgid "Request Sent"
|
3949 |
msgstr ""
|
3950 |
|
3951 |
-
#: bp-groups/bp-groups-template.php:
|
3952 |
#: bp-templates/bp-legacy/buddypress-functions.php:1230
|
3953 |
msgid "Request Membership"
|
3954 |
msgstr ""
|
3955 |
|
3956 |
-
#: bp-groups/bp-groups-template.php:
|
3957 |
msgid ""
|
3958 |
"You must accept your pending invitation before you can access this private "
|
3959 |
"group."
|
3960 |
msgstr ""
|
3961 |
|
3962 |
-
#: bp-groups/bp-groups-template.php:
|
3963 |
msgid ""
|
3964 |
"This is a private group and you must request group membership in order to "
|
3965 |
"join."
|
3966 |
msgstr ""
|
3967 |
|
3968 |
-
#: bp-groups/bp-groups-template.php:
|
3969 |
msgid ""
|
3970 |
"This is a private group. To join you must be a registered site member and "
|
3971 |
"request group membership."
|
3972 |
msgstr ""
|
3973 |
|
3974 |
-
#: bp-groups/bp-groups-template.php:
|
3975 |
msgid ""
|
3976 |
"This is a private group. Your membership request is awaiting approval from "
|
3977 |
"the group administrator."
|
3978 |
msgstr ""
|
3979 |
|
3980 |
-
#: bp-groups/bp-groups-template.php:
|
3981 |
msgid "This is a hidden group and only invited members can join."
|
3982 |
msgstr ""
|
3983 |
|
3984 |
-
#: bp-groups/bp-groups-template.php:
|
3985 |
#: bp-notifications/bp-notifications-template.php:1038
|
3986 |
#: bp-templates/bp-legacy/buddypress/blogs/index.php:36
|
3987 |
#: bp-templates/bp-legacy/buddypress/forums/index.php:42
|
@@ -3995,15 +3995,15 @@ msgstr ""
|
|
3995 |
msgid "Order By:"
|
3996 |
msgstr ""
|
3997 |
|
3998 |
-
#: bp-groups/bp-groups-template.php:
|
3999 |
msgid "Oldest"
|
4000 |
msgstr ""
|
4001 |
|
4002 |
-
#: bp-groups/bp-groups-template.php:
|
4003 |
msgid "Group Activity"
|
4004 |
msgstr ""
|
4005 |
|
4006 |
-
#: bp-groups/bp-groups-template.php:
|
4007 |
#: bp-templates/bp-legacy/buddypress/blogs/index.php:40
|
4008 |
#: bp-templates/bp-legacy/buddypress/groups/index.php:42
|
4009 |
#: bp-templates/bp-legacy/buddypress/members/index.php:41
|
@@ -4013,47 +4013,47 @@ msgstr ""
|
|
4013 |
msgid "Alphabetical"
|
4014 |
msgstr ""
|
4015 |
|
4016 |
-
#: bp-groups/bp-groups-template.php:
|
4017 |
msgid "Group avatar"
|
4018 |
msgstr ""
|
4019 |
|
4020 |
-
#: bp-groups/bp-groups-template.php:
|
4021 |
msgid "Recently Joined"
|
4022 |
msgstr ""
|
4023 |
|
4024 |
-
#: bp-groups/bp-groups-template.php:
|
4025 |
msgid "Most Popular"
|
4026 |
msgstr ""
|
4027 |
|
4028 |
-
#: bp-groups/bp-groups-template.php:
|
4029 |
msgid "Administrator Of"
|
4030 |
msgstr ""
|
4031 |
|
4032 |
-
#: bp-groups/bp-groups-template.php:
|
4033 |
msgid "Moderator Of"
|
4034 |
msgstr ""
|
4035 |
|
4036 |
-
#: bp-groups/bp-groups-template.php:
|
4037 |
msgid "requested %s"
|
4038 |
msgstr ""
|
4039 |
|
4040 |
-
#: bp-groups/bp-groups-template.php:
|
4041 |
msgid "Viewing 1 request"
|
4042 |
msgid_plural "Viewing %1$s - %2$s of %3$s requests"
|
4043 |
msgstr[0] ""
|
4044 |
msgstr[1] ""
|
4045 |
|
4046 |
-
#: bp-groups/bp-groups-template.php:
|
4047 |
msgid "Viewing 1 invitation"
|
4048 |
msgid_plural "Viewing %1$s - %2$s of %3$s invitations"
|
4049 |
msgstr[0] ""
|
4050 |
msgstr[1] ""
|
4051 |
|
4052 |
-
#: bp-groups/bp-groups-template.php:
|
4053 |
msgid "Group Activity RSS Feed"
|
4054 |
msgstr ""
|
4055 |
|
4056 |
-
#: bp-groups/bp-groups-template.php:
|
4057 |
msgid "%s group"
|
4058 |
msgid_plural "%s groups"
|
4059 |
msgstr[0] ""
|
@@ -4835,11 +4835,11 @@ msgstr ""
|
|
4835 |
msgid "No new notifications"
|
4836 |
msgstr ""
|
4837 |
|
4838 |
-
#: bp-notifications/bp-notifications-loader.php:
|
4839 |
msgid "Search Notifications..."
|
4840 |
msgstr ""
|
4841 |
|
4842 |
-
#: bp-notifications/bp-notifications-loader.php:
|
4843 |
#: bp-notifications/bp-notifications-template.php:720
|
4844 |
msgid "Read"
|
4845 |
msgstr ""
|
@@ -6425,7 +6425,7 @@ msgctxt "component directory title"
|
|
6425 |
msgid "Directory"
|
6426 |
msgstr ""
|
6427 |
|
6428 |
-
#: bp-groups/bp-groups-loader.php:
|
6429 |
msgctxt "component directory title"
|
6430 |
msgid "Groups"
|
6431 |
msgstr ""
|
@@ -6797,172 +6797,172 @@ msgctxt "Group member role in group admin"
|
|
6797 |
msgid "Group Role"
|
6798 |
msgstr ""
|
6799 |
|
6800 |
-
#: bp-groups/bp-groups-admin.php:
|
6801 |
msgctxt "Groups admin Group Name column header"
|
6802 |
msgid "Name"
|
6803 |
msgstr ""
|
6804 |
|
6805 |
-
#: bp-groups/bp-groups-admin.php:
|
6806 |
msgctxt "Groups admin Group Description column header"
|
6807 |
msgid "Description"
|
6808 |
msgstr ""
|
6809 |
|
6810 |
-
#: bp-groups/bp-groups-admin.php:
|
6811 |
msgctxt "Groups admin Privacy Status column header"
|
6812 |
msgid "Status"
|
6813 |
msgstr ""
|
6814 |
|
6815 |
-
#: bp-groups/bp-groups-admin.php:
|
6816 |
msgctxt "Groups admin Members column header"
|
6817 |
msgid "# Members"
|
6818 |
msgstr ""
|
6819 |
|
6820 |
-
#: bp-groups/bp-groups-admin.php:
|
6821 |
msgctxt "Groups admin Last Active column header"
|
6822 |
msgid "Last Active"
|
6823 |
msgstr ""
|
6824 |
|
6825 |
-
#: bp-groups/bp-groups-loader.php:
|
6826 |
msgctxt "Group screen page <title>"
|
6827 |
msgid "User Groups"
|
6828 |
msgstr ""
|
6829 |
|
6830 |
-
#: bp-groups/bp-groups-loader.php:
|
6831 |
msgctxt "Component directory search"
|
6832 |
msgid "Search Groups..."
|
6833 |
msgstr ""
|
6834 |
|
6835 |
-
#: bp-groups/bp-groups-loader.php:
|
6836 |
msgctxt "Group screen nav"
|
6837 |
msgid "Details"
|
6838 |
msgstr ""
|
6839 |
|
6840 |
-
#: bp-groups/bp-groups-loader.php:
|
6841 |
msgctxt "Group screen nav"
|
6842 |
msgid "Settings"
|
6843 |
msgstr ""
|
6844 |
|
6845 |
-
#: bp-groups/bp-groups-loader.php:
|
6846 |
msgctxt "Group screen nav"
|
6847 |
msgid "Photo"
|
6848 |
msgstr ""
|
6849 |
|
6850 |
-
#: bp-groups/bp-groups-loader.php:
|
6851 |
msgctxt "Group screen nav"
|
6852 |
msgid "Invites"
|
6853 |
msgstr ""
|
6854 |
|
6855 |
-
#: bp-groups/bp-groups-loader.php:
|
6856 |
msgctxt "Group screen nav"
|
6857 |
msgid "Request Membership"
|
6858 |
msgstr ""
|
6859 |
|
6860 |
-
#: bp-groups/bp-groups-loader.php:
|
6861 |
msgctxt "Group screen nav with counter"
|
6862 |
msgid "Groups <span class=\"%s\">%s</span>"
|
6863 |
msgstr ""
|
6864 |
|
6865 |
-
#: bp-groups/bp-groups-loader.php:
|
6866 |
msgctxt "Group screen nav without counter"
|
6867 |
msgid "Groups"
|
6868 |
msgstr ""
|
6869 |
|
6870 |
-
#: bp-groups/bp-groups-loader.php:
|
6871 |
msgctxt "Group screen navigation title"
|
6872 |
msgid "Home"
|
6873 |
msgstr ""
|
6874 |
|
6875 |
-
#: bp-groups/bp-groups-loader.php:
|
6876 |
msgctxt "My Group screen nav"
|
6877 |
msgid "Forum"
|
6878 |
msgstr ""
|
6879 |
|
6880 |
-
#: bp-groups/bp-groups-loader.php:
|
6881 |
msgctxt "My Group screen nav"
|
6882 |
msgid "Members <span>%s</span>"
|
6883 |
msgstr ""
|
6884 |
|
6885 |
-
#: bp-groups/bp-groups-loader.php:
|
6886 |
msgctxt "My Group screen nav"
|
6887 |
msgid "Send Invites"
|
6888 |
msgstr ""
|
6889 |
|
6890 |
-
#: bp-groups/bp-groups-loader.php:
|
6891 |
msgctxt "My Group screen nav"
|
6892 |
msgid "Manage"
|
6893 |
msgstr ""
|
6894 |
|
6895 |
-
#: bp-groups/bp-groups-loader.php:
|
6896 |
msgctxt "My Account Groups"
|
6897 |
msgid "Groups"
|
6898 |
msgstr ""
|
6899 |
|
6900 |
-
#: bp-groups/bp-groups-loader.php:
|
6901 |
msgctxt "My Account Groups sub nav"
|
6902 |
msgid "No Pending Invites"
|
6903 |
msgstr ""
|
6904 |
|
6905 |
-
#: bp-groups/bp-groups-loader.php:
|
6906 |
msgctxt "My Account Groups sub nav"
|
6907 |
msgid "Pending Invites <span class=\"count\">%s</span>"
|
6908 |
msgstr ""
|
6909 |
|
6910 |
-
#: bp-groups/bp-groups-loader.php:
|
6911 |
msgctxt "My Account Groups sub nav"
|
6912 |
msgid "Memberships"
|
6913 |
msgstr ""
|
6914 |
|
6915 |
-
#: bp-groups/bp-groups-loader.php:
|
6916 |
msgctxt "My Account Groups sub nav"
|
6917 |
msgid "Create a Group"
|
6918 |
msgstr ""
|
6919 |
|
6920 |
-
#: bp-groups/bp-groups-loader.php:
|
6921 |
msgctxt "My Account Groups nav"
|
6922 |
msgid "Groups <span class=\"count\">%s</span>"
|
6923 |
msgstr ""
|
6924 |
|
6925 |
-
#: bp-groups/bp-groups-loader.php:
|
6926 |
msgctxt "My Groups page <title>"
|
6927 |
msgid "Memberships"
|
6928 |
msgstr ""
|
6929 |
|
6930 |
-
#: bp-groups/bp-groups-screens.php:
|
6931 |
msgctxt "Group settings on notification settings page"
|
6932 |
msgid "Groups"
|
6933 |
msgstr ""
|
6934 |
|
6935 |
-
#: bp-groups/bp-groups-screens.php:
|
6936 |
msgctxt "group settings on notification settings page"
|
6937 |
msgid "A member invites you to join a group"
|
6938 |
msgstr ""
|
6939 |
|
6940 |
-
#: bp-groups/bp-groups-screens.php:
|
6941 |
msgctxt "group settings on notification settings page"
|
6942 |
msgid "Group information is updated"
|
6943 |
msgstr ""
|
6944 |
|
6945 |
-
#: bp-groups/bp-groups-screens.php:
|
6946 |
msgctxt "group settings on notification settings page"
|
6947 |
msgid "You are promoted to a group administrator or moderator"
|
6948 |
msgstr ""
|
6949 |
|
6950 |
-
#: bp-groups/bp-groups-screens.php:
|
6951 |
msgctxt "group settings on notification settings page"
|
6952 |
msgid "A member requests to join a private group for which you are an admin"
|
6953 |
msgstr ""
|
6954 |
|
6955 |
-
#: bp-groups/bp-groups-screens.php:
|
6956 |
msgctxt "Group creation page"
|
6957 |
msgid "Groups"
|
6958 |
msgstr ""
|
6959 |
|
6960 |
-
#: bp-groups/bp-groups-template.php:
|
6961 |
msgctxt "Group pagination previous text"
|
6962 |
msgid "←"
|
6963 |
msgstr ""
|
6964 |
|
6965 |
-
#: bp-groups/bp-groups-template.php:
|
6966 |
msgctxt "Group pagination next text"
|
6967 |
msgid "→"
|
6968 |
msgstr ""
|
@@ -7123,42 +7123,42 @@ msgctxt "Page <title>"
|
|
7123 |
msgid "Notifications"
|
7124 |
msgstr ""
|
7125 |
|
7126 |
-
#: bp-notifications/bp-notifications-loader.php:
|
7127 |
msgctxt "Profile screen nav"
|
7128 |
msgid "Notifications <span class=\"%s\">%s</span>"
|
7129 |
msgstr ""
|
7130 |
|
7131 |
-
#: bp-notifications/bp-notifications-loader.php:
|
7132 |
msgctxt "Profile screen nav"
|
7133 |
msgid "Notifications"
|
7134 |
msgstr ""
|
7135 |
|
7136 |
-
#: bp-notifications/bp-notifications-loader.php:
|
7137 |
msgctxt "Notification screen nav"
|
7138 |
msgid "Unread"
|
7139 |
msgstr ""
|
7140 |
|
7141 |
-
#: bp-notifications/bp-notifications-loader.php:
|
7142 |
msgctxt "Notification screen nav"
|
7143 |
msgid "Read"
|
7144 |
msgstr ""
|
7145 |
|
7146 |
-
#: bp-notifications/bp-notifications-loader.php:
|
7147 |
msgctxt "My Account Notification pending"
|
7148 |
msgid "Notifications <span class=\"count\">%s</span>"
|
7149 |
msgstr ""
|
7150 |
|
7151 |
-
#: bp-notifications/bp-notifications-loader.php:
|
7152 |
msgctxt "My Account Notification pending"
|
7153 |
msgid "Unread <span class=\"count\">%s</span>"
|
7154 |
msgstr ""
|
7155 |
|
7156 |
-
#: bp-notifications/bp-notifications-loader.php:
|
7157 |
msgctxt "My Account Notification"
|
7158 |
msgid "Notifications"
|
7159 |
msgstr ""
|
7160 |
|
7161 |
-
#: bp-notifications/bp-notifications-loader.php:
|
7162 |
msgctxt "My Account Notification sub nav"
|
7163 |
msgid "Unread"
|
7164 |
msgstr ""
|
2 |
# This file is distributed under the GPLv2 or later (license.txt).
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: BuddyPress 2.1\n"
|
6 |
"Report-Msgid-Bugs-To: https://buddypress.trac.wordpress.org\n"
|
7 |
+
"POT-Creation-Date: 2014-09-18 18:01:13+00:00\n"
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=utf-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
79 |
msgid "Activity feed for the entire site."
|
80 |
msgstr ""
|
81 |
|
82 |
+
#: bp-activity/bp-activity-actions.php:470 bp-groups/bp-groups-actions.php:473
|
83 |
#. translators: Personal activity RSS title - "[Site Name] | [User Display
|
84 |
#. Name] | Activity"
|
85 |
#. translators: Group activity RSS title - "[Site Name] | [Group Name] |
|
313 |
msgstr ""
|
314 |
|
315 |
#: bp-activity/bp-activity-admin.php:678 bp-activity/bp-activity-admin.php:1417
|
316 |
+
#: bp-forums/bp-forums-template.php:2112 bp-groups/bp-groups-admin.php:1398
|
317 |
#: bp-xprofile/bp-xprofile-admin.php:402
|
318 |
msgid "Edit"
|
319 |
msgstr ""
|
427 |
msgid "No activities found."
|
428 |
msgstr ""
|
429 |
|
430 |
+
#: bp-activity/bp-activity-admin.php:1211 bp-groups/bp-groups-admin.php:1271
|
431 |
msgid "All"
|
432 |
msgstr ""
|
433 |
|
540 |
msgstr ""
|
541 |
|
542 |
#: bp-activity/bp-activity-classes.php:286
|
543 |
+
#: bp-activity/bp-activity-template.php:147 bp-groups/bp-groups-classes.php:654
|
544 |
+
#: bp-groups/bp-groups-functions.php:491 bp-groups/bp-groups-template.php:187
|
545 |
+
#: bp-groups/bp-groups-template.php:2629 bp-groups/bp-groups-template.php:3670
|
546 |
+
#: bp-groups/bp-groups-template.php:3938
|
547 |
msgid ""
|
548 |
"Arguments passed to %1$s should be in an associative array. See the inline "
|
549 |
"documentation at %2$s for more details."
|
613 |
#: bp-core/deprecated/2.1.php:501 bp-forums/bp-forums-loader.php:245
|
614 |
#: bp-forums/bp-forums-template.php:730 bp-forums/bp-forums-template.php:960
|
615 |
#: bp-forums/bp-forums-template.php:1990 bp-friends/bp-friends-loader.php:234
|
616 |
+
#: bp-groups/bp-groups-loader.php:604 bp-groups/bp-groups-template.php:1344
|
617 |
+
#: bp-groups/bp-groups-template.php:1387 bp-groups/bp-groups-template.php:1829
|
618 |
+
#: bp-groups/bp-groups-template.php:1845 bp-groups/bp-groups-template.php:1894
|
619 |
+
#: bp-groups/bp-groups-template.php:1910 bp-groups/bp-groups-template.php:2848
|
620 |
+
#: bp-groups/bp-groups-template.php:2879 bp-groups/bp-groups-template.php:2909
|
621 |
+
#: bp-groups/bp-groups-template.php:3829 bp-members/bp-members-loader.php:258
|
622 |
#: bp-members/bp-members-template.php:724
|
623 |
#: bp-members/bp-members-template.php:1168
|
624 |
#: bp-members/bp-members-template.php:1210
|
625 |
#: bp-messages/bp-messages-loader.php:282
|
626 |
#: bp-messages/bp-messages-template.php:687
|
627 |
+
#: bp-notifications/bp-notifications-loader.php:232
|
628 |
#: bp-templates/bp-legacy/buddypress/groups/single/admin.php:185
|
629 |
#: bp-templates/bp-legacy/buddypress/groups/single/admin.php:212
|
630 |
msgid "Profile picture of %s"
|
663 |
#: bp-friends/bp-friends-notifications.php:105
|
664 |
#: bp-groups/bp-groups-notifications.php:55
|
665 |
#: bp-groups/bp-groups-notifications.php:133
|
666 |
+
#: bp-groups/bp-groups-notifications.php:211
|
667 |
+
#: bp-groups/bp-groups-notifications.php:280
|
668 |
+
#: bp-groups/bp-groups-notifications.php:358
|
669 |
msgid "To disable these notifications please log in and go to: %s"
|
670 |
msgstr ""
|
671 |
|
722 |
msgstr ""
|
723 |
|
724 |
#: bp-activity/bp-activity-screens.php:271 bp-blogs/bp-blogs-template.php:1052
|
725 |
+
#: bp-friends/bp-friends-screens.php:86 bp-groups/bp-groups-screens.php:973
|
726 |
#: bp-messages/bp-messages-screens.php:199
|
727 |
#: bp-templates/bp-legacy/buddypress/members/register.php:149
|
728 |
msgid "Yes"
|
729 |
msgstr ""
|
730 |
|
731 |
#: bp-activity/bp-activity-screens.php:272 bp-blogs/bp-blogs-template.php:1056
|
732 |
+
#: bp-friends/bp-friends-screens.php:87 bp-groups/bp-groups-screens.php:974
|
733 |
#: bp-messages/bp-messages-screens.php:200
|
734 |
#: bp-templates/bp-legacy/buddypress/members/register.php:150
|
735 |
msgid "No"
|
757 |
msgid "Group logo"
|
758 |
msgstr ""
|
759 |
|
760 |
+
#: bp-activity/bp-activity-template.php:1411 bp-groups/bp-groups-admin.php:1418
|
761 |
+
#: bp-groups/bp-groups-template.php:787
|
762 |
msgid "Group logo of %s"
|
763 |
msgstr ""
|
764 |
|
777 |
msgstr ""
|
778 |
|
779 |
#: bp-activity/bp-activity-template.php:2582
|
780 |
+
#: bp-forums/bp-forums-template.php:2113 bp-groups/bp-groups-admin.php:1290
|
781 |
+
#: bp-groups/bp-groups-admin.php:1401 bp-groups/bp-groups-template.php:2094
|
782 |
#: bp-members/admin/bp-members-classes.php:146
|
783 |
#: bp-members/admin/bp-members-classes.php:277
|
784 |
#: bp-members/admin/bp-members-classes.php:474
|
794 |
|
795 |
#: bp-activity/bp-activity-template.php:2674
|
796 |
#: bp-core/admin/bp-core-functions.php:829 bp-core/admin/bp-core-slugs.php:109
|
797 |
+
#: bp-core/admin/bp-core-slugs.php:172 bp-groups/bp-groups-admin.php:1404
|
798 |
#: bp-members/bp-members-template.php:892
|
799 |
#: bp-templates/bp-legacy/buddypress-functions.php:250
|
800 |
msgid "View"
|
904 |
msgstr ""
|
905 |
|
906 |
#: bp-blogs/bp-blogs-template.php:670 bp-core/bp-core-classes.php:838
|
907 |
+
#: bp-groups/bp-groups-template.php:4046 bp-groups/bp-groups-widgets.php:94
|
908 |
#: bp-groups/bp-groups-widgets.php:206 bp-members/bp-members-template.php:834
|
909 |
#: bp-members/bp-members-template.php:1263
|
910 |
#: bp-templates/bp-legacy/buddypress/groups/groups-loop.php:47
|
1005 |
msgstr ""
|
1006 |
|
1007 |
#: bp-blogs/bp-blogs-template.php:1183 bp-core/deprecated/1.5.php:417
|
1008 |
+
#: bp-forums/bp-forums-template.php:2196 bp-groups/bp-groups-template.php:3450
|
1009 |
#: bp-members/bp-members-template.php:1031
|
1010 |
#: bp-messages/bp-messages-template.php:768
|
1011 |
msgid "Search"
|
1078 |
|
1079 |
#: bp-core/admin/bp-core-components.php:67
|
1080 |
#: bp-core/admin/bp-core-components.php:384 bp-core/deprecated/2.1.php:570
|
1081 |
+
#: bp-notifications/bp-notifications-loader.php:227
|
1082 |
msgid "Notifications"
|
1083 |
msgstr ""
|
1084 |
|
1276 |
|
1277 |
#: bp-core/admin/bp-core-functions.php:391
|
1278 |
#: bp-core/admin/bp-core-settings.php:243 bp-core/bp-core-admin.php:439
|
1279 |
+
#: bp-groups/bp-groups-template.php:2076 bp-settings/bp-settings-loader.php:23
|
1280 |
#: bp-settings/bp-settings-loader.php:73 bp-settings/bp-settings-loader.php:163
|
1281 |
msgid "Settings"
|
1282 |
msgstr ""
|
2027 |
#: bp-core/bp-core-avatars.php:856 bp-core/bp-core-classes.php:835
|
2028 |
#: bp-core/bp-core-classes.php:836 bp-core/bp-core-classes.php:837
|
2029 |
#: bp-core/bp-core-template.php:151 bp-core/bp-core-template.php:170
|
2030 |
+
#: bp-groups/bp-groups-template.php:4040 bp-groups/bp-groups-template.php:4041
|
2031 |
+
#: bp-groups/bp-groups-template.php:4042
|
2032 |
msgid "Profile photo of %s"
|
2033 |
msgstr ""
|
2034 |
|
2052 |
msgid "You must log in to access the page you requested."
|
2053 |
msgstr ""
|
2054 |
|
2055 |
+
#: bp-core/bp-core-classes.php:852 bp-groups/bp-groups-template.php:4050
|
2056 |
msgid "%d group"
|
2057 |
msgid_plural "%d groups"
|
2058 |
msgstr[0] ""
|
2120 |
msgid "Activate your Account"
|
2121 |
msgstr ""
|
2122 |
|
2123 |
+
#: bp-core/bp-core-filters.php:495 bp-groups/bp-groups-template.php:2513
|
2124 |
+
#: bp-groups/bp-groups-template.php:2514
|
2125 |
msgid "Create a Group"
|
2126 |
msgstr ""
|
2127 |
|
2258 |
#: bp-core/bp-core-widgets.php:199 bp-core/bp-core-widgets.php:297
|
2259 |
#: bp-core/deprecated/1.6.php:129 bp-core/deprecated/1.6.php:152
|
2260 |
#: bp-friends/bp-friends-widgets.php:98 bp-friends/bp-friends-widgets.php:186
|
2261 |
+
#: bp-groups/bp-groups-template.php:3091 bp-groups/bp-groups-widgets.php:74
|
2262 |
#: bp-groups/bp-groups-widgets.php:155
|
2263 |
#: bp-templates/bp-legacy/buddypress/blogs/index.php:39
|
2264 |
#: bp-templates/bp-legacy/buddypress/members/single/blogs.php:22
|
2283 |
msgstr ""
|
2284 |
|
2285 |
#: bp-core/bp-core-widgets.php:275 bp-groups/bp-groups-admin.php:784
|
2286 |
+
#: bp-groups/bp-groups-template.php:2084 bp-members/bp-members-loader.php:23
|
2287 |
#: bp-templates/bp-legacy/buddypress/groups/single/admin.php:231
|
2288 |
msgid "Members"
|
2289 |
msgstr ""
|
2374 |
msgstr ""
|
2375 |
|
2376 |
#: bp-core/deprecated/1.6.php:128 bp-core/deprecated/1.6.php:149
|
2377 |
+
#: bp-groups/bp-groups-template.php:3465 bp-groups/bp-groups-template.php:3486
|
2378 |
msgid "Recently Active"
|
2379 |
msgstr ""
|
2380 |
|
2381 |
#: bp-core/deprecated/1.6.php:130 bp-core/deprecated/1.6.php:155
|
2382 |
+
#: bp-groups/bp-groups-template.php:3470 bp-groups/bp-groups-template.php:3501
|
2383 |
msgid "Alphabetically"
|
2384 |
msgstr ""
|
2385 |
|
2431 |
msgid "Admin Options"
|
2432 |
msgstr ""
|
2433 |
|
2434 |
+
#: bp-core/deprecated/2.1.php:413 bp-groups/bp-groups-adminbar.php:50
|
2435 |
msgid "Edit Details"
|
2436 |
msgstr ""
|
2437 |
|
2439 |
msgid "Group Settings"
|
2440 |
msgstr ""
|
2441 |
|
2442 |
+
#: bp-core/deprecated/2.1.php:419 bp-groups/bp-groups-loader.php:617
|
2443 |
msgid "Group Profile Photo"
|
2444 |
msgstr ""
|
2445 |
|
2446 |
+
#: bp-core/deprecated/2.1.php:425 bp-groups/bp-groups-adminbar.php:77
|
2447 |
msgid "Manage Invitations"
|
2448 |
msgstr ""
|
2449 |
|
2450 |
+
#: bp-core/deprecated/2.1.php:429 bp-groups/bp-groups-adminbar.php:86
|
2451 |
msgid "Manage Members"
|
2452 |
msgstr ""
|
2453 |
|
2454 |
+
#: bp-core/deprecated/2.1.php:433 bp-groups/bp-groups-adminbar.php:95
|
2455 |
msgid "Membership Requests"
|
2456 |
msgstr ""
|
2457 |
|
2458 |
#: bp-core/deprecated/2.1.php:437 bp-groups/bp-groups-admin.php:893
|
2459 |
+
#: bp-groups/bp-groups-adminbar.php:104
|
2460 |
#: bp-templates/bp-legacy/buddypress/groups/single/admin.php:332
|
2461 |
#: bp-xprofile/bp-xprofile-admin.php:118
|
2462 |
msgid "Delete Group"
|
2514 |
msgid "The forums component has not been set up yet."
|
2515 |
msgstr ""
|
2516 |
|
2517 |
+
#: bp-forums/bp-forums-screens.php:48 bp-groups/bp-groups-screens.php:381
|
2518 |
msgid "Please provide a title for your forum topic."
|
2519 |
msgstr ""
|
2520 |
|
2521 |
+
#: bp-forums/bp-forums-screens.php:50 bp-groups/bp-groups-screens.php:383
|
2522 |
msgid "Forum posts cannot be empty. Please enter some text."
|
2523 |
msgstr ""
|
2524 |
|
2525 |
+
#: bp-forums/bp-forums-screens.php:57 bp-groups/bp-groups-screens.php:395
|
2526 |
msgid "There was an error when creating the topic"
|
2527 |
msgstr ""
|
2528 |
|
2529 |
+
#: bp-forums/bp-forums-screens.php:60 bp-groups/bp-groups-screens.php:398
|
2530 |
msgid "The topic was created successfully"
|
2531 |
msgstr ""
|
2532 |
|
2534 |
msgid "Please pick the group forum where you would like to post this topic."
|
2535 |
msgstr ""
|
2536 |
|
2537 |
+
#: bp-forums/bp-forums-screens.php:208 bp-groups/bp-groups-template.php:2358
|
2538 |
+
#: bp-groups/bp-groups-template.php:2359
|
2539 |
#: bp-templates/bp-legacy/buddypress/groups/single/forum.php:19
|
2540 |
msgid "New Topic"
|
2541 |
msgstr ""
|
2552 |
msgid "Group logo for %s"
|
2553 |
msgstr ""
|
2554 |
|
2555 |
+
#: bp-forums/bp-forums-template.php:1103 bp-groups/bp-groups-template.php:1648
|
2556 |
msgid "%d post"
|
2557 |
msgstr ""
|
2558 |
|
2559 |
+
#: bp-forums/bp-forums-template.php:1105 bp-groups/bp-groups-template.php:1650
|
2560 |
msgid "%d posts"
|
2561 |
msgstr ""
|
2562 |
|
3022 |
msgid "There was an error saving group details, please try again."
|
3023 |
msgstr ""
|
3024 |
|
3025 |
+
#: bp-groups/bp-groups-actions.php:274 bp-groups/bp-groups-screens.php:488
|
3026 |
msgid "Invite successfully removed"
|
3027 |
msgstr ""
|
3028 |
|
3029 |
+
#: bp-groups/bp-groups-actions.php:278 bp-groups/bp-groups-screens.php:499
|
3030 |
msgid "There was an error removing the invite"
|
3031 |
msgstr ""
|
3032 |
|
3040 |
msgid "The group profile photo was uploaded successfully!"
|
3041 |
msgstr ""
|
3042 |
|
3043 |
+
#: bp-groups/bp-groups-actions.php:338 bp-groups/bp-groups-actions.php:345
|
3044 |
msgid "There was an error joining the group."
|
3045 |
msgstr ""
|
3046 |
|
3047 |
+
#: bp-groups/bp-groups-actions.php:347
|
3048 |
msgid "You joined the group!"
|
3049 |
msgstr ""
|
3050 |
|
3051 |
+
#: bp-groups/bp-groups-actions.php:385 bp-groups/bp-groups-screens.php:785
|
3052 |
msgid "This group must have at least one admin"
|
3053 |
msgstr ""
|
3054 |
|
3055 |
+
#: bp-groups/bp-groups-actions.php:387
|
3056 |
msgid "There was an error leaving the group."
|
3057 |
msgstr ""
|
3058 |
|
3059 |
+
#: bp-groups/bp-groups-actions.php:389 bp-groups/bp-groups-functions.php:370
|
3060 |
msgid "You successfully left the group."
|
3061 |
msgstr ""
|
3062 |
|
3063 |
+
#: bp-groups/bp-groups-actions.php:476
|
3064 |
msgid "Activity feed for the group, %s."
|
3065 |
msgstr ""
|
3066 |
|
3067 |
+
#: bp-groups/bp-groups-activity.php:31
|
3068 |
msgid "Created a group"
|
3069 |
msgstr ""
|
3070 |
|
3071 |
+
#: bp-groups/bp-groups-activity.php:33
|
3072 |
msgid "New Groups"
|
3073 |
msgstr ""
|
3074 |
|
3075 |
+
#: bp-groups/bp-groups-activity.php:40
|
3076 |
msgid "Joined a group"
|
3077 |
msgstr ""
|
3078 |
|
3079 |
+
#: bp-groups/bp-groups-activity.php:42
|
3080 |
msgid "Group Memberships"
|
3081 |
msgstr ""
|
3082 |
|
3083 |
+
#: bp-groups/bp-groups-activity.php:53
|
3084 |
msgid "New group forum topic"
|
3085 |
msgstr ""
|
3086 |
|
3087 |
+
#: bp-groups/bp-groups-activity.php:55
|
3088 |
msgid "Forum Topics"
|
3089 |
msgstr ""
|
3090 |
|
3091 |
+
#: bp-groups/bp-groups-activity.php:62
|
3092 |
msgid "New group forum post"
|
3093 |
msgstr ""
|
3094 |
|
3095 |
+
#: bp-groups/bp-groups-activity.php:64
|
3096 |
msgid "Forum Replies"
|
3097 |
msgstr ""
|
3098 |
|
3099 |
+
#: bp-groups/bp-groups-activity.php:91
|
3100 |
msgid "%1$s created the group %2$s"
|
3101 |
msgstr ""
|
3102 |
|
3103 |
+
#: bp-groups/bp-groups-activity.php:114 bp-groups/bp-groups-activity.php:284
|
3104 |
msgid "%1$s joined the group %2$s"
|
3105 |
msgstr ""
|
3106 |
|
3193 |
msgid "The following members were successfully modified: <em>%s</em>"
|
3194 |
msgstr ""
|
3195 |
|
3196 |
+
#: bp-groups/bp-groups-admin.php:497 bp-groups/bp-groups-adminbar.php:42
|
3197 |
#: bp-xprofile/bp-xprofile-admin.php:114
|
3198 |
msgid "Edit Group"
|
3199 |
msgstr ""
|
3236 |
msgstr[0] ""
|
3237 |
msgstr[1] ""
|
3238 |
|
3239 |
+
#: bp-groups/bp-groups-admin.php:644 bp-groups/bp-groups-notifications.php:443
|
3240 |
+
#: bp-groups/bp-groups-notifications.php:479
|
3241 |
+
#: bp-groups/bp-groups-notifications.php:515
|
3242 |
+
#: bp-groups/bp-groups-notifications.php:551 bp-groups/bp-groups-widgets.php:53
|
3243 |
#: bp-groups/bp-groups-widgets.php:133
|
3244 |
msgid "Groups"
|
3245 |
msgstr ""
|
3258 |
msgid "Privacy"
|
3259 |
msgstr ""
|
3260 |
|
3261 |
+
#: bp-groups/bp-groups-admin.php:696 bp-groups/bp-groups-admin.php:1456
|
3262 |
+
#: bp-groups/bp-groups-template.php:1083
|
3263 |
msgid "Public"
|
3264 |
msgstr ""
|
3265 |
|
3266 |
+
#: bp-groups/bp-groups-admin.php:697 bp-groups/bp-groups-admin.php:1459
|
3267 |
+
#: bp-groups/bp-groups-template.php:1085
|
3268 |
msgid "Private"
|
3269 |
msgstr ""
|
3270 |
|
3271 |
+
#: bp-groups/bp-groups-admin.php:698 bp-groups/bp-groups-admin.php:1462
|
3272 |
msgid "Hidden"
|
3273 |
msgstr ""
|
3274 |
|
3349 |
msgid "No members of this type"
|
3350 |
msgstr ""
|
3351 |
|
3352 |
+
#: bp-groups/bp-groups-admin.php:897 bp-groups/bp-groups-classes.php:3268
|
3353 |
#: bp-templates/bp-legacy/buddypress/groups/single/admin.php:32
|
3354 |
#: bp-templates/bp-legacy/buddypress/groups/single/admin.php:117
|
3355 |
#: bp-templates/bp-legacy/buddypress/groups/single/forum/edit.php:58
|
3369 |
msgid "»"
|
3370 |
msgstr ""
|
3371 |
|
3372 |
+
#: bp-groups/bp-groups-admin.php:953 bp-groups/bp-groups-template.php:3037
|
3373 |
#: bp-members/bp-members-template.php:543
|
3374 |
msgid "Viewing 1 member"
|
3375 |
msgid_plural "Viewing %1$s - %2$s of %3$s members"
|
3381 |
msgid "%1$s (%2$s)"
|
3382 |
msgstr ""
|
3383 |
|
3384 |
+
#: bp-groups/bp-groups-admin.php:1201
|
3385 |
msgid "No groups found."
|
3386 |
msgstr ""
|
3387 |
|
3388 |
+
#: bp-groups/bp-groups-admin.php:1272
|
3389 |
msgid "Public <span class=\"count\">(%s)</span>"
|
3390 |
msgid_plural "Public <span class=\"count\">(%s)</span>"
|
3391 |
msgstr[0] ""
|
3392 |
msgstr[1] ""
|
3393 |
|
3394 |
+
#: bp-groups/bp-groups-admin.php:1273
|
3395 |
msgid "Private <span class=\"count\">(%s)</span>"
|
3396 |
msgid_plural "Private <span class=\"count\">(%s)</span>"
|
3397 |
msgstr[0] ""
|
3398 |
msgstr[1] ""
|
3399 |
|
3400 |
+
#: bp-groups/bp-groups-admin.php:1274
|
3401 |
msgid "Hidden <span class=\"count\">(%s)</span>"
|
3402 |
msgid_plural "Hidden <span class=\"count\">(%s)</span>"
|
3403 |
msgstr[0] ""
|
3404 |
msgstr[1] ""
|
3405 |
|
3406 |
+
#: bp-groups/bp-groups-admin.php:1349
|
3407 |
msgid "Select group %1$d"
|
3408 |
msgstr ""
|
3409 |
|
3410 |
+
#: bp-groups/bp-groups-adminbar.php:58
|
3411 |
msgid "Edit Settings"
|
3412 |
msgstr ""
|
3413 |
|
3414 |
+
#: bp-groups/bp-groups-adminbar.php:67 bp-members/bp-members-adminbar.php:109
|
3415 |
msgid "Edit Profile Photo"
|
3416 |
msgstr ""
|
3417 |
|
3418 |
+
#: bp-groups/bp-groups-classes.php:2071
|
3419 |
msgid "Group Mod"
|
3420 |
msgstr ""
|
3421 |
|
3422 |
+
#: bp-groups/bp-groups-classes.php:2077 bp-groups/bp-groups-functions.php:153
|
3423 |
msgid "Group Admin"
|
3424 |
msgstr ""
|
3425 |
|
3426 |
+
#: bp-groups/bp-groups-classes.php:3561
|
3427 |
msgid "You do not have access to this content."
|
3428 |
msgstr ""
|
3429 |
|
3430 |
+
#: bp-groups/bp-groups-forums.php:117 bp-groups/bp-groups-forums.php:284
|
3431 |
msgid "%1$s replied to the forum topic %2$s in the group %3$s"
|
3432 |
msgstr ""
|
3433 |
|
3434 |
+
#: bp-groups/bp-groups-forums.php:173
|
3435 |
msgid "%1$s started the forum topic %2$s in the group %3$s"
|
3436 |
msgstr ""
|
3437 |
|
3438 |
+
#: bp-groups/bp-groups-forums.php:230
|
3439 |
msgid "%1$s edited the forum topic %2$s in the group %3$s"
|
3440 |
msgstr ""
|
3441 |
|
3442 |
+
#: bp-groups/bp-groups-functions.php:360
|
3443 |
msgid "As the only admin, you cannot leave the group."
|
3444 |
msgstr ""
|
3445 |
|
3446 |
+
#: bp-groups/bp-groups-functions.php:817
|
3447 |
msgid "%1$s posted an update in the group %2$s"
|
3448 |
msgstr ""
|
3449 |
|
3450 |
+
#: bp-groups/bp-groups-loader.php:386 bp-groups/bp-groups-loader.php:416
|
3451 |
msgid "Memberships"
|
3452 |
msgstr ""
|
3453 |
|
3454 |
+
#: bp-groups/bp-groups-loader.php:397
|
3455 |
msgid "Invitations"
|
3456 |
msgstr ""
|
3457 |
|
3458 |
+
#: bp-groups/bp-groups-loader.php:621
|
3459 |
msgid "No Group Profile Photo"
|
3460 |
msgstr ""
|
3461 |
|
3491 |
"---------------------\n"
|
3492 |
msgstr ""
|
3493 |
|
3494 |
+
#: bp-groups/bp-groups-notifications.php:189
|
3495 |
msgid "Membership request for group \"%s\" accepted"
|
3496 |
msgstr ""
|
3497 |
|
3498 |
+
#: bp-groups/bp-groups-notifications.php:190
|
3499 |
msgid ""
|
3500 |
"Your membership request for the group \"%1$s\" has been accepted.\n"
|
3501 |
"\n"
|
3504 |
"---------------------\n"
|
3505 |
msgstr ""
|
3506 |
|
3507 |
+
#: bp-groups/bp-groups-notifications.php:199
|
3508 |
msgid "Membership request for group \"%s\" rejected"
|
3509 |
msgstr ""
|
3510 |
|
3511 |
+
#: bp-groups/bp-groups-notifications.php:200
|
3512 |
msgid ""
|
3513 |
"Your membership request for the group \"%1$s\" has been rejected.\n"
|
3514 |
"\n"
|
3517 |
"---------------------\n"
|
3518 |
msgstr ""
|
3519 |
|
3520 |
+
#: bp-groups/bp-groups-notifications.php:239
|
3521 |
msgid "an administrator"
|
3522 |
msgstr ""
|
3523 |
|
3524 |
+
#: bp-groups/bp-groups-notifications.php:242
|
3525 |
msgid "a moderator"
|
3526 |
msgstr ""
|
3527 |
|
3528 |
+
#: bp-groups/bp-groups-notifications.php:269
|
3529 |
msgid "You have been promoted in the group: \"%s\""
|
3530 |
msgstr ""
|
3531 |
|
3532 |
+
#: bp-groups/bp-groups-notifications.php:270
|
3533 |
msgid ""
|
3534 |
"You have been promoted to %1$s for the group: \"%2$s\".\n"
|
3535 |
"\n"
|
3538 |
"---------------------\n"
|
3539 |
msgstr ""
|
3540 |
|
3541 |
+
#: bp-groups/bp-groups-notifications.php:343
|
3542 |
msgid "You have an invitation to the group: \"%s\""
|
3543 |
msgstr ""
|
3544 |
|
3545 |
+
#: bp-groups/bp-groups-notifications.php:344
|
3546 |
msgid ""
|
3547 |
"One of your friends %1$s has invited you to the group: \"%2$s\".\n"
|
3548 |
"\n"
|
3555 |
"---------------------\n"
|
3556 |
msgstr ""
|
3557 |
|
3558 |
+
#: bp-groups/bp-groups-notifications.php:401
|
3559 |
msgid "%1$d new membership requests for the group \"%2$s\""
|
3560 |
msgstr ""
|
3561 |
|
3562 |
+
#: bp-groups/bp-groups-notifications.php:406
|
3563 |
msgid "Group Membership Requests"
|
3564 |
msgstr ""
|
3565 |
|
3566 |
+
#: bp-groups/bp-groups-notifications.php:415
|
3567 |
+
#: bp-groups/bp-groups-notifications.php:420
|
3568 |
msgid "%s requests group membership"
|
3569 |
msgstr ""
|
3570 |
|
3571 |
+
#: bp-groups/bp-groups-notifications.php:438
|
3572 |
msgid "%d accepted group membership requests"
|
3573 |
msgstr ""
|
3574 |
|
3575 |
+
#: bp-groups/bp-groups-notifications.php:451
|
3576 |
msgid "Membership for group \"%s\" accepted"
|
3577 |
msgstr ""
|
3578 |
|
3579 |
+
#: bp-groups/bp-groups-notifications.php:474
|
3580 |
msgid "%d rejected group membership requests"
|
3581 |
msgstr ""
|
3582 |
|
3583 |
+
#: bp-groups/bp-groups-notifications.php:487
|
3584 |
msgid "Membership for group \"%s\" rejected"
|
3585 |
msgstr ""
|
3586 |
|
3587 |
+
#: bp-groups/bp-groups-notifications.php:510
|
3588 |
msgid "You were promoted to an admin in %d groups"
|
3589 |
msgstr ""
|
3590 |
|
3591 |
+
#: bp-groups/bp-groups-notifications.php:523
|
3592 |
msgid "You were promoted to an admin in the group \"%s\""
|
3593 |
msgstr ""
|
3594 |
|
3595 |
+
#: bp-groups/bp-groups-notifications.php:546
|
3596 |
msgid "You were promoted to a mod in %d groups"
|
3597 |
msgstr ""
|
3598 |
|
3599 |
+
#: bp-groups/bp-groups-notifications.php:559
|
3600 |
msgid "You were promoted to a mod in the group \"%s\""
|
3601 |
msgstr ""
|
3602 |
|
3603 |
+
#: bp-groups/bp-groups-notifications.php:583
|
3604 |
msgid "You have %d new group invitations"
|
3605 |
msgstr ""
|
3606 |
|
3607 |
+
#: bp-groups/bp-groups-notifications.php:587
|
3608 |
msgid "Group Invites"
|
3609 |
msgstr ""
|
3610 |
|
3611 |
+
#: bp-groups/bp-groups-notifications.php:595
|
3612 |
msgid "You have an invitation to the group: %s"
|
3613 |
msgstr ""
|
3614 |
|
3615 |
+
#: bp-groups/bp-groups-screens.php:53
|
3616 |
msgid "Group invite could not be accepted"
|
3617 |
msgstr ""
|
3618 |
|
3619 |
+
#: bp-groups/bp-groups-screens.php:55 bp-groups/bp-groups-screens.php:525
|
3620 |
msgid "Group invite accepted"
|
3621 |
msgstr ""
|
3622 |
|
3623 |
+
#: bp-groups/bp-groups-screens.php:80
|
3624 |
msgid "Group invite could not be rejected"
|
3625 |
msgstr ""
|
3626 |
|
3627 |
+
#: bp-groups/bp-groups-screens.php:82
|
3628 |
msgid "Group invite rejected"
|
3629 |
msgstr ""
|
3630 |
|
3631 |
+
#: bp-groups/bp-groups-screens.php:161
|
3632 |
msgid "It looks like you've already said that!"
|
3633 |
msgstr ""
|
3634 |
|
3635 |
+
#: bp-groups/bp-groups-screens.php:164
|
3636 |
msgid "There was an error when replying to that topic"
|
3637 |
msgstr ""
|
3638 |
|
3639 |
+
#: bp-groups/bp-groups-screens.php:166
|
3640 |
msgid "Your reply was posted successfully"
|
3641 |
msgstr ""
|
3642 |
|
3643 |
+
#: bp-groups/bp-groups-screens.php:187
|
3644 |
msgid "There was an error when making that topic a sticky"
|
3645 |
msgstr ""
|
3646 |
|
3647 |
+
#: bp-groups/bp-groups-screens.php:189
|
3648 |
msgid "The topic was made sticky successfully"
|
3649 |
msgstr ""
|
3650 |
|
3651 |
+
#: bp-groups/bp-groups-screens.php:202
|
3652 |
msgid "There was an error when unsticking that topic"
|
3653 |
msgstr ""
|
3654 |
|
3655 |
+
#: bp-groups/bp-groups-screens.php:204
|
3656 |
msgid "The topic was unstuck successfully"
|
3657 |
msgstr ""
|
3658 |
|
3659 |
+
#: bp-groups/bp-groups-screens.php:217
|
3660 |
msgid "There was an error when closing that topic"
|
3661 |
msgstr ""
|
3662 |
|
3663 |
+
#: bp-groups/bp-groups-screens.php:219
|
3664 |
msgid "The topic was closed successfully"
|
3665 |
msgstr ""
|
3666 |
|
3667 |
+
#: bp-groups/bp-groups-screens.php:232
|
3668 |
msgid "There was an error when opening that topic"
|
3669 |
msgstr ""
|
3670 |
|
3671 |
+
#: bp-groups/bp-groups-screens.php:234
|
3672 |
msgid "The topic was opened successfully"
|
3673 |
msgstr ""
|
3674 |
|
3675 |
+
#: bp-groups/bp-groups-screens.php:257
|
3676 |
msgid "There was an error deleting the topic"
|
3677 |
msgstr ""
|
3678 |
|
3679 |
+
#: bp-groups/bp-groups-screens.php:259
|
3680 |
msgid "The topic was deleted successfully"
|
3681 |
msgstr ""
|
3682 |
|
3683 |
+
#: bp-groups/bp-groups-screens.php:283
|
3684 |
msgid "There was an error when editing that topic"
|
3685 |
msgstr ""
|
3686 |
|
3687 |
+
#: bp-groups/bp-groups-screens.php:285
|
3688 |
msgid "The topic was edited successfully"
|
3689 |
msgstr ""
|
3690 |
|
3691 |
+
#: bp-groups/bp-groups-screens.php:310
|
3692 |
msgid "There was an error deleting that post"
|
3693 |
msgstr ""
|
3694 |
|
3695 |
+
#: bp-groups/bp-groups-screens.php:312
|
3696 |
msgid "The post was deleted successfully"
|
3697 |
msgstr ""
|
3698 |
|
3699 |
+
#: bp-groups/bp-groups-screens.php:336
|
3700 |
msgid "There was an error when editing that post"
|
3701 |
msgstr ""
|
3702 |
|
3703 |
+
#: bp-groups/bp-groups-screens.php:338
|
3704 |
msgid "The post was edited successfully"
|
3705 |
msgstr ""
|
3706 |
|
3707 |
+
#: bp-groups/bp-groups-screens.php:354 bp-groups/bp-groups-screens.php:373
|
3708 |
msgid "You have been banned from this group."
|
3709 |
msgstr ""
|
3710 |
|
3711 |
+
#: bp-groups/bp-groups-screens.php:387
|
3712 |
msgid "This group does not have a forum setup yet."
|
3713 |
msgstr ""
|
3714 |
|
3715 |
+
#: bp-groups/bp-groups-screens.php:452
|
3716 |
msgid "Group invites sent."
|
3717 |
msgstr ""
|
3718 |
|
3719 |
+
#: bp-groups/bp-groups-screens.php:493
|
3720 |
msgid "You are not allowed to send or remove invites"
|
3721 |
msgstr ""
|
3722 |
|
3723 |
+
#: bp-groups/bp-groups-screens.php:496
|
3724 |
msgid "The member requested to join the group"
|
3725 |
msgstr ""
|
3726 |
|
3727 |
+
#: bp-groups/bp-groups-screens.php:527
|
3728 |
msgid "There was an error accepting the group invitation; please try again."
|
3729 |
msgstr ""
|
3730 |
|
3731 |
+
#: bp-groups/bp-groups-screens.php:539
|
3732 |
msgid "There was an error sending your group membership request; please try again."
|
3733 |
msgstr ""
|
3734 |
|
3735 |
+
#: bp-groups/bp-groups-screens.php:541
|
3736 |
msgid ""
|
3737 |
"Your membership request was sent to the group administrator successfully. "
|
3738 |
"You will be notified when the group administrator responds to your request."
|
3739 |
msgstr ""
|
3740 |
|
3741 |
+
#: bp-groups/bp-groups-screens.php:599
|
3742 |
msgid "There was an error updating group details; please try again."
|
3743 |
msgstr ""
|
3744 |
|
3745 |
+
#: bp-groups/bp-groups-screens.php:601
|
3746 |
msgid "Group details were successfully updated."
|
3747 |
msgstr ""
|
3748 |
|
3749 |
+
#: bp-groups/bp-groups-screens.php:646
|
3750 |
msgid "There was an error updating group settings; please try again."
|
3751 |
msgstr ""
|
3752 |
|
3753 |
+
#: bp-groups/bp-groups-screens.php:648
|
3754 |
msgid "Group settings were successfully updated."
|
3755 |
msgstr ""
|
3756 |
|
3757 |
+
#: bp-groups/bp-groups-screens.php:683
|
3758 |
msgid "The group profile photo was deleted successfully!"
|
3759 |
msgstr ""
|
3760 |
|
3761 |
+
#: bp-groups/bp-groups-screens.php:685
|
3762 |
msgid "There was a problem deleting the group profile photo; please try again."
|
3763 |
msgstr ""
|
3764 |
|
3765 |
+
#: bp-groups/bp-groups-screens.php:728
|
3766 |
msgid "There was a problem cropping the group profile photo."
|
3767 |
msgstr ""
|
3768 |
|
3769 |
+
#: bp-groups/bp-groups-screens.php:730
|
3770 |
msgid "The new group profile photo was uploaded successfully."
|
3771 |
msgstr ""
|
3772 |
|
3773 |
+
#: bp-groups/bp-groups-screens.php:764
|
3774 |
msgid "There was an error when promoting that user, please try again"
|
3775 |
msgstr ""
|
3776 |
|
3777 |
+
#: bp-groups/bp-groups-screens.php:766
|
3778 |
msgid "User promoted successfully"
|
3779 |
msgstr ""
|
3780 |
|
3781 |
+
#: bp-groups/bp-groups-screens.php:789
|
3782 |
msgid "There was an error when demoting that user; please try again"
|
3783 |
msgstr ""
|
3784 |
|
3785 |
+
#: bp-groups/bp-groups-screens.php:791
|
3786 |
msgid "User demoted successfully"
|
3787 |
msgstr ""
|
3788 |
|
3789 |
+
#: bp-groups/bp-groups-screens.php:807
|
3790 |
msgid "There was an error when banning that user; please try again"
|
3791 |
msgstr ""
|
3792 |
|
3793 |
+
#: bp-groups/bp-groups-screens.php:809
|
3794 |
msgid "User banned successfully"
|
3795 |
msgstr ""
|
3796 |
|
3797 |
+
#: bp-groups/bp-groups-screens.php:825
|
3798 |
msgid "There was an error when unbanning that user, please try again"
|
3799 |
msgstr ""
|
3800 |
|
3801 |
+
#: bp-groups/bp-groups-screens.php:827
|
3802 |
msgid "User ban removed successfully"
|
3803 |
msgstr ""
|
3804 |
|
3805 |
+
#: bp-groups/bp-groups-screens.php:843
|
3806 |
msgid "There was an error removing that user from the group; please try again"
|
3807 |
msgstr ""
|
3808 |
|
3809 |
+
#: bp-groups/bp-groups-screens.php:845
|
3810 |
msgid "User removed successfully"
|
3811 |
msgstr ""
|
3812 |
|
3813 |
+
#: bp-groups/bp-groups-screens.php:885
|
3814 |
msgid "There was an error accepting the membership request; please try again."
|
3815 |
msgstr ""
|
3816 |
|
3817 |
+
#: bp-groups/bp-groups-screens.php:887
|
3818 |
msgid "Group membership request accepted"
|
3819 |
msgstr ""
|
3820 |
|
3821 |
+
#: bp-groups/bp-groups-screens.php:896
|
3822 |
msgid "There was an error rejecting the membership request; please try again."
|
3823 |
msgstr ""
|
3824 |
|
3825 |
+
#: bp-groups/bp-groups-screens.php:898
|
3826 |
msgid "Group membership request rejected"
|
3827 |
msgstr ""
|
3828 |
|
3829 |
+
#: bp-groups/bp-groups-screens.php:933
|
3830 |
msgid "There was an error deleting the group; please try again."
|
3831 |
msgstr ""
|
3832 |
|
3833 |
+
#: bp-groups/bp-groups-screens.php:935
|
3834 |
msgid "The group was deleted successfully"
|
3835 |
msgstr ""
|
3836 |
|
3837 |
+
#: bp-groups/bp-groups-template.php:708
|
3838 |
msgid "Public Group"
|
3839 |
msgstr ""
|
3840 |
|
3841 |
+
#: bp-groups/bp-groups-template.php:710
|
3842 |
msgid "Hidden Group"
|
3843 |
msgstr ""
|
3844 |
|
3845 |
+
#: bp-groups/bp-groups-template.php:712
|
3846 |
msgid "Private Group"
|
3847 |
msgstr ""
|
3848 |
|
3849 |
+
#: bp-groups/bp-groups-template.php:714
|
3850 |
msgid "Group"
|
3851 |
msgstr ""
|
3852 |
|
3853 |
+
#: bp-groups/bp-groups-template.php:895
|
3854 |
msgid "not yet active"
|
3855 |
msgstr ""
|
3856 |
|
3857 |
+
#: bp-groups/bp-groups-template.php:1281
|
3858 |
msgid "Group creator profile photo of %s"
|
3859 |
msgstr ""
|
3860 |
|
3861 |
+
#: bp-groups/bp-groups-template.php:1349
|
3862 |
msgid "No Admins"
|
3863 |
msgstr ""
|
3864 |
|
3865 |
+
#: bp-groups/bp-groups-template.php:1396
|
3866 |
msgid "No Mods"
|
3867 |
msgstr ""
|
3868 |
|
3869 |
+
#: bp-groups/bp-groups-template.php:1497
|
3870 |
msgid "Filter Groups"
|
3871 |
msgstr ""
|
3872 |
|
3873 |
+
#: bp-groups/bp-groups-template.php:1545
|
3874 |
msgid "Viewing 1"
|
3875 |
msgid_plural "Viewing %1$s - %2$s of %3$s groups"
|
3876 |
msgstr[0] ""
|
3877 |
msgstr[1] ""
|
3878 |
|
3879 |
+
#: bp-groups/bp-groups-template.php:1573
|
3880 |
msgid "%s member"
|
3881 |
msgstr ""
|
3882 |
|
3883 |
+
#: bp-groups/bp-groups-template.php:1575
|
3884 |
msgid "%s members"
|
3885 |
msgstr ""
|
3886 |
|
3887 |
+
#: bp-groups/bp-groups-template.php:1614
|
3888 |
msgid "%d topic"
|
3889 |
msgstr ""
|
3890 |
|
3891 |
+
#: bp-groups/bp-groups-template.php:1616
|
3892 |
msgid "%d topics"
|
3893 |
msgstr ""
|
3894 |
|
3895 |
+
#: bp-groups/bp-groups-template.php:1836 bp-groups/bp-groups-template.php:1901
|
3896 |
#: bp-templates/bp-legacy/buddypress/groups/single/admin.php:190
|
3897 |
#: bp-templates/bp-legacy/buddypress/groups/single/admin.php:217
|
3898 |
msgid "Demote to Member"
|
3899 |
msgstr ""
|
3900 |
|
3901 |
+
#: bp-groups/bp-groups-template.php:1849 bp-groups/bp-groups-template.php:1914
|
3902 |
+
#: bp-groups/bp-groups-template.php:2989
|
3903 |
msgid "joined %s"
|
3904 |
msgstr ""
|
3905 |
|
3906 |
+
#: bp-groups/bp-groups-template.php:1872
|
3907 |
msgid "This group has no administrators"
|
3908 |
msgstr ""
|
3909 |
|
3910 |
+
#: bp-groups/bp-groups-template.php:1900
|
3911 |
#: bp-templates/bp-legacy/buddypress/groups/single/admin.php:216
|
3912 |
#: bp-templates/bp-legacy/buddypress/groups/single/admin.php:272
|
3913 |
msgid "Promote to Admin"
|
3914 |
msgstr ""
|
3915 |
|
3916 |
+
#: bp-groups/bp-groups-template.php:1934
|
3917 |
msgid "This group has no moderators"
|
3918 |
msgstr ""
|
3919 |
|
3920 |
+
#: bp-groups/bp-groups-template.php:2069
|
3921 |
msgid "Details"
|
3922 |
msgstr ""
|
3923 |
|
3924 |
+
#: bp-groups/bp-groups-template.php:2080
|
3925 |
msgid "Photo"
|
3926 |
msgstr ""
|
3927 |
|
3928 |
+
#: bp-groups/bp-groups-template.php:2088
|
3929 |
msgid "Requests"
|
3930 |
msgstr ""
|
3931 |
|
3932 |
+
#: bp-groups/bp-groups-template.php:2398 bp-groups/bp-groups-template.php:2399
|
3933 |
#: bp-templates/bp-legacy/buddypress-functions.php:1194
|
3934 |
#: bp-templates/bp-legacy/buddypress-functions.php:1207
|
3935 |
msgid "Leave Group"
|
3936 |
msgstr ""
|
3937 |
|
3938 |
+
#: bp-groups/bp-groups-template.php:2421 bp-groups/bp-groups-template.php:2422
|
3939 |
#: bp-templates/bp-legacy/buddypress-functions.php:1228
|
3940 |
msgid "Join Group"
|
3941 |
msgstr ""
|
3942 |
|
3943 |
+
#: bp-groups/bp-groups-template.php:2440 bp-groups/bp-groups-template.php:2441
|
3944 |
msgid "Accept Invitation"
|
3945 |
msgstr ""
|
3946 |
|
3947 |
+
#: bp-groups/bp-groups-template.php:2456 bp-groups/bp-groups-template.php:2457
|
3948 |
msgid "Request Sent"
|
3949 |
msgstr ""
|
3950 |
|
3951 |
+
#: bp-groups/bp-groups-template.php:2472 bp-groups/bp-groups-template.php:2473
|
3952 |
#: bp-templates/bp-legacy/buddypress-functions.php:1230
|
3953 |
msgid "Request Membership"
|
3954 |
msgstr ""
|
3955 |
|
3956 |
+
#: bp-groups/bp-groups-template.php:2540
|
3957 |
msgid ""
|
3958 |
"You must accept your pending invitation before you can access this private "
|
3959 |
"group."
|
3960 |
msgstr ""
|
3961 |
|
3962 |
+
#: bp-groups/bp-groups-template.php:2542
|
3963 |
msgid ""
|
3964 |
"This is a private group and you must request group membership in order to "
|
3965 |
"join."
|
3966 |
msgstr ""
|
3967 |
|
3968 |
+
#: bp-groups/bp-groups-template.php:2544
|
3969 |
msgid ""
|
3970 |
"This is a private group. To join you must be a registered site member and "
|
3971 |
"request group membership."
|
3972 |
msgstr ""
|
3973 |
|
3974 |
+
#: bp-groups/bp-groups-template.php:2548
|
3975 |
msgid ""
|
3976 |
"This is a private group. Your membership request is awaiting approval from "
|
3977 |
"the group administrator."
|
3978 |
msgstr ""
|
3979 |
|
3980 |
+
#: bp-groups/bp-groups-template.php:2552
|
3981 |
msgid "This is a hidden group and only invited members can join."
|
3982 |
msgstr ""
|
3983 |
|
3984 |
+
#: bp-groups/bp-groups-template.php:3089
|
3985 |
#: bp-notifications/bp-notifications-template.php:1038
|
3986 |
#: bp-templates/bp-legacy/buddypress/blogs/index.php:36
|
3987 |
#: bp-templates/bp-legacy/buddypress/forums/index.php:42
|
3995 |
msgid "Order By:"
|
3996 |
msgstr ""
|
3997 |
|
3998 |
+
#: bp-groups/bp-groups-template.php:3092
|
3999 |
msgid "Oldest"
|
4000 |
msgstr ""
|
4001 |
|
4002 |
+
#: bp-groups/bp-groups-template.php:3095
|
4003 |
msgid "Group Activity"
|
4004 |
msgstr ""
|
4005 |
|
4006 |
+
#: bp-groups/bp-groups-template.php:3098
|
4007 |
#: bp-templates/bp-legacy/buddypress/blogs/index.php:40
|
4008 |
#: bp-templates/bp-legacy/buddypress/groups/index.php:42
|
4009 |
#: bp-templates/bp-legacy/buddypress/members/index.php:41
|
4013 |
msgid "Alphabetical"
|
4014 |
msgstr ""
|
4015 |
|
4016 |
+
#: bp-groups/bp-groups-template.php:3324 bp-groups/bp-groups-template.php:3574
|
4017 |
msgid "Group avatar"
|
4018 |
msgstr ""
|
4019 |
|
4020 |
+
#: bp-groups/bp-groups-template.php:3466 bp-groups/bp-groups-template.php:3489
|
4021 |
msgid "Recently Joined"
|
4022 |
msgstr ""
|
4023 |
|
4024 |
+
#: bp-groups/bp-groups-template.php:3467 bp-groups/bp-groups-template.php:3492
|
4025 |
msgid "Most Popular"
|
4026 |
msgstr ""
|
4027 |
|
4028 |
+
#: bp-groups/bp-groups-template.php:3468 bp-groups/bp-groups-template.php:3495
|
4029 |
msgid "Administrator Of"
|
4030 |
msgstr ""
|
4031 |
|
4032 |
+
#: bp-groups/bp-groups-template.php:3469 bp-groups/bp-groups-template.php:3498
|
4033 |
msgid "Moderator Of"
|
4034 |
msgstr ""
|
4035 |
|
4036 |
+
#: bp-groups/bp-groups-template.php:3862
|
4037 |
msgid "requested %s"
|
4038 |
msgstr ""
|
4039 |
|
4040 |
+
#: bp-groups/bp-groups-template.php:3914
|
4041 |
msgid "Viewing 1 request"
|
4042 |
msgid_plural "Viewing %1$s - %2$s of %3$s requests"
|
4043 |
msgstr[0] ""
|
4044 |
msgstr[1] ""
|
4045 |
|
4046 |
+
#: bp-groups/bp-groups-template.php:4209
|
4047 |
msgid "Viewing 1 invitation"
|
4048 |
msgid_plural "Viewing %1$s - %2$s of %3$s invitations"
|
4049 |
msgstr[0] ""
|
4050 |
msgstr[1] ""
|
4051 |
|
4052 |
+
#: bp-groups/bp-groups-template.php:4225
|
4053 |
msgid "Group Activity RSS Feed"
|
4054 |
msgstr ""
|
4055 |
|
4056 |
+
#: bp-groups/bp-groups-template.php:4436
|
4057 |
msgid "%s group"
|
4058 |
msgid_plural "%s groups"
|
4059 |
msgstr[0] ""
|
4835 |
msgid "No new notifications"
|
4836 |
msgstr ""
|
4837 |
|
4838 |
+
#: bp-notifications/bp-notifications-loader.php:82
|
4839 |
msgid "Search Notifications..."
|
4840 |
msgstr ""
|
4841 |
|
4842 |
+
#: bp-notifications/bp-notifications-loader.php:208
|
4843 |
#: bp-notifications/bp-notifications-template.php:720
|
4844 |
msgid "Read"
|
4845 |
msgstr ""
|
6425 |
msgid "Directory"
|
6426 |
msgstr ""
|
6427 |
|
6428 |
+
#: bp-groups/bp-groups-loader.php:166
|
6429 |
msgctxt "component directory title"
|
6430 |
msgid "Groups"
|
6431 |
msgstr ""
|
6797 |
msgid "Group Role"
|
6798 |
msgstr ""
|
6799 |
|
6800 |
+
#: bp-groups/bp-groups-admin.php:1306
|
6801 |
msgctxt "Groups admin Group Name column header"
|
6802 |
msgid "Name"
|
6803 |
msgstr ""
|
6804 |
|
6805 |
+
#: bp-groups/bp-groups-admin.php:1307
|
6806 |
msgctxt "Groups admin Group Description column header"
|
6807 |
msgid "Description"
|
6808 |
msgstr ""
|
6809 |
|
6810 |
+
#: bp-groups/bp-groups-admin.php:1308
|
6811 |
msgctxt "Groups admin Privacy Status column header"
|
6812 |
msgid "Status"
|
6813 |
msgstr ""
|
6814 |
|
6815 |
+
#: bp-groups/bp-groups-admin.php:1309
|
6816 |
msgctxt "Groups admin Members column header"
|
6817 |
msgid "# Members"
|
6818 |
msgstr ""
|
6819 |
|
6820 |
+
#: bp-groups/bp-groups-admin.php:1310
|
6821 |
msgctxt "Groups admin Last Active column header"
|
6822 |
msgid "Last Active"
|
6823 |
msgstr ""
|
6824 |
|
6825 |
+
#: bp-groups/bp-groups-loader.php:90
|
6826 |
msgctxt "Group screen page <title>"
|
6827 |
msgid "User Groups"
|
6828 |
msgstr ""
|
6829 |
|
6830 |
+
#: bp-groups/bp-groups-loader.php:168
|
6831 |
msgctxt "Component directory search"
|
6832 |
msgid "Search Groups..."
|
6833 |
msgstr ""
|
6834 |
|
6835 |
+
#: bp-groups/bp-groups-loader.php:263
|
6836 |
msgctxt "Group screen nav"
|
6837 |
msgid "Details"
|
6838 |
msgstr ""
|
6839 |
|
6840 |
+
#: bp-groups/bp-groups-loader.php:267
|
6841 |
msgctxt "Group screen nav"
|
6842 |
msgid "Settings"
|
6843 |
msgstr ""
|
6844 |
|
6845 |
+
#: bp-groups/bp-groups-loader.php:275
|
6846 |
msgctxt "Group screen nav"
|
6847 |
msgid "Photo"
|
6848 |
msgstr ""
|
6849 |
|
6850 |
+
#: bp-groups/bp-groups-loader.php:283
|
6851 |
msgctxt "Group screen nav"
|
6852 |
msgid "Invites"
|
6853 |
msgstr ""
|
6854 |
|
6855 |
+
#: bp-groups/bp-groups-loader.php:448
|
6856 |
msgctxt "Group screen nav"
|
6857 |
msgid "Request Membership"
|
6858 |
msgstr ""
|
6859 |
|
6860 |
+
#: bp-groups/bp-groups-loader.php:357
|
6861 |
msgctxt "Group screen nav with counter"
|
6862 |
msgid "Groups <span class=\"%s\">%s</span>"
|
6863 |
msgstr ""
|
6864 |
|
6865 |
+
#: bp-groups/bp-groups-loader.php:359
|
6866 |
msgctxt "Group screen nav without counter"
|
6867 |
msgid "Groups"
|
6868 |
msgstr ""
|
6869 |
|
6870 |
+
#: bp-groups/bp-groups-loader.php:428
|
6871 |
msgctxt "Group screen navigation title"
|
6872 |
msgid "Home"
|
6873 |
msgstr ""
|
6874 |
|
6875 |
+
#: bp-groups/bp-groups-loader.php:460
|
6876 |
msgctxt "My Group screen nav"
|
6877 |
msgid "Forum"
|
6878 |
msgstr ""
|
6879 |
|
6880 |
+
#: bp-groups/bp-groups-loader.php:472
|
6881 |
msgctxt "My Group screen nav"
|
6882 |
msgid "Members <span>%s</span>"
|
6883 |
msgstr ""
|
6884 |
|
6885 |
+
#: bp-groups/bp-groups-loader.php:485
|
6886 |
msgctxt "My Group screen nav"
|
6887 |
msgid "Send Invites"
|
6888 |
msgstr ""
|
6889 |
|
6890 |
+
#: bp-groups/bp-groups-loader.php:500
|
6891 |
msgctxt "My Group screen nav"
|
6892 |
msgid "Manage"
|
6893 |
msgstr ""
|
6894 |
|
6895 |
+
#: bp-groups/bp-groups-loader.php:543
|
6896 |
msgctxt "My Account Groups"
|
6897 |
msgid "Groups"
|
6898 |
msgstr ""
|
6899 |
|
6900 |
+
#: bp-groups/bp-groups-loader.php:544
|
6901 |
msgctxt "My Account Groups sub nav"
|
6902 |
msgid "No Pending Invites"
|
6903 |
msgstr ""
|
6904 |
|
6905 |
+
#: bp-groups/bp-groups-loader.php:548
|
6906 |
msgctxt "My Account Groups sub nav"
|
6907 |
msgid "Pending Invites <span class=\"count\">%s</span>"
|
6908 |
msgstr ""
|
6909 |
|
6910 |
+
#: bp-groups/bp-groups-loader.php:563
|
6911 |
msgctxt "My Account Groups sub nav"
|
6912 |
msgid "Memberships"
|
6913 |
msgstr ""
|
6914 |
|
6915 |
+
#: bp-groups/bp-groups-loader.php:580
|
6916 |
msgctxt "My Account Groups sub nav"
|
6917 |
msgid "Create a Group"
|
6918 |
msgstr ""
|
6919 |
|
6920 |
+
#: bp-groups/bp-groups-loader.php:547
|
6921 |
msgctxt "My Account Groups nav"
|
6922 |
msgid "Groups <span class=\"count\">%s</span>"
|
6923 |
msgstr ""
|
6924 |
|
6925 |
+
#: bp-groups/bp-groups-loader.php:598
|
6926 |
msgctxt "My Groups page <title>"
|
6927 |
msgid "Memberships"
|
6928 |
msgstr ""
|
6929 |
|
6930 |
+
#: bp-groups/bp-groups-screens.php:972
|
6931 |
msgctxt "Group settings on notification settings page"
|
6932 |
msgid "Groups"
|
6933 |
msgstr ""
|
6934 |
|
6935 |
+
#: bp-groups/bp-groups-screens.php:981
|
6936 |
msgctxt "group settings on notification settings page"
|
6937 |
msgid "A member invites you to join a group"
|
6938 |
msgstr ""
|
6939 |
|
6940 |
+
#: bp-groups/bp-groups-screens.php:987
|
6941 |
msgctxt "group settings on notification settings page"
|
6942 |
msgid "Group information is updated"
|
6943 |
msgstr ""
|
6944 |
|
6945 |
+
#: bp-groups/bp-groups-screens.php:993
|
6946 |
msgctxt "group settings on notification settings page"
|
6947 |
msgid "You are promoted to a group administrator or moderator"
|
6948 |
msgstr ""
|
6949 |
|
6950 |
+
#: bp-groups/bp-groups-screens.php:999
|
6951 |
msgctxt "group settings on notification settings page"
|
6952 |
msgid "A member requests to join a private group for which you are an admin"
|
6953 |
msgstr ""
|
6954 |
|
6955 |
+
#: bp-groups/bp-groups-screens.php:1160
|
6956 |
msgctxt "Group creation page"
|
6957 |
msgid "Groups"
|
6958 |
msgstr ""
|
6959 |
|
6960 |
+
#: bp-groups/bp-groups-template.php:334
|
6961 |
msgctxt "Group pagination previous text"
|
6962 |
msgid "←"
|
6963 |
msgstr ""
|
6964 |
|
6965 |
+
#: bp-groups/bp-groups-template.php:335
|
6966 |
msgctxt "Group pagination next text"
|
6967 |
msgid "→"
|
6968 |
msgstr ""
|
7123 |
msgid "Notifications"
|
7124 |
msgstr ""
|
7125 |
|
7126 |
+
#: bp-notifications/bp-notifications-loader.php:107
|
7127 |
msgctxt "Profile screen nav"
|
7128 |
msgid "Notifications <span class=\"%s\">%s</span>"
|
7129 |
msgstr ""
|
7130 |
|
7131 |
+
#: bp-notifications/bp-notifications-loader.php:109
|
7132 |
msgctxt "Profile screen nav"
|
7133 |
msgid "Notifications"
|
7134 |
msgstr ""
|
7135 |
|
7136 |
+
#: bp-notifications/bp-notifications-loader.php:136
|
7137 |
msgctxt "Notification screen nav"
|
7138 |
msgid "Unread"
|
7139 |
msgstr ""
|
7140 |
|
7141 |
+
#: bp-notifications/bp-notifications-loader.php:147
|
7142 |
msgctxt "Notification screen nav"
|
7143 |
msgid "Read"
|
7144 |
msgstr ""
|
7145 |
|
7146 |
+
#: bp-notifications/bp-notifications-loader.php:181
|
7147 |
msgctxt "My Account Notification pending"
|
7148 |
msgid "Notifications <span class=\"count\">%s</span>"
|
7149 |
msgstr ""
|
7150 |
|
7151 |
+
#: bp-notifications/bp-notifications-loader.php:182
|
7152 |
msgctxt "My Account Notification pending"
|
7153 |
msgid "Unread <span class=\"count\">%s</span>"
|
7154 |
msgstr ""
|
7155 |
|
7156 |
+
#: bp-notifications/bp-notifications-loader.php:184
|
7157 |
msgctxt "My Account Notification"
|
7158 |
msgid "Notifications"
|
7159 |
msgstr ""
|
7160 |
|
7161 |
+
#: bp-notifications/bp-notifications-loader.php:185
|
7162 |
msgctxt "My Account Notification sub nav"
|
7163 |
msgid "Unread"
|
7164 |
msgstr ""
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: johnjamesjacoby, DJPaul, boonebgorges, r-a-y, imath, mercime
|
|
3 |
Tags: social networking, activity, profiles, messaging, friends, groups, forums, notifications, settings, social, community, networks, networking
|
4 |
Requires at least: 3.6
|
5 |
Tested up to: 4.0
|
6 |
-
Stable tag: 2.
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
@@ -77,6 +77,9 @@ BuddyPress is available in many languages. For more information, check out the <
|
|
77 |
= 2.1 =
|
78 |
See: http://codex.buddypress.org/releases/version-2-1/
|
79 |
|
|
|
|
|
|
|
80 |
= 2.0.2 =
|
81 |
See: http://codex.buddypress.org/releases/version-2-0-2/
|
82 |
|
@@ -148,6 +151,9 @@ Fixes over 10 bugs.
|
|
148 |
= 2.1 =
|
149 |
See: http://codex.buddypress.org/releases/version-2-1/
|
150 |
|
|
|
|
|
|
|
151 |
= 2.0.2 =
|
152 |
See: http://codex.buddypress.org/releases/version-2-0-2/
|
153 |
|
3 |
Tags: social networking, activity, profiles, messaging, friends, groups, forums, notifications, settings, social, community, networks, networking
|
4 |
Requires at least: 3.6
|
5 |
Tested up to: 4.0
|
6 |
+
Stable tag: 2.1
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
77 |
= 2.1 =
|
78 |
See: http://codex.buddypress.org/releases/version-2-1/
|
79 |
|
80 |
+
= 2.0.3 =
|
81 |
+
See: http://codex.buddypress.org/releases/version-2-0-3/
|
82 |
+
|
83 |
= 2.0.2 =
|
84 |
See: http://codex.buddypress.org/releases/version-2-0-2/
|
85 |
|
151 |
= 2.1 =
|
152 |
See: http://codex.buddypress.org/releases/version-2-1/
|
153 |
|
154 |
+
= 2.0.3 =
|
155 |
+
See: http://codex.buddypress.org/releases/version-2-0-3/
|
156 |
+
|
157 |
= 2.0.2 =
|
158 |
See: http://codex.buddypress.org/releases/version-2-0-2/
|
159 |
|