diff --git a/Joomla/AcySubscribeBuyer.tmpl b/Joomla/AcySubscribeBuyer.tmpl new file mode 100644 index 0000000000000000000000000000000000000000..3ec7127db897e41be6b22efe6467e0aa56fec648 --- /dev/null +++ b/Joomla/AcySubscribeBuyer.tmpl @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="utf-8"?> + +<updates> + <update> + <name>Subscribe Buyers to AcyMailing for VirtueMart</name> + <description>Virtuemart plugin to automatically subscribe buyers to certain AcyMailing Lists, and to allow subscription to notifications on the product page.</description> + <element>acymailing_subscribe_buyer</element> + <type>plugin</type> + <folder>vmcustom</folder> + <client>0</client><!-- Plugins use client_id=0 (FrontEnd), default would be 1 --> + <version>1.4.2</version> + <infourl title="Subscribe Buyers to AcyMailing for VirtueMart">https://open-tools.net/virtuemart/acy-subscribe-buyers.html#versions</infourl> + <downloads> + <downloadurl type="full" format="zip">https://open-tools.net/index.php?option=com_virtuemart&view=plugin&name=downloads_for_sale&customfield_id=34</downloadurl> + </downloads> + <tags> + <tag>stable</tag> + </tags> + <maintainer>Open Tools</maintainer> + <maintainerurl>http://open-tools.net</maintainerurl> + <targetplatform name="joomla" version=".*" /> + </update> +</updates> diff --git a/Joomla/AdvancedShippingByRules.tmpl b/Joomla/AdvancedShippingByRules.tmpl new file mode 100644 index 0000000000000000000000000000000000000000..fedef17ae0e03d10cd01f8b35d867bb2b1dc9249 --- /dev/null +++ b/Joomla/AdvancedShippingByRules.tmpl @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="utf-8"?> + +<updates> + <update> + <name>Advanced Shipping by Rules for Virtuemart</name> + <description>Describe shipping costs with general rules including mathematical expressions. Very complex shipping cost structures (depending on the amount, postal code, weight, number of products and/or articles and coupon code) can be easily implemented.</description> + <element>rules_shipping_advanced</element> + <type>plugin</type> + <folder>vmshipment</folder> + <client>0</client><!-- Plugins use client_id=0 (FrontEnd), default would be 1 --> + <version>5.7</version> + <infourl title="Advanced Shiping by Rules for VirtueMart">https://open-tools.net/documentation/shipping-by-rules-plugins-for-virtuemart.html#changelog</infourl> + <downloads> + <downloadurl type="full" format="zip">https://open-tools.net/index.php?option=com_virtuemart&view=plugin&name=downloads_for_sale&customfield_id=12&order_number=${order_number}&order_pass=${order_pass}</downloadurl> + </downloads> + <tags> + <tag>stable</tag> + </tags> + <maintainer>Open Tools</maintainer> + <maintainerurl>http://open-tools.net</maintainerurl> + <targetplatform name="joomla" version=".*" /> + </update> +</updates> diff --git a/Joomla/AutoParentCategories.tmpl b/Joomla/AutoParentCategories.tmpl new file mode 100644 index 0000000000000000000000000000000000000000..068c7b1fea97d7e64e7421fe9a871978f21faf73 --- /dev/null +++ b/Joomla/AutoParentCategories.tmpl @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="utf-8"?> + +<updates> + <update> + <name>Auto Parent Categories for Virtuemart</name> + <description>Virtuemart 2 plugin to automatically add products also to its parent categories, or remove them from all but the lowest categories. For child products, it can also assign them to the parent product's categories, or remove all categories.</description> + <element>vmAutoParentCategories</element> + <type>plugin</type> + <folder>system</folder> + <client>0</client><!-- Plugins use client_id=0 (FrontEnd), default would be 1 --> + <version>1.3</version> + <infourl title="Auto Parent Categories for VirtueMart">https://open-tools.net/virtuemart/auto-parent-categories.html#changelog</infourl> + <downloads> + <downloadurl type="full" format="zip">https://open-tools.net/index.php?option=com_virtuemart&view=plugin&name=downloads_for_sale&customfield_id=11</downloadurl> + </downloads> + <tags> + <tag>stable</tag> + </tags> + <maintainer>Open Tools</maintainer> + <maintainerurl>http://open-tools.net</maintainerurl> + <targetplatform name="joomla" version=".*" /> + </update> +</updates> diff --git a/Joomla/BuyerAssignGroups.tmpl b/Joomla/BuyerAssignGroups.tmpl new file mode 100644 index 0000000000000000000000000000000000000000..0637b48ec60b08730e5b0fd9ed08bdef93dab759 --- /dev/null +++ b/Joomla/BuyerAssignGroups.tmpl @@ -0,0 +1,24 @@ +<?xml version="1.0" encoding="utf-8"?> + +<updates> + <update> + <name>Add Buyers to Joomla Groups for VirtueMart</name> + <description>Virtuemart plugin to automatically add buyers to or remove buyers from Joomla user groups or VirtueMart Shopper groups. +</description> + <element>buyer_assign_group</element> + <type>plugin</type> + <folder>vmcustom</folder> + <client>0</client><!-- Plugins use client_id=0 (FrontEnd), default would be 1 --> + <version>1.6</version> + <infourl title="Add Buyers to Joomla Groups for VirtueMart">https://open-tools.net/virtuemart/add-buyers-to-joomla-groups.html#changelog</infourl> + <downloads> + <downloadurl type="full" format="zip">https://open-tools.net/index.php?option=com_virtuemart&view=plugin&name=downloads_for_sale&customfield_id=50&order_number=${order_number}&order_pass=${order_pass}</downloadurl> + </downloads> + <tags> + <tag>stable</tag> + </tags> + <maintainer>Open Tools</maintainer> + <maintainerurl>http://open-tools.net</maintainerurl> + <targetplatform name="joomla" version=".*" /> + </update> +</updates> diff --git a/Joomla/DownloadsForSale.tmpl b/Joomla/DownloadsForSale.tmpl new file mode 100644 index 0000000000000000000000000000000000000000..9886034cb52161893b3107aa9ae209b694d2ab43 --- /dev/null +++ b/Joomla/DownloadsForSale.tmpl @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="utf-8"?> + +<updates> + <update> + <name>Downloads for Sale for VirtueMart</name> + <description>Downloadable products (both free and paid downloads) and downloads linked with purchased products for VirtueMart 2 and 3.</description> + <element>downloads_for_sale</element> + <type>plugin</type> + <folder>vmcustom</folder> + <client>0</client><!-- Plugins use client_id=0 (FrontEnd), default would be 1 --> + <version>1.8</version> + <infourl title="Downloads for Sale for VirtueMart">https://open-tools.net/documentation/downloads-for-sale-plugin-for-virtuemart.html#changelog</infourl> + <downloads> + <downloadurl type="full" format="zip">https://open-tools.net/index.php?option=com_virtuemart&view=plugin&name=downloads_for_sale&customfield_id=9&order_number=${order_number}&order_pass=${order_pass}</downloadurl> + </downloads> + <tags> + <tag>stable</tag> + </tags> + <maintainer>Open Tools</maintainer> + <maintainerurl>http://open-tools.net</maintainerurl> + <targetplatform name="joomla" version=".*" /> + </update> +</updates> diff --git a/Joomla/EURecap.tmpl b/Joomla/EURecap.tmpl new file mode 100644 index 0000000000000000000000000000000000000000..f0611b3f86fbbc1ecac1f366e92c89cdb0d56a54 --- /dev/null +++ b/Joomla/EURecap.tmpl @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="utf-8"?> + +<updates> + <update> + <name>EU Sales Reports for VirtueMart</name> + <description>Generate and export EU sales reports (EU Recapitulative Statements) for your VirtueMart sales.</description> + <element>eurecap</element> + <type>plugin</type> + <folder>vmextended</folder> + <client>0</client><!-- Plugins use client_id=0 (FrontEnd), default would be 1 --> + <version>0.3</version> + <infourl title="EU Sales Reports for VirtueMart">https://open-tools.net/virtuemart/vm-eu-sales-reports.html#changelog</infourl> + <downloads> + <downloadurl type="full" format="zip">https://open-tools.net/index.php?option=com_virtuemart&view=plugin&name=downloads_for_sale&customfield_id=142</downloadurl> + </downloads> + <tags> + <tag>stable</tag> + </tags> + <maintainer>Open Tools</maintainer> + <maintainerurl>http://open-tools.net</maintainerurl> + <targetplatform name="joomla" version=".*" /> + </update> +</updates> diff --git a/Joomla/NameThePrice.tmpl b/Joomla/NameThePrice.tmpl new file mode 100644 index 0000000000000000000000000000000000000000..55a1336ef1507026f7720792bdad907da2a72d35 --- /dev/null +++ b/Joomla/NameThePrice.tmpl @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="utf-8"?> + +<updates> + <update> + <name>Name the Price for Virtuemart</name> + <description>Allow the user name their own price of a product or add a user-defined amount to the price of a product.</description> + <element>nametheprice</element> + <type>plugin</type> + <folder>vmcustom</folder> + <client>0</client><!-- Plugins use client_id=0 (FrontEnd), default would be 1 --> + <version>1.4</version> + <infourl title="Name the Price for Virtuemart">https://open-tools.net/virtuemart/name-the-price.html#changelog</infourl> + <downloads> + <downloadurl type="full" format="zip">https://open-tools.net/index.php?option=com_virtuemart&view=plugin&name=downloads_for_sale&customfield_id=44</downloadurl> + </downloads> + <tags> + <tag>stable</tag> + </tags> + <maintainer>Open Tools</maintainer> + <maintainerurl>http://open-tools.net</maintainerurl> + <targetplatform name="joomla" version=".*" /> + </update> +</updates> diff --git a/Joomla/Ordernumber.tmpl b/Joomla/Ordernumber.tmpl index 5a3116b2b8c9c8aeb75a901725a72fbea685b5b2..32d57e2e0adfefec01a5f096f26fc65cb63c866f 100644 --- a/Joomla/Ordernumber.tmpl +++ b/Joomla/Ordernumber.tmpl @@ -1,19 +1,23 @@ -<update> - <name>Advanced Ordernumbers for Virtuemart</name> - <description>The most flexible and complete solution for your VirtueMart webshop to customize your order, invoice and customer numbers and the order passwords! For VirtueMart 2.x and 3.x. The running counters of the orders and invoices can be configured to use separate counters for different time periods, countries or even customers.</description> - <element>ordernumber</element> - <type>plugin</type> - <folder>vmshopper</folder> - <version>3.6</version> - <infourl title="Advanced Ordernumbers for VirtueMart">http://open-tools.net/documentation/ordernumber-plugin-for-virtuemart.html#versions</infourl> - <downloads> - <downloadurl type="full" format="zip">https://open-tools.net/index.php?option=com_virtuemart&view=plugin&name=downloads_for_sale&customfield_id=13&order_number=${order_number}&order_pass=${order_pass}</downloadurl> - </downloads> - <tags> - <tag>stable</tag> - </tags> - <maintainer>Open Tools</maintainer> - <maintainerurl>http://open-tools.net</maintainerurl> - <section>Testing</section> - <targetplatform name="joomla" version=".*"/> - </update> \ No newline at end of file +<?xml version="1.0" encoding="utf-8"?> + +<updates> + <update> + <name>Advanced Ordernumbers for Virtuemart</name> + <description>The most flexible and complete solution for your VirtueMart webshop to customize your order, invoice and customer numbers and the order passwords! For VirtueMart 2.x and 3.x. The running counters of the orders and invoices can be configured to use separate counters for different time periods, countries or even customers.</description> + <element>ordernumber</element> + <type>plugin</type> + <folder>vmshopper</folder> + <client>0</client><!-- Plugins use client_id=0 (FrontEnd), default would be 1 --> + <version>3.7</version> + <infourl title="Advanced Ordernumbers for VirtueMart">http://open-tools.net/documentation/ordernumber-plugin-for-virtuemart.html#versions</infourl> + <downloads> + <downloadurl type="full" format="zip">https://open-tools.net/index.php?option=com_virtuemart&view=plugin&name=downloads_for_sale&customfield_id=13&order_number=${order_number}&order_pass=${order_pass}</downloadurl> + </downloads> + <tags> + <tag>stable</tag> + </tags> + <maintainer>Open Tools</maintainer> + <maintainerurl>http://open-tools.net</maintainerurl> + <targetplatform name="joomla" version=".*" /> + </update> +</updates> diff --git a/Joomla/ShippingByRules.tmpl b/Joomla/ShippingByRules.tmpl new file mode 100644 index 0000000000000000000000000000000000000000..3d0d63d827e954743257f2449055e1bb0ae5fc42 --- /dev/null +++ b/Joomla/ShippingByRules.tmpl @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="utf-8"?> + +<updates> + <update> + <name>Shipping by Rules for Virtuemart</name> + <description>Virtuemart plugin to specify shipping costs with bounds of the order properties. Very complex shipping cost structures (depending on the amount, weight, number of products and/or articles and postal code of the order) can be easily implemented.</description> + <element>rules_shipping</element> + <type>plugin</type> + <folder>vmshipment</folder> + <client>0</client><!-- Plugins use client_id=0 (FrontEnd), default would be 1 --> + <version>5.7</version> + <infourl title="Shiping by Rules for VirtueMart">https://open-tools.net/documentation/shipping-by-rules-plugins-for-virtuemart.html#changelog</infourl> + <downloads> + <downloadurl type="full" format="zip">https://open-tools.net/index.php?option=com_virtuemart&view=plugin&name=downloads_for_sale&customfield_id=10</downloadurl> + </downloads> + <tags> + <tag>stable</tag> + </tags> + <maintainer>Open Tools</maintainer> + <maintainerurl>http://open-tools.net</maintainerurl> + <targetplatform name="joomla" version=".*" /> + </update> +</updates> diff --git a/Joomla/TaxReport.tmpl b/Joomla/TaxReport.tmpl new file mode 100644 index 0000000000000000000000000000000000000000..2e939a29e4551094aa2688c7bdb30ce7f0daa7b7 --- /dev/null +++ b/Joomla/TaxReport.tmpl @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="utf-8"?> + +<updates> + <update> + <name>Tax Report for Virtuemart</name> + <description></description> + <element>taxreport</element> + <type>plugin</type> + <folder>vmextended</folder> + <client>0</client><!-- Plugins use client_id=0 (FrontEnd), default would be 1 --> + <version>0.1</version> + <infourl title="Advanced Ordernumbers for VirtueMart">http://open-tools.net/documentation/TODO</infourl> + <downloads> + <downloadurl type="full" format="zip">https://open-tools.net/index.php?option=com_virtuemart&view=plugin&name=downloads_for_sale&customfield_id=TODO</downloadurl> + </downloads> + <tags> + <tag>stable</tag> + </tags> + <maintainer>Open Tools</maintainer> + <maintainerurl>http://open-tools.net</maintainerurl> + <targetplatform name="joomla" version=".*" /> + </update> +</updates> diff --git a/Joomla/Template b/Joomla/Template new file mode 100644 index 0000000000000000000000000000000000000000..561059fd1d190ec84685b3dfd2a7e323292c4a31 --- /dev/null +++ b/Joomla/Template @@ -0,0 +1,21 @@ +<updates> + <update> + <name>XXXX</name> + <description>XXXX</description> + <element>XXXX</element> + <type>plugin</type> + <folder>XXXXX</folder> + <client>0</client><!-- Plugins use client_id=0 (FrontEnd), default would be 1 --> + <version>0.0</version> + <infourl title="XXXX for VirtueMart">http://open-tools.net/documentation/XXXX.html#versions</infourl> + <downloads> + <downloadurl type="full" format="zip">https://open-tools.net/index.php?option=com_virtuemart&view=plugin&name=downloads_for_sale&customfield_id=XXXX&order_number=${order_number}&order_pass=${order_pass}</downloadurl> + </downloads> + <tags> + <tag>stable</tag> + </tags> + <maintainer>Open Tools</maintainer> + <maintainerurl>http://open-tools.net</maintainerurl> + <targetplatform name="joomla" version=".*" /> + </update> +</updates> diff --git a/Joomla/Template.tmpl b/Joomla/Template.tmpl deleted file mode 100644 index 83d21f8b855293efa1fe1ab8b9d4e71af57f4c2b..0000000000000000000000000000000000000000 --- a/Joomla/Template.tmpl +++ /dev/null @@ -1,19 +0,0 @@ -<update> - <name>XXXX</name> - <description>XXXX</description> - <element>XXXX</element> - <type>plugin</type> - <folder>vmshopper</folder> - <version>0.0.1</version> - <infourl title="Joomla!">http://www.open-tools.net/</infourl> - <downloads> - <downloadurl type="full" format="zip">https://open-tools.net/index.php?option=com_virtuemart&view=plugin&name=downloads_for_sale&customfield_id=13&order_number=VM-13-0080&order_pass=p_ff278</downloadurl> - </downloads> - <tags> - <tag>stable</tag> - </tags> - <maintainer>Open Tools</maintainer> - <maintainerurl>http://open-tools.net</maintainerurl> - <section>Testing</section> - <targetplatform name="joomla" version=".*"/> - </update> \ No newline at end of file diff --git a/Joomla/VMAssignGroups.tmpl b/Joomla/VMAssignGroups.tmpl new file mode 100644 index 0000000000000000000000000000000000000000..7576371e41714506ef3882c2a162dbfbd2469423 --- /dev/null +++ b/Joomla/VMAssignGroups.tmpl @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="utf-8"?> + +<updates> + <update> + <name>VM Customers to Joomla Groups Admin Panel</name> + <description>Manually assign Virtuemart product customers to Joomla usergroups in the Joomla Backend.</description> + <element>mod_vmassign_groups</element> + <type>module</type> + <version>1.1.0</version> + <infourl title="VM Customers to Joomla Groups Admin Panel">https://open-tools.net/virtuemart/customers-to-joomla-groups-admin-panel.html#changelog</infourl> + <downloads> + <downloadurl type="full" format="zip">https://open-tools.net/index.php?option=com_virtuemart&view=plugin&name=downloads_for_sale&customfield_id=62</downloadurl> + </downloads> + <tags> + <tag>stable</tag> + </tags> + <maintainer>Open Tools</maintainer> + <maintainerurl>http://open-tools.net</maintainerurl> + <targetplatform name="joomla" version=".*" /> + </update> +</updates> diff --git a/Joomla/VersionCompat.tmpl b/Joomla/VersionCompat.tmpl new file mode 100644 index 0000000000000000000000000000000000000000..69ed316956e4f40bf4f92e0b4a9b21495f75783c --- /dev/null +++ b/Joomla/VersionCompat.tmpl @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="utf-8"?> + +<updates> + <update> + <name>Version Compatibility Display for Virtuemart</name> + <description>Display software version compatibility (png/icons or text) for VirtueMart products.</description> + <element>versioncompat</element> + <type>plugin</type> + <folder>vmshopper</folder> + <client>0</client><!-- Plugins use client_id=0 (FrontEnd), default would be 1 --> + <version>0.2</version> + <infourl title="Version Compatibility Display for VirtueMart">http://open-tools.net/TODO</infourl> + <downloads> + <downloadurl type="full" format="zip">https://open-tools.net/index.php?option=com_virtuemart&view=plugin&name=downloads_for_sale&customfield_id=XXXX</downloadurl> + </downloads> + <tags> + <tag>stable</tag> + </tags> + <maintainer>Open Tools</maintainer> + <maintainerurl>http://open-tools.net</maintainerurl> + <targetplatform name="joomla" version=".*" /> + </update> +</updates> diff --git a/WordPress/AdvancedOrdernumbers.tmpl b/WordPress/AdvancedOrdernumbers.tmpl new file mode 100644 index 0000000000000000000000000000000000000000..fc7f2d2f194b40ce8663778b0e573a33e2429f92 --- /dev/null +++ b/WordPress/AdvancedOrdernumbers.tmpl @@ -0,0 +1,17 @@ +{ + "name": "XXXX", + "slug": "xxxx", + "homepage" : "http://www.open-tools.net/woocommerce/", + "download_url": "https://www.open-tools.net/index.php?option=com_virtuemart&view=plugin&name=downloads_for_sale&customfield_id=13&order_number=${order_number}&order_pass=${order_pass}", + "version": "0.0", + "upgrade_notice" : "Here's why you should upgrade...", + + "author": "Open Tools", + "author_homepage" : "http://www.open-tools.net/", + "sections": { + "description": "Plugin description here, basic HTML allowed" + "installation" : "(Recommended) Installation instructions.", + "changelog" : "(Recommended) Changelog. <p>This section will be opened by default when the user clicks 'View version XYZ details'.</p>", + "custom_section" : "This is a custom section labeled 'Custom Section'." + } +} diff --git a/WordPress/AdvancedShippingByRules.tmpl b/WordPress/AdvancedShippingByRules.tmpl new file mode 100644 index 0000000000000000000000000000000000000000..fc7f2d2f194b40ce8663778b0e573a33e2429f92 --- /dev/null +++ b/WordPress/AdvancedShippingByRules.tmpl @@ -0,0 +1,17 @@ +{ + "name": "XXXX", + "slug": "xxxx", + "homepage" : "http://www.open-tools.net/woocommerce/", + "download_url": "https://www.open-tools.net/index.php?option=com_virtuemart&view=plugin&name=downloads_for_sale&customfield_id=13&order_number=${order_number}&order_pass=${order_pass}", + "version": "0.0", + "upgrade_notice" : "Here's why you should upgrade...", + + "author": "Open Tools", + "author_homepage" : "http://www.open-tools.net/", + "sections": { + "description": "Plugin description here, basic HTML allowed" + "installation" : "(Recommended) Installation instructions.", + "changelog" : "(Recommended) Changelog. <p>This section will be opened by default when the user clicks 'View version XYZ details'.</p>", + "custom_section" : "This is a custom section labeled 'Custom Section'." + } +} diff --git a/WordPress/BasicOrdernumbers.tmpl b/WordPress/BasicOrdernumbers.tmpl new file mode 100644 index 0000000000000000000000000000000000000000..fc7f2d2f194b40ce8663778b0e573a33e2429f92 --- /dev/null +++ b/WordPress/BasicOrdernumbers.tmpl @@ -0,0 +1,17 @@ +{ + "name": "XXXX", + "slug": "xxxx", + "homepage" : "http://www.open-tools.net/woocommerce/", + "download_url": "https://www.open-tools.net/index.php?option=com_virtuemart&view=plugin&name=downloads_for_sale&customfield_id=13&order_number=${order_number}&order_pass=${order_pass}", + "version": "0.0", + "upgrade_notice" : "Here's why you should upgrade...", + + "author": "Open Tools", + "author_homepage" : "http://www.open-tools.net/", + "sections": { + "description": "Plugin description here, basic HTML allowed" + "installation" : "(Recommended) Installation instructions.", + "changelog" : "(Recommended) Changelog. <p>This section will be opened by default when the user clicks 'View version XYZ details'.</p>", + "custom_section" : "This is a custom section labeled 'Custom Section'." + } +} diff --git a/WordPress/ShippingByRules.tmpl b/WordPress/ShippingByRules.tmpl new file mode 100644 index 0000000000000000000000000000000000000000..fc7f2d2f194b40ce8663778b0e573a33e2429f92 --- /dev/null +++ b/WordPress/ShippingByRules.tmpl @@ -0,0 +1,17 @@ +{ + "name": "XXXX", + "slug": "xxxx", + "homepage" : "http://www.open-tools.net/woocommerce/", + "download_url": "https://www.open-tools.net/index.php?option=com_virtuemart&view=plugin&name=downloads_for_sale&customfield_id=13&order_number=${order_number}&order_pass=${order_pass}", + "version": "0.0", + "upgrade_notice" : "Here's why you should upgrade...", + + "author": "Open Tools", + "author_homepage" : "http://www.open-tools.net/", + "sections": { + "description": "Plugin description here, basic HTML allowed" + "installation" : "(Recommended) Installation instructions.", + "changelog" : "(Recommended) Changelog. <p>This section will be opened by default when the user clicks 'View version XYZ details'.</p>", + "custom_section" : "This is a custom section labeled 'Custom Section'." + } +} diff --git a/WordPress/Template b/WordPress/Template new file mode 100644 index 0000000000000000000000000000000000000000..fc7f2d2f194b40ce8663778b0e573a33e2429f92 --- /dev/null +++ b/WordPress/Template @@ -0,0 +1,17 @@ +{ + "name": "XXXX", + "slug": "xxxx", + "homepage" : "http://www.open-tools.net/woocommerce/", + "download_url": "https://www.open-tools.net/index.php?option=com_virtuemart&view=plugin&name=downloads_for_sale&customfield_id=13&order_number=${order_number}&order_pass=${order_pass}", + "version": "0.0", + "upgrade_notice" : "Here's why you should upgrade...", + + "author": "Open Tools", + "author_homepage" : "http://www.open-tools.net/", + "sections": { + "description": "Plugin description here, basic HTML allowed" + "installation" : "(Recommended) Installation instructions.", + "changelog" : "(Recommended) Changelog. <p>This section will be opened by default when the user clicks 'View version XYZ details'.</p>", + "custom_section" : "This is a custom section labeled 'Custom Section'." + } +} diff --git a/index.php b/index.php old mode 100644 new mode 100755 index 4605a8af9b977aca8e87b38df40d50ed06f46a66..1e0f9af1c7f42247c4a6ef66a49f23e3839e3ffb --- a/index.php +++ b/index.php @@ -21,10 +21,10 @@ $extension = get_query_arg('extension'); $order_number = get_query_arg('order_number'); $order_pass = get_query_arg('order_pass'); -$tmplfile = __DIR__ . '/' . $package . '/' . $extension . '.tmpl' +$tmplfile = __DIR__ . '/' . $package . '/' . $extension . '.tmpl'; if (file_exists($tmplfile)) { $updatefile = file_get_contents($tmplfile); - $updatefile = str_replace($updatefile, '${order_number}', $order_number); - $updatefile = str_replace($updatefile, '${order_pass}', $order_pass); + $updatefile = str_replace('${order_number}', $order_number, $updatefile); + $updatefile = str_replace('${order_pass}', $order_pass, $updatefile); echo $updatefile; }