Chimo f51457e01d Better validation on inputs 1 year ago
actions Better validation on inputs 1 year ago
css Prettify a bit 1 year ago
.gitattributes Normalize line endings 2 years ago
.gitignore Ignore vim .swp files 1 year ago
LICENSE Add license 2 years ago
README.md Add README 1 year ago
StaleAccountsPlugin.php Better validation on inputs 1 year ago

README.md

List inactive accounts on a GNU social instance

Installation

  1. Navigate to your /local/plugins directory
  2. git clone https://github.com/chimo/gs-staleAccounts.git StaleAccounts

Tell /config.php to use it with:

addPlugin('StaleAccounts');

Configuration

By default, accounts are considered stale/inactive after 3 months of inactivity. To change this to a different number of months, you can use the following:

$config['staleaccounts']['inactive_period'] = 12; // A year

Usage

Instance administrators should see a "Stale Accounts" link in the left-navigation of the "Admin" section (https://example.org/panel/staleaccounts)