HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Please upgrade here. These earlier versions are no longer being updated and have security issues.

Global enabling of all email notifications for members. Some guidance needed.

hydnhydn New
edited January 2013 in Vanilla 2.0 - 2.8

Here's what the email notifications section of my config-defaults.php file looks like:
image

So do I change all instances of "0" to "1"? And do I edit this config-defaults.php or should I paste that entire block of email notification config lines into config.php and overide them there?

Thanks for you help.

Best Answer

  • businessdadbusinessdad Stealth contributor MVP
    Accepted Answer

    I believe you should copy the settings into your config.php and change them there. There's a note in, config-defaults.php, about this:

    // DO NOT EDIT THIS FILE.  
    // If you want to override the settings in this file then edit config.php.  
    // This is the global application configuration file that sets up default  
    // values for configuration settings.  
    
    hydnUnderDog

Answers

  • businessdadbusinessdad Stealth contributor MVP
    Accepted Answer

    I believe you should copy the settings into your config.php and change them there. There's a note in, config-defaults.php, about this:

    // DO NOT EDIT THIS FILE.  
    // If you want to override the settings in this file then edit config.php.  
    // This is the global application configuration file that sets up default  
    // values for configuration settings.  
    
    hydnUnderDog
  • Thanks will try and promise to report back here if it works.

  • hydnhydn New
    edited January 2013

    Ok it works it changes everyone's' notifications from this:

    image

    to this:

    image

    Now I just need to test to see if the emails are actually being sent. BRB

  • hydnhydn New
    edited January 2013

    non-admin account:

    image

    vrijvlinderUnderDog
  • hydnhydn New
    edited January 2013

    Emails work!

    One problem:
    Since I use the Q&A plugins I now get a duplicate email when a thread is in Q&A format and someone comments on it.

    One emails says: user1 answered your question.

    and the other says: user1 commented on...

    So How do I stop the "user1 answered your question" emails because if I stop the "commented on" emails then the non-Q&A threads won't receive notifications.

    Thanks!

    UnderDog
Sign In or Register to comment.