Re: Excluding certain blogs from bp_has_site_blogs() function
Hey Burt (and Andy),
The latest code update fixed the rogue, empty blog listing.
However, now I’m getting blog id #1 listed all the time, even though I excluded it in the $my_excluded array.
FYI, I have the following listed in the $my_excluded array:
$my_excluded = array(1,2);
Blog id’s 1 and 2 happen to be my only two blogs on my testbox at the moment, so I shouldn’t be seeing any listings under the “Blogs Directory” (I don’t see blog id #2 so that’s good!).
—
Two other things I’ve noticed:
- The “Random Blogs” section will continue to show either of the excluded blogs depending on the randomness.
- Clicking on the letter whose first letter matches the excluded blog in the alphabetical listing will show the excluded blog listing.
—
Sorry to have complicated things! Probably a pain to debug!