Disable All Notifications
-
Okay I apologize to bring kind of an old subject back up, but when looking online I never really got a definite answer I really understood on how to disable all e-mail notifications sent out by BuddyPress. I need to do this because my hosting will see too many mails sent out as “mass mail” and can suspend my account.
So I found one topic that suggested looking at my BP Plug-in files for any that have the words “notifications” in them. Here is a part of one file I found, I was hoping if someone hear could tell me if this is the line of code I need to edit.
The code was found in : buddypress/bp-messages/bp-messages-notifications.php
` foreach( $recipients as $recipient ) {
if ( $sender_id == $recipient->user_id || ‘no’ == bp_get_user_meta( $recipient->user_id, ‘notification_messages_new_message’, true ) )
continue;`
This is what caught my eye mainly…
`( $sender_id == $recipient->user_id || ‘no’ == bp_get_user_meta( $recipient->user_id, ‘notification_messages_new_message’, true ) )`Where it says “true” would changing that to false or no set them up by default to receive not email notifications? Or is this for the in-site notifications?
- The topic ‘Disable All Notifications’ is closed to new replies.