Skip to:
Content
Pages
Categories
Search
Top
Bottom

Post Migration – Constant User Email notifications for @mentions


  • Zane
    Participant

    @zane

    Hello,

    I just converted my phpbb site with over 140k replies to a nice themed bbpress buddypress solution. Everything is working great except for the fact that my server is periodically sending sets of 14 emails to users for quotes made years ago. Is this an issue anyone is familiar with? I had to change all users email addresses to junk until I fix this issue. I appreciate any support.

    Here is a thread I have opened with bbpress for my migration woes. I am not 100% sure where the issue lies (buddypress or bbpress)

    Trouble importing PHPBB3

Viewing 10 replies - 1 through 10 (of 10 total)

  • danbp
    Participant

    @danbp

    @zane

    forums are bbpress related.

    Why a set of 14 mails and not of 15 or 20 ? What is this setting ? Do you use a plugin ? Can also be an old setting from an old and uninstalled plugin. See in wp_option table…


    Zane
    Participant

    @zane

    Hey Dan,

    The number of emails is random.

    I disabled buddypress and the emails still sent so I am pretty sure the issue is on the bbpress side. I thought I would check here to see if there was a known issue.

    Here is a section of my email log. Random times and counts. No idea what is triggering these. Each message is a mention notification.

    September 17, 2014 @ 4:13 pm [View Content] (id:304)
    September 17, 2014 @ 4:13 pm [View Content] (id:303)
    September 17, 2014 @ 4:13 pm [View Content] (id:302)
    September 17, 2014 @ 4:13 pm [View Content] (id:301)
    September 17, 2014 @ 4:13 pm [View Content] (id:300)
    September 17, 2014 @ 4:13 pm [View Content] (id:299)
    September 17, 2014 @ 4:10 pm [View Content] (id:298)
    September 17, 2014 @ 4:09 pm [View Content] (id:297)
    September 17, 2014 @ 4:09 pm [View Content] (id:296)
    September 17, 2014 @ 4:09 pm [View Content] (id:295)
    September 17, 2014 @ 3:01 pm [View Content] (id:294)
    September 17, 2014 @ 2:49 pm [View Content] (id:293)
    September 17, 2014 @ 2:49 pm [View Content] (id:292)
    September 17, 2014 @ 2:49 pm [View Content] (id:291)
    September 17, 2014 @ 1:12 pm [View Content] (id:290)
    September 17, 2014 @ 1:12 pm [View Content] (id:289)
    September 17, 2014 @ 1:11 pm [View Content] (id:288)
    September 17, 2014 @ 1:03 pm [View Content] (id:287)
    September 17, 2014 @ 1:02 pm [View Content] (id:286)
    September 17, 2014 @ 12:56 pm [View Content] (id:285)
    September 17, 2014 @ 12:56 pm [View Content] (id:284)
    September 17, 2014 @ 12:56 pm [View Content] (id:283)
    September 17, 2014 @ 12:56 pm [View Content] (id:282)
    September 17, 2014 @ 12:56 pm [View Content] (id:281)
    September 17, 2014 @ 12:55 pm [View Content] (id:280)
    September 17, 2014 @ 12:55 pm [View Content] (id:279)
    September 17, 2014 @ 12:55 pm [View Content] (id:278)
    September 17, 2014 @ 12:54 pm [View Content] (id:277)
    September 17, 2014 @ 12:54 pm [View Content] (id:276)
    September 17, 2014 @ 11:00 am [View Content] (id:275)
    September 17, 2014 @ 11:00 am [View Content] (id:274)
    September 17, 2014 @ 11:00 am [View Content] (id:273)
    September 17, 2014 @ 11:00 am [View Content] (id:272)
    September 17, 2014 @ 11:00 am [View Content] (id:271)
    September 17, 2014 @ 11:00 am [View Content] (id:270)
    September 17, 2014 @ 11:00 am [View Content] (id:269)
    September 17, 2014 @ 11:00 am [View Content] (id:268)
    September 17, 2014 @ 11:00 am [View Content] (id:267)
    September 17, 2014 @ 10:58 am [View Content] (id:266)


    Zane
    Participant

    @zane

    Which platform does mention notifications? I do see mentions in the activity log and buddypress does have a ton of notification functionality built in.


    danbp
    Participant

    @danbp

    Sounds more as a phpbb import. Did you use a mod who send a mail ?


    Zane
    Participant

    @zane

    It was a phpbb import. The server is sending the email.


    Zane
    Participant

    @zane

    I used the built in phpbb import function in bbpress tools


    danbp
    Participant

    @danbp

    Don’t worry, i believe you ! But it could be possible that you imported a phpbb setting.

    This isn’t a bbPress issue, bbPress doesn’t currently import subscriptions from phpBB so bbPress has no way of knowing what topic or forum a user is subscribed to to be able to send them an email.

    I’m pretty sure you’ll find this is BuddyPress sending them if you have it activated, per @halo-diehard same issue here, https://buddypress.org/support/topic/mass-notifications-of-old-mentions/

    One of these days I’ll get to reading BuddyPress’ source code in it’s entirety but I haven’t as yet!

    I think this should do the trick to stop things though:

    remove_action( ‘bp_activity_sent_mention_email’, ‘bp_activity_at_message_notification’, 10, 5 );


    Halo Diehard
    Participant

    @halo-diehard

    Yeah, I still will get the odd mention from old posts, have absolutely no idea what triggers them. And now that I’ve changed my display name recently, it will even occasionally send me ones where I’ve included myself in a quote, before the username change! It’s weird.

    The good news is it slows down! ;D The bad news is before it does it can drive your members to turn off their notifications, and if your server can’t handle it the process can crash your server.

    Does that code only stop old notifications, or does it stop all, or what?

    The code I posted will stop all email activity notifications, though I haven’t tested it 😉

    I’m not sure how BuddyPress does all of what it does for these notifications, kind of strange that it is still processing older entries and sending notifications though.

    My advice (up until now) has always been don’t import your forums into bbPress with BuddyPress activated for this very reason, though if it starts processing a backlog of notifications for ‘old content’ once activated then this is not ideal behaviour either.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Post Migration – Constant User Email notifications for @mentions’ is closed to new replies.
Skip to toolbar