Re: Plugin Release: Group Activity Email Notifications
D – I was getting errors when I tried using the plugin the latest 1.2. Had to do with call to undeclared function get_group_member_ids in order to populate $user_ids. I commented it out and put in the following instead:
$thegroup = BP_Groups_Member::get_all_for_group( $group->id, false, false, false, true );
$user_ids = array();
foreach ( $thegroup['members'] as $member ) {
$user_ids[] = $member->user_id;
}
and it seems to be working now. Am I missing something?