Well, I added that code to the modifyoptions template, not modifyprofile. Seemed like a more logical place for it. So, a profile field wouldn't help me. I just looked at the code for the other checkboxes in the template and tried to adapt them to my purposes. Like, one of them is to allow vCard downloads, and the code for the checkbox is -
Code:
<label for="cb_showvcard"><input type="checkbox" name="options[showvcard]" value="1" id="cb_showvcard" $checked[showvcard] />$vbphrase[allow_vcard_download]</label><input type="hidden" name="set_options[showvcard]" value="1" />
So, I copied that into a new field and changed every instance of "showvcard" to "nsfw". The checkbox for my option just doesn't stay checked like the others do.