digitoll downloads plugin not supported in virtuemart 3.0.12

Started by rshafer, January 22, 2016, 00:35:48 AM

Previous topic - Next topic

rshafer

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

GJC Web Design

maybe it can be updated for VM3/J3.. the differences aren't normally that great..
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

rshafer

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

GJC Web Design

GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

rshafer

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.


rshafer

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?


GJC Web Design

does it have its own component?
what exactly is the error?
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

rshafer

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.

GJC Web Design

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.....
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

rshafer

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.

GJC Web Design

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
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

rshafer

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'?






GJC Web Design

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

GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

Studio 42

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

rshafer

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.