VirtueMart Forum

VirtueMart 2 + 3 + 4 => Installation, Migration & Upgrade => Topic started by: rshafer on January 22, 2016, 00:35:48 AM

Title: digitoll downloads plugin not supported in virtuemart 3.0.12
Post by: rshafer on January 22, 2016, 00:35:48 AM
I have updated from 2.0.26 to virtuemart 3.0.12 and digitolls download plugin is not recognized by vm.

Anyone have any idea how to get the plugin to work?
Has anyone successfully used a different digital downloads plugin without having to manually add back
each individual products download files?

Thanks
Title: Re: digitoll downloads plugin not supported in virtuemart 3.0.12
Post by: GJC Web Design on January 22, 2016, 15:08:09 PM
maybe it can be updated for VM3/J3.. the differences aren't normally that great..
Title: Re: digitoll downloads plugin not supported in virtuemart 3.0.12
Post by: rshafer on January 22, 2016, 17:56:59 PM
digitoll is no longer supporting this plugin. The website is gone and no support so there is no updating it.

If someone could point me to some guidelines of how to take an older plugin and modify it to work with VM3 would be helpful.

Or if someone knows a different digital downloads plugin that they replaced digitoll with would also be helpful. 

Thanks
Title: Re: digitoll downloads plugin not supported in virtuemart 3.0.12
Post by: GJC Web Design on January 22, 2016, 19:08:12 PM
http://open-tools.net/documentation/upgrading-vm2-plugin-to-vm3.html
Title: Re: digitoll downloads plugin not supported in virtuemart 3.0.12
Post by: rshafer on January 22, 2016, 21:20:20 PM
Thanks for the link. I have tried some of these items that seem relevant to this particular plugin. Currently publishing the plugin kills the individual product page in admin.
If I then un-publish, the product pages are back.
I'll keep at it and see if I can get it to work.

Title: Re: digitoll downloads plugin not supported in virtuemart 3.0.12
Post by: rshafer on January 28, 2016, 23:23:24 PM
Just an update for anyone reading this post.

I have tried following the code changes to make a vm2 plugin work with vm3 with the link above and VM3 documentation. Udated triggers and changed JRequest to vRequest, etc.
I have made changes to all the files I can find related to this plugin - in plugins folder, administrator->component->com-virtuemart,  component->com-virtuemart

VM3 recognizes the plugin, it no longer causes a blank white page on products in admin that have downloadable products. I can see the downloadable file for each
product in admin. Database tables related to the plugin are in place. However the plugin functionality does not display in the virtuemart menu along with Products, order/shoppers etc.
This is probably due to even when trying to access one of digitoll functionality page directly with a URL, virtuemart gives an error that component is not found.

So even though aspects of the plugin seem to be working, the component cannot be found, hence most aspects are not working.

Any ideas of troubleshooting when a plugin is listed and published, does not give any fatal errors, yet the component cannot be found?

Title: Re: digitoll downloads plugin not supported in virtuemart 3.0.12
Post by: GJC Web Design on January 29, 2016, 01:27:01 AM
does it have its own component?
what exactly is the error?
Title: Re: digitoll downloads plugin not supported in virtuemart 3.0.12
Post by: rshafer on January 29, 2016, 01:45:39 AM
Just gives a virtuemart 404 page with text component not found.
My understanding is that a plugin is a component. Digitoll does have an administrator side and site side. Component folders for each.

It's starting to seem it's something along the lines of since I have been manually trying to piece together and add files and DB tables, there was no
initiation of the installer scripts from the plugin XML file. In extension-discover-install did not actually complete the whole installation of the plugin.
Title: Re: digitoll downloads plugin not supported in virtuemart 3.0.12
Post by: GJC Web Design on January 29, 2016, 11:02:30 AM
plugins are plugins - components are components.. extensions can consist of components and plugins and modules

looks like you have only worked on the plugin (normally a small part of the complete extension)

if the ext. uses its own DB tables etc with an admin it is very likely to be a component

if the component isn't properly installed then.....
Title: Re: digitoll downloads plugin not supported in virtuemart 3.0.12
Post by: rshafer on January 29, 2016, 18:45:50 PM
Thanks for the clarification. This is my first endeavor with really trying to dig into the structure of joomla/virtuemart site.
I would say then that it is an extension. It has a plugin and component elements. I have updated the code for vm3 in Administrator-components-com_digitolldownloads and top level components-com_digitolldownloads, plus the related DB tables.
The latest is that I think there is an issue with the files in the Views folder inside Administrator-components-com_digitolldownloads. I'll keep digging.
Title: Re: digitoll downloads plugin not supported in virtuemart 3.0.12
Post by: GJC Web Design on January 30, 2016, 16:04:34 PM
yes.. it probably has no FE comp -- or just a dummy folder and you will need to do the normal J3 upgrades to the admin component
Title: Re: digitoll downloads plugin not supported in virtuemart 3.0.12
Post by: rshafer on February 04, 2016, 23:04:02 PM
I've still been at this with no luck.
There are 3 parts to this plugin or extension:
administrator component, component(front end), and plugin.
All files have been modified to the VM3 upgrade specs. There are no fatal errors or anything.

