• Extensions
  • FoF Terms, ask your users to accept TOS and Privacy Policy

MikeJones I haven't tried it, feel free to try it and report the findings.

If the previous captcha extension worked with it, I'm pretty sure this one will as well.

Waiting on any feedback 😉

25 days later
4 months later

Would it be possible to have an option for showing a single checkbox for all the policies, when signing up? The text would be something like "I accept Terms of Service and Privacy Policy" (policies titles concatenated).

I'm looking around and all the forums I can think of have a single "accept" button/checkbox, which makes you accept ToS, privacy policy and forum rules all together. And it seems reasonable to me.

    matteocontrini you can set the policy name to "x and y". Or if the formatting doesn't allow the text you want, just set a generic policy name and then customize the translation via Linguist and set a custom string that says the full "I accept x and y".

    If you want x and y to be linked to different pages, that would require some additions. Not sure how wanted this is. Doesn't GDPR or such requires having separate checkboxes anyway ?

      clarkwinkelmann If you want x and y to be linked to different pages, that would require some additions.

      Yeah I meant that... I don't see the benefit of having multiple separate checkboxes, as they are all compulsory anyway.

      clarkwinkelmann Doesn't GDPR or such requires having separate checkboxes anyway ?

      I'm not certain since GDPR doesn't apply to my forum, but I don't think so. It's probably required to gather explicit and separate consent for marketing purposes or similar, but I'm pretty sure that things like the general privacy policy and terms of service can be together. If you look at some popular websites (like Washington Post or NY Times), there's a single "agree" or "continue" button to accept 2 or 3 terms/policies.

      25 days later

      theberrysauce Yep, normal. Your language extension must support this (and like most of the ones you use) extension. If you change your forum language to English, everything will be fine.

        Veriael Thanks for the quick reply! The thing is: I'm not using a language extension. I'm using the forum in default English.

          a month later
          2 months later

          Looks like there is a bug. I have these logs in production :

          [2019-10-08 20:46:15] production.ERROR: ReflectionException: Class Flarum\Api\ExceptionHandler\IlluminateValidationExceptionHandler does not exist in /opt/fla
          rum/vendor/illuminate/container/Container.php:779
          Stack trace:
          #0 /opt/flarum/vendor/illuminate/container/Container.php(779): ReflectionClass->__construct('Flarum\\Api\\Exce...')
          #1 /opt/flarum/vendor/illuminate/container/Container.php(658): Illuminate\Container\Container->build('Flarum\\Api\\Exce...')
          #2 /opt/flarum/vendor/illuminate/container/Container.php(609): Illuminate\Container\Container->resolve('Flarum\\Api\\Exce...', Array)
          #3 /opt/flarum/vendor/flarum/core/src/Foundation/Application.php(523): Illuminate\Container\Container->make('Flarum\\Api\\Exce...', Array)
          #4 /opt/flarum/vendor/flarum/core/src/helpers.php(28): Flarum\Foundation\Application->make('Flarum\\Api\\Exce...', Array)
          #5 /opt/flarum/vendor/flagrow/terms/src/Middlewares/RegisterMiddleware.php(46): app('Flarum\\Api\\Exce...')
            13 days later
            clarkwinkelmann changed the title to FoF Terms, ask your users to accept TOS and Privacy Policy .

            The extension has been migrated to FriendsOfFlarum and the fix discussed above for beta 10 has been released.

            Updating from Flagrow

            This extension replaces Flagrow Terms.

            To upgrade from the old extension to the new one:

            • Backup your data! You should backup the database. You can also download Terms' data as JSON, see documentation in the first post.

            • Disable the Terms extension in the admin panel.

            • Run:

            composer require fof/terms

            Composer should let you know that flagrow/terms has been automatically removed.

            • Enable the new extension in the admin panel.

            • Your existing data will be migrated to FoF Terms automatically.

              clarkwinkelmann I get error while I am installing terms. I use beta-10 but installation gives me error like this: your system should be =>beta.10 =<beta.12 . Why I cant install it I dont understand.

                2 months later

                Hello
                After i have installed this extention and enable it, i get this error message:
                Failed to load resource: the server responded with a status of 404 () api/fof/terms/policies:1