uc_file_download_quota
Categories
Component ID
Component name
Component type
Maintenance status
Development status
Component security advisory coverage
Downloads
Component created
Component changed
Component body
The purpose of this module is simply to limit download quota of uc_file product file for user who purchase "membership (role)" plans.
The workflow to install the module :
1. Install uc_file and configure ubercart product so it can be downloaded.
2. Install uc_recurring, configure it, create a "membership(role)" plans, select which roles should uc_recurring grants upon purchase
of the membership plans
3. Install uc_file_download_quota, configure it to limit how many download per X days for X roles, The module will attempt to calculate the current month for user who purchases like 4 months in advance.
4. Put the button for downloading file in theme function in your theme.
5. Configure the new conditional actions provided by this module to suit your Ubercart workflow.
The expected results for user who purchases multiple monthly membership subscription :
Example :
User X purchase 4 months in advance and admin set 4 monthly download limit
The result :
user X can only download 4 new different kind of product files per month for 4 months totalling of 16 type of files.
Different kind of file is determined by product unique nid.