- Edited
Terms by FriendsOfFlarum
This extension allows you to define a list of terms the user must agree to before using the forum.
It was made with the new General Data Protection Regulation in mind but please consult with your legal team to see whether it fits your requirements.
Compatibility
This extension might not be compatible with other extensions that make change to the sign up modal as well. If an extension is not listed below, please try it on a test forum first and let us know if it works.
Works with:
- Sijad's reCAPTCHA (tested with 0.0.2)
Does not work with:
- ReFlar User Management version 0.1.* (should be compatible again in future version 0.2) see ReFlar/user-management20 for more details
- FriendsOfFlarum Masquerade when the "Force user to complete profile" option is enabled (there's a deadlock between the need to complete the profile and the need to accept the terms)
Installation
composer require fof/terms
Updating
composer require fof/terms
php flarum migrate
php flarum cache:clear
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 below.
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.
Configuration
You can define a list of "policies" the users must agree to. A policy has a name and url.
You can define an "update message" that will be shown to users who have not yet agreed to the latest version of the policy or not agreed to the policy at all (this includes users registered before the policy extension was enabled).
You can define an "updated at" time that will ask all users who accepted prior to that date to accept again.
If users don't accept the terms, they can't register. Additionally, if they already have an account, they can login but their account is locked until they accept the latest version of the terms (similar to how the suspend extension blocks users).
You can customize who can skip the modal without accepting the new terms immediately via the permissions tab (by default admins only). You might want to give this permission to bot accounts for example as they will also be blocked from the API if there's a terms update.
Admins can see the date at which a user accepted the terms by going to their profile page and selecting the terms button in the dropdown menu. You can customize who can see those dates in the permissions.
Data Export
In case you want to export the data (for your GDPR logs for example), a JSON and CSV export is available.
The link can be found in the Policy edit form of the admin panel.
If you want to automate the export, the available options are documented on the wiki.
Links
An extension by FriendsOfFlarum