No Description

Chimo f51457e01d Better validation on inputs 6 months ago
actions f51457e01d Better validation on inputs 6 months ago
css 7f47d61010 Prettify a bit 6 months ago
.gitattributes d745b0f96d Normalize line endings 1 year ago
.gitignore 92e2a3c5ec Ignore vim .swp files 9 months ago
LICENSE 5b4df73b6b Add license 1 year ago
README.md c05682c85e Add README 6 months ago
StaleAccountsPlugin.php f51457e01d Better validation on inputs 6 months 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)