After manually installing all of these files, adjusting all db tables to match required changes for VM3, the only
aspect that is recognized by virtuemart is the plugin.

The administrator component and component (com_digitolldownloads) cannot be discovered in extensions,
cannot be directly accessed through a URL or anything. They are hidden from virtuemart. They do not appear in any admin menus in virtumart.

So all files and db are there. Is there anything that I might be missing that 'initiates' so to speak the components so
that they either display and function, or at least can be discovered by extensions and then 'installed'?





Title: Re: digitoll downloads plugin not supported in virtuemart 3.0.12
Post by: GJC Web Design on February 05, 2016, 11:08:51 AM
as no one seems to know the extension we can't help unless we have access to the code.. 
I have seen "VM exts" that during install move a bunch of views, models and controllers to the VM component or other techniques.. but with out code access it is just guess work

BTW.. for me to start digging in code would need to be paid for

Title: Re: digitoll downloads plugin not supported in virtuemart 3.0.12
Post by: Studio 42 on February 05, 2016, 19:00:30 PM
To update a component to Joomla 3, sometime you need to rename the main file

Old filename is mostly admin.componentname.php
rename it to componentname.php, so it's discovered.
But the ohter problem is to modify the XML file and hope this.
Check the Joomla DOC about this : https://docs.joomla.org/Manifest_files
Title: Re: digitoll downloads plugin not supported in virtuemart 3.0.12
Post by: rshafer on February 06, 2016, 02:56:12 AM
Thanks a lot. Made some progress based on the last two responses. I removed admin. from the component name and that helped to then have a digitoll page display in admin listing fatal errors.
Next was to remove the call for permissions.php since I learned that VM gets the user group from joomla now.
From there dug into the views, model, controllers and tried to take care of each fatal error that came up when trying to view the download, import, etc. pages that comprise digitoll.

Next is to get the language files correct to display the virtuemart menu correctly. Then see how to display , the digitoll
info such as limit, times downloaded, reset etc. on the individual order pages.
Title: Re: digitoll downloads plugin not supported in virtuemart 3.0.12
Post by: shikar1860 on February 08, 2016, 21:54:43 PM
I also had the problem that Digitoll downloads stopped working after upgrading VM.
I now use this module and it works good:
https://www.spiralscripts.co.uk/virtuemart-extensions/spiral-paid-download-plugin-for-virtuemart-detail.html

I sell downloads and the files are stored on Amazon S3. So it has the same functionality as Digitoll downloads except the manual creation of a download code.

Hope this helps
Title: Re: digitoll downloads plugin not supported in virtuemart 3.0.12
Post by: Studio 42 on February 09, 2016, 00:56:32 AM
Hi,
YOu can donload this from Istraxx, it have same functionnality as spiral plugin.
http://extensions.virtuemart.net/products/shipment-for-virtual-products-detail
Only the streaming is not working on my customer test, but you have download details and can set DL limits and DL speed for eg.
And Istraxx develop VM, so you contribute to development at same time ;)

Regards,
Patrick
Title: Re: digitoll downloads plugin not supported in virtuemart 3.0.12
Post by: rshafer on February 17, 2016, 02:54:39 AM
I gave up on trying to modify the digitoll files. It just continued to be a can of worms with fatal errors stemming from view files etc.
Milbo offered to fix it for me, but the client said they could live without being able to reset old orders, and stated thinking that going with
istraxx shipment of virtual products would be best moving forward.
Title: Re: digitoll downloads plugin not supported in virtuemart 3.0.12
Post by: adriank2 on June 29, 2016, 06:44:15 AM
Hello I do not speak english.

But I'm interested in the topic Digitoll download

I have also some progress

We could share the code

I work on com_digitolldownloads_2.3.2
Title: Re: digitoll downloads plugin not supported in virtuemart 3.0.12
Post by: arturmuse200 on June 24, 2019, 01:02:49 AM
Dear guys,
If you already changed this component with plugins for VM3, could you please share it ? Thanks
Title: Re: digitoll downloads plugin not supported in virtuemart 3.0.12
Post by: Milbo on June 27, 2019, 11:47:44 AM
Quote from: Studio 42 on February 09, 2016, 00:56:32 AM
Only the streaming is not working on my customer test, but you have download details and can set DL limits and DL speed for eg.

It should "work". the main problem is to tell VM that the media is using an URL. I know that someone of the inner team did that. I am not sure if it still works, but then it should work, because the downloader has the option to provide files as stream.