Git Product home page Git Product logo

hippo-joomla-extension-updater's Introduction

Hippo Joomla Extension Updater

Commercial Joomla Extension Updater to Update Joomla Extensions By Given Template Parameters.

How to use it

There is two part to use Hippo Joomla Extension Updater to work properly.

Development Part

  • Just Download and Extract it.
  • I use T3v3 Framework thats why I use it in my plugin. You should change and edit or add your template compatible codes. Make sure that you put all your params in $extra_query varible on file hippoupdater.php file.
if (defined('T3_PLUGIN') && T3::detect() && $option == 'com_templates.style' && !empty($data->id)) {

                $params = new JRegistry;
                $params->loadString($data->params);

                // Getting Param envato_purchase_code
                $key = $params->get('envato_purchase_code');

                // Getting Param envato_username
                $username = $params->get('envato_username');

                // Getting Template Name to sure which Template requests for an update :)
                $template = trim($data->template); 

                $extra_query = '';

                if(!empty($key) and !empty($username) )
                {

                    // Important: you are supposed to use & instead of a straight ampersand
                    $extra_query = 'purchase_code=' . urlencode($key);
                    $extra_query .='&username=' . urlencode($username);
                    $extra_query .='&template=' . urlencode($template);
  • Make .zip file of plg_system_hippoupdater directory, now install it from joomla extension manager ๐Ÿ˜„
  • Add template parameters on templateDetails.xml for username / purchasecode / other data you need from user. Understanding Joomla! templates
  • Add your update server on your template you can see my example in this repo or take more knowledge from Adding an update server
  • You can use collection server or extension server as you need ๐Ÿ˜„
  • In downloadurl of template_name.xml I use download.php file to serve our updated extensions.

Your Server Part

  • Put download.php file on your server secure location or others. Here I use envato purchase code verifier to verify my envato valid author who bought my Joomla Template ๐Ÿ˜€
  • You can see joomla-update directory in this repo.
  • There is zips directory you can put your latest updated template copy or any where else. Just you should change some code on download.php file.

hippo-joomla-extension-updater's People

Contributors

emranahmed avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.