I’m trying to upload csv file sample.csv but its showing Packages -1 and completed but it is not showing in all packages.
Hi Shafayet,
Thanks, we are testing it. will let you know.
There is an update available for download manager. So will the settings will remain same even after upgrading download manager and download limit extensions both.
Regards
Hi Shafayet,
Thanks for your valuable revert, it worked at first glace. But after testing, we found one more issue. We are site is completely dependent on download limit that is why we are so keen on the download limit.
There are three subscription plans i.e. Free, Basis & Premium ((https://www.estudynotes.com/test/subscription-plans/)). The limit is working perfect for a fresh registration, for any of plan available at our subscription plan.
When a user has an active subscription and buys another subscription, then the download limit is not working (attached the screenshot). will share the id and password in a private reply.
for example, I subscribed free subscription, and later enrolled for basic. The download limit goes unlimited. or I one user has basic and purchased premium the limit goes unlimited.
we know that download limit works on user_role, so we have some custom code which updates the user_role upon successfully purchase. if user prurchased free subscription we allocate roles “Free Subscriber, Customer” upon purchasing another plan, we remove all rolses and allocate the new roles i.e. “Subscriber, Basic Subscriber”.
Thanks for your continues help and support.
Hi Shafayet,
Thanks for your prompt reply. We are not downloading the same item. Our download items are displayed in pagination. we open 10 download packages first and start downloading one by one. Even Opening one by one and downloading does not restrict.
You can check the same, just create a user for yourself and give a premium user role. then visit the package urls directly to download.
Best Regards
Hi Shahriar,
We have implemented the code as required, still its not working.
thank you…the customization request has been sent on the given email id
Yes, we are interested. Please let us know how to proceed further.
Hi Shahriar,
Thanks for your valuable input. The download limit calculation on role_id & Category_id is very crucial for us. Would help/provide with some code which change can the calculation pattern.
Best Regards
Hi,
by adding the above code, it only downloads the manually uploaded packages with the title. However if we import using csv file, it does not applies on that, it gets downloaded by the file name itself instated if package title. by checking we found that when we upload a package manually the there is a section where where it shows the pdf file name, however by importing by csv its does not shows the filename there. Or may be any other issue would be there. Can you please help us identifying the issue.
Regards
Hi Shahriar,
The above solution does not worked, however we understand what needs to be done, and we have implemented below codes to achieve what we wanted.
$extension_array = explode(“.”, $filename);
$file_extension = end($extension_array);
$filename = $package[‘post_title’].’.’.$file_extension;
yet it will erase after upgrading the plugin, so we have to keep in mind that.
Thanks