• Resolved Laura Yeffeth

    (@lyeffeth)


    Thanks for the plugin!

    In the plugin settings, the body for notifications on replies is this:

    Hello!
    A new reply has been posted by [reply-author].
    Topic title: [reply-title]
    Topic url: [reply-url]
    
    Excerpt:
    [reply-excerpt]

    However, when I receive the notification it looks like this:

    [name] wrote:
    
    [reply-content]
    
    Post Link: [reply-url]
    
    ———–
    
    You are receiving this email because you subscribed to a forum topic.
    
    Login and visit the topic to unsubscribe from these emails.

    I assume this is the default email if one had subscribed to replies. But since they didn’t and I’m forcing the emails anyway, this doesn’t really work since they didn’t actually subscribe. That language would be confusing to the user.

    Is there any way to get the content in the plugin to show up? Am I missing a setting?

    Thank you,
    Laura

Viewing 14 replies - 1 through 14 (of 14 total)
  • Plugin Author useStrict

    (@usestrict)

    Hi Laura,

    Yes, that’s the default bbpress message. People are probably receiving both. Have you tried turning on Override Subscriptions to Forums and Override Subscriptions to Topics?

    Cheers,
    Vinny

    Thread Starter Laura Yeffeth

    (@lyeffeth)

    Hi Vinny,

    Thanks for the quick response.

    I’m just testing on myself (staging installation). I only received the one. I did try that setting and it doesn’t change anything.

    The notification for the new topic works fine, it’s just the notification for the new reply that has the problem. I checked the override button for both.

    Any other ideas?

    Thanks again,
    Laura

    Plugin Author useStrict

    (@usestrict)

    What version of bbPress and bbpnns are you using?

    Can you provide a screenshot of your Admin > Settings > Forums screen?

    Thread Starter Laura Yeffeth

    (@lyeffeth)

    The latest:
    bbPress Version 2.5.14
    bbPress Notify (No-Spam) Version 1.18.2

    Forum Settings Screenshot

    Plugin Author useStrict

    (@usestrict)

    Thanks, I’ll try to replicate it locally. In the meantime, I recommend you turn on Send Notifications to Authors at least while testing so you don’t have to juggle accounts.

    Plugin Author useStrict

    (@usestrict)

    Hi Laura (@lyeffeth),

    Thanks for the info and the screenshot. I can’t replicate this locally. Could you try deactivating all plugins that are not bbpress and bbpnns and letting me know if it’s still happening?

    If it is, please create an admin account for vinny [at] usestrict [dot] net so I can have try some debugging. That’s a staging site, right?

    Thread Starter Laura Yeffeth

    (@lyeffeth)

    Hi Vinny,

    Well, I did that and it seemed to work temporarily (although it still sent the default one as well) but with some odd results. It was sending an email to the fake user I set up for testing (set to participant as I have in my settings) but also to another user who is set as a spectator. It shouldn’t be going to spectators. Also, the default message was blind copying that user (maybe they had subscribed and that is why?).

    Anyway, I started re-activating plugins and it stopped working. To try to to figure out which one, I slowly started deactivating them again, but I can’t get it to work again. I am down to just bbpress and bbpnns and still nothing.

    This is a local development site, so I’ll need to set this up on a public staging site to give you access. I’ll set that up as soon as I can.

    What method do you recommend to make sure emails don’t go out to real users during the testing. This set up?

    • This reply was modified 6 years, 3 months ago by Laura Yeffeth.
    Plugin Author useStrict

    (@usestrict)

    Hi Laura,

    I just released 1.18.3 which should take care of the core notifications slipping through.

    As for testing mailouts, one thing I’ve started doing recently to test mailouts is to modify all email addresses in the staging server to aliases of my own (as I use Google Apps, my username + anything falls in my mailbox. This also works with Gmail).

    I use the user_nicename as the part after +, and store the original email addresses in an extra column created in the users table in case I need them back.

    Plugin Author useStrict

    (@usestrict)

    bbpnns has a filter called bbpnns_dry_run that, if it returns true, it doesn’t send out emails. But if you turn it on, you’ll have to have some code in place to store logs as wp_mail() does not get called, and therefore things like WP Email Log don’t get data.

    Thread Starter Laura Yeffeth

    (@lyeffeth)

    Hi Vinny,

    Thanks for all your help with this. Everything is working properly now. In my efforts to try every possible setting to try to get this to work, I had checked “Send emails in the background the next time the site is visited” which caused me problems.

    And your plugin update fixed the issue with duplicate emails.

    Laura

    Plugin Author useStrict

    (@usestrict)

    I’m happy to hear that everything is working. Yeah, it’s not recommended to turn on background notifications while testing.

    Cheers,
    Vinny

    Thread Starter Laura Yeffeth

    (@lyeffeth)

    Should I have that on when not testing? What is the purpose of that setting? I couldn’t find any explanation.

    Thanks again.

    Plugin Author useStrict

    (@usestrict)

    That setting works best for sites that have many users being notified and plenty of traffic. It runs the notification in the background using wp-cron, so that when someone posts a new topic or reply they don’t get a timeout error (because of the notification loop running).

    WP-cron is iffy at best, so I also recommend that if you decide to use that setting, make sure to create a real cron job to call wp-cron.php frequently.

    Cheers,
    Vinny

    Thread Starter Laura Yeffeth

    (@lyeffeth)

    Got it. We don’t have a lot of users, so this should be fine.

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Notification of reply email body doesn’t match plugin settings’ is closed to new replies.