Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Terms of Service checked by default?
I've tried messing around with the code but I can't figure out how to have the Terms of Service checkbox checked by default on the registration page, or remove it completely?
I know it's something in people_apply_form_nopostback.php
Searching didn't produce much help. Any ideas?
I know it's something in people_apply_form_nopostback.php
Searching didn't produce much help. Any ideas?
0
This discussion has been closed.
Comments
'.GetBasicCheckBox('AgreeToTerms', 1, $this->Applicant->AgreeToTerms,'').' '.str_replace('//1', ' <a href="'.$TermsOfServiceUrl.'" onclick="PopTermsOfService('."'".$TermsOfServiceUrl."'".'); return false;">'.$this->Context->GetDefinition('TermsOfService').'</a>', $this->Context->GetDefinition('IHaveReadAndAgreeTo')).'
with
'.GetBasicCheckBox('AgreeToTerms', 1, ForceIncomingBool('AgreeToTerms', 1), $this->Applicant->AgreeToTerms,'').' '.str_replace('//1', ' <a href="'.$TermsOfServiceUrl.'" onclick="PopTermsOfService('."'".$TermsOfServiceUrl."'".'); return false;">'.$this->Context->GetDefinition('TermsOfService').'</a>', $this->Context->GetDefinition('IHaveReadAndAgreeTo')).'
But then again, I guess there are a lot of smaller, personal forums in which this is not an issue.