- Posts: 29
- Thank you received: 0
Download ID
- az az
- Topic Author
- Offline
- Junior Member
-
Less
More
7 years 1 month ago #111662
by az az
Replied by az az on topic Download ID
OK thanks and so
Any news on my feedback ?
Any news on my feedback ?
Please Log in or Create an account to join the conversation.
- az az
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 29
- Thank you received: 0
7 years 3 weeks ago #112183
by az az
Replied by az az on topic Download ID
I would like to know if you will consider my main issue or not ? :
4 - About the downloadurl tag, the document_id change even the file extension is the same, it's not usable,
If yes then I will wait new solution form you, if not I will work on my side to find a solution but i don't want to build one if you finally do something after different and in meantime that i had already deliver my extension to my customers...
4 - About the downloadurl tag, the document_id change even the file extension is the same, it's not usable,
If yes then I will wait new solution form you, if not I will work on my side to find a solution but i don't want to build one if you finally do something after different and in meantime that i had already deliver my extension to my customers...
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
7 years 3 weeks ago #112196
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Download ID
Hi
I think I could not change it. As of right now, each document you created in the plan has different ID and we have to use it to get correct update package + check to see what plan it belongs to to validate the the subscription...
So please try to find a solution yourself for now. I guess you will have to customize the method download_update_package in components/com_osmembership/controller/controller.php to handle your requirement
That can be implemented as override, so it won't be lost when you update to future releases of the extension
Regards,
Tuan
I think I could not change it. As of right now, each document you created in the plan has different ID and we have to use it to get correct update package + check to see what plan it belongs to to validate the the subscription...
So please try to find a solution yourself for now. I guess you will have to customize the method download_update_package in components/com_osmembership/controller/controller.php to handle your requirement
That can be implemented as override, so it won't be lost when you update to future releases of the extension
Regards,
Tuan
Please Log in or Create an account to join the conversation.
- az az
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 29
- Thank you received: 0
7 years 2 weeks ago #112379
by az az
Replied by az az on topic Download ID
OK and about this point :
Can we restrict the number of domain by user ? and so the number of Download ID ?
Can we restrict the number of domain by user ? and so the number of Download ID ?
Please Log in or Create an account to join the conversation.
- az az
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 29
- Thank you received: 0
7 years 2 weeks ago #112380
by az az
Replied by az az on topic Download ID
Hello,
some issues:
- If in backend I want to unpublished a downloadedid Item, Joomla return an error :
- If a customer use a download id once with a domain his download id code is set to this domain (that is ok) but all other unused download id code (even from other customers account) are set with this domain and not longer usable
some issues:
- If in backend I want to unpublished a downloadedid Item, Joomla return an error :
Code:
An error has occurred. 0 Call to a member function load() on boolean
- If a customer use a download id once with a domain his download id code is set to this domain (that is ok) but all other unused download id code (even from other customers account) are set with this domain and not longer usable
Please Log in or Create an account to join the conversation.
- az az
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 29
- Thank you received: 0
6 years 8 months ago #116726
by az az
Replied by az az on topic Download ID
Hello,
Sone news issues :
1 - If I delete a download ID in the backend there is a Joomla error return :
2 - If I unpublished a download ID, now it delete all info in the raw except the date, and if after I try to republished it, it create a new raw with no info inside except the date.
Sone news issues :
1 - If I delete a download ID in the backend there is a Joomla error return :
Error
Null primary key not allowed.
2 - If I unpublished a download ID, now it delete all info in the raw except the date, and if after I try to republished it, it create a new raw with no info inside except the date.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
6 years 8 months ago #116750
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Download ID
Hello
From the error message, look like the id field in #__osmembership_downloadids is not a primary auto-increment field for some reasons
Please check and make that field become primary, auto-increment field and the error should be gone
Tuan
From the error message, look like the id field in #__osmembership_downloadids is not a primary auto-increment field for some reasons
Please check and make that field become primary, auto-increment field and the error should be gone
Tuan
Please Log in or Create an account to join the conversation.
- az az
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 29
- Thank you received: 0
6 years 8 months ago #116754
by az az
Replied by az az on topic Download ID
Hello,
OK I first auto auto-increment (if don't it's not works) :
ALTER TABLE foo MODIFY COLUMN id INT NOT NULL AUTO_INCREMENT;
then I make it primary and now it's ok.
OK I first auto auto-increment (if don't it's not works) :
ALTER TABLE foo MODIFY COLUMN id INT NOT NULL AUTO_INCREMENT;
then I make it primary and now it's ok.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
6 years 8 months ago #116755
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Download ID
Great. Next thing I will work on is to allow re-use existing Document for new plan and we should be fine with this feature
We will have it ready sometime next week
Tuan
We will have it ready sometime next week
Tuan
Please Log in or Create an account to join the conversation.
- az az
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 29
- Thank you received: 0
6 years 8 months ago #116758
by az az
Replied by az az on topic Download ID
Great news
it will be interesting if an existing plan can be also set.
also, can you consider :
restrict the number of download ID
log each download
Thanks !
it will be interesting if an existing plan can be also set.
also, can you consider :
restrict the number of download ID
log each download
Thanks !
Please Log in or Create an account to join the conversation.
Support
Documentation
Information
Copyright © 2025 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.