Hi
how do I remove the following from account preferences options but leave them checked?
Receive private messages from other users.
Notify me by email when I receive a new Private Message.
I would also like to remove "Hide your email from other members" since I disabled the option to email other members.
Thanks.....
admin panel >> templates >> active theme's templates >> member templates >>
member_register
find and remove code like below please see below post
<tr>
<td valign="top" width="1"><input type="checkbox" class="checkbox" name="hideemail" id="hideemail" value="1" {$hideemailcheck} /></td>
<td valign="top"><span class="smalltext"><label for="hideemail">{$lang->hide_email}</label></span></td>
</tr>
<tr>
<td valign="top" width="1"><input type="checkbox" class="checkbox" name="receivepms" id="receivepms" value="1" {$receivepmscheck} /></td>
<td valign="top"><span class="smalltext"><label for="receivepms">{$lang->receive_pms}</label></span></td>
</tr>
<tr>
<td valign="top" width="1"><input type="checkbox" class="checkbox" name="pmnotice" id="pmnotice" value="1"{$pmnoticecheck} /></td>
<td valign="top"><span class="smalltext"><label for="pmnotice">{$lang->pm_notice}</label></span></td>
</tr>
I tried doing something similar once, trust me, removing it is not the way to go. Rather, you want something like this:
<input type="hidden" class="checkbox" name="hideemail" id="hideemail" value="1" {$hideemailcheck} /><input type="hidden" class="checkbox" name="receivepms" id="receivepms" value="1" {$receivepmscheck} /><input type="hidden" class="checkbox" name="pmnotice" id="pmnotice" value="1"{$pmnoticecheck} />
Basically, strip out everything except the <input /> tags, and change the type to hidden.