Re: Excluding certain blogs from bp_has_site_blogs() function
$my_excluded = array('1','15','16','17','18','19','20','21');
foreach ($this->blogs['blogs'] as $key => $value){
if (in_array($value->blog_id, $my_excluded)){
unset($this->blogs['blogs'][$key]);
$this->blogs['total'] = ((int)$this->blogs['total'])-1;
}
}
$this->blogs['blogs'] = array_merge( array(), $this->blogs['blogs'] );
The above should fix the issues you were having. Use the foreach() loop instead of the for() loop.
I tested this and excluded all blogs, some blogs, no blogs. Also with the letter select. The featured blogs loop in /directories/blogs/index.php needs a my_has_site_blogs() also.