==README for Disclaimer Add-on==
Release date: June 2, 2005.
Latest update: November 24, 2023.
miniBB version: 3.5 and higher
Author: Paul Puzyrev (minibb.com).

Regarding GDPR (General Data Protection Regulation), your forums may require an extra Disclaimer/Policy page, which users need to accept before they become members. This add-on brings it up before any registration (sign up) process. The add-on sets a temporary cookie to validate user's acception, which is kept until the browser is closed.

==INSTALLATION==

*) Edit the content of templates/disclaimer.html. Translate into your language, put the proper content etc.

*) Copy disclaimer.html to your forums/templates/ folder

*) Modify lang/eng.php or whatever language pack - paste the content of /lang/eng.code.txt (or related language) to the end of it before the closing ?> tag. This will specify the Policy/Disclaimer page's <title>.

*) In bb_plugins.php, preferrably closely to the bottom of file, paste the code provided in bb_plugins.code.txt file.

==USAGE==

Disclaimer content available in 'templates/disclaimer.html', should appear automatically before profile registration. Users have to confirm it, checking the box below the text, and then clicking the "Continue" button. Disclaimer is also possible to view as a static template, under the link '[YOUR_FORUMS_DOMAIN]/index.php?action=viewdisclaimer'. This could be rewritten in Apache's .htaccess rule like this for example:

RewriteRule ^disclaimer\.html$ ./index.php?action=viewdisclaimer

Then the contents of Disclaimer will be available under the link '[YOUR_FORUMS_DOMAIN]/disclaimer.html'

In the view mode, the checkbox form is removed automatically, if it's put between '<!--disclaimer_form-->...<!--/disclaimer_form-->' tags.


==FINALLY==

Enjoy using miniBB!
Our forums will help you on any question you may have regarding this add-on:
http://www.minibb.com/forums/11_4835_0.html
