Plugin Directory

Changeset 1950867


Ignore:
Timestamp:
10/03/2018 01:28:47 PM (8 years ago)
Author:
ignico
Message:

Updating trunk

Location:
ignico/trunk
Files:
2 deleted
10 edited

Legend:

Unmodified
Added
Removed
  • ignico/trunk/CHANGELOG.md

    r1934813 r1950867  
    1 <a name="0.3.0"></a>
    2 # [0.3.0](https://github.com/ignicoapp/ignico-wordpress/compare/0.2.0...0.3.0) (2018-09-03)
     1<a name="0.3.1"></a>
     2## [0.3.1](https://github.com/ignicoapp/ignico-wordpress/compare/0.3.0...0.3.1) (2018-10-03)
    33
    44
  • ignico/trunk/README.md

    r1921447 r1950867  
    1515* Loads cookie to the user upon entrance and saves there Referral Code from the URL (comes from affiliate link sent before by one of the brand ambassadors),
    1616* Sends API call with the transaction to Ignico once order in e-commerce platform (based on WooCommerce or Easy Digital Download) is paid. The transaction value equals the amount of the order.
    17 
    18 Based on these transactions, Ignico calculates rewards for brand ambassadors based on rewarding automation rules set within motivation plans.
     17* Calculates rewards for brand ambassadors based on e-commerce transactions from the plugin and rewarding rules configured within motivation plans in Ignico admin panel
    1918
    2019## Use cases
     
    3332
    3433## Installation :package:
    35 1. Visit Plugins > Add New
    36 2. Search for "Ignico"
    37 3. Install and activate "Ignico"
     341. Log in to Wordpress admin panel
     352. Visit Plugins > Add New
     363. Search for "Ignico"
     374. Install and activate "Ignico"
    3838
    3939or
     
    42422. Upload the ignico directory to your /wp-content/plugins/ directory
    43433. Activate the plugin through the "Plugins" menu in WordPress
     44
     45### Configiration ###
     46
     47In plugin configuration, you are asked to set:
     48
     49* Workspace name in Ignico that is set during signing up for [Ignico trial](http://igni.co)
     50* Client ID and Client secret -> you generate them in Ignico admin panel -> Integrations -> OAuth
     51
     52Additionally you can also configure cookie settings of the plugin in „Settings” section.
     53
     54### How to test integration? ###
     55
     56* Go to Ignico admin panel -> Referrals -> Referral links and add a link to your e-commerce store
     57* Create test user account, go to Ignico admin panel -> Users -> New user
     58* Log in on user account, go to Referrals -> Referral links and go to the referral link to your store, you should be redirected to URL: http://yourstorename.com?__igrc=REFCODE
     59* Make a purchase and mare it as paid
     60* Go to Ignico admin panel -> Actions -> Actions list - you should see your order on the list
    4461
    4562## Contribute :hand:
  • ignico/trunk/ignico.php

    r1934813 r1950867  
    1313 * Plugin Name:       Ignico
    1414 * Description:       Ignico is rewards & commission automation engine that helps businesses create their referral, loyalty, MLM, gamification or social selling program on the top of existing e-commerce platforms or CRM's.
    15  * Version:           0.3.0
     15 * Version:           0.3.1
    1616 * Author:            Ignico Sp. z o.o.
    1717 * Author URI:        http://igni.co
     
    2727}
    2828
     29if ( ! defined( 'IGNICO_VERSION' ) )
     30    define( 'IGNICO_VERSION', '0.3.1' );
     31
    2932/**
    3033 * Load autoloader to not bother to requiring classes.
  • ignico/trunk/inc/admin/class-assets.php

    r1921447 r1950867  
    5353         * Main plugin style
    5454         */
    55         wp_register_style( $this->plugin['id'], $this->plugin['url'] . '/css/style.css', array(), $this->plugin['version'], 'all' );
     55        wp_register_style( $this->plugin['id'], $this->plugin['url'] . '/css/style.css', array(), IGNICO_VERSION, 'all' );
    5656    }
    5757
     
    7171         * Main plugin style
    7272         */
    73         wp_register_style( $this->plugin['id'], $this->plugin['url'] . '/css/style.min.css', array(), $this->plugin['version'], 'all' );
     73        wp_register_style( $this->plugin['id'], $this->plugin['url'] . '/css/style.min.css', array(), IGNICO_VERSION, 'all' );
    7474    }
    7575
  • ignico/trunk/inc/core/class-init.php

    r1934813 r1950867  
    2424 * public-facing site hooks.
    2525 *
    26  * Also maintains the unique identifier of this plugin as well as the current
    27  * version of the plugin.
     26 * Also maintains the unique identifier of this plugin.
    2827 *
    2928 * @package    IgnicoWordPress
     
    4342     * Define the core functionality of the plugin.
    4443     *
    45      * Set the plugin name and the plugin version that can be used throughout the plugin.
     44     * Set the plugin name and the plugin id that can be used throughout the plugin.
    4645     * Load the dependencies, define the locale, and set the hooks for the admin area and
    4746     * the public-facing side of the site.
     
    6463
    6564        /**
    66          * The current version of the plugin.
    67          *
    68          * @var      string    $version    The current version of the plugin.
    69          */
    70         $this['version'] = '0.3.0';
    71 
    72         /**
    7365         * The plugin path.
    7466         *
  • ignico/trunk/readme.txt

    r1934813 r1950867  
    44Requires at least: 3.8
    55Requires PHP: 5.6
    6 Tested up to: 4.9.6
    7 Stable tag: 0.3.0
     6Tested up to: 4.9.8
     7Stable tag: trunk
    88License: GPL-2.0-or-later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    1717Ignico automatically:
    1818
    19 * Loads cookie to the user upon entrance and saves there Referral Code from the URL (comes from affiliate link sent before by one of the brand ambassadors),
    20 * Sends API call with the transaction to Ignico once order in e-commerce platform (based on WooCommerce or Easy Digital Download) is paid. The transaction value equals the amount of the order.
    21 
    22 Based on these transactions, Ignico calculates rewards for brand ambassadors based on rewarding automation rules set within motivation plans.
     19* Loads cookie to the user upon entrance and saves there Referral Code from the URL (comes from affiliate link sent before by one of the brand ambassadors)
     20* Sends API call with the transaction to Ignico once order in e-commerce platform (based on WooCommerce or Easy Digital Download) is paid. The transaction value equals the amount of the order
     21* Calculates rewards for brand ambassadors based on e-commerce transactions from the plugin and rewarding rules configured within motivation plans in Ignico admin panel
    2322
    2423= Use cases =
     
    3837== Installation ==
    3938
    40 1. Visit Plugins > Add New
    41 2. Search for "Ignico"
    42 3. Install and activate "Ignico"
     391. Log in to Wordpress admin panel
     402. Visit Plugins > Add New
     413. Search for "Ignico"
     424. Install and activate "Ignico"
    4343
    4444or
    4545
    46 1. Download plugin from wordpres.org repository or [release section](https://github.com/ignicoapp/ignico/releases/latest).
     461. Download plugin from wordpres.org repository or [release section](https://github.com/ignicoapp/ignico/releases/latest)
    47472. Upload the ignico directory to your /wp-content/plugins/ directory
    48483. Activate the plugin through the"‘Plugins" menu in WordPress
     49
     50
     51= Configiration =
     52
     53In plugin configuration, you are asked to set:
     54
     55* Workspace name in Ignico that is set during signing up for [Ignico trial](http://igni.co)
     56* Client ID and Client secret -> you generate them in Ignico admin panel -> Integrations -> OAuth
     57
     58Additionally you can also configure cookie settings of the plugin in „Settings” section.
     59
     60= How to test integration? =
     61
     62* Go to Ignico admin panel -> Referrals -> Referral links and add a link to your e-commerce store
     63* Create test user account, go to Ignico admin panel -> Users -> New user
     64* Log in on user account, go to Referrals -> Referral links and go to the referral link to your store, you should be redirected to URL: http://yourstorename.com?__igrc=REFCODE
     65* Make a purchase and mare it as paid
     66* Go to Ignico admin panel -> Actions -> Actions list - you should see your order on the list
    4967
    5068== Frequently Asked Questions ==
    5169
    5270== Changelog ==
     71
     72= 0.3.1 =
     73
     74* Update readme
    5375
    5476= 0.3.0 =
  • ignico/trunk/vendor/autoload.php

    r1934813 r1950867  
    55require_once __DIR__ . '/composer/autoload_real.php';
    66
    7 return ComposerAutoloaderInit44c017de1634aff520b7c18950be8241::getLoader();
     7return ComposerAutoloaderInitd9b6d67f3788720f393cdaf55399d2d2::getLoader();
  • ignico/trunk/vendor/composer/ClassLoader.php

    r1890440 r1950867  
    378378            while (false !== $lastPos = strrpos($subPath, '\\')) {
    379379                $subPath = substr($subPath, 0, $lastPos);
    380                 $search = $subPath.'\\';
     380                $search = $subPath . '\\';
    381381                if (isset($this->prefixDirsPsr4[$search])) {
     382                    $pathEnd = DIRECTORY_SEPARATOR . substr($logicalPathPsr4, $lastPos + 1);
    382383                    foreach ($this->prefixDirsPsr4[$search] as $dir) {
    383                         $length = $this->prefixLengthsPsr4[$first][$search];
    384                         if (file_exists($file = $dir . DIRECTORY_SEPARATOR . substr($logicalPathPsr4, $length))) {
     384                        if (file_exists($file = $dir . $pathEnd)) {
    385385                            return $file;
    386386                        }
  • ignico/trunk/vendor/composer/autoload_real.php

    r1934813 r1950867  
    33// autoload_real.php @generated by Composer
    44
    5 class ComposerAutoloaderInit44c017de1634aff520b7c18950be8241
     5class ComposerAutoloaderInitd9b6d67f3788720f393cdaf55399d2d2
    66{
    77    private static $loader;
     
    2020        }
    2121
    22         spl_autoload_register(array('ComposerAutoloaderInit44c017de1634aff520b7c18950be8241', 'loadClassLoader'), true, true);
     22        spl_autoload_register(array('ComposerAutoloaderInitd9b6d67f3788720f393cdaf55399d2d2', 'loadClassLoader'), true, true);
    2323        self::$loader = $loader = new \Composer\Autoload\ClassLoader();
    24         spl_autoload_unregister(array('ComposerAutoloaderInit44c017de1634aff520b7c18950be8241', 'loadClassLoader'));
     24        spl_autoload_unregister(array('ComposerAutoloaderInitd9b6d67f3788720f393cdaf55399d2d2', 'loadClassLoader'));
    2525
    2626        $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
     
    2828            require_once __DIR__ . '/autoload_static.php';
    2929
    30             call_user_func(\Composer\Autoload\ComposerStaticInit44c017de1634aff520b7c18950be8241::getInitializer($loader));
     30            call_user_func(\Composer\Autoload\ComposerStaticInitd9b6d67f3788720f393cdaf55399d2d2::getInitializer($loader));
    3131        } else {
    3232            $map = require __DIR__ . '/autoload_namespaces.php';
  • ignico/trunk/vendor/composer/autoload_static.php

    r1934813 r1950867  
    55namespace Composer\Autoload;
    66
    7 class ComposerStaticInit44c017de1634aff520b7c18950be8241
     7class ComposerStaticInitd9b6d67f3788720f393cdaf55399d2d2
    88{
    99    public static $prefixLengthsPsr4 = array (
     
    3232    {
    3333        return \Closure::bind(function () use ($loader) {
    34             $loader->prefixLengthsPsr4 = ComposerStaticInit44c017de1634aff520b7c18950be8241::$prefixLengthsPsr4;
    35             $loader->prefixDirsPsr4 = ComposerStaticInit44c017de1634aff520b7c18950be8241::$prefixDirsPsr4;
     34            $loader->prefixLengthsPsr4 = ComposerStaticInitd9b6d67f3788720f393cdaf55399d2d2::$prefixLengthsPsr4;
     35            $loader->prefixDirsPsr4 = ComposerStaticInitd9b6d67f3788720f393cdaf55399d2d2::$prefixDirsPsr4;
    3636
    3737        }, null, ClassLoader::class);
Note: See TracChangeset for help on using the changeset viewer.