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

XF 1.3 Watch Forum Dialog "send notifications via" checkbox defaults

Discussion in 'XenForo Questions and Support' started by Kristopher.S, Mar 13, 2014.

  1. Kristopher.S

    Kristopher.S Member

    Hi everyone,

    In my new xenforo install, in the "watch forum" dialog, in the bottom "send notifications via" section, "Alerts" is checked by default and "Emails" is unchecked by default.
    I would like to reverse that.
    Many of my users have no idea what alerts are and I need them all to have "Emails" checked by default in the Watch Forum dialog/popup window.

    Can anyone tell me how to change this?

    Thanks,
    Kristopher
     
  2. Mike

    Mike XenForo Developer Staff Member

    It would have to be set in the template directly as it's hardcoded there -- it's forum_watch.
     
  3. Kristopher.S

    Kristopher.S Member

    Perfect. That's it.
    in the admin control panel, go to Appearance then Templates.
    Scroll down to Forum_Watch

    To Uncheck the "Alerts" option by default and check the "Emails" option by default, change this code:

    <li>
    <label>
    <input type="checkbox" name="send_alert" value="1" checked="checked" />
    {xen:phrase alerts}
    </label>
    </li>
    <li>
    <label>
    <input type="checkbox" name="send_email" value="1" />
    {xen:phrase emails}
    </label>
    </li>

    to this:

    <!--
    <li>
    <label>
    <input type="checkbox" name="send_alert" value="1" checked="checked" />
    {xen:phrase alerts}
    </label>
    </li>
    -->
    <li>
    <label>
    <input type="checkbox" name="send_email" value="1" checked="checked" />
    {xen:phrase emails}
    </label>
    </li>

    Thanks, Mike!

    -Kristopher
     
  4. Brogan

    Brogan XenForo Moderator Staff Member

    Off topic for your issue, but you don't need to scroll to the template; you can use the filter field or even search for a template directly.
     
    Amaury likes this.

Share This Page