1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/hubzilla_ynh.git synced 2024-09-03 19:26:21 +02:00
hubzilla_ynh/sources/addons/testdrive
2016-03-20 12:36:33 +05:30
..
lang Updated to 1.3.1 2016-03-20 12:36:33 +05:30
README.md Added addons with subfolder. earlier:addons/addon-name.php, now:addon/subfolder/addon-name.php 2015-12-08 18:27:50 +05:30
testdrive.php Updated Hubzilla and addons to version 1.2 2016-02-28 16:41:12 +05:30

TestDrive

Testdrive is a Friendica plugin which implements automatic account expiration so that a site may be used as a public test bed.

When an account is created on the site, it is given a hard expiration date of

$a->config['testdrive']['expiredays'] = 30;

Set this in your .htconfig.php file to allow a 30 day test drive period. By default no expiration period is defined in case the plugin is activated accidentally.

There is no opportunity to extend an expired account using this plugin. Expiration is final. Other plugins may be created which charge for service and extend the expiration as long as a balance is maintained. This plugin is purely for creating a limited use test site.

An email warning will be sent out approximately five days before the expiration occurs. Once it occurs logins and many system functions are disabled. Five days later the account is removed completely.