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

default email notification preferences

shozen1shozen1 New
edited February 2012 in Vanilla 2.0 - 2.8

I have followed the instructions here: http://vanillaforums.org/docs/advancedconfig to change the default email notification preferences in the /conf/config.php file.

I have added:

    $Configuration['Garden']['Email']['ActivityComment'] = TRUE;
    $Configuration['Garden']['Email']['AddedToConversation'] = TRUE;
    $Configuration['Garden']['Email']['BookmarkComment'] = TRUE;
    $Configuration['Garden']['Email']['CommentMention'] = TRUE;
    $Configuration['Garden']['Email']['ConversationMessage'] = TRUE;
    $Configuration['Garden']['Email']['DiscussionComment'] = TRUE;
    $Configuration['Garden']['Email']['DiscussionMention'] = TRUE;
    $Configuration['Garden']['Email']['WallComment'] = TRUE;

To the end of my config.php file but new users seem unnaffected by this change. The email preferences remain the same and are unchanged from the default install.

Thanks for your help in advance

There was an error rendering this rich post.

Answers

  • ToddTodd Vanilla Staff

    It looks like that documentation page is a tad outdated.

    $Configuration['Preferences']['Email']['ActivityComment'] = TRUE;
    $Configuration['Preferences']['Email']['AddedToConversation'] = TRUE;
    $Configuration['Preferences']['Email']['BookmarkComment'] = TRUE;
    $Configuration['Preferences']['Email']['CommentMention'] = TRUE;
    $Configuration['Preferences']['Email']['ConversationMessage'] = TRUE;
    $Configuration['Preferences']['Email']['DiscussionComment'] = TRUE;
    $Configuration['Preferences']['Email']['DiscussionMention'] = TRUE;
    $Configuration['Preferences']['Email']['WallComment'] = TRUE;
    

    Please note that we've recently changed the types of notifications you can receive. Have a look in your /conf/config-defaults.php to see what your particular installation supports. You'll see these various configuration settings there. If you want to change from the default copy from config-defaults.php, don't edit config-defaults.php.

  • This information is pretty useful but outdated. I also could be presented in a way that's easier to understand. I gleaned some useful info from this discussion and from the conf/config-defaults.php file.

    If you want to change the default notification options for new users, these options can be set be adding the following into conf/config.php:

    // Notification preferences set for all new users, custom settings
    // write on my wall
    //$Configuration['Preferences']['Email']['WallComment']     = '0';
    //$Configuration['Preferences']['Popup']['WallComment']     = '1';
    
    //$Configuration['Preferences']['Email']['ConversationMessage'] = '1';
    //$Configuration['Preferences']['Popup']['ConversationMessage'] = '1';
    
    // comment on my bookmarked discussion
    //$Configuration['Preferences']['Email']['BookmarkComment'] = '1';
    //$Configuration['Preferences']['Popup']['BookmarkComment'] = '1';
    
    //$Configuration['Preferences']['Email']['ActivityComment'] = '0';
    //$Configuration['Preferences']['Popup']['ActivityComment'] = '1';
    
    // comment on my discussion
    $Configuration['Preferences']['Email']['DiscussionComment'] = '1';
    //$Configuration['Preferences']['Popup']['DiscussionComment']   = '1';
    
    // mention me
    $Configuration['Preferences']['Email']['Mention']       = '1';
    
    // mention me in discussion
    //$Configuration['Preferences']['Popup']['DiscussionMention']   = '1';
    
    // mention me in comment
    $Configuration['Preferences']['Email']['CommentMention']    = '1';
    //$Configuration['Preferences']['Popup']['CommentMention']  = '1';
    

    If someone could fill in what "ConversationMessage" and "ActivityComment" options notify you for, that would be helpful I think.

    I tried to include all the notification options, however I'm unclear if the "merged with" lines from the config-defaults are indicating deprecated options or not.

  • @jac said:

    If someone could fill in what "ConversationMessage" and "ActivityComment" options notify you for, that would be helpful I think.

    Conversation message is getting a notification when a new PM has been received. Activity comments are when someone comments on the activity feed.

    I tried to include all the notification options, however I'm unclear if the "merged with" lines from the config-defaults are indicating deprecated options or not.

    Yes, they are.

    Search first

    Check out the Documentation! We are always looking for new content and pull requests.

    Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.

Sign In or Register to comment.