This package is abandoned and no longer maintained. The author suggests using the fof/terms package instead.

Ask users to accept terms of use before using the forum

Installs: 3 061

Dependents: 0

Suggesters: 0

Security: 0

Stars: 6

Watchers: 1

Forks: 5


0.3.1 2018-12-09 21:27 UTC

This package is auto-updated.

Last update: 2019-10-23 00:15:05 UTC


MIT license Latest Stable Version Total Downloads Donate Join our Discord server

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.

The initial version of this extension was sponsored by profesionalreview.com.


Use Bazaar or install manually:

composer require flagrow/terms


composer update flagrow/terms
php flarum migrate
php flarum cache:clear


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.

Raw data

In case you want to export the data (for your GDPR logs for example), you will have to access the database.

The flagrow_terms_policies table contains the list of policies and the flagrow_terms_policy_user table contains the relationship between the two along with the accepted_at timestamp of the moment they accepted it.

Support our work

We prefer to keep our work available to everyone. In order to do so we rely on voluntary contributions on Patreon.


If you discover a security vulnerability within Terms, please send an email to the Gravure team at security@gravure.io. All security vulnerabilities will be promptly addressed.

Please include as many details as possible. You can use php flarum info to get the PHP, Flarum and extension versions installed.


An extension by Flagrow, a project of Gravure.