1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Alert Issue

Discussion in 'Troubleshooting and Problems' started by Sheldon, Jul 13, 2011.

  1. Sheldon

    Sheldon Well-Known Member

    I am on 1.0.2

    My users are going in, and turning off alerts, by either unchecking or checking what box they want, then they hit save. They are still getting emails sent to them, even when they choose not to, and also when the go back in, all alerts are turned back on again.

    Is there something I am doing wrong? Also, I searched, but kept coming to the same search results on this, it never answered my question. Apologies in advance if it has been answered already.
     
  2. Sheldon

    Sheldon Well-Known Member

    I have now upgraded to 1.0.4

    I am not sure if the changes save, as every time I go back in, all of my alert preferences are checked again, regardless of what I uncheck.
     
  3. Brogan

    Brogan XenForo Moderator Staff Member

    Alert preferences are saved in the database, so this would suggest the tables aren't being updated.

    As a first step, confirm all files are OK by running ACP -> Tools -> File Health Check
    That will at least rule out any problems with corrupt files from the FTP process.

    Next, check the server error logs to see if anything is being written there.

    Do you have a test login so I can check/confirm the behaviour?
     
  4. Mike

    Mike XenForo Developer Staff Member

    The emails would be coming from watched threads - alerts are somewhat separate from that, and the settings are only the defaults for the future (so it doesn't change existing settings).

    Your users can stop watching threads or turn off email via Watched Threads > Show all watched threads.

    (Though if alert preferences aren't saving, that's a different issue.)
     
  5. Brogan

    Brogan XenForo Moderator Staff Member

    I just logged in using the details provided in a conversation, and I have confirmed that alert preferences are not being saved in account settings.

    However, you have quite a few add-ons installed and what appear to be some custom mods, all of which have alert preferences.

    You need to disable each one in turn and check whether alert settings save until you identify the add-on which is causing the problem.
     
  6. Luke B

    Luke B Active Member

    I just realized I'm no longer receiving alerts or emails when a user replies to a thread I'm participating in. All other notifications seem to be working just fine though. Could I be having a similar issue?
     
  7. Brogan

    Brogan XenForo Moderator Staff Member

    Here or on your own site?
     
  8. Luke B

    Luke B Active Member

    On my own site.
     
  9. Onimua

    Onimua Well-Known Member

    I've noticed the alert issue as well. So far I think it happens when you have custom alerts for an add-on, or at least that's the only time I think it occurs. Even though you integrate it the way it should, and it works, for some reason it doesn't seem to get updated on the front-end properly on page refreshes.

    I haven't tried to dig deeply when it came up, but I probably should go back and take a look again.
     
  10. Brogan

    Brogan XenForo Moderator Staff Member

    It's possibly related to an add-on which has custom alerts.
    Do you have any of those?
     
  11. Sheldon

    Sheldon Well-Known Member

    I disabled all add-ons that had custom alerts, and tested it... Every time I would uncheck what I wanted, and go back in, they were all checked again.
     
  12. Bob

    Bob Well-Known Member

    Im having this same exact issue. When you uncheck the particular alert, it writes it to the xf_user_alert_optout table (as it should) AND it does stop the alerts (as it should). However, when that user goes back into the Alert preferences again, all the options are checked even tho there are records in the optout table for that user.

    EDIT: ok, after a bit of troubleshooting (And Thinking lol), I solved this issue (at least the one that I was having and the one for LNBLog).
     

Share This Page