2006-11-12, 09:22 PM
As the title suggests, how do you remove the default checkmarks on "Save a Copy" and "Request Read Receipt" for PMs? This is for version 1.2, as we're currently skinning it on a test forum for rollout to our current forum.
<input type="checkbox" class="checkbox" name="options[readreceipt]" value="yes" tabindex="11" {$optionschecked['readreceipt']} />
<input type="checkbox" class="checkbox" name="options[savecopy]" value="yes" tabindex="10" {$optionschecked['savecopy']} />
else
{
if($mybb->user['signature'] != "")
{
$optionschecked['signature'] = "checked";
}
if($mybb->usergroup['cantrackpms'] == "yes")
{
$optionschecked['readreceipt'] = "checked";
}
$optionschecked['savecopy'] = "checked";
}
if($options['savecopy'] != "no")
{
$optionschecked['savecopy'] = "checked";
}
if($options['readreceipt'] != "no")
{
$optionschecked['readreceipt'] = "checked";
}
Replace with:if($options['savecopy'] == "yes")
{
$optionschecked['savecopy'] = "checked";
}
if($options['readreceipt'] == "yes")
{
$optionschecked['readreceipt'] = "checked";
}
if($options['savecopy'] != "no")
{
$optionschecked['savecopy'] = "checked";
}
if($options['readreceipt'] != "no")
{
$optionschecked['readreceipt'] = "checked";
}
replace with if($options['savecopy'] == "yes")
{
$optionschecked['savecopy'] = "checked";
}
if($options['readreceipt'] == "yes")
{
$optionschecked['readreceipt'] = "checked";
}
findif($mybb->usergroup['cantrackpms'] == "yes")
{
$optionschecked['readreceipt'] = "checked";
}
$optionschecked['savecopy'] = "checked";
replace with$optionschecked['readreceipt'] = "";
$optionschecked['savecopy'] = "";