Not signed in (Sign In)

Categories

Vanilla 1.1.5 is a product of Lussumo. More Information: Documentation, Community Support.

Help keep Vanilla free:
Welcome Guest!
Want to take part in these discussions? If you have an account, sign in now.
If you don't have an account, apply for one now.
    • CommentAuthorwohoo
    • CommentTimeJun 18th 2008
     # 1
    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?
    • CommentAuthorwohoo
    • CommentTimeJun 18th 2008 edited
     # 2
    Typical, been searching for a solution for an hour and 5 minutes after I ask for help, I figure it out. For anyone else that might need this, in people_apply_form_nopostback.php, replace:

    '.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')).'
    • CommentAuthorfysicsluvr
    • CommentTimeJun 20th 2008
     # 3
    It's pretty standard to leave the t.o.s. box unchecked by default. It's like handing someone a form pre-signed. Kind of seems backwards to me.

    But then again, I guess there are a lot of smaller, personal forums in which this is not an issue.
Add your comments
    Username Password
  • Format comments as