HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Change the content of the Terms Of Service?

Does anyone know how to change the content (text) in the terms of service popup, that the user has to agree to when registering?


I've searched the forum, found a discussion along the same lines, but the solution didn't work for me.

Comments

  • edited September 2020

    Digging around some of the files, it seems a markdown file called TermsOfServiceText is where the text is contained, but for the life of my I can't find such a file!


    I have worked out a really dirty way to do it: edit the file termsofservice.php to remove the reference to the md file mentioned above and add in the text you want, but it can't be the proper way to do it!

  • Hi @coffeeloverni

    You have to edit your site_core.php in locales folder (e.g. locales/vf_fr/site_core.php if you use Franch locale).

    Find the strings $Definition['TermsOfService'] and $Definition['TermsOfServiceText'] , and edit the right part of each string, e.g.:

    $Definition['TermsOfService'] = 'Your text';

    $Definition['TermsOfServiceText'] = 'Your text';

    Enjoy!

  • Brill, thanks.

Sign In or Register to comment.