Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Options

Modifying Terms of Service

edited May 2012 in Vanilla 2.0 - 2.8

Hello, everyone! I am trying to modify the terms of service and I'm following the instructions at this post: http://vanillaforums.org/discussion/18202/how-to-change-i-agree-to-the-terms-of-service

Unfortunately, I'm getting an error, and I'm not quite sure what I'm doing wrong.

Below is what I've added to my config.php file. Thanks so much for any help you can share!

$Definition['TermsOfServiceText'] = "
Privacy

Change Gangs, LLC will not sell or share your information with anyone for any reason with one exception. We reserve the right to reveal your identity (or whatever information we know about you) in the event of a complaint or legal action arising from any message posted by you. We log all internet protocol addresses accessing this web site.

TERMS OF USE

The following terms and conditions govern your use of www.changegangs.com (the "Site"), as well as all services related to the Site. The operator of this website is Change Gangs, LLC (the “Company,” “us,” “our,” or “we”). By using the Site, you agree to be bound by these Terms of Use (the “Agreement”). If you do not agree to these Terms of Use, please do not use this Site.

The code continues on like this for a while (it was written up by my attorney, and you know they go on forever!!! I did include some code for list formatting in the terms of service, too (li and ul)

It ends like this:

The Company is not tax exempt under 501(c)(3) and that your Dues are not tax deductible.
";

Best Answers

  • Options
    peregrineperegrine MVP
    edited May 2012 Answer ✓

    $Definition['TermsOfServiceText'] = "

    try this
    $Definition['TermsOfServiceText'] = '

    your single and double quotes are probably conflicting.

    either the statement in the definition should have all single quotes and wrapped in double quotes or vice-versa.

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • Options
    peregrineperegrine MVP
    Answer ✓

    nice followup. You set a good example.

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

Answers

  • Options
    peregrineperegrine MVP
    edited May 2012 Answer ✓

    $Definition['TermsOfServiceText'] = "

    try this
    $Definition['TermsOfServiceText'] = '

    your single and double quotes are probably conflicting.

    either the statement in the definition should have all single quotes and wrapped in double quotes or vice-versa.

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • Options

    Brilliant! Yes, the single quote worked. However, the new terms of service were not showing up. It turns out the correct file to edit is /applications/dashboard/locale/en-CA/definitions.php

    The correct code looks like this:

    $Definition['TermsOfService'] = 'Terms of Service';
    $Definition['TermsOfServiceText'] = '
    Privacy
    
    Change Gangs, LLC will not sell or share your information with anyone for any reason with one exception. We reserve the right to reveal your identity (or whatever information we know about you) in the event of a complaint or legal action arising from any message posted by you. We log all internet protocol addresses accessing this web site.

    and ends like this:

    Tax Status
    
    The Company is not tax exempt under 501(c)(3) and that your Dues are not tax deductible.
    ';
    
  • Options
    peregrineperegrine MVP
    Answer ✓

    nice followup. You set a good example.

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

Sign In or Register to comment.