FoF Terms, ask your users to accept TOS and Privacy Policy
holyfuzz to not provide a link, just leave the field blank.
There's currently no way to provide a custom text for the full label. If you don't have any other terms to agree to you could customize the default text with the Linguist extension.
- Edited
clarkwinkelmann There's currently no way to provide a custom text for the full label. If you don't have any other terms to agree to you could customize the default text with the Linguist extension.
I do have other tems, so it sounds like being able to customize the full text is all I need then. +1 vote for that! ?
And thanks for this extension!
Has anyone experience if this works with Davis 'invite only'`?
FriendsOfFlarum Will be available before beta 8?
Pirat will be updated soon.
No way we can make it before beta 8 now that it's out
clarkwinkelmann Time traveling has been around for centuries.
Now updated for beta 8
Be aware: if you were using the export feature,
join_time
is nowjoined_at
as per new Flarum core naming convention. This affects the column header in CSV, attribute name in JSON and it's also changed if you use custominclude
parameters.
Version 0.3.0 also adds a useful button to set the policy update to <now>
Updates to translations for that new button are welcome.
Let us know if you encounter any issue.
After installing and clearing cache I'm receiving a 503 error. Error Log
justinede what makes you think this extension is the culprit ? Does the error go away when you disable it ?
The error trace seems to indicate the error is triggered in the text formatter, but this extension doesn't use the formatter.
Additionally a quick online search seems to indicate this error could be caused by running in a restricted environment of some sort. Maybe you are on a shared hosting with some features that have been limited or disabled ?
clarkwinkelmann Yes the 503 error only happens when I enable the plugin. Hosting is on Cloudways private Vultr server.
justinede anything in <flarum folder>/storage/flarum.log
?
Does this work with the new updated reCaptcha?
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
MikeJones Yes it works.
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.
@clarkwinkelmann Is this normal? I literally had nearly the same problem with another extension (solved).
https://prnt.sc/og4jkx
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.
theberrysauce Not usual then. I'll install this on mine forum and confirm that.
Veriael I got it to work with the old disable/enable trick! https://prnt.sc/og4rba
theberrysauce Yep, just going to say it works fine for me.
Glad you managed that.
Nice work!
- Edited
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...')
- Edited
iPurpl3x thanks! I have identified the issue and prepared a fix https://github.com/flagrow/terms/pull/14
I'll try to publish it later today tomorrow more likely. We will probably move to FriendsOfFlarum in the process.
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.
fakruzaruret can you copy the full error message from Composer ? Can you double check you are running the command in the Flarum folder ?
I have reboot my server and problem is solved. I think it is temporary problem.
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
VittorioTomasi do you get the error upon activation, when opening the settings, when creating a policy or when editing a policy ? You see that error message in the admin panel ?
Do other admin features work ? Like editing permissions or changing the other settings of the extension like the custom register text ?
i get error when i clic on flag for activation. and a red message: The requested resource was not found is in admin panel. can enter the data in the form but then new policy is not saved.
VittorioTomasi I'm still not exactly sure what you mean. Can you share a screenshot ?
I'll also need your browser name and version, and the output of php flarum info
.
see at this link:
Other admin features ad extention work fine: see web site: https://forum.demosfera.com
browser Google Chrome Version79.0.3945.88 (Build ufficiale) (a 64 bit)
i have the same error with FOF / page extension.
Released version 0.4.1, allows installation in beta 12.
I'm new to PHP . Can any one explain how can I implement User license agreement for the first time login user in flarum?