- Posts: 26
- Thank you received: 0
Improve Downloads Manager plugin to support Joomla updates
- Jakub
- Topic Author
- Offline
- Junior Member
-
Improve Downloads Manager plugin to support Joomla updates
It only affect customers use Membership Pro to sell Joomla extensions. Now, Membership Pro offical built-in support for Downloads Managers plugin so that you can provide Joomla! updates for your extensions. Document will come separate later.
How can I make it work? Can you give me some clues? I can't find any documentation.
Regards
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
Please read documentation at membershipprodoc.joomservices.com/advanc...joomla-update-system
Hopefully, it will work OK for your need . To be honest, I haven't spent much time on that implementation as it seems not many customers need it (only one or two so far)
Tuan
Please Log in or Create an account to join the conversation.
- Jakub
- Topic Author
- Offline
- Junior Member
-
- Posts: 26
- Thank you received: 0
This feautre is really important for me because I am planning to sell extension for Joomla CMS.
I will let you know if everythning works as it should.
Regards!
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
Regards,
Tuan
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
Tuan
Please Log in or Create an account to join the conversation.
- Jakub
- Topic Author
- Offline
- Junior Member
-
- Posts: 26
- Thank you received: 0
I have done some test. My results:
1. After clicking on the 'Process' button at the Download ID menu, redirects to the blank page. Same as on the backend while trying to delete the download ID number.
/administrator/index.php?option=com_osmembership&view=downloadids
2. Domain field stays empty. Why? How can I edit this field?
3. When I trying upgrade extension through the Joomla updater I got few errors:
When I visit the above url:
I also have a question. Is this possible to allow users with a specific plan to generate a specific number of ID's?
eg:
- Plan 1 - Can generate 1 ID
Plan 2 - Can generate 3 ID's
Plan 3 - Unlimited
Thank you
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
1. There were some small errors in the code. I fixed it and will included in the next version of the extension. For now, please submit a support ticket so that I can send this version to you
2. Domain is recorded automatically by the system when there is an update request from client website. It's something could not be edited. The point is each download id can only be used for one domain only
3. Make sure you have published installer plugin. Also, enter a valid Download ID into the plugin parameter, publish it. After that, try again, it should work
4. Unfortunately, it's not possible. As you know, Joomla doesn't allow you to limit number of websites a client can install and use your product, so we could not put this limitation. Basically, they can generate any number of Download IDs they want
Tuan
Please Log in or Create an account to join the conversation.
- Jakub
- Topic Author
- Offline
- Junior Member
-
- Posts: 26
- Thank you received: 0
Tuan Pham Ngoc wrote: Hello
1. There were some small errors in the code. I fixed it and will included in the next version of the extension. For now, please submit a support ticket so that I can send this version to you
2. Domain is recorded automatically by the system when there is an update request from client website. It's something could not be edited. The point is each download id can only be used for one domain only
3. Make sure you have published installer plugin. Also, enter a valid Download ID into the plugin parameter, publish it. After that, try again, it should work
4. Unfortunately, it's not possible. As you know, Joomla doesn't allow you to limit number of websites a client can install and use your product, so we could not put this limitation. Basically, they can generate any number of Download IDs they want
Tuan
Thank you for the response!
I just opened a ticket.
Ad 3. The installer plugin is turned on and the Download ID is also there but I still get the error. What about user's plan is expired? Is he get any message about that?
Regards
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
For installer plugin turned on and the Download ID is not there, I don't know why it doesn't work. Maybe you can try to debug the code in the installer plugin code
There is a line like this
$url = $uri->toString();
Try to echo the value of that $url variable, then die(); and check to see what's the real value of that URL? It will help debugging the issue easier
Tuan
Please Log in or Create an account to join the conversation.
- Jakub
- Topic Author
- Offline
- Junior Member
-
- Posts: 26
- Thank you received: 0
Everything seems to be working properly right now. The issue was caused by my mistake in the installer plugin code.
The only and one problem at this moment is that the 'Subscription Complete' message stays blank. How can I fix this?
Regards
Please Log in or Create an account to join the conversation.
Support
Documentation
Information
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.