Support » Plugin: BuddyPress Registration Options » Messages sent to all admins

  • Resolved dabiathlet

    (@dabiathlet)


    Hi,
    seems like since the last update messages are sent to all admins and not just to the main administration email adress.
    Is there a chance to make this optional?
    Yours
    Mario

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Michael Beckwith

    (@tw2113)

    The BenchPresser

    Looks like my changes for some consistency has leaked out an unintended issue, with regards to the admin email notifications.

    Give this a try as a utility to re-adjust that detail. This would go in your active theme’s functions.php file.

    function wds_change_bpro_new_user_notifications( $original_users ) {
    	return array( get_bloginfo( 'admin_email' ) );
    }
    add_filter( 'bprwg_bp_notification_users', 'wds_change_bpro_new_user_notifications' );
    

    The code in our plugin should handle the rest. One caveat to note is that it would remove BuddyPress notifications for all but this one email address, in the event you use BP’s notification system. Just to be clear, this is the one that shows little bubbles in the admin bar and whatnot. Not emailed notifications.

    So you don’t want to change it back in the plugin itself?

    Plugin Author Michael Beckwith

    (@tw2113)

    The BenchPresser

    As a whole, no. It was an intentional change with an unintended side effect. Chances are I’ll evaluate and evolve some parts to help with conditional logic without breaking my sample code above, but for the moment at least, I’m not considering it a bug that needs fixed.

    Hi, guys!

    This is very interesting since I was just trying to implement a mechanism when notifications would be displayed for several administrators. But ideally, I would like it to be possible on the settings page of the plugin to specify a list of administrators who should receive notifications about the need to approve newly registered users.

    Plugin Author Michael Beckwith

    (@tw2113)

    The BenchPresser

    This should help you out a bit then, at least for the time being.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Messages sent to all admins’ is closed to new replies.