Special thanks to: martin
Download attachment limit. Can set in ACP the amount of downloads and hours and groups.
- Code update allowed extensions in ACP.
- Code update in listener.php for allowed extension.
- Code update for download count
- Code update in listener.php
- Code update in service.yml
- Code update in downloadlimit_prune.php
- Added allowed_extensions in listener.php
- Download the latest release.
- Unzip the downloaded release, and change the name of the folder to `
- In the `
ext` directory of your phpBB board, create a new directory named `
dmzx` (if it does not already exist).
- Copy the `
downloadlimit` folder to `
/ext/dmzx/` if done correctly, you'll have the main extension class at
(your forum root)/ext/dmzx/downloadlimit/composer.json
- Navigate in the ACP to `Customise -> Manage extensions`
- Look for `
Download limit` under the Disabled Extensions list, and click its `