friendica-addons/testdrive
Hypolite Petovan ec0c2e837d Move Contact to src
- Add relevant use statements
- Change method calls
- Remove mentions to include/Contact.php
2017-11-19 17:09:54 -05:00
..
lang ES translation work THX Albert 2016-11-19 06:17:07 +01:00
README.md first cut at a testdrive addon 2012-04-11 05:24:45 -07:00
testdrive.php Move Contact to src 2017-11-19 17:09:54 -05:00

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.