Closed dlecan closed 4 years ago
Hello Damien! :)
package names such as
layerslider-plugin
You choose package names! It is read from config.json
Thank you!
What I understand:
item-id
and package "names" can be chosen just for humansLayerSlider WP
is in the list of Avada’s Bundled Plugins, so it should possible for me to install it, shouldn't it?Do you know where to find the item-id
of "Fusion Core" and "Fusion Builder" plugins?
package "names" can be chosen just for humans
actually Composer does need a name for each package
Do you know where to find the item-id of "Fusion Core" and "Fusion Builder" plugins?
I've started a project for downloading WP plugins from the manufacturer of Avada.
See class-avada-remote-installer.php
in Avada.
Could be called composer-themefusion
:
https://updates.theme-fusion.com/?avada_action=get_plugins&avada_version=5.9.0
: "theme-fusion/" + if("external_url" === '') "name"
https://updates.theme-fusion.com/?avada_action=request_download&item_name=Fusion%20Builder&ver=&token=$FUSION-TOKEN
: gets a noncehttps://updates.theme-fusion.com/?avada_action=get_download&item_name=Fusion%20Builder&ver=5.9.0&nonce=$NONCE&t=$TIMESTAMP
gives the ZIP URL$FUSION-TOKEN
comes from a WP option named fusion_registration
these come with Avada for free
theme-fusion/fusion-core theme-fusion/fusion-builder theme-fusion/fusion-white-label-branding theme-fusion/convertplug theme-fusion/advanced-custom-fields-pro theme-fusion/LayerSlider theme-fusion/revslider
Would you like to contribute?
Would you like to contribute?
Yes
Do you know where to find the item-id of "Fusion Core" and "Fusion Builder" plugins?
I've started a project for downloading WP plugins from the manufacturer of Avada.
So it's not possible?
So it's not possible?
Yes it is. I've made the above sketch only, no more progress. Up to now :)
Ok, i've understand, I can find plugin item-ids from the Theme fusion API with the request you have provided above
I suspect those IDs have nothing to do with Envato.
ah ok, so we need another composer plugin, such as composer-theme-fusion
to do something equivalent as composer-envato
?
yes, but this time only the ThemeFusion token is necessary in config.json
$ wget -qO- 'https://updates.theme-fusion.com/?avada_action=get_plugins&avada_version=5.9.0' \
| jq -r 'to_entries[].value.slug'
fusion-core
fusion-builder
fusion-white-label-branding
convertplug
advanced-custom-fields-pro
LayerSlider
revslider
pwa
woocommerce
the-events-calendar
wordpress-seo
leadin
contact-form-7
bbpress
so package names will look like themefusion/layerslider
@dlecan Would you give it a try? Its structure would be the same as this one.
Yes, I will try
A new plugin or en enhancement of your one?
Of course a new one :) dlecan/composer-theme-fusion
"require": {
"szepeviktor/composer-envato": "^0.1.2"
}
btw I've contacted ThemeFusion to support this development
@dlecan Have you started a draft or something?
I've written an MVP. Publishing.... https://github.com/szepeviktor/composer-theme-fusion
Have you started a draft or something?
Not yet :-)
I will try your new plugin
You are more comfortable than me
Thank you for this plugin, installation of Avada theme works great on my Bedrock WordPress website.
But ... it is very hard to install additional plugins. For example, I get an error when I try install a plugin:
The id of copied/pasted from the README file.
Is it an issue with the id of the plugin, a missing role of my access token? How/where to get reliable plugins
item-id
and/or package names such aslayerslider-plugin
?Thank you!