thanks for your wonderful plugin!
With bp-multi-network the digest function sends wrong mails if a group of the one Buddypress network has an equal activity id as a group with same group id on the other network.
bp-multi-network uses different prefixes for bp tables and for bp related usermeta data. So first I had to add the usermeta of your plugin to bp-multi-network – I wrote a request on this into the bp multi networf support forum: http://wordpress.org/support/topic/plugin-bp-multi-network-request-for-compatibility-with-group-email-subscription?replies=1#post-3078506
And second – and this is where your part may come in – I had to change your usermeta queries. Maybe you’re interested in changing this in your next version:
Change sql queries like:
$user_subscriptions = $wpdb->get_results( $wpdb->prepare( "SELECT user_id, meta_value FROM $wpdb->usermeta WHERE meta_key = 'ass_digest_items' AND meta_value != ''" ) );
$user_subscriptions = $wpdb->get_results( $wpdb->prepare( "SELECT user_id, meta_value FROM $wpdb->usermeta WHERE meta_key = %s AND meta_value != ''", bp_get_user_meta_key('ass_digest_items') ) );
- The topic ‘[Plugin: BuddyPress Group Email Subscription] Request for multinetwork compatibility’ is closed to new replies.