Plugin: BuddyPress Group Email Subscription

Join this plugin group to follow comments, support topics and reviews.

Email to all members by default possible? (6 posts)

Started 7 months ago by: Michael Berra

  • Profile picture of Michael Berra Michael Berra said 7 months ago:

    Hi @boonebgorges
    thanks for that great plugin. By default with this plugin members of groups don’t get Emails at all. What I really need is, that they get an Email by default and are able to change that status afterwards.
    Is there any possibility to do that? A hack? Something?
    Thanks so much for your advice!

    PS: I just switched over from that old plugin group-activity-subscription that did only that – sending email to everyone in a group. But with 1.5 that does not work anymore…

  • Profile picture of Boone Gorges Boone Gorges said 7 months ago:

    Filter the value ass_default_subscription_level, and return ‘supersub’. Eg,

    function bbg_supersub_by_default( $value ) {
        return 'supersub';
    }
    add_filter( 'ass_default_subscription_level', 'bbg_supersub_by_default' );

    Note that this will only apply to new group members.

  • Profile picture of Michael Berra Michael Berra said 6 months, 3 weeks ago:

    @boonebgorges
    thanks for your help. I have found in an older thread, that it should be possible to change the default subscription for all the existing members:

    http://buddypress.org/community/groups/buddypress-group-email-subscription/forum/topic/autosubscribe-every-group-member/#post-67555

    But when I click the “do it!” link at the bottom, it does not seem to update anything. Is this a bug? Or did I do something wrong?

  • Profile picture of Michael Berra Michael Berra said 6 months, 3 weeks ago:

    @boonebgorges
    When I try to change a members subscription-level one-by-one in the group-backend, it does not change anything. I think there seems to be a bug.

    PS: Can you tell me where to put your filter (above)? Sorry, I am no programmer – just a copy-paster ;) THANX!

  • Profile picture of Boone Gorges Boone Gorges said 6 months, 3 weeks ago:

    > I think there seems to be a bug.

    OK. I’ll have a look at it when I can. Otherwise patches welcome.

    > Can you tell me where to put your filter (above)

    In a plugin, or in wp-content/plugins/bp-custom.php.

  • Profile picture of Michael Berra Michael Berra said 6 months, 3 weeks ago:

    @boonebgorges – would be great, thank you!
    PS: could you mention me, when you found a fix? Otherwise I miss your answers… thanks!