@Scuzz. For the moment for it to work on 0.7 on my install I have removed the hooks for usersettings, but if I have any time soon I will try to make those work also. This at the moment was shown that maybe someone will make use of the code before I will make it stable.
[nodebb-plugin-expiring-uploads] Hide and expire users uploads
Hide and expire users uploads.
The name actually only tells half the story. This plugin lets you:
Hide uploads of definable filetypes behind a hash/timestamp/filename combination. Uploads are not stored in the standard path (public/uploads). This ensures, that even when the filename is known, it's pretty hard to guess its location.
Set an expiration time(range) for those hash/timestamp/filename urls. Every setting > 0 will have uploads handled by this plugin expire.
PLEASE NOTE: Expiration is calculated at request time. If you uploaded a file 7 days ago and now decide to lower the expiration time from 10 to 5 days, this file will be treated as expired.
npm install nodebb-plugin-expiring-uploads
Activate the plugin in the ACP.
Adjust the settings! Standard expiration time is 0 = uploads never expire.
- FIX: Automatic 'fa-toggle-on/off' requires checkbox to be nested in label
- ADDED: Languages de, en_GB, en_US
- ADDED: Seperate error messages for 403, 404, 410
- FIX: ACP not showing custom timestamp correctly
- FIX: ACP not showing confirmation, when storage path not changed.
... more in the CHANGELOG.
any reason you have the link text field hidden on settings page, i want to set a default link text, and i noticed the form group you have a class of hidden, so its not shown on the settings page