• 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

#1
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
 

Mike

XenForo developer
Staff member
#2
It would have to be set in the template directly as it's hardcoded there -- it's forum_watch.
 
#3
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