Re: Excluding certain blogs from bp_has_site_blogs() function
Andy found a problem with the custom class. The totals won’t reflect properly. So you need to modify the code like this one:
http://buddypress.pastebin.com/m398024c5
That decrements the blog count total.
The next problem you’ll have is where to put this. If you put it in bp-custom.php like it is then it will crash and burn because the base class hasn’t been declared yet. So you’ll have to put that in a php file and include it *after* bp loads.
function bp_loaded(){
include(‘your-file-with-mods.php’);
}
add_action(‘plugins_loaded’,’bp_loaded’);
If you put that in bp-custom.php it should work right.