2015-01-16, 11:42 AM
My first question here and apologies if it's been covered before. I can find quite a few threads on similar subjects but not quite the same. MyBB version is 1.8.3 but it occurred with previous ones.
I find when a new user registers that 'Notify me by email when I receive a new Private Message' is unchecked by default. I'm a little confused with this as the template code in the Default Templates member_register is:
Now I'm guessing the 'value="1"' in the first line is setting the default value to be 1 and therefore checked? But why is it showing unchecked? I don't want to hardcode the checkbox to be checked (as suggested in previous posts) as when I do that it appears a user can't uncheck it on registration.
I basically want 'Notify me by email when I receive a new Private Message.' to be checked by default on the new member registration form, but with the option for the prospective user to uncheck it on the same form.
I find when a new user registers that 'Notify me by email when I receive a new Private Message' is unchecked by default. I'm a little confused with this as the template code in the Default Templates member_register is:
<td valign="top" width="1"><input type="checkbox" class="checkbox" name="pmnotify" id="pmnotify" value="1" {$pmnotifycheck} /></td>
<td valign="top"><span class="smalltext"><label for="pmnotify">{$lang->email_notify_newpm}</label></span></td>
Now I'm guessing the 'value="1"' in the first line is setting the default value to be 1 and therefore checked? But why is it showing unchecked? I don't want to hardcode the checkbox to be checked (as suggested in previous posts) as when I do that it appears a user can't uncheck it on registration.
I basically want 'Notify me by email when I receive a new Private Message.' to be checked by default on the new member registration form, but with the option for the prospective user to uncheck it on the same form